让关系路径学会看上下文,提升未知实体的链接预测能力
PEARL: Path-Entity Aligned Relational Learning with Contextual Subgraphs for Inductive Knowledge Graph Completion

- 用上下文子图动态调整路径表示,使其随结构变化自适应
- 在三个基准上平均Hits@10优于现有方法,最高提升3.2个点
- 适合做开放域知识图谱补全的研究者和工业应用
归纳式知识图谱补全(IKGC)旨在预测训练中未见实体之间的缺失链接,要求模型学习可迁移的关系与结构模式。现有基于子图和路径的方法常独立编码关系路径,忽略其在不同结构上下文中的预测相关性。本文提出PEARL框架,将路径视为上下文依赖的推理信号。该方法通过融合查询实体邻域构建查询特定的上下文子图,并利用大语言模型引导的检索器提取语义相关的路径。随后构建路径、上下文实体与全局子图表示之间的二分图交互网络,使路径嵌入能融合局部与全局结构证据。为抑制扩展上下文带来的噪声,引入双视角对比目标,在随机上下文扰动下保持表示一致性。在WN18RR、FB15k-237和NELL-995上的实验表明,PEARL在所有三个基准上均取得最佳平均Hits@10表现。消融实验、效率分析与案例研究进一步验证了上下文子图建模、语义路径检索、路径-实体交互及对比正则化的有效性。
原文摘要 · Abstract (English)
Inductive knowledge graph completion (IKGC) aims to predict missing links involving entities unseen during training, requiring models to learn transferable relational and structural patterns. Existing subgraph- and path-based approaches often encode relational paths independently of their surrounding query subgraphs, although the predictive relevance of a path may vary across structural contexts. We propose PEARL, a Path-Entity Aligned Relational Learning framework that models paths as context-conditioned reasoning signals. PEARL constructs a query-specific contextual subgraph from the union of the query entities' neighborhoods and uses a large language model (LLM)-guided retriever to distill semantically relevant paths. It then builds a bipartite interaction graph over paths, contextual entities, and a global subgraph representation, allowing path embeddings to adapt to local and global structural evidence. To suppress noise introduced by the enlarged context, PEARL employs a dual-view contrastive objective that promotes representation consistency under stochastic contextual perturbations. Experiments on WN18RR, FB15k-237, and NELL-995 show that PEARL obtains the best average Hits@10 among the compared IKGC methods on all three benchmarks. Ablation studies, efficiency analyses, and case studies further validate the contributions of contextual subgraph modeling, semantic path retrieval, path-entity interaction, and contrastive regularization.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。