Sign inGet started
Paper · arXiv

How Language Models Process Negation

We study how Large Language Models (LLMs) process negation mechanistically. First, we establish that even though open-weight models often provide wrong answers to questions involving negation, they do possess internal components that process negation correctly. Their poor accuracy is due to late-layer attention behavior that promotes simple shortcuts; ablating those attention modules greatly improves accuracy on negation-related questions. Second, we uncover how models process negation. We consider two hypotheses: models could use attention heads that attend to the phrase being negated and suppress related concepts, or they could directly construct a representation of the entire negative ...

AuthorsZhejian Zhou, Tianyi Zhou, Robin Jia et al.
Primary categorycs.CL
Published4 May 2026
Last updated at source29 May 2026
cs.CL
Embed this entry
<iframe src="https://silytics.si/embed/item/bb99aee7-fa74-4f2c-9b86-0c1acca11280" width="420" height="190" style="border:0" loading="lazy" title="Silytics entry"></iframe>

Free, no tracking. More about feeds and embeds.

Silytics shows public metadata from arXiv and links to the original. Information may be incomplete or out of date. Last refreshed 17 October 2026. Licenses and terms of the original apply to the work itself. Not financial, legal or professional advice.