arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2205.12443cs.CLcs.LGcs.LO
收藏

基于验证者引导搜索的自然语言证明生成

Generating Natural Language Proofs with Verifier-Guided Search

Princeton University(普林斯顿大学)

Kaiyu Yang, Jia Deng, Danqi Chen

摘要:

基于自然语言的推理是自然语言处理中的一个具有挑战性的问题。在这项工作中,我们专注于证明生成:给定一个假设和一组支持事实,模型生成一个证明树,指示如何从支持事实中导出假设。与一次性生成整个证明相比,逐步生成可以更好地利用组合性并推广到更长的证明,但在现实世界的数据上取得了有限的成功。现有的逐步方法很难生成逻辑上有效且与假设相关的证明步骤。相反,他们倾向于在假设的情况下产生无效步骤的幻觉。在本文中,我们提出了一种新的逐步的方法,NLProofS(自然语言证明搜索),学习生成相关的步骤条件的假设。在我们方法的核心,我们训练一个独立的验证者来检查证明步骤的有效性,以防止幻觉。而不是生成步骤greatly,我们搜索的证明最大化的全球证明分数判断的验证。NLProofS在EntailmentBank和RuleTaker上实现了最先进的性能。具体来说,它将EntailmentBank的干扰设置中预测证明的正确性从27.7%提高到33.3%,证明了NLProofS在生成具有挑战性的人类创作证明方面的有效性。

英文摘要:

Reasoning over natural language is a challenging problem in NLP. In this work, we focus on proof generation: Given a hypothesis and a set of supporting facts, the model generates a proof tree indicating how to derive the hypothesis from supporting facts. Compared to generating the entire proof in one shot, stepwise generation can better exploit the compositionality and generalize to longer proofs but has achieved limited success on real-world data. Existing stepwise methods struggle to generate proof steps that are both logically valid and relevant to the hypothesis. Instead, they tend to hallucinate invalid steps given the hypothesis. In this paper, we present a novel stepwise method, NLProofS (Natural Language Proof Search), which learns to generate relevant steps conditioning on the hypothesis. At the core of our approach, we train an independent verifier to check the validity of the proof steps to prevent hallucination. Instead of generating steps greedily, we search for proofs maximizing a global proof score judged by the verifier. NLProofS achieves state-of-the-art performance on EntailmentBank and RuleTaker. Specifically, it improves the correctness of predicted proofs from 27.7% to 33.3% in the distractor setting of EntailmentBank, demonstrating the effectiveness of NLProofS in generating challenging human-authored proofs.

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

↑