arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.03356cs.CLcs.AIcs.LG
收藏

从解析-执行到解析-执行-细化:改进面向知识库复杂问答的语义解析器

From Parse-Execute to Parse-Execute-Refine: Improving Semantic Parser for Complex Question Answering over Knowledge Base

Sun Yat-Sen University(中山大学)

Wangzhen Guo, Linyin Luo, Hanjiang Lai, Jian Yin

AI总结:

针对复杂知识库问答的多步推理难题,本文提出解析-执行-细化范式,基于KoPL生成逻辑形式并执行得到中间推理步骤,再用该过程细化模型,推出的PER-KBQA在基准数据集上性能优于现有最优基线。

摘要:

将问题解析为可执行逻辑形式的方法已在知识库问答(KBQA)中取得了显著成果。然而,复杂知识库问答是一项更具挑战性的任务,需要执行复杂的多步推理。近期,一种名为KoPL的新型语义解析器被提出,用于显式建模推理过程,在复杂知识库问答任务上达到了当前最优水平。在本文中,我们通过提出一种简洁的解析-执行-细化范式,进一步探索如何释放语义解析器的推理能力。我们通过向KBQA模型展示已执行的中间推理步骤,来细化并改进KoPL解析器。研究表明,这种简单的策略能够显著提升复杂推理能力。具体而言,我们提出了三个组成模块来增强复杂推理能力:解析阶段、执行阶段和细化阶段。解析器使用KoPL生成透明的逻辑形式;随后,执行阶段在知识库上对齐并执行这些逻辑形式,以获取中间推理过程;最后,在细化阶段将逐步的中间推理过程展示给KBQA模型。借助显式的推理过程,回答复杂问题会变得容易得多。在基准数据集上的实验表明,所提出的PER-KBQA在复杂知识库问答任务上的表现显著优于当前最优基线模型。

英文摘要:

Parsing questions into executable logical forms has showed impressive results for knowledge-base question answering (KBQA). However, complex KBQA is a more challenging task that requires to perform complex multi-step reasoning. Recently, a new semantic parser called KoPL has been proposed to explicitly model the reasoning processes, which achieved the state-of-the-art on complex KBQA. In this paper, we further explore how to unlock the reasoning ability of semantic parsers by a simple proposed parse-execute-refine paradigm. We refine and improve the KoPL parser by demonstrating the executed intermediate reasoning steps to the KBQA model. We show that such simple strategy can significantly improve the ability of complex reasoning. Specifically, we propose three components: a parsing stage, an execution stage and a refinement stage, to enhance the ability of complex reasoning. The parser uses the KoPL to generate the transparent logical forms. Then, the execution stage aligns and executes the logical forms over knowledge base to obtain intermediate reasoning processes. Finally, the intermediate step-by-step reasoning processes are demonstrated to the KBQA model in the refinement stage. With the explicit reasoning processes, it is much easier to answer the complex questions. Experiments on benchmark dataset shows that the proposed PER-KBQA performs significantly better than the stage-of-the-art baselines on the complex KBQA.

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

↑