arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2405.04872cs.CLcs.AIcs.LO
收藏

面向基于提示方法的逻辑否定增强与去偏

Logical Negation Augmenting and Debiasing for Prompt-based Methods

Shanghai Jiao Tong University(上海交通大学)

Yitian Li, Jidong Tian, Hao He, Yaohui Jin

AI总结:

针对基于提示方法在一阶逻辑推理中受逻辑否定虚假相关影响的问题,本文提出无需参数更新的NAND否定增强与去偏方法,并在三个数据集上验证其校准与推理增强效果。

摘要:

基于提示的方法在自然语言处理领域受到越来越多的关注,并在许多下游任务上展现出有效性。许多研究致力于挖掘这些方法在知识抽取方面的潜力,但很少有研究探索其进行逻辑推理的能力。在本工作中,我们关注基于提示的方法在一阶逻辑推理上的有效性,并发现其瓶颈在于逻辑否定。根据我们的分析,逻辑否定往往会导致与否定答案之间的虚假相关,而不含逻辑否定的命题则与肯定答案相关。为解决这一问题,我们提出了一种简单而有效的方法——否定增强与否定去偏(Negation Augmenting and Negation Debiasing, NAND),该方法在不更新参数的情况下,为基于提示的方法引入否定命题。具体而言,这些否定命题通过为所有实例提供“not”来抵消虚假相关,使模型无法仅根据表达式是否包含逻辑否定来作出决策。在三个数据集上的实验表明,NAND不仅解决了逻辑否定的校准问题,还在无需重新训练模型的情况下,显著增强了基于提示方法的逻辑推理能力。

英文摘要:

Prompt-based methods have gained increasing attention on NLP and shown validity on many downstream tasks. Many works have focused on mining these methods' potential for knowledge extraction, but few explore their ability to make logical reasoning. In this work, we focus on the effectiveness of the prompt-based methods on first-order logical reasoning and find that the bottleneck lies in logical negation. Based on our analysis, logical negation tends to result in spurious correlations to negative answers, while propositions without logical negation correlate to positive answers. To solve the problem, we propose a simple but effective method, Negation Augmenting and Negation Debiasing (NAND), which introduces negative propositions to prompt-based methods without updating parameters. Specifically, these negative propositions can counteract spurious correlations by providing "not" for all instances so that models cannot make decisions only by whether expressions contain a logical negation. Experiments on three datasets show that NAND not only solves the problem of calibrating logical negation but also significantly enhances prompt-based methods of logical reasoning without model retraining.

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

↑