← Latest papers
🤖 machine learning

The Anatomy of a Truth Direction: Knowledge-Dependent Dimensionality, a Relational Law, and a Convergent Category Geometry in Small Language Models

This paper extends the understanding of truth representations in language models by demonstrating that truth dimensionality is knowledge-dependent (collapsing to a single axis for known facts), identifying specific architectural components that propagate or oppose truth frames, and revealing a convergent, knowledge-gated geometric law that governs truth direction across diverse model families.

Original authors: Francesco Karim Vicidomini

Published 2026-07-21
📖 7 min read🧠 Deep dive

Original authors: Francesco Karim Vicidomini

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

The Hidden Compass in the Machine's Brain

Imagine a giant library where a robot has read every book ever written. This robot, called a Large Language Model, is so good at mimicking human speech that it can write poems, solve math problems, and tell stories. But there's a catch: it can also lie with perfect confidence. It might tell you that the moon is made of cheese, and it will say it with the same smooth voice it uses to tell you the moon is made of rock. Scientists have long wondered: inside this robot's brain, is there a hidden "truth switch" that lights up when it knows something is real?

To understand this, we need to know how the robot thinks. It doesn't store facts like a human does; instead, it turns every sentence it reads into a long list of numbers, like a secret code. Scientists call this a "vector." Think of these numbers as coordinates on a map. If the robot knows a fact, those coordinates might point in a specific direction. If it's guessing, the coordinates might be all over the place. The big question is: Is there a single, straight line on this map that points to "Truth"? Or is truth a messy, multi-dimensional cloud that changes depending on what you're talking about? This paper dives deep into that map to see if we can find a compass that always points to the truth, or if the robot's brain is too complicated for a simple needle.


The One-Direction Truth Compass

The researchers in this paper decided to play detective inside the brain of a small robot (specifically, a model called Qwen2.5-1.5B). They wanted to see if they could find a single, straight line—a "truth direction"—that separates what the robot knows is true from what it knows is false.

The Magic of "Minimal Pairs"
To do this, they used a clever trick called "minimal pairs." Imagine you have two sentences that are twins, except for one word.

  • Sentence A: "The Sun is a star." (True)
  • Sentence B: "The Sun is a planet." (False)

The robot reads both sentences. The researchers then looked at the secret number-codes (the hidden states) the robot created for each sentence and subtracted one from the other. Because the sentences are almost identical, all the "noise" cancels out, leaving only the difference caused by the truth or the lie. They used a mathematical tool (SVD) to find the main direction of that difference.

The Big Discovery: Truth is a Line, But Only When You Know
The team found something amazing: for facts the robot actually knows, truth really does live on a single, straight line. When they tested this on facts the robot had memorized (like capital cities or chemical symbols), their "truth compass" worked incredibly well, getting the right answer about 93.8% of the time.

However, they discovered a crucial rule: The compass only works if the robot knows the fact.

  • When the robot knows: The truth signal is sharp and concentrated on that single line.
  • When the robot doesn't know: The signal gets fuzzy and spreads out. If you ask the robot about obscure facts it hasn't learned, the "truth" and "lie" coordinates start to overlap, like two clouds of fog merging. The compass can't tell them apart because the robot is just guessing.

The paper also tested a bunch of wild ideas to see if truth was more complex than a simple line. They asked: "Is truth a 3D shape? Is it a spinning phase? Is it a complex rotation?" The answer was a resounding no. They ran seven different experiments trying to find a second dimension or a hidden pattern, and every time, the extra complexity turned out to be just noise. Truth, for known facts, is strictly one-dimensional.

The Anatomy of a Lie: Who Writes the Truth?

The researchers didn't stop at finding the line; they wanted to know who in the robot's brain was drawing it. The robot's brain has two main workers: Attention (which looks at the words and connects them) and the FFN (a feed-forward network that acts like a memory writer).

They found a fascinating dance between these two workers:

  1. Attention is the Builder: In the middle layers of the robot's brain, the Attention worker builds the truth signal. It gathers the facts and draws the line.
  2. The FFN is the Eraser: Once the line is drawn, the FFN worker comes along and starts to mess it up. It actually pushes the truth signal away from the correct direction, especially right after the peak of understanding.

It's like a game of tug-of-war. Attention pulls the rope toward "Truth," but the FFN pulls it back toward "Next Word Prediction." The researchers found that the FFN is so busy trying to guess what word comes next that it accidentally erases the truth signal it just helped create.

The Relational Law: A Universal Rule

The team then tested this on four different robots from two different families (Qwen and Llama). They discovered a universal law that applies to all of them, regardless of their size or training:

  • Attention always propagates (carries forward) the truth frames it didn't write.
  • The FFN always opposes the truth frame of the current moment and writes the material for the next moment.

It's as if the Attention worker says, "Here is the truth!" and the FFN worker says, "Okay, I'll take that, but now I'm going to overwrite it with my own idea for the next sentence." This creates a cycle where the truth signal rises, peaks, and then fades away as the robot moves on to predicting the next word.

The Secret Map of Categories

Finally, the researchers looked at how the robot handles different types of facts, like "countries," "languages," or "sports." They found that the robot doesn't use the same line for everything. Instead, it has a whole map of different lines, one for each category.

Here's the mind-blowing part: Even though the two robot families (Qwen and Llama) were built differently and trained on different data, they both ended up drawing this map in the exact same way.

  • If "Languages" and "Countries" point in opposite directions on Qwen's map, they also point in opposite directions on Llama's map.
  • If "Sports" is a loner that doesn't align with anything, it's a loner on both maps.

This suggests that the way truth is organized isn't random; it's a property of the knowledge itself. The robots are both discovering the same hidden geometry of the world. However, this agreement only happens if both robots actually know the facts. If they are guessing, the map falls apart.

What This Means (And What It Doesn't)

The paper is very careful not to overhype its findings. It explicitly rules out several things:

  • Truth is not a 3D object: It's a line (for known facts).
  • The FFN doesn't help truth: It actually hurts it after the peak.
  • The compass isn't magic: It fails completely if the robot doesn't know the fact.

The researchers are confident in their measurements because they used strict controls, like "falsification experiments" where they tried to prove themselves wrong. They even found a mistake in their own earlier thinking (about a "flip" in the signal) and corrected it, showing that the signal is actually a universal law, not just a fluke of one specific layer.

In short, this paper shows us that inside the robot's brain, truth is a simple, straight line—but only when the robot is sure of the answer. When it's guessing, the line dissolves into a fog. And while the robot's brain is complex, the way it organizes truth follows a beautiful, universal geometry that seems to be built into the very nature of knowledge itself.

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 →