深圳大学学报(理工版)2025,Vol.42Issue(3):342-350,9.DOI:10.3724/SP.J.1249.2025.03342
融合关系路径和上下文的归纳关系预测模型
Inductive relationship prediction model fusing relationship path and context
摘要
Abstract
The existing inductive relation prediction methods primarily focus on the relation paths between the different entities,often neglecting the properties of head and tail entities in relation context.To address this,we propose an inductive relation prediction model fusing relation paths and context(IRP-RPC),which incorporates the relation context as a complement to the relation path for inductive relation prediction.This model relies solely on relation semantics,enabling it to naturally generalize to fully inductive settings.First,we use a random walk-based pathfinding strategy to obtain relation paths and relation contexts.Then,we design and implement a hierarchical Transformer architecture,enhanced with a gated network,to unify and aggregate the relation paths and contexts,capturing both the relations between entities and the intrinsic attributes of entities.An adaptive weighted combination of these components is used to make the final prediction.Experiments on eight versions of inductive datasets from FB15K-237 and NELL-995 demonstrate that IRP-RPC model outperforms nine baseline models in terms of area under the precision-recall curve(AUC-PR)and hits@10 metrics,validating its effectiveness and scalability.The experimental results show that by fusing relation paths and relation contexts,the IRP-RPC model can more comprehensively capture the semantic relationships and structural information between entities,offering a significant advantage over traditional inductive methods,which suffer from under-utilization of path and context information.关键词
人工智能/知识工程/知识图谱/归纳关系预测/Transformer/门控网络/关系路径/关系上下文Key words
artificial intelligence/knowledge engineering/knowledge graph/inductive relation prediction/Transformer/gated network/relation path/relation context分类
信息技术与安全科学引用本文复制引用
刘雪洋,李卫军,丁建平,刘世侠,王子怡,苏易礌..融合关系路径和上下文的归纳关系预测模型[J].深圳大学学报(理工版),2025,42(3):342-350,9.基金项目
National Natural Science Foundation of China(62066038,61962001) (62066038,61962001)
Graduate Innovation Project of North Minzu University(YCX24127) 国家自然科学基金资助项目(62066038,61962001) (YCX24127)
北方民族大学研究生创新资助项目(YCX24127) (YCX24127)