paper-with-me

홈 › Papers

How Language Models Process Negation

2026-05-04 · Zhejian Zhou, Tianyi Zhou, Robin Jia, Jonathan May arxiv

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 phrase (e.g., representing "not gas" as a vector that promotes liquids and solids). We apply a range of observational and causal interpretability techniques on Mistral-7B and Llama-3.1-8B to show that models implement both mechanisms, with the "constructive" mechanism being more prominent. Combined, our work deepens the understanding of LLMs' internals, highlighting construction-dominant computations and the coexistence of competing mechanisms within LLMs.

📄 PDF Abstract BibTeX arXiv:2605.03052

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Developmental Negation Processing in Transformer Language Models

2022-04-29 · ACL 2022 5 · Antonio Laverghetta Jr., John Licato

Reasoning using negation is known to be difficult for transformer-based language models. While previous studies have used the tools of psycholinguistics to probe a transformer's ability to reason over negation, none have…

DiagnosticNatural Language InferenceNegation

The Scope and Focus of Negation: A Complete Annotation Framework for Italian

2017-04-01 · WS 2017 4 · Bego{\~n}a Altuna, Anne-Lyse Minard, Manuela Speranza

In this paper we present a complete framework for the annotation of negation in Italian, which accounts for both negation scope and negation focus, and also for language-specific phenomena such as negative concord. In ou…

ArticlesDecision MakingNegationSentiment Analysis

Corpora Annotated with Negation: An Overview

2020-03-01 · CL 2020 3 · Salud Mar{\'\i}a Jim{\'e}nez-Zafra, Roser Morante, Mar{\'\i}a Teresa Mart{\'\i}n-Valdivia, L. Alfonso Ure{\~n}a-L{\'o}pez

Negation is a universal linguistic phenomenon with a great qualitative impact on natural language processing applications. The availability of corpora annotated with negation is essential to training negation processing …

NegationSemantic Role Labeling

Negation typology and general representation models for cross-lingual zero-shot negation scope resolution in Russian, French, and Spanish.

2021-06-01 · NAACL 2021 4 · Anastassia Shaitarova, Fabio Rinaldi

Negation is a linguistic universal that poses difficulties for cognitive and computational processing. Despite many advances in text analytics, negation resolution remains an acute and continuously researched question in…

Machine TranslationNegationNegation DetectionNegation Scope Resolution+2

Negation Detection in Dutch Spoken Human-Computer Conversations

2022-06-01 · LREC 2022 6 · Tom Sweers, Iris Hendrickx, Helmer Strik

Proper recognition and interpretation of negation signals in text or communication is crucial for any form of full natural language understanding. It is also essential for computational approaches to natural language pro…

Natural Language UnderstandingNegationNegation DetectionTransfer Learning