Skip to content
Artificial intelligence. Clearly. RSS feed
AI NEWS AI

News. Evidence. Perspective.

ResearchExplainer

How AI handles the word “not”

An exclusion can change which answer is correct. Studies of language and image search show why AI must preserve the scope of a negative, and why a useful internal signal can still lose out before the final answer.

A small word can change the whole job. Ask for photographs of a kitchen without people, or orders that have not been dispatched, and the exclusion defines which results belong. AI must preserve that relationship through its representation and final decision. Recognising the subject of a sentence is only part of the work.[3][6]

First work out what the negative applies to

Consider two invented statements: “The assistant did not say the parcel arrived” and “The assistant said the parcel did not arrive.” The first leaves the parcel’s arrival unsettled. The second reports a claim that it failed to arrive. Both contain the same important words, including not, but attach the negative to different events.[1]

Linguists call this scope. The 2023 ScoNe benchmark varied whether zero, one or two negative expressions changed an inference. Its design exposed a shortcut: ignoring negation can accidentally produce the correct answer in some cases, while failing in others that look almost identical. A successful example therefore needs a carefully chosen comparison.[1]

At a glance

Three different claims about the same lights

Three different claims about the same lights
StatementWhat it establishes
Not every light is on.At least one light is not on; the statement does not say how many are on.Source 2
No lights are on.The number switched on is zero.Source 2
Every light is off.All members of the stated set are off, assuming each is either on or off.Source 2

Thunder-NUBench, published at EACL 2026, makes such distinctions explicit. It asks models to choose a sentence’s logical negation from alternatives that include narrower negation, an incompatible statement and a paraphrase. Its 1,261 test questions are English, mainly formal encyclopedic language. Errors frequently involved selecting a negative expression with the wrong scope.[2]

The answer must change when the meaning changes

The CONDAQA researchers used whole passages rather than isolated words. Crowdworkers created three edits: preserve the meaning with a paraphrase, change the scope of the negative, or reverse the negation. They then answered questions about the implications of each version. The evaluation checked whether a model remained correct across the related group.[3]

That suggests a practical way to inspect an AI’s interpretation. For a short fictional dispatch note, ask separately which parcels were sent and which remain pending. Then examine the exact sentence supporting each category. A changed phrase should change the answer only when it changes the relevant fact. This is an editorial application of contrastive checking, not a tested prompting remedy.[3]

An exclusion can also leave information unknown. If a note says a parcel was not delivered on Monday, Tuesday is one possibility, but cancellation or a later delivery are others. Turning the negative into one convenient positive would add information. This original example shows why a useful answer sometimes needs an unresolved category.

Learning a pattern is easier than learning every use

A separate EMNLP 2023 study generated English statements from WordNet relationships and trained models to classify them as true or false. Fine-tuning produced strong results within its dataset. Further experiments, however, showed weaknesses when training and testing used different negation forms or relation patterns. A model could learn a reliable shortcut for the examples it had seen.[4]

The distinction is relevant to any claim that a model has learned a linguistic rule. Repeated success with “is not” does not establish success with “unless”, “nobody” or a negative inside a longer clause. Those expressions require their own appropriate tests. More examples help most when they expose the actual distinctions, rather than repeat a familiar sentence pattern.[4]

A correct internal signal can lose to a shortcut

An ICML 2026 study examined what happens inside models. Researchers rendered 162 controlled questions in four templates, producing 648 prompts, and compared support for selected positive and negative answers. In detailed analysis of Llama-3.1-8B and Mistral-7B-v0.1, they found mechanisms that constructed representations of negated concepts and suppressed related positive concepts.[5]

Yet later attention components could favour a familiar positive association and override that work. Intervening on these components improved the study’s negative-answer performance. The evidence supports a more interesting explanation than complete inability to process not: competing computations can influence the result. These were controlled candidate-answer experiments, not a measurement of every kind of conversational instruction.[5]

ScoNe supplied an earlier behavioural counterpart. InstructGPT struggled with several prompted inference conditions but handled negation more successfully when completing short narratives. The format changed what the model could demonstrate. Together, such findings explain why a fluent explanation of a rule and reliable application of it are separate achievements.[1]

Searching for what is absent requires extra care

Image search adds another stage. CLIP-style systems map text and pictures into a shared numerical space and rank their similarity. The CVPR 2025 NegBench study found that affirmative and negated captions could land very close together. A representation that strongly captures kitchen and people can be a poor description of the request to find the first without the second.[6]

NegBench tests both retrieval under exclusions and choosing among closely related image descriptions. These demand different decisions: produce useful search results, or distinguish what a supplied picture does and does not contain. The work also explored teaching with synthetic negated captions. It concerns image-text matching; a failure there does not directly quantify an image generator’s obedience.[6]

A 2026 ICLR study approached the same problem with an additional computational step. It parsed the negated concept and adjusted the text representation before comparing it with images. The adjustment removed a projection associated with that concept and included an anchor correction. Its effectiveness depended on the parser, model and adjustment setting; it was a designed retrieval method, not simply a stronger instruction to the model.[7]

The useful lesson is to make the exclusion part of the decision itself. In a dispatch list, that means preserving sent, unsent and unknown. In picture search, it means evaluating the forbidden content as well as the desired subject. Understanding not becomes useful when the distinction survives all the way to the result.[7]

Follow the evidence

Sources & further reading

  1. How Language Models Process Negation ICML 2026 · Accessed 12 Oct 2026