大纲与填充:基于知识图谱的复杂问题分层查询图生成
Outlining and Filling: Hierarchical Query Graph Generation for Answering Complex Questions over Knowledge Graphs
摘要:
查询图构造的目的是在KG上构造正确的可执行SPARQL来回答自然语言问题。尽管最近的方法使用基于神经网络的查询图排序取得了良好的结果,但是当处理更复杂的问题时,它们遭受三个新的挑战:1)复杂的SPARQL语法,2)巨大的搜索空间,以及3)局部模糊的查询图。在本文中,我们提供了一种新的解决方案。作为一个准备,我们扩展了查询图处理每个SPARQL子句作为一个子图组成的顶点和边,并定义了一个统一的图形语法称为AQG来描述查询图的结构。基于这些概念,我们提出了一种新的端到端模型,执行分层自回归解码生成查询图。高级解码生成AQG作为约束,以修剪搜索空间并减少局部模糊查询图。底层解码通过从预先准备的候选中选择合适的实例来填充AQG中的槽来完成查询图的构造。实验结果表明,我们的方法大大提高了复杂KGQA基准上的SOTA性能。配备了预训练的模型,我们的方法的性能得到了进一步提高,实现了所有三个数据集的SOTA。
英文摘要:
Query graph construction aims to construct the correct executable SPARQL on the KG to answer natural language questions. Although recent methods have achieved good results using neural network-based query graph ranking, they suffer from three new challenges when handling more complex questions: 1) complicated SPARQL syntax, 2) huge search space, and 3) locally ambiguous query graphs. In this paper, we provide a new solution. As a preparation, we extend the query graph by treating each SPARQL clause as a subgraph consisting of vertices and edges and define a unified graph grammar called AQG to describe the structure of query graphs. Based on these concepts, we propose a novel end-to-end model that performs hierarchical autoregressive decoding to generate query graphs. The high-level decoding generates an AQG as a constraint to prune the search space and reduce the locally ambiguous query graph. The bottom-level decoding accomplishes the query graph construction by selecting appropriate instances from the preprepared candidates to fill the slots in the AQG. The experimental results show that our method greatly improves the SOTA performance on complex KGQA benchmarks. Equipped with pre-trained models, the performance of our method is further improved, achieving SOTA for all three datasets used.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。