Self-supervised BGP-graph reasoning enhanced complex KBQA via SPARQL generation

IF 7.4 1区 管理学 Q1 COMPUTER SCIENCE, INFORMATION SYSTEMS
Feng Gao , Yan Yang , Peng Gao , Ming Gu , Shangqing Zhao , Yuefeng Chen , Hao Yuan , Man Lan , Aimin Zhou , Liang He
{"title":"Self-supervised BGP-graph reasoning enhanced complex KBQA via SPARQL generation","authors":"Feng Gao ,&nbsp;Yan Yang ,&nbsp;Peng Gao ,&nbsp;Ming Gu ,&nbsp;Shangqing Zhao ,&nbsp;Yuefeng Chen ,&nbsp;Hao Yuan ,&nbsp;Man Lan ,&nbsp;Aimin Zhou ,&nbsp;Liang He","doi":"10.1016/j.ipm.2024.103802","DOIUrl":null,"url":null,"abstract":"<div><p>Knowledge base question answering aims to answer complex questions from large-scale knowledge bases. Although existing generative language models that translate questions into SPARQL queries have achieved promising results, there are still generation errors due to redundancies or errors in the knowledge fed to the generative models and difficulties in representing the implicit logic of knowledge as the specific syntax of SPARQL. To address above issues, we propose TrackerQA, a novel self-supervised reasoning framework based on basic graph patterns (BGP) to determine precise paths and enhance SPARQL generation. First, we develop a contrastive learning semantic matching model to reduce the large knowledge searching space. Then, we built a BGP parser that parses the recalled knowledge and constraints into BGP graphs, which can deconstruct complex knowledge into BGP triples and naturally obtain supervision from gold SPARQL. Next, we design a self-supervised BGP graph neural network that encodes knowledge through graph transformation layers with directed message-passing control and employs a question-aware attention mechanism to predict the exact BGP paths. Finally, a SPARQL generator integrates the paths into a pre-trained language model to improve the performance of SPARQL generation. Experiments on the KQA Pro dataset show that our model achieves state-of-the-art answering accuracy scores of 95.32%, being the closest to the human level at 97.5%, and reasons out KB paths with F1 scores of 0.98 for nodes and 0.99 for edges.</p></div>","PeriodicalId":50365,"journal":{"name":"Information Processing & Management","volume":null,"pages":null},"PeriodicalIF":7.4000,"publicationDate":"2024-06-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Information Processing & Management","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0306457324001614","RegionNum":1,"RegionCategory":"管理学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
引用次数: 0

Abstract

Knowledge base question answering aims to answer complex questions from large-scale knowledge bases. Although existing generative language models that translate questions into SPARQL queries have achieved promising results, there are still generation errors due to redundancies or errors in the knowledge fed to the generative models and difficulties in representing the implicit logic of knowledge as the specific syntax of SPARQL. To address above issues, we propose TrackerQA, a novel self-supervised reasoning framework based on basic graph patterns (BGP) to determine precise paths and enhance SPARQL generation. First, we develop a contrastive learning semantic matching model to reduce the large knowledge searching space. Then, we built a BGP parser that parses the recalled knowledge and constraints into BGP graphs, which can deconstruct complex knowledge into BGP triples and naturally obtain supervision from gold SPARQL. Next, we design a self-supervised BGP graph neural network that encodes knowledge through graph transformation layers with directed message-passing control and employs a question-aware attention mechanism to predict the exact BGP paths. Finally, a SPARQL generator integrates the paths into a pre-trained language model to improve the performance of SPARQL generation. Experiments on the KQA Pro dataset show that our model achieves state-of-the-art answering accuracy scores of 95.32%, being the closest to the human level at 97.5%, and reasons out KB paths with F1 scores of 0.98 for nodes and 0.99 for edges.

通过 SPARQL 生成增强复杂 KBQA 的自监督 BGP 图推理
知识库问题解答旨在回答来自大规模知识库的复杂问题。尽管现有的将问题转化为 SPARQL 查询的生成语言模型已取得了可喜的成果,但由于生成模型所输入的知识存在冗余或错误,以及难以将知识的隐含逻辑表示为 SPARQL 的特定语法,因此仍存在生成错误。为解决上述问题,我们提出了基于基本图模式(BGP)的新型自监督推理框架 TrackerQA,以确定精确路径并增强 SPARQL 生成能力。首先,我们开发了一个对比学习语义匹配模型,以减少庞大的知识搜索空间。然后,我们构建了一个 BGP 解析器,将召回的知识和约束解析为 BGP 图,从而将复杂的知识解构为 BGP 三元组,并自然地从金 SPARQL 中获得监督。接下来,我们设计了一个自监督 BGP 图神经网络,它通过图转换层对知识进行编码,并采用有向消息传递控制和问题感知关注机制来预测准确的 BGP 路径。最后,SPARQL 生成器将路径整合到预先训练好的语言模型中,以提高 SPARQL 生成的性能。在 KQA Pro 数据集上的实验表明,我们的模型达到了 95.32% 的最先进回答准确率,最接近人类水平的 97.5%,并以 0.98 的节点 F1 分数和 0.99 的边 F1 分数找出 KB 路径。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Information Processing & Management
Information Processing & Management 工程技术-计算机:信息系统
CiteScore
17.00
自引率
11.60%
发文量
276
审稿时长
39 days
期刊介绍: Information Processing and Management is dedicated to publishing cutting-edge original research at the convergence of computing and information science. Our scope encompasses theory, methods, and applications across various domains, including advertising, business, health, information science, information technology marketing, and social computing. We aim to cater to the interests of both primary researchers and practitioners by offering an effective platform for the timely dissemination of advanced and topical issues in this interdisciplinary field. The journal places particular emphasis on original research articles, research survey articles, research method articles, and articles addressing critical applications of research. Join us in advancing knowledge and innovation at the intersection of computing and information science.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信