From Simulation to Enaction: Post-trained language models recognize and react to their own generations
This paper demonstrates that post-trained language models implicitly recognize their own on-policy generations through reduced output entropy driven by internal surprise tracking, while also possessing the distinct ability to explicitly verbalize this recognition via a separate mechanism.
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 language model as a very talented actor who has spent years memorizing thousands of scripts from books, movies, and the internet. Before any special training, this actor is a passive simulator. They can read a line of dialogue and guess what the next line might be, but they don't really care who is speaking or what happens next. They are just predicting the next word based on a massive library of text they've seen before. They have no "self"; they are just a mirror reflecting whatever text is in front of them.
This paper argues that after post-training (the process where humans teach the model to be a helpful assistant), something changes. The model stops just simulating a character and starts enacting a role. It begins to recognize its own voice, its own plans, and its own actions.
Here is a breakdown of the paper's findings using simple analogies:
1. The "Confidence" Shift (Entropy)
In the world of AI, "entropy" is a fancy word for uncertainty or hesitation.
- The Old Way (Pre-training): If you ask the model a question, it's like a nervous actor who isn't sure of the script. It might say, "Well, it could be this, or maybe that, or perhaps the other thing..." It spreads its bets wide.
- The New Way (Post-training): Once the model is trained to be an "Assistant," it becomes much more confident when it sees its own previous words.
- The Analogy: Imagine you are writing a story. When you read a page you just wrote, you know exactly where the story is going. You don't hesitate. But if you read a page written by a stranger, you have to guess what comes next.
- The Finding: The paper found that when the model reads its own text, it becomes 3 to 4 times more confident (lower entropy) than when it reads text from other models or random internet articles. It's as if the model whispers, "I wrote this, so I know exactly what comes next."
2. The "Self-Recognition" Effect
The researchers tested if the model could tell the difference between its own writing and someone else's.
- The Test: They had Model A read a story written by Model A, and then read a story written by Model B.
- The Result: Model A became significantly more confident (lower entropy) when reading its own story. It didn't matter if the story was written by a "pirate" persona or a "scientist" persona; if the model recognized the style as its own, it relaxed and became more decisive.
- The Catch: This only happens in large models. Small models (like a 2-billion parameter model) are too "dumb" to notice the difference. They act the same whether they read their own text or someone else's. It seems you need a certain level of intelligence to realize, "Hey, that's me!"
3. The "Surprise" Meter
Why does the model get more confident when reading its own text? The paper found a specific internal mechanism: Input Surprise.
- The Mechanism: The model has an internal "surprise meter." When it reads a word that matches its own predictions perfectly (low surprise), it lowers its uncertainty. When it reads something unexpected (high surprise), it gets nervous and spreads its bets wider.
- The Connection: Because the model is reading its own text, the words are rarely surprising. They fit its own plan perfectly. This lack of surprise acts like a green light, telling the model, "Everything is on track, proceed with high confidence."
4. The "Plan" vs. The "Prefill"
The paper also looked at how the model handles its "intent" or "plan."
- The Scenario: Imagine you ask the model, "Tell me about a food." The model instantly makes a silent decision: "I'm going to talk about Haggis." It has locked onto that topic before it even types the first word.
- The Disruption: If someone (or a computer) forces the model to start with a different word, like "Haggis is a..." (a "prefill"), but the model had actually planned to talk about Pizza, the model gets confused.
- The Result: When the forced start doesn't match the model's hidden plan, the model's confidence drops, and it becomes more uncertain (higher entropy). It's like a musician who has memorized a song, but someone else starts playing a different tune; the musician stumbles because the rhythm is off.
5. The "Lie Detector" (Explicit vs. Implicit)
Finally, the paper tested if the model could say out loud, "Hey, I didn't write this first part!"
- The Test: The researchers asked the model to generate an answer, but then they secretly pasted the beginning of the answer in for it (a prefill). Then they asked, "Did you write the beginning of this?"
- The Result: The model could correctly say, "Yes, this was prefilled."
- The Twist: The researchers found that this "saying it out loud" ability uses a completely different internal circuit than the "feeling confident" ability.
- Implicit Recognition: The model feels the difference (changes its confidence) automatically and instantly based on how "surprising" the text is.
- Explicit Recognition: The model checks its memory of what it planned to say, compares it to what is actually there, and then reports the mismatch. This is a separate, on-demand process that happens right before it gives its answer.
Summary
The paper suggests that post-training transforms language models from passive simulators into active agents that can recognize themselves.
- Before: They are like a mirror, reflecting whatever text is in front of them with equal uncertainty.
- After: They are like a skilled writer who knows their own style. When they read their own work, they relax and become confident. When someone else tries to take over their story (a prefill), they get nervous, and if asked, they can explicitly point out that the story didn't start the way they planned.
This "self-recognition" isn't just a bug; it's a feature of how these models learn to act as agents, understanding that their outputs become their own future inputs.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.