作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2026, Vol. 52 ›› Issue (11): 130-141. doi: 10.19678/j.issn.1000-3428.0252047

• 计算智能与模式识别 • 上一篇    

融合四元数与对偶复数的知识图谱嵌入模型

潘银仓1, 张东1, 李冠宇1, 陈恒2   

  1. 1. 大连海事大学信息科学技术学院, 辽宁 大连 116026;
    2. 大连外国语大学语言智能研究中心, 辽宁 大连 116044
  • 收稿日期:2025-01-15 修回日期:2025-03-29 发布日期:2025-05-16
  • 作者简介:潘银仓(CCF会员),男,硕士研究生,主研方向为知识图谱补全;张东,博士研究生;李冠宇(通信作者,E-mail:liguanyu@dlmu.edu.cn)、陈恒,教授、博士。
  • 基金资助:
    国家自然科学基金(61976032);辽宁省自然科学基金(2024-MS-174)。

Knowledge Graph Embedding Model Integrating Quaternions and Dual Complex Numbers

PAN Yincang1, ZHANG Dong1, LI Guanyu1, CHEN Heng2   

  1. 1. Information Science and Technology College, Dalian Maritime University, Dalian 116026, Liaoning, China;
    2. Research Center for Linguistic Intelligence, Dalian University of Foreign Languages, Dalian 116044, Liaoning, China
  • Received:2025-01-15 Revised:2025-03-29 Published:2025-05-16

摘要: 知识图谱嵌入(KGE)技术旨在将复杂的语义信息映射为易于计算的低维向量形式,从而支持高效的链接预测、知识补全等任务。然而,现有模型因受限于单一数学结构,难以同时兼顾三维方向敏感旋转与非交换组合特性,导致现有方法无法有效覆盖复杂关系模式的联合推理需求。为此,提出融合四元数与对偶复数的TransQD知识图谱嵌入模型,针对因单一数学结构导致的表达瓶颈,TransQD首次引入四元数嵌入与对偶复数嵌入的协同机制。四元数嵌入部分通过汉密尔顿乘积建模三维方向敏感的旋转操作,捕捉实体间空间方向性交互。对偶复数嵌入部分利用其非交换性乘法运算严格表征顺序依赖关系,例如路径组合中因顺序调换导致语义变化的场景,两者通过权重分配实现互补,从而覆盖更全面的关系模式。最后,TransQD在多个公开数据集上进行的链接预测与路径查询问答任务中均表现出卓越性能,同时设计并进行消融实验验证了双组件协同的必要性。

关键词: 知识图谱, 知识图谱补全, 链接预测, 四元数, 对偶复数

Abstract: Knowledge Graph Embedding (KGE) techniques map complex semantic information into low-dimensional vector representations, thereby enabling tasks such as link prediction and knowledge completion. However, existing models are constrained by a single mathematical structure, making it difficult to simultaneously accommodate three-dimensional, direction-sensitive rotations and noncommutative compositions. This limits their ability to perform joint inferences over complex relational patterns. To overcome this problem, the TransQD KGE model, which integrates quaternions and dual complex embeddings, is proposed. To address the expressiveness bottleneck of single-structure methods, TransQD introduces a collaborative mechanism between quaternion embeddings and dual complex embeddings for the first time: the quaternion embedding component uses the Hamiltonian product to model three-dimensional, direction-sensitive rotations, capturing spatial interactions between entities; the dual complex embedding component employs noncommutative multiplication to rigorously represent order-dependent relations, such as scenarios where reordering path compositions leads to semantic changes. These two components complement each other through a weighted allocation mechanism, thereby covering a broader range of relational patterns. Finally, TransQD demonstrates outstanding performance in both link prediction and path query Q&A tasks across multiple public datasets, and the necessity of dual-component collaboration is verified through designed ablation experiments.

Key words: Knowledge Graph (KG), Knowledge Graph Completion (KGC), link prediction, quaternion, dual complex number

中图分类号: