← Latest papers
💬 NLP

Revisiting the Systematicity in Negation in the Era of In-Context Learning

This paper investigates the systematicity of negation understanding in large language models through in-context learning, revealing that while models can partially recognize negation expressions and scopes via demonstrations, they struggle with perfect performance and robustly constructing function vectors for scope recognition.

Original authors: Hitomi Yanaka, Taisei Yamamoto

Published 2026-06-16
📖 4 min read☕ Coffee break read

Original authors: Hitomi Yanaka, Taisei Yamamoto

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are teaching a very smart, but slightly literal-minded robot how to understand the word "not." You show it a few examples: "The cat is not happy" and "The dog is not running." You hope the robot will learn the general rule of how "not" flips the meaning of a sentence, so it can handle new sentences it has never seen before.

This paper asks two big questions about that robot:

  1. Behavioral Systematicity: Can the robot actually do the job correctly on new sentences?
  2. Representational Systematicity: Does the robot actually understand the concept of "not" inside its brain, or is it just guessing based on patterns?

Here is a breakdown of their findings using simple analogies.

1. The "Behavior" Test: Can the Robot Do the Job?

The researchers taught the robot using In-Context Learning (ICL). Think of this like giving the robot a cheat sheet (a few examples) right before asking it a question, rather than retraining its entire brain.

They gave the robot two types of tasks:

  • Task A (Finding the "Not"): Point to the word "not" in a sentence.
  • Task B (Finding the "Scope"): Figure out what the "not" is changing. For example, in "I do not eat apples," does the "not" just apply to "eat," or to "eat apples"?

The Results:

  • Finding the word: The robot was pretty good at spotting the word "not" when given examples. It was almost as good as a task where it just had to guess the opposite of a word (like "hot" \rightarrow "cold").
  • Finding the scope: This is where the robot stumbled. It struggled to figure out exactly which part of the sentence was being negated.
  • The "Format" Trap: The robot's performance changed wildly depending on how you asked for the answer.
    • If you asked it to write the words inside the scope (e.g., "eat apples"), it did okay.
    • If you asked it to put brackets around the words (e.g., "[eat apples]"), it got confused.
    • If you asked it to mark every single word with a 0 or 1 (like a checklist), it failed completely.

The Takeaway: The robot can learn to spot "not," but it doesn't have a rock-solid, universal understanding of how "not" works. It's like a student who can pass a math test if the questions look like the practice problems, but gets confused if the teacher changes the format slightly.

2. The "Brain Scan" Test: Does the Robot Have a "Not" Button?

To see if the robot truly understood the concept, the researchers tried a technique called Function Vectors.

The Analogy: Imagine the robot's brain is a giant factory with thousands of workers (neurons). When you show the robot examples of "not," a specific group of workers gets excited and starts doing a specific job. The researchers tried to capture that "excitement" as a single digital file (a vector).

Then, they took that file and injected it into the robot's brain when it was looking at a new sentence, without showing any examples. It's like giving the robot a "magic pill" that forces its brain to switch into "Negation Mode" instantly.

The Results:

  • For finding the word "not": The magic pill worked! When they injected the "Negation Mode" file, the robot could correctly find the word "not" in new sentences, even without any examples. This suggests the robot does have a clear, structured representation of "finding the cue."
  • For finding the scope: The magic pill failed. Injecting the file didn't help the robot figure out the scope of the negation. The robot still couldn't do the job.

The Takeaway: The robot has a clear, organized "file" for spotting the word "not." However, it does not have a clear, organized "file" for understanding the complex logic of what that "not" is negating. It's like the robot has a button that says "Find the word 'not'," but it lacks a button that says "Understand the meaning of 'not'."

Summary

  • Can the robot learn? Yes, but only to a point. It can spot the word "not" if you show it examples, but it struggles to understand the full meaning, especially if you ask the question in a different way.
  • Does the robot understand? Partially. It has a solid internal representation for finding the negation cue, but it fails to build a robust internal representation for understanding the scope of that negation.

The paper concludes that while Large Language Models are getting better, they still lack the deep, systematic "logic" that humans have when we instantly understand that "The dog didn't chase the cat" is the opposite of "The cat didn't chase the dog." They are good at pattern matching, but not yet at true structural reasoning.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →