计算机工程与应用 ›› 2025, Vol. 61 ›› Issue (7): 233-244.DOI: 10.3778/j.issn.1002-8331.2311-0317

• 模式识别与人工智能 • 上一篇    下一篇

结合图卷积模型和共享编码的知识图谱问答方法

田侃,曹新汶,张浩然,先兴平,吴涛,宋秀丽   

  1. 1.重庆邮电大学 重庆中国三峡博物馆智慧文博联合实验室,重庆 400065
    2.重庆邮电大学 网络空间安全与信息法学院,重庆 400065
    3.重庆邮电大学 网络与信息安全技术重庆市工程实验室,重庆 400065
  • 出版日期:2025-04-01 发布日期:2025-04-01

Knowledge Graph Question Answering with Shared Encoding and Graph Convolution Networks

TIAN Kan, CAO Xinwen, ZHANG Haoran, XIAN Xingping, WU Tao, SONG Xiuli   

  1. 1.Chongqing Three Gorges Museum Smart Cultural and Creative Collaboration Laboratory, Chongqing University of Posts and Telecommunications, Chongqing 400065, China
    2.School of Cyber Security and Information Law, Chongqing University of Posts and Telecommunications, Chongqing 400065, China
    3.Chongqing Key Laboratory of Cyberspace and Information Security, Chongqing University of Posts and Telecommunications, Chongqing 400065, China
  • Online:2025-04-01 Published:2025-04-01

摘要: 知识图谱问答技术正广泛应用于智能对话和个性化推荐等智慧信息服务中,它通过图结构明确表示和建模知识,实现实体链接和答案推理具有良好的可控度和解释性。然而,当前的实体链接方法具有准确率不高、忽略邻居信息等不足。同时,答案推理方法缺乏高效的面向问句与图谱的信息编码机制。针对上述挑战,提出了一种基于图卷积网络和关系匹配聚合、可聚合邻居信息且不依赖外部工具的实体链接方法,并设计了一种基于共享编码和协同注意力的、促进问句与图谱信息进行高效匹配的答案推理方法。与传统方法主要关注答案推理任务、基于工具实现实体链接不同,提出的知识图谱问答方法能够同时处理实体链接和答案推理任务。实验结果表明,所提方法的性能均优于传统模型。此外,通过图谱信息的重要性分析实验,揭示了各类图谱信息对于实体链接和答案推理任务的重要性。

关键词: 知识图谱问答, 实体链接, 答案推理, 图神经网络

Abstract: Knowledge graph question answering technologies are widely used in dialogue systems, recommendation systems, and other intelligent services, which explicitly represents and models knowledge through graph structures to achieve entity linking and answer reasoning with good controllability and interpretability. However, existing entity linking methods suffer from low accuracy and the inability to fully utilize neighbor information. Meanwhile, existing answer reasoning methods lack effective information encoding mechanisms that are specifically tailored to both the question and the knowledge graph. To tackle these challenges, an entity linking method based on graph convolutional networks and relation matching aggregation is proposed. The method can aggregate neighbor information without relying on external tools. Additionally, an answer reasoning method is designed based on shared encoding and collaborative attention to facilitate efficient matching between the query and knowledge graph information. Unlike traditional methods that focus solely on answer reasoning tasks and implement entity linking based on external tools, the proposed knowledge graph question answering method can handle both entity linking and answer reasoning tasks simultaneously. Experimental results demonstrate that the proposed method outperforms traditional models. Furthermore, importance analysis experiments reveal the significance of knowledge graph information for entity linking and answer reasoning tasks.

Key words: knowledge graph question answering, entity linking, answer reasoning, graph neural networks