NumCoKE: 基于混合专家和对比学习的图知识中有序意识数值推理
NumCoKE: Ordinal-Aware Numerical Reasoning over Knowledge Graphs with Mixture-of-Experts and Contrastive Learning
AI总结:
本文提出NumCoKE框架,通过混合专家和对比学习解决知识图谱中数值推理的语义整合不足和有序区分困难问题,实验表明其在不同属性分布下表现优越。
摘要:
知识图谱(KGs)是许多AI应用的重要基础,包括自然语言理解和推荐系统。数值推理是KGs中的一个有前途但未被充分探索的方向,涉及通过利用符号三元组和数值属性值(如长度、重量)推断新事实。然而,现有方法在两个关键方面存在不足:(1)语义整合不完整:大多数模型难以在统一的表示空间中联合编码实体、关系和数值属性,限制了其从数值信息中提取关系感知语义的能力。(2)有序不可区分:由于接近值之间的细微差异和采样不平衡,模型往往难以捕捉细粒度的有序关系(例如更长、更重),尤其是在存在困难负样本的情况下。为了解决这些挑战,我们提出了NumCoKE,一种基于混合专家和有序对比嵌入的KGs数值推理框架。为克服(C1),我们引入了混合专家知识感知(MoEKA)编码器,将符号和数值组件联合对齐到共享的语义空间,同时动态路由属性特征到关系特定的专家。为处理(C2),我们提出了有序知识对比学习(OKCL),利用先验知识构建有序感知的正负样本,使模型能够更好地区分微妙的语义变化。在三个公开的KG基准测试中进行了广泛的实验,证明NumCoKE在各种属性分布下始终优于竞争基线,验证了其在语义整合和有序推理方面的优越性。
英文摘要:
Knowledge graphs (KGs) serve as a vital backbone for a wide range of AI applications, including natural language understanding and recommendation. A promising yet underexplored direction is numerical reasoning over KGs, which involves inferring new facts by leveraging not only symbolic triples but also numerical attribute values (e.g., length, weight). However, existing methods fall short in two key aspects: (1) Incomplete semantic integration: Most models struggle to jointly encode entities, relations, and numerical attributes in a unified representation space, limiting their ability to extract relation-aware semantics from numeric information. (2) Ordinal indistinguishability: Due to subtle differences between close values and sampling imbalance, models often fail to capture fine-grained ordinal relationships (e.g., longer, heavier), especially in the presence of hard negatives. To address these challenges, we propose NumCoKE, a numerical reasoning framework for KGs based on Mixture-of-Experts and Ordinal Contrastive Embedding. To overcome (C1), we introduce a Mixture-of-Experts Knowledge-Aware (MoEKA) encoder that jointly aligns symbolic and numeric components into a shared semantic space, while dynamically routing attribute features to relation-specific experts. To handle (C2), we propose Ordinal Knowledge Contrastive Learning (OKCL), which constructs ordinal-aware positive and negative samples using prior knowledge, enabling the model to better discriminate subtle semantic shifts. Extensive experiments on three public KG benchmarks demonstrate that NumCoKE consistently outperforms competitive baselines across diverse attribute distributions, validating its superiority in both semantic integration and ordinal reasoning.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。