跳到正文
arXiv cs.CL· Jongwook Yoon, Jongwon Lim, Sungjib Lim, Woojin Cho, Yohan Jo·· 10 天前AI 评分22

LLM 在否定语境下如何改变预测?

How Do LLMs Change Predictions Under Negation?

AI 导读

研究评估了近期开源与闭源 LLM 的否定处理能力,发现 37-71% 的情况下模型在否定后仍重复原答案(如问"西班牙非首都"仍答"Madrid")。机制分析显示,专门的注意力头和 MLP 神经元通过抑制原答案检索、同时提升同类候选答案来实现否定,这与人类利用原答案信息确定排除对象的处理方式不同,也是否定失败的关键原因。

正文 · 原文

View PDF HTML (experimental)

Abstract:Negation is an essential feature of human language, yet large language models (LLMs) remain unreliable in processing it. We evaluate recent open-source and closed-source LLMs on our negation benchmark and find that, in 37-71% of cases, they repeat the same answer under negation (e.g., "Madrid" for "What is not the capital of Spain?"). To understand and address this brittleness, we mechanistically examine how models operate under negation. Our main finding is that specialized attention heads and MLP neurons jointly implement negation by (1) suppressing retrieval of the original answer (e.g., "Madrid") while (2) promoting a favored candidate within the answer category (e.g., "Paris"). This contrasts with accounts of human negation processing, in which information about the original answer helps to determine what should be excluded. Furthermore, we find that this difference from human processing is a key source of negation failures: the model's mechanism relies on suppressing the original answer rather than using it to determine what to exclude, so the model can repeat the original answer when suppression is too weak or when a bias toward particular answers prevents it from selecting an alternative. To address this weakness in the model's negation mechanism, we propose a training objective that requires larger shifts in answer preference for more confident original predictions, and show that it reduces negation failures with less degradation of general capabilities than standard fine-tuning baselines. Together, our results demonstrate how mechanistic analysis can reveal why a linguistic capability fails and guide training that targets the underlying limitation.
Comments: Under Review
Subjects: Computation and Language (cs.CL); Artificial Intelligence (cs.AI)
Cite as: arXiv:2610.09571 [cs.CL]
  (or arXiv:2610.09571v1 [cs.CL] for this version)
  https://doi.org/10.48550/arXiv.2610.09571

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Jongwon Lim [view email]
[v1] Wed, 7 Oct 2026 07:12:16 UTC (1,480 KB)

来源:arXiv cs.CL · arxiv.org