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

基于知识库的复杂问题求解的程序迁移

Program Transfer for Answering Complex Questions over Knowledge Bases

BNRist(北京国家信息科学与技术研究中心);Tsinghua University(清华大学);Huawei Technologies(华为技术有限公司)

Shulin Cao, Jiaxin Shi, Zijun Yao, Xin Lv, Jifan Yu, Lei Hou, Juanzi Li, Zhiyuan Liu, Jinghui Xiao

摘要:

用于回答知识库(KB)上的复杂问题的程序归纳旨在将问题分解为多步程序,其对KB的执行产生最终答案。学习诱导程序依赖于大量的并行问题程序对给定的知识库。然而,对于大多数知识库,黄金程序注释通常是缺乏的,使学习困难。在本文中,我们提出了程序转移的方法,其目的是利用有价值的程序注释的丰富资源的知识库作为外部监督信号,以帮助程序诱导的低资源的知识库,缺乏程序注释。对于程序传输,我们设计了一个新的两阶段解析框架,有效的本体指导修剪策略。首先,草图解析器将问题转换为高级程序草图,即函数的组成。第二,给定问题和草图,参数解析器从KB中搜索函数的详细参数。在搜索过程中,我们结合知识库本体来修剪搜索空间。在ComplexWebQuestions和WebWebCriminalSP上的实验表明,该方法的性能明显优于SOTA方法,证明了程序迁移和框架的有效性。我们的代码和数据集可以从https://github.com/THU-KEG/ProgramTransfer获得。

英文摘要:

Program induction for answering complex questions over knowledge bases (KBs) aims to decompose a question into a multi-step program, whose execution against the KB produces the final answer. Learning to induce programs relies on a large number of parallel question-program pairs for the given KB. However, for most KBs, the gold program annotations are usually lacking, making learning difficult. In this paper, we propose the approach of program transfer, which aims to leverage the valuable program annotations on the rich-resourced KBs as external supervision signals to aid program induction for the low-resourced KBs that lack program annotations. For program transfer, we design a novel two-stage parsing framework with an efficient ontology-guided pruning strategy. First, a sketch parser translates the question into a high-level program sketch, which is the composition of functions. Second, given the question and sketch, an argument parser searches the detailed arguments from the KB for functions. During the searching, we incorporate the KB ontology to prune the search space. The experiments on ComplexWebQuestions and WebQuestionSP show that our method outperforms SOTA methods significantly, demonstrating the effectiveness of program transfer and our framework. Our codes and datasets can be obtained from https://github.com/THU-KEG/ProgramTransfer.

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

↑