The Shape of Wisdom: How Language Models Converge on an Answer
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.
Tom: Hi, I'm Tom.
Jane: And I'm Jane, here with Lu, Meng and our in-house large language model, Lalam.
Tom: We're looking at the paper: "The Shape of Wisdom".
Jane: Here's the gist of the paper. The gist: An answer is better understood as a trajectory than as a single endpoint, and correctness and stability are different properties that can be separated by tracking state, motion, and boundary distance.
Tom: Answers are trajectories Language models do not simply choose an answer at the output layer; in a 9,000-trajectory MMLU study across Qwen2.5-7B-Instruct, Llama-3.1-8B-Instruct, and Mistral-7B-Instructv0.3, the score of the answer moves across depth in structured ways.
Jane: We describe each trajectory with three quantities: the current answer margin, the next-layer change in that margin, and the distance from a decision flip.
Tom: The main empirical picture is that correctness and stability are different; the largest group is unstable-correct, not stable-correct.
Paper summary: Tom: So Jane, so we're looking at this paper called "The Shape of Wisdom: How Language Models Converge on an Answer." Basically, it claims that language models don't just pick an answer at the very end; instead, the score of that answer moves through different layers in a structured way.
Jane: That sounds like they're arguing for trajectories rather than a single endpoint. What does that actually mean for how we think about these models?
Tom: They describe each trajectory with three things: the current answer margin, the next-layer change in that margin, and how far away it is from a decision flip. The main finding is that correctness and stability are actually different properties when you trace this movement.
Jane: So if we have correct answers, they aren't always stable? That's an interesting distinction.
Lu: The paper shows that the largest group of trajectories, in terms of raw count across all models, is unstable-correct rather than stable-correct >
Tom: Let's look at the specifics from "The Shape of Wisdom: How Language Models Converge on an Answer." They did a study with nine thousand trajectories across three models: Qwen2 point 5-7B-Instruct, Llama-three point one-8B-Instruct, and Mistral-7B-Instructv0 point 3 > <ref:2606.01202#pg1,Qwen2.5-7B-Instruct, Llama-3.1-8B-Instruct, and Mistral-7B>
Jane: And they found that the answer score moves across depth in structured ways instead of just being picked at the output layer. They call this movement state, motion, and boundary distance >
Meng: So they're trying to map out exactly how a model gets from uncertainty to a final choice through its hidden layers. That makes sense for debugging when things go wrong at scale >
Lalam: The paper says that the centroids follow the answer the model gives rather than the question itself, which is pretty cool because it means that if a country's name appears in citizenship questions, that country's identity shows up in questions about towns and films too >
Tom: They also showed that after a certain layer jump, if you move a wrongly answered state to the right answer’s centroid, it makes the model give the right answer in about eighty-three percent to ninety-seven percent of cases late in the network >
Jane: That suggests that we can use these centroids as markers. If we see where a trajectory is headed toward, it tells us something about its final outcome later on.
Lu: It's a practical way to see which answers are settled, which remain fragile, and which measured sources actually move them >
Conclusion: Tom: So what's the big picture here with "The Shape of Wisdom: How Language Models Converge on an Answer"? The authors are showing that final accuracy is a mix of two things: whether the answer is correct and whether the model has actually settled on it >
Jane: It means we need to look at how the correct option pulls ahead earlier in the network and then keep it ahead through later layers. The paper points out that attention gives us clear small layer-by-layer pushes toward stable-correct answers >
Meng: From a deployment standpoint, this suggests that if we can identify which components—like attention or MLP scalars—are pushing the margin, we might be able to guide the model's path instead of just hoping for a good final output >
Lalam: It’s about getting it right and then staying settled. The authors say that the best behavior isn't just getting the answer right, but getting it right and then staying settled >
Lu: I think this work is valuable because it gives us a concrete way to see which answers are fragile, which are stable, and which parts of the network are most important for forming an answer >
Shailesh Rana
cs.AI, cs.CL, cs.LG
Submitted: 2026-05-31
Updated: 2026-10-20
Comments: 10 pages, 5 figures. This version replaces the earlier decision-trajectory analysis with a new study. Code and data: https://github.com/gut-puncture/The-Shape-of-Wisdom
Code: https://github.com/gut-puncture/The-Shape-of-Wisdom
License: http://creativecommons.org/licenses/by/4.0/
Importance score: 88/100
The gist: The gist: An answer is better understood as a trajectory than as a single endpoint, and correctness and stability are different properties that can be separated by tracking state, motion, and
Key concepts
- Answer Centroid
- This is a central point in a model's internal state space where questions leading to the same answer converge. It represents a learned 'ideal' state for that specific answer, showing how different questions about related topics lead to similar internal representations.
- State, Motion, and Boundary Distance
- These three metrics describe the movement of an answer's preference through the model layers. State shows which option is currently favored; motion indicates if the next layer pushes that preference up or down; and boundary distance measures how sensitive the preferred answer is to small changes.
- Trajectory Regimes
- Models exhibit four main types of movement: stable-correct, stable-wrong, unstable-correct, and unstable-wrong. The most surprising finding is that 'unstable-correct' trajectories are the largest group, meaning models often successfully reach the right answer even if their internal path is erratic.
Summary
The gist: An answer is better understood as a trajectory than as a single endpoint, and correctness and stability are different properties that can be separated by tracking state, motion, and boundary distance.
Answers are trajectories
Language models do not simply choose an answer at the output layer; in a 9,000-trajectory MMLU study across Qwen2.5-7B-Instruct, Llama-3.1-8B-Instruct, and Mistral-7B-Instructv0.3, the score of the answer moves across depth in structured ways. We describe each trajectory with three quantities: the current answer margin, the next-layer change in that margin, and the distance from a decision flip. The main empirical picture is that correctness and stability are different; the largest group is unstable-correct, not stable-correct. A traced subset then asks what moves the margin. In stable-correct cases, the average attention scalar points in the correct direction, while the average MLP scalar does not. Span deletion shows that removing answer-supporting text hurts the margin and removing distractor-like text helps it.
State, motion, and boundary distance
After that, we ask what explains the movement. We call these state, motion, and boundary distance. The first result is descriptive but important. State says whether the correct option currently leads. Motion says whether the next layer pushes that margin up or down. Boundary distance says how easily a small movement could change the preferred answer. This coordinate system is deliberately modest. It does not claim a physical phase transition or a discovered basin in hidden-state space. Its value is practical: it tells us whether a final answer was reached by early commitment, late movement, or persistent uncertainty.
Trajectory regimes
We classify each model-prompt row into four operational trajectory types. Stable-correct trajectories end correct and are stable in the tail of the network. Stable-wrong trajectories end wrong and are also stable. Unstable-correct and unstable-wrong trajectories end correct or wrong, but keep enough late movement that they fail the stability rule. The main surprise is how common unstable success is. In the full panel, unstable-correct is the largest group.
Mechanistic accounting of motion
We use a smaller, balanced subset of 600 prompts per model, with 150 prompts from each trajectory type. For those prompts, stored traces record two numbers at each layer: how much the attention blocks move the margin, and how much the MLP blocks move it. The first finding is that these summaries explain a real part of the motion. On held-out prompts, a linear combination of attention and MLP scalars reconstructs layer-to-layer margin drift with R2 = 0.90 for Qwen2.5-7B. This means the scalars are not just decorative diagnostics.
Span interventions and controls
We report the effect as original margin minus margin after deletion. A positive effect means the removed text had been helping the correct answer: once it is deleted, the margin falls. With this sign convention, evidence-labeled spans have mean effect 2.92 logit-margin units. The narrower result is that some marked spans causally move the same margin that defines the trajectory regimes.
Discussion and limits
The paper’s conclusion is not just that four trajectory types exist. The useful conclusion is that final accuracy mixes together at least two different properties: whether the answer is correct, and whether the model has actually settled. In these traces, that means making the correct option pull ahead earlier and keeping it ahead. The takeaway is simple: the best behavior is not just getting the answer right, but getting it right and then staying settled. The useful clues are concrete: attention gives the clearest small layer-by-layer push toward stable-correct answers, MLP replacement gives the largest simulated late boost, and deleting evidence or distractor text moves the same answer advantage in predictable directions. The empirical scope is narrow by design.
--- Page 1 ---
The gist
Language models do not simply choose an answer at the output layer; in a 9,000-trajectory MMLU study across Qwen2.5-7B-Instruct, Llama-3.1-8B-Instruct, and Mistral-7B-Instructv0.3, the score of the answer moves across depth in structured ways.
Answers are trajectories
Language models do not simply choose an answer at the output layer; in a 9,000-trajectory MMLU study across Qwen2.5-7B-Instruct, Llama-3.1-8B-Instruct, and Mistral-7B-Instructv0.3, the score of the answer moves across depth in structured ways. We describe each trajectory with three quantities: the current answer margin, the next-layer change in that margin, and the distance from a decision flip.
Improvements for AI systems
-
Stable answer selection: Improve model performance by focusing on achieving stable-correct trajectories instead of just final accuracy, as
the best behavior is not just getting the answer right, but getting it right and then staying settled.
This means training objectives should prioritize minimizing late movement and maximizing stability in the tail of the network. -
Mechanistic intervention for margin control: Implement prompt engineering that targets specific components to move the margin predictably; for example, removing evidence-labeled spans will lower the correct answer margin, while removing distractor-labeled spans will raise it.
-
Attention alignment for stable correctness: Fine-tune attention mechanisms to exhibit positive average scalars during stable-correct trajectories, as
stable-correct trajectories have the clearest positive average attention contribution in the traced panel.
This suggests optimizing attention blocks to consistently push the correct option ahead of competitors early in the processing depth. -
MLP boosting for late margin shifts: Utilize a mechanism that can simulate adding or substituting MLP scalars to a failing trajectory; since
MLP substitution has the larger final-margin effect,
training should focus on enhancing MLP contributions, especially in later layers, to provide the largest simulated shift in final margin.
Abstract
When a language model answers a factual question, where does its internal state go? We asked four open models (Llama-3.1-8B, Qwen2.5-7B, Gemma-2-9B and Llama-3.2-1B) 2,256 factual questions whose answers recur, such as the country a person is a citizen of. At every layer, we recorded the state from which the answer is produced. Questions that receive the same answer converge on a shared region of state space, which we summarise by its centre, the answer centroid. The answer becomes readable within a single layer. In every model, the share of questions whose state lies nearest its own answer's centroid jumps at one layer, between 47% and 71% of the way through the network. The centroids follow the answer the model gives rather than the question: the centroid of a country learned from questions about people's citizenship also identifies that country in questions about towns and films. The model also uses the centroids. After the jump, moving the state of a wrongly answered question to the right answer's centroid makes the model give the right answer in 83%-97% of cases late in the network, against 2%-4% for a random move of the same size. Before the jump, moves of the same size almost never work. Near misses, in which the model answers wrongly but picks the right option in multiple choice, can be seen from the onset layer, where the right answer's centroid is already among the nearest to the state. This signal is about as informative as the right answer's rank in the model's final output, and more informative than the model's confidence in its reply.
Sources
- The Llama 3 Herd of Models
- Eliciting Latent Predictions from Transformers with the Tuned Lens
- Measuring Massive Multitask Language Understanding
- Mistral 7B
- Qwen2.5 Technical Report
Related papers
- MAVEN-T: Reinforced Heterogeneous Distillation for Real-Time Multi-Agent Trajectory Prediction
- Model Discovery Agent: LLM-assisted Bayesian experiment design for data-efficient discovery of mechanistic world models
- Agents' Last Exam
- The Clinician's Veto: Navigating Trust, Liability, and Uncertainty in Autonomous AI Prescribing
- MindHelper: Closed-Loop Embodied Mental-State Reasoning for Precision Intervention
- Incumbent Advantage: Brand Bias and Cognitive Manipulation Dynamics in LLM Recommendation Systems