Skip to main content
QUICK REVIEW

[论文解读] NeuSTIP: A Novel Neuro-Symbolic Model for Link and Time Prediction in Temporal Knowledge Graphs

Ishaan Singh, Navdeep Kaur|arXiv (Cornell University)|May 15, 2023
Advanced Graph Neural NetworksComputer Science被引用 3
一句话总结

NeuSTIP 是一种新颖的神经符号模型,用于时间知识图谱补全,通过基于 Allen 区间代数的可解释时间规则,联合执行链接预测和时间区间预测。通过将 Allen 关系与知识图谱关系相结合,并引入置信度评分函数,NeuSTIP 在基准数据集上实现了最先进性能,在 MRR 和 aeIOU 指标上均优于 TimePlex 和 TILP 等先前模型,同时提供人类可解释的推理过程。

ABSTRACT

While Knowledge Graph Completion (KGC) on static facts is a matured field, Temporal Knowledge Graph Completion (TKGC), that incorporates validity time into static facts is still in its nascent stage. The KGC methods fall into multiple categories including embedding-based, rule-based, GNN-based, pretrained Language Model based approaches. However, such dimensions have not been explored in TKG. To that end, we propose a novel temporal neuro-symbolic model, NeuSTIP, that performs link prediction and time interval prediction in a TKG. NeuSTIP learns temporal rules in the presence of the Allen predicates that ensure the temporal consistency between neighboring predicates in a given rule. We further design a unique scoring function that evaluates the confidence of the candidate answers while performing link prediction and time interval prediction by utilizing the learned rules. Our empirical evaluation on two time interval based TKGC datasets suggests that our model outperforms state-of-the-art models for both link prediction and the time interval prediction task.

研究动机与目标

  • 为解决现有时间知识图谱补全(TKGC)方法在可解释性方面不足且难以联合预测链接与时间区间的问题。
  • 设计一种统一且直观的规则语言,将 Allen 区间关系与知识图谱关系结合,用于时间推理。
  • 开发一种新颖的评分函数,通过学习到的时间规则聚合证据,计算候选答案(实体或时间区间)的置信度。
  • 在单一神经符号框架中实现链接预测与时间区间预测,提升泛化能力与可解释性。
  • 证明将 Allen 关系融入规则可显著提升模型在基准 TKGC 数据集上的性能。

提出的方法

  • NeuSTIP 采用基于规则的神经符号架构,通过结合 Allen 区间关系(如 during、contains)与标准知识图谱关系(如 isMarriedTo、isAffiliatedTo)来形式化时间推理。
  • 模型使用基于 GRU 的编码器处理关系与 Allen 谓词的序列,从训练四元组 (s, r, o, T) 中学习时间规则表示。
  • 提出一种新颖的评分函数,通过聚合来自多个实例化规则的证据,整合符号逻辑与分布式表示,计算候选答案的置信度。
  • 采用可微分损失函数进行端到端训练,同时优化链接预测与时间区间预测,并关注时间一致性。
  • 为捕捉数值特征,NeuSTIP 集成了来自 TimePlex 的 'gadgets',用于建模符号规则无法单独捕捉的时间区间定量特征。
  • 通过生成基于真实实体与时间区间绑定的实例化规则,支持人类可解释的推理过程。
Figure 1: Rule extraction on time interval data in the presence of Allen predicates. $\fol{wBi(David,London,T6)}$ is the target quadruple. The entity and time variables in the temporal rules on the right have been removed for brevity.
Figure 1: Rule extraction on time interval data in the presence of Allen predicates. $\fol{wBi(David,London,T6)}$ is the target quadruple. The entity and time variables in the temporal rules on the right have been removed for brevity.

实验结果

研究问题

  • RQ1神经符号模型能否在时间知识图谱中以高准确率与可解释性联合执行链接预测与时间区间预测?
  • RQ2将 Allen 区间关系整合到符号规则中,对提升 TKGC 中的时间推理效果有多显著?
  • RQ3基于规则实例化的置信度评分函数是否优于仅依赖嵌入相似性或统计度量的方法?
  • RQ4与不包含 Allen 关系的规则变体相比,通过 Allen 关系施加的时间约束在多大程度上提升了模型性能?
  • RQ5该模型是否具备跨数据集的泛化能力,并在 MRR 与 aeIOU 指标上均优于最先进基线模型?

主要发现

  • NeuSTIP 在 YAGO11k 上的时间区间预测性能比最先进模型 TimePlex 提升约 6 个 aeIOU 点,同时在 WIKIDATA12k 上保持强劲表现。
  • 在 WIKIDATA12k 上,链接预测的 MRR 达到 31.17,在 YAGO11k 上达到 23.84,优于近期基线模型。
  • 从规则中移除 Allen 关系(NeuSTIP-TR)导致性能显著下降——例如在 WIKIDATA12k 上,MRR 从 31.17 降至 26.00,证明时间约束在模型中的关键作用。
  • 与 TimePlex 模型集成后,NeuSTIP 在 WIKIDATA12k 上达到最佳性能,表明两者具有互补优势。
  • 模型可生成人类可解释的规则,为预测提供逻辑解释,例如通过对称关系推断婚姻持续时间或配偶隶属关系。
  • Gadgets 在两个数据集上均提升性能,但在 NeuSTIP 中的增益比在 TimePlex 中更显著,表明符号规则与数值特征建模之间存在有效协同作用。
Figure 2: This figure lists all the 13 relations in Allen algebra calculus Allen ( 1983 ) . The pictorial example in the third column is for the relations in the first column
Figure 2: This figure lists all the 13 relations in Allen algebra calculus Allen ( 1983 ) . The pictorial example in the third column is for the relations in the first column

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。