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

否定引发的强幻觉及其修复方法

Strong hallucinations from negation and how to fix them

CNRS(法国国家科学研究中心);IRIT(图灵信息技术与研究中心);Université Paul Sabatier(保罗·萨巴蒂埃大学)

Nicholas Asher, Swarnadeep Bhar

AI总结:

针对语言模型因逻辑不一致产生强幻觉的问题,本文提出将否定视为对潜在表示的操作而非元素,无需稀疏否定数据训练即可提升带否定任务的性能。

摘要:

尽管语言模型(LMs)在许多任务上表现出色,但它们在推理方面仍存在困难,有时会提供因逻辑不一致而绝无可能为真的响应。我们将此类响应称为“强幻觉”,并证明它们源于语言模型对其逻辑算子内部表示的计算以及从这些表示中产生的输出。聚焦于否定,我们提出了一种新颖的解决方案,在该方案中,否定不被视为潜在表示的另一个元素,而是被视为“对语言模型潜在表示的一种操作,该操作约束了这些表示可能如何演化”。我们表明,我们的方法在带否定的完形填空提示和自然语言推理任务中提升了模型性能,且无需在稀疏的否定数据上进行训练。

英文摘要:

Despite great performance on many tasks, language models (LMs) still struggle with reasoning, sometimes providing responses that cannot possibly be true because they stem from logical incoherence. We call such responses \textit{strong hallucinations} and prove that they follow from an LM's computation of its internal representations for logical operators and outputs from those representations. Focusing on negation, we provide a novel solution in which negation is treated not as another element of a latent representation, but as \textit{an operation over an LM's latent representations that constrains how they may evolve}. We show that our approach improves model performance in cloze prompting and natural language inference tasks with negation without requiring training on sparse negative data.

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

↑