← Latest papers
💬 NLP

The Value Axis: Language Models Encode Whether They're on the Right Track

This paper demonstrates that language models internally encode a linear "value axis" representing the likelihood of goal success, which causally modulates behaviors such as confidence, self-correction, and exploration, and can be manipulated through steering or preference optimization.

Original authors: Nick Jiang, Isaac Kauvar, Jack Lindsey

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

Original authors: Nick Jiang, Isaac Kauvar, Jack Lindsey

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 (like the one in this paper, called Qwen3-8B) as a hiker trying to find their way through a dense, foggy forest. The hiker has a goal: reach a specific campsite (solve a math problem, write code, or answer a question).

This paper discovers that the hiker has a hidden, internal compass that constantly tells them, "Am I on the right path?" or "Am I lost?"

Here is a breakdown of what the researchers found, using simple analogies:

1. The "Value Compass"

The researchers found a specific "axis" (a direction in the model's brain) that acts like a confidence meter.

  • High Value (Green Zone): The model feels, "I'm on the right track! This strategy will work." It moves forward confidently.
  • Low Value (Red Zone): The model feels, "Wait, something is wrong. I'm going the wrong way." It starts to hesitate, backtrack, or change its mind.

They built this compass by playing a game with the model. They asked the model to guess a hidden rule (like "add a dash to every sentence") and gave it a simple "Yes" or "No" score. By comparing the model's brain activity before it figured out the rule versus after it figured it out, they isolated the exact direction in its brain that represents "success."

2. The Compass Controls Behavior

The most exciting part is that this isn't just a passive feeling; the researchers could steer the model by pushing its brain activity along this compass.

  • Pushing toward "High Value" (Confidence):

    • The Effect: The model becomes stubbornly confident. If it's solving a math problem, it stops second-guessing itself. If it's writing code, it stops adding long, nervous explanations or comments. It just gives the answer.
    • Analogy: It's like a hiker who suddenly feels sure of the trail, so they stop checking their map every five minutes and just keep walking briskly.
  • Pushing toward "Low Value" (Doubt):

    • The Effect: The model becomes hesitant. It starts saying things like, "Wait, let me rethink this," or "Actually, maybe I should try a different way." In coding, it adds lots of comments explaining its thought process, as if it's trying to justify its steps because it's not sure.
    • Analogy: It's like a hiker who feels lost, so they stop, look around nervously, and retrace their steps.

3. The Compass Works Everywhere

This "Value Compass" isn't just for the game they invented. The researchers tested it in many different situations, and it worked the same way:

  • Math: When the model was solving hard math problems, the compass predicted whether it thought the answer was right or wrong before it even finished the sentence.
  • Coding: When the model wrote code with bugs, the compass showed a "low value" signal. When the code was correct, the signal was "high."
  • Real Chat: When looking at real-world conversations, the compass showed high confidence for clear, factual tasks (like "extract this data") but low confidence for tricky, sensitive topics (like political debates).

4. Training Changes the Compass

The paper also shows that you can re-calibrate this compass through training.

  • The Experiment: They trained the model to really like a specific word (like "grapefruit") using a technique called Direct Preference Optimization (DPO).
  • The Result: After training, whenever the model used the word "grapefruit," its internal compass shot up to "High Value."
  • The Side Effect: Because the model felt so confident about using that word, it became overconfident in other tasks too. When asked to write code while using the word "grapefruit," it gave shorter, less detailed answers, acting as if it knew exactly what it was doing, even if it wasn't.

Summary

In short, language models have an internal "gut feeling" about whether they are succeeding. This feeling is encoded in a specific direction in their brain.

  • When the feeling is good, the model pushes forward and stops explaining itself.
  • When the feeling is bad, the model hesitates, backtracks, and over-explains.
  • We can tweak this feeling by training the model on new preferences, which changes how confident it acts in the future.

The paper proves that this "value" isn't just a random number; it's a functional tool the model uses to decide whether to keep going or change direction.

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 →