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

条件链:为条件问答构建、验证并求解条件

Chain of Condition: Construct, Verify and Solve Conditions for Conditional Question Answering

Wangxuan Institute of Computer Technology, Peking University(北京大学王选计算机研究所);State Key Laboratory of General Artificial Intelligence, Peking University(北京大学通用人工智能国家重点实验室);The Open University of China(国家开放大学)

Jiuheng Lin, Yuxuan Lai, Yansong Feng

AI总结:

本文提出条件链提示方法,通过显式构建条件逻辑关系、验证条件满足情况并求解逻辑表达式,在条件问答任务上超越现有提示基线和监督模型,达到新的最优水平。

摘要:

条件问答(CQA)是一项重要任务,旨在找出可能的答案并识别缺失的条件。现有方法在处理CQA时面临两个挑战:(1)精确识别必要条件及其逻辑关系,以及(2)验证条件以检测任何缺失的条件。在本文中,我们提出了一种新颖的提示方法——条件链(Chain of condition),首先根据文档识别所有条件并显式构建其逻辑关系,然后验证这些条件是否得到满足,最后求解逻辑表达式以指出任何缺失的条件并据此生成答案。在两个CQA基准数据集上的实验表明,我们的条件链方法优于现有的提示基线,建立了新的最优水平(state of the art)。此外,仅需少量示例,我们的方法就能使GPT-3.5-Turbo或GPT-4超越所有现有的监督模型。

英文摘要:

Conditional question answering (CQA) is an important task that aims to find probable answers and identify missing conditions. Existing approaches struggle with CQA due to two challenges: (1) precisely identifying necessary conditions and the logical relationship, and (2) verifying conditions to detect any that are missing. In this paper, we propose a novel prompting approach, Chain of condition, by first identifying all conditions and constructing their logical relationships explicitly according to the document, then verifying whether these conditions are satisfied, finally solving the logical expression to indicate any missing conditions and generating the answer accordingly. Experiments on two CQA benchmark datasets show our chain of condition outperforms existing prompting baselines, establishing a new state of the art. Furthermore, with only a few examples, our method can facilitate GPT-3.5-Turbo or GPT-4 to outperform all existing supervised models.

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

↑