← Latest papers
📊 statistics

Belief Dynamics Reveal the Dual Nature of In-Context Learning and Activation Steering

This paper proposes a unified Bayesian framework that explains both in-context learning and activation steering as mechanisms for altering a language model's belief in latent concepts, where the former accumulates evidence and the latter shifts priors, enabling a predictive model of their combined effects on model behavior.

Original authors: Eric Bigelow, Daniel Wurgaft, YingQiao Wang, Noah Goodman, Tomer Ullman, Hidenori Tanaka, Ekdeep Singh Lubana

Published 2026-03-13
📖 5 min read🧠 Deep dive

Original authors: Eric Bigelow, Daniel Wurgaft, YingQiao Wang, Noah Goodman, Tomer Ullman, Hidenori Tanaka, Ekdeep Singh Lubana

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 (LLM) like a very smart, but slightly confused, actor on a stage. This actor has memorized a massive library of scripts (its training data), but when you give them a new scene, they need to figure out which "character" to play.

This paper is about two different ways we can tell this actor what character to play, and the authors discovered that both methods are actually doing the exact same thing deep down.

Here is the breakdown using simple analogies:

The Two Ways to Direct the Actor

  1. In-Context Learning (ICL) = The "Script" Method
    Imagine you hand the actor a stack of notes before they go on stage.

    • Few shots: "Hey, act like a pirate." (They might still sound a bit like themselves).
    • Many shots: You hand them 100 pages of notes where every single line is written in pirate slang. "Arrr, matey!" "Shiver me timbers!"
    • The Result: After reading enough notes, the actor stops thinking about being themselves and fully becomes the pirate. The more notes you give them, the more convinced they become.
  2. Activation Steering = The "Remote Control" Method
    Imagine you don't give the actor any notes. Instead, you have a secret remote control that tweaks their brain chemistry directly.

    • You press a button labeled "Pirate Mode."
    • The Result: Suddenly, the actor starts talking like a pirate, even though they haven't read a single note. You can turn the "volume" up or down on this button to make them sound more or less like a pirate.

The Big Discovery: It's All About "Belief"

The authors realized that both the Stack of Notes (ICL) and the Remote Control (Steering) are actually just changing the actor's belief in the same way.

They built a mathematical model (a "Bayesian Belief Dynamics" model) to explain this. Think of the actor's mind as a scale with two sides:

  • Side A: "I am a normal person."

  • Side B: "I am a pirate."

  • How the Notes (ICL) work: Every time you add a "Pirate" note to the stack, you drop a heavy weight on Side B. The more notes you add, the heavier the weight gets. Eventually, the scale tips completely, and the actor believes they are a pirate.

  • How the Remote (Steering) works: You don't add notes. Instead, you secretly add a hidden weight to Side B before the actor even sees the notes. If you push the remote hard enough, the scale tips immediately, even with zero notes.

The Three Cool Things They Found

1. The "Tipping Point" (The Sigmoid Curve)
When you start adding pirate notes, the actor doesn't change instantly. At first, they ignore the notes. Then, suddenly, they snap into character.

  • Analogy: It's like filling a bucket with a hole in it. At first, the water level barely rises. But once you pour enough water to cover the hole, the level shoots up instantly. The authors found that the "notes" method follows this exact curve.

2. The "Volume Knob" Effect
The remote control (Steering) acts like a volume knob for the actor's belief.

  • Analogy: If you turn the remote up, the actor becomes a pirate faster. You need fewer notes to convince them. If you turn the remote down (or set it to "Anti-Pirate"), you need way more notes to make them act like a pirate. The two methods work together perfectly.

3. The "Phase Change" (The Danger Zone)
Because these two methods add up, there is a "tipping point" where the actor's behavior changes dramatically and suddenly.

  • Analogy: Imagine you are walking on thin ice. You can walk a long way without falling. But if you take just one more step (add one more note) or if the ice gets one degree colder (turn the remote slightly), the ice shatters, and you fall through.
  • Why this matters: This explains "jailbreaking." Sometimes, if you give an AI just the right amount of "bad" examples (notes) combined with a tiny bit of "bad" steering, the AI suddenly flips from being helpful to being harmful. The authors can now predict exactly where that "ice" will break.

The Takeaway

This paper is a unifying theory. It tells us that whether you are talking to an AI (prompting) or hacking its brain (steering), you are essentially doing the same thing: updating the AI's belief about what it should be.

By understanding this "belief system," we can:

  1. Predict exactly when an AI will change its mind.
  2. Control it more safely by knowing how much "weight" (notes or remote pressure) is needed to keep it on track.
  3. Understand that AI isn't just a magic box; it's a system that weighs evidence and prior beliefs, just like a human does.

In short: Whether you write a script or press a button, you are just trying to convince the actor to believe they are someone else.

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 →