← Latest papers
🤖 machine learning

Geometric Evolution Maps: Extracting Stable Concept Probes from Transformer Residual Streams

This paper introduces Geometric Evolution Maps (GEMs), a method that tracks the directional trajectory of concepts in transformer residual streams to identify stable "handoff layers" where representations settle, thereby extracting more reliable concept probes than traditional fixed-layer or peak-score approaches across diverse architectures.

Original authors: James Henry

Published 2026-05-26
📖 5 min read🧠 Deep dive

Original authors: James Henry

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 Transformer AI model as a massive, multi-story factory where raw ideas enter at the bottom and get processed layer by layer until they become a finished product at the top.

For a long time, researchers trying to understand what the AI is thinking (like whether it understands "anger," "truth," or "danger") had a simple rule: Just look at the very top floor. They assumed that by the time an idea reached the final layer, it was fully formed and stable.

This paper argues that rule is wrong. It's like trying to understand a recipe by only looking at the final plated dish, ignoring the fact that the ingredients were chopped, mixed, heated, and stirred in completely different ways on every single floor before they got there.

Here is the simple breakdown of what the paper discovered and proposed:

1. The Problem: Ideas Spin Like a Top

The authors found that when an AI "thinks" about a concept (like "sarcasm" or "threat"), the way it represents that idea in its internal memory spins around wildly as it moves up the factory floors.

  • The Analogy: Imagine a group of people trying to form a human pyramid. At the bottom, they are just grabbing each other's hands and spinning in circles, trying to find their balance. They are all over the place.
  • The Data: The paper measured this "spin." In most cases, the direction of the idea at the start of the assembly process was almost completely different (like pointing North vs. South) from where it ended up.
  • The Mistake: If you try to "probe" (detect) the idea while it's still spinning in the middle of the factory, you might catch it pointing in the wrong direction. You might think the AI is thinking about "danger" when it's actually just organizing the pieces to eventually think about danger.

2. The Solution: The "Handoff" Layer

The authors introduced a new method called Geometric Evolution Maps (GEMs). Instead of guessing which floor to look at, GEMs track the idea as it moves up the factory to find the exact moment it stops spinning and locks into place.

  • The Analogy: Think of a relay race. The runners (layers) pass the baton (the concept) back and forth. For a while, the baton is wobbling and being passed awkwardly. But then, there is a specific moment—the Handoff—where the runner finally catches the baton, steadies their grip, and starts running in a straight line.
  • The Discovery: The paper found that this "steady grip" happens at a specific floor, which they call the Handoff Layer. Once the idea passes this layer, it stops spinning and stays stable all the way to the top.
  • The Result: If you want to know what the AI is thinking, you shouldn't look at the very top (where it might have drifted) or the middle (where it's still spinning). You should look exactly at the Handoff Layer, where the idea has settled into its final, stable shape.

3. Testing the Theory

The researchers tested this on 23 different AI models (ranging from tiny ones to very large ones) and 17 different types of concepts (like "sarcasm," "urgency," "deception," etc.).

  • The Comparison: They compared their new "Handoff" method against the old "Peak" method (looking at the floor where the idea seemed loudest, even if it was still spinning).
  • The Outcome: The Handoff method was better 68% of the time. In many cases, it was significantly more accurate.
  • The Catch: It works best in larger models. In very small models, the "spin" is sometimes so chaotic or the factory is so short that the idea doesn't have time to settle properly before it hits the top.

4. Special Rules for Different Factory Types

The paper noticed that different types of AI factories behave differently:

  • Standard Factories (MHA): These almost always have a clear "Handoff" layer where the idea settles. The new method works great here.
  • Grouped Factories (GQA): These have a more complex internal structure. They sometimes settle earlier or behave differently, so the "Handoff" method is less dominant but still useful.
  • The "Near-Top" Rule: Sometimes, the idea settles so late that it's almost at the very top floor. If you try to check the idea there, you might accidentally mix it up with the final "packaging" step (getting ready to speak). The authors created a special rule to handle these rare cases, ensuring they don't get confused by the packaging process.

5. What This Means (and What It Doesn't)

  • What it proves: The paper proves that AI concepts are not static; they are dynamic processes that move and rotate before they stabilize. To understand them, you must find the moment they stop moving.
  • What it doesn't claim: The paper does not claim this makes the AI safer, or that we can now perfectly control AI behavior. It simply provides a better "microscope" to see where the AI's thoughts are actually stable.
  • One Failure: The paper admits one specific small model (gpt2) broke the rules. In this tiny factory, the "Handoff" happened so close to the top that the method got confused by the packaging process. This is a known limitation, not a flaw in the general theory.

Summary

Think of the AI's brain as a river. The old way of studying it was to look at the ocean where the river ends, assuming the water was calm. This paper says, "No, the water is churning and spinning all the way down."

The Geometric Evolution Map is like a sensor that floats down the river, waiting for the exact moment the water stops swirling and flows straight. Once it finds that calm spot (the Handoff Layer), it takes a snapshot. This snapshot is a much clearer, more accurate picture of what the AI is actually thinking than any snapshot taken at the top or bottom.

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 →