← Latest papers
💬 NLP

How Context Shapes Truth: Geometric Transformations of Statement-level Truth Representations in LLMs

This paper provides the first geometric characterization of how context transforms truth vectors in Large Language Models, revealing that context generally amplifies the magnitude of truth representations while larger models distinguish relevant from conflicting context primarily through directional changes in activation space rather than magnitude differences.

Original authors: Shivam Adarsh, Maria Maistro, Christina Lioma

Published 2026-06-09
📖 5 min read🧠 Deep dive

Original authors: Shivam Adarsh, Maria Maistro, Christina Lioma

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 a Large Language Model (LLM) as a giant, multi-story library where every book represents a different thought or piece of information. Inside this library, the "truth" about a statement isn't written in words; it's stored as a specific arrow pointing in a certain direction.

If the model thinks a statement is true, the arrow points one way. If it thinks it's false, the arrow points the other way. The paper you shared investigates what happens to these "truth arrows" when we hand the model a piece of extra information (context) to read before answering.

Here is the breakdown of their findings using simple analogies:

1. The Three-Stage Journey of an Arrow

The researchers watched these truth arrows as they traveled through the different "floors" (layers) of the library. They found a consistent three-stage pattern:

  • The Basement (Early Layers): When the model first reads the statement, the "truth arrow" with context and the "truth arrow" without context are pointing in completely different directions. They are like two people standing back-to-back; they are orthogonal (at a 90-degree angle). The model is just processing the raw words, so the extra context hasn't made sense of the truth yet.
  • The Main Hall (Middle Layers): As the information moves up, the arrows suddenly start to line up. They converge, pointing in almost the same direction. This is where the model actually "gets it." It has processed the meaning, and whether or not there was extra context, the core idea of "truth" is now represented similarly.
  • The Attic (Later Layers): In the final floors, things get interesting. Sometimes the arrows stay perfectly aligned. Other times, they start to drift apart again. This happens mostly when the extra context contradicts what the model already "knows" from its training. It's like the model is having an internal debate, causing the arrow to wobble or shift direction as it tries to decide which information to trust.

2. Turning Up the Volume (Magnitude)

The researchers also measured the length of these arrows.

  • The Finding: When you add context, the arrows generally get longer.
  • The Analogy: Imagine the difference between a true statement and a false one is like the distance between two people standing in a room. Without context, they might be standing 5 feet apart. When you add context, the model pushes them further apart, maybe to 10 feet. The "separation" between truth and lies becomes more distinct and easier to see. The context acts like a spotlight that makes the difference between right and wrong clearer.

3. Big Models vs. Small Models: Different Strategies

The paper discovered that big models and small models handle this "extra information" in different ways, like two different types of navigators:

  • The Big Models (e.g., LLaMA, Mistral): These models are like expert cartographers with huge maps. When they get relevant context, they change the direction of their arrow. They physically turn to face a new, more accurate angle. They use the extra space in their "brain" to point in a completely new direction to show they understand the nuance.
  • The Small Models (e.g., Qwen, SmolLM): These models have smaller maps. They can't always afford to turn the arrow in a new direction without bumping into other ideas. Instead, they keep the arrow pointing roughly the same way but make it longer. They signal that they understand the context by "amplifying" the signal (making the arrow longer) rather than changing its angle.

4. Good Context vs. Random Noise

The researchers tested what happens when the context is actually useful versus when it's just random gibberish (like a list of random words or a shuffled paragraph).

  • The Result: Relevant, helpful context causes a much bigger reaction in the model's "truth arrows" than random noise does.
  • The Exception: If the context is contradictory (telling the model something that goes against its training), it causes the biggest geometric shift of all. It's like the model is shocked; the arrow swings wildly because it has to reconcile two opposing facts.
  • The Legal Text Problem: Interestingly, when the context was very complex, technical legal text, the models struggled to distinguish it from random noise. The "arrows" didn't move much. It seems that when the language is too dense and specialized, the model can't tell the difference between a helpful clue and a random sentence.

Summary

In short, this paper shows that when an LLM reads a statement with extra context, it doesn't just "read" the words; it physically reshapes the geometry of its internal thoughts.

  1. Early on, the thoughts are confused and pointing everywhere.
  2. In the middle, they align to find the truth.
  3. At the end, the "truth arrow" gets longer (more confident) or shifts direction (if the context is tricky).
  4. Big models change the direction of the arrow to show they understand; small models change the length of the arrow.

This helps us understand that "truth" in an AI isn't a static switch; it's a dynamic shape that changes depending on what the AI is reading.

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 →