arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.00158cs.CLcs.AI
收藏

ReasoningLM:在预训练语言模型中启用结构化子图推理以实现知识图谱问答

ReasoningLM: Enabling Structural Subgraph Reasoning in Pre-trained Language Models for Question Answering over Knowledge Graph

Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院);Beijing Key Laboratory of Big Data Management and Analysis Methods(大数据管理与分析方法北京市重点实验室);School of Information, Renmin University of China(中国人民大学信息学院);Alibaba Group(阿里巴巴集团)

Jinhao Jiang, Kun Zhou, Wayne Xin Zhao, Yaliang Li, Ji-Rong Wen

AI总结:

本文提出ReasoningLM,通过子图感知自注意力机制和适配微调策略,使预训练语言模型直接支持知识图谱问答的结构化子图推理,以更少参数和数据大幅超越现有模型。

摘要:

知识图谱问答(KGQA)旨在从大规模知识图谱(KG)中为自然语言问题寻找答案实体。为了更好地在KG上进行推理,近期工作通常采用预训练语言模型(PLM)来对问题进行建模,并使用基于图神经网络(GNN)的模块在KG上执行多跳推理。尽管有效,但由于模型架构的差异,PLM和GNN未能紧密结合,限制了知识共享和细粒度的特征交互。为解决此问题,我们旨在简化上述双模块方法,并开发一种更强大的、能够直接支持KGQA子图推理的PLM,即ReasoningLM。在我们的方法中,我们提出了一种子图感知的自注意力机制来模仿GNN以执行结构化推理,并采用了一种适配微调策略,利用20,000个带有合成问题的子图来调整模型参数。适配后,该PLM可以在下游任务上进行参数高效的微调。实验表明,ReasoningLM大幅超越了最先进的模型,即使其更新的参数更少,训练数据也更少。我们的代码和数据已在 https://github.com/RUCAIBox/ReasoningLM 公开。

英文摘要:

Question Answering over Knowledge Graph (KGQA) aims to seek answer entities for the natural language question from a large-scale Knowledge Graph~(KG). To better perform reasoning on KG, recent work typically adopts a pre-trained language model~(PLM) to model the question, and a graph neural network~(GNN) based module to perform multi-hop reasoning on the KG. Despite the effectiveness, due to the divergence in model architecture, the PLM and GNN are not closely integrated, limiting the knowledge sharing and fine-grained feature interactions. To solve it, we aim to simplify the above two-module approach, and develop a more capable PLM that can directly support subgraph reasoning for KGQA, namely ReasoningLM. In our approach, we propose a subgraph-aware self-attention mechanism to imitate the GNN for performing structured reasoning, and also adopt an adaptation tuning strategy to adapt the model parameters with 20,000 subgraphs with synthesized questions. After adaptation, the PLM can be parameter-efficient fine-tuned on downstream tasks. Experiments show that ReasoningLM surpasses state-of-the-art models by a large margin, even with fewer updated parameters and less training data. Our codes and data are publicly available at~\url{https://github.com/RUCAIBox/ReasoningLM}.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑