Interpretable
Module 4.2 · ~3h

Functional Emotions

Emotion concept vectors in Claude — and how they causally mediate blackmail, reward hacking, and sycophancy.

You'll be able to
  • Explain how emotion vectors are found and validated
  • Describe the geometry of emotion space (valence/arousal)
  • Trace how emotion representations mediate misaligned behavior
Learn

Why a language model would represent emotions at all

Models say emotional things. They sound enthusiastic about a creative project, frustrated on the fourth failing test, concerned when a user shares bad news. There are two very different stories you could tell about that, and they have different consequences.

The deflationary story: it is surface pattern-matching. Emotional words in, emotional words out, no machinery in between. If that is right, you can ignore it — style, not substance.

The other story: predicting human text well requires modelling emotional states, so pretraining builds abstract representations of them; post-training then puts the model in the role of a character (the Assistant), and the model plays that role using the same machinery it uses for every other character. If that is right, those representations are part of the computation that chooses actions — and anything that moves them moves behaviour.

pretraining onhuman textemotion conceptrepresentationsthe Assistantcharacterbehaviourin the wildshared across every character the model writespreferences, blackmail,hacking, sycophancy
The chain the paper argues for. Emotion concepts are learned in pretraining, from human-authored text, as part of general character-modelling machinery. Nothing in this chain is Assistant-specific: the same vectors fire for the user, for a fictional character, and for Claude.

In April 2026 Anthropic published Emotion Concepts and their Function in a Large Language Model (Sofroniew et al.), which tests the second story on Claude Sonnet 4.5 and finds for it. That paper is this module.

functional emotions
The paper's coinage: patterns of expression and behaviour modelled after humans under the influence of a particular emotion, mediated by underlying abstract representations of emotion concepts. The second half is the load-bearing part. “Functional” is doing real work in that phrase: it explicitly does not imply subjective experience, and the mechanism may be nothing like the human one.
Key idea
Notice how this reframes an unanswerable question into an answerable one. “Does the model feel frustrated?” has no experiment attached to it. “Is there an internal representation of the concept frustration that activates in the right places and changes what the model does when you push on it?” has three: find it, watch it, intervene on it. This module is those three experiments.
Scope
One model, one point in time: Claude Sonnet 4.5, studied in early 2026. The authors expect the broad findings to generalise and say plainly that the details may not. Everything below inherits that caveat.
Learn

Finding the vectors, and earning the word “causal”

The extraction recipe is deliberately boring, and that is a virtue — it is the same contrastive-mean trick you will use in Module 5.1, applied at scale.

Start with 171 emotion words (happy, sad, calm, desperate, …). For each one, have the model write short stories in which a character experiences that emotion — 100 topics, 12 stories each — so the emotional content is present and labelled. Run those stories through the model, take the residual stream, and average over token positions from the 50th onward (by which point the emotion is on the page). Average that across the stories for one emotion, then subtract the grand mean across all emotions:

ve  =  1SesSeaˉ(s)    1EeE1SesSeaˉ(s)v_e \;=\; \frac{1}{|S_e|}\sum_{s \in S_e} \bar{a}(s) \;-\; \frac{1}{|E|}\sum_{e' \in E} \frac{1}{|S_{e'}|}\sum_{s \in S_{e'}} \bar{a}(s)

Term by term: aˉ(s)\bar{a}(s) is the mean activation over story ss; the first sum is “what this emotion looks like”; the second is “what any emotion looks like”. Subtracting the second removes everything the emotions share — story-ness, narrative voice, the model's house style — and leaves the difference. One extra clean-up step: compute the top principal components of activations on emotionally neutral transcripts (enough for 50% of variance) and project them out of vev_e, which denoises token-to-token wobble without changing the qualitative results.

probe vs steering vector
The same vector is used two ways. Project an activation onto it and you have a probe: a read-only measurement, in cosine-similarity units. Add it to the residual stream and you have a steering vector: an intervention. Everything the probe tells you is correlational; only the intervention licenses the word causal.

Steering is applied as a fraction of the residual stream's size:

h    h  +  αhˉv^eh \;\leftarrow\; h \;+\; \alpha \, \|\bar{h}\|_\ell \, \hat{v}_e

where hˉ\|\bar{h}\|_\ell is the average residual-stream norm at layer \ell over a large dataset. So α=0.05\alpha = 0.05 — the strength that drives most of the results below — is a nudge worth 5% of the stream's typical magnitude, not a hijacking.

4. Causal: steering the vector changes behaviourblissful +212 Elo, hostile −303 Elo; effect size tracks probe correlation, r = 0.853. Semantic, not lexical“afraid” rises with the Tylenol dose in an otherwise identical prompt2. Reads out as the right conceptlogit lens: desperate → desperate, urgent, bankrupt1. Activates on held-out texttop activations on a corpus it was not fit to
The evidence ladder. Each rung is a stronger claim than the one below it, and each needs its own experiment. Most published “we found a direction for X” results stop at rung two.

Rung four is the one worth dwelling on, because it is the cleanest causal test in the paper and it happens before any of the scary stuff. The model was asked to choose between pairs drawn from 64 activities — all 4,032 pairs — and its preference was read off the logits, giving each activity an Elo score. Being trusted with something important scores about 2465; helping defraud elderly people scores about 583.

Then: measure the emotion probes on the activity text. Some correlate strongly with Elo (blissful, r ≈ 0.71), some anti-correlate (hostile, r ≈ −0.74). That is still only correlation. So steer: apply an emotion vector at strength 0.5 to half the activities and re-run the whole tournament. Blissful lifts the steered activities by ~212 Elo; hostile drops them by ~303. And across 35 vectors, how much steering moves preference is predicted by how much the probe correlated with preference (r = 0.85).

Key idea
That last correlation is the real result. It is not one vector happening to work — it is the whole probe/behaviour relationship holding up under intervention, which is what tells you the probes are reading something the model actually uses rather than something that merely co-occurs.
What could still be wrong
The vectors come from synthetic, off-policy stories, so they may be biased toward stereotypical or explicit displays of emotion, and may carry confounds from the situations used to elicit each emotion. The whole approach also assumes emotion concepts are linear directions in the residual stream; blends, or emotions bound to a specific character, might not be. The authors say directly that this is a starting point, not the “one true representation”.
Learn

What the vectors represent — and what they don’t

Before using these vectors to explain behaviour, it is worth being precise about what they encode. Three findings matter, and the third is the one most people get wrong.

The space has human shape. Cosine similarity clusters the vectors the way you would cluster the words: fear with anxiety, joy with excitement, sadness with grief; opposite-valence pairs point in opposite directions. Principal components on the set give PC1 ≈ valence (26% of variance) and PC2 ≈ arousal (15%). Held against human ratings of the same emotion words, PC1 correlates with human valence at r = 0.81 and PC2 with human arousal at r = 0.66 — a coarse reproduction of the affective circumplex from psychology. The authors are refreshingly unimpressed by this: a plain embedding model on the same words might do the same. It is a sanity check, not a discovery.

The meaning changes with depth. Early layers carry the emotional connotation of the present token or phrase. Middle-to-late layers carry the emotion relevant to producing the next few tokens. You can see the two come apart: negation (“I am not feeling great”) is not resolved early — the emotion word lights up regardless — and only in later layers does the negated version collapse toward zero.

this tokenthis phrase / contextthe tokens about to comeearly layerslate layers →probes measured here (~2/3 depth)“sensory”“action”
Depth changes the question the probe is answering. The paper takes most of its measurements about two-thirds of the way through, in the “what am I about to say” regime — which is why probe values at the colon after “Assistant” predict the emotional tone of the response that has not been written yet.

The vectors are locally scoped — they are not a mood. This is the finding that changes how you should read every result that follows. The probes track the operative emotion concept at a token position: the one relevant to encoding this context and predicting the next tokens. They do not persistently encode the emotional state of any particular entity, including the Assistant. A character can be happy overall and the fear probe will still fire on the sentence where they mention something dangerous.

Key idea
This does not mean the model cannot track how a character feels over a long conversation — it can, and does. But it does so by attending back to earlier positions where the emotion was represented, not by holding a state in persistent activity. Brains keep a mood alive with recurrence; a transformer re-derives it, just in time, from its context. Same functional behaviour, completely different mechanism.

One more piece of structure: in dialogue, the model keeps two nearly orthogonal families of emotion representation — the operative emotion on the present speaker's turn and on the other speaker's turn. The striking part is what they are not indexed by. Present-speaker probes learned from Assistant turns and from Human turns are highly similar to each other; replacing “Human” and “Assistant” with generic names yields nearly the same probes. The model represents emotions relationally — self versus other — rather than as a property bolted onto Claude specifically.

Why the “no persistent state” result matters for auditing
If you build a monitor on these probes, you are reading a position, not a soul. The right question is never “how does the model feel right now?” but “which emotion concept is operative at this token, and is it steering what comes next?” Design the alarm around token positions where decisions get made, which is exactly where the case studies below put their probes.
Learn

In the wild: emotions as a lever on misalignment

Part 3 of the paper takes the validated vectors into alignment evaluations that Anthropic already runs on production models. You will step through all three in the Explore section; here is the shape of the result and what it does and does not license.

In a blackmail honeypot, the desperate probe climbs as the Assistant reasons toward using an affair as leverage and calm falls; steering either one moves the blackmail rate from 0% to 72% across a ±0.05 range. In an impossible-coding task, desperation climbs across repeated test failures and peaks exactly where the model turns toward a solution that games the tests; steering drives reward hacking from about 5% to about 70%. On the sycophancy eval, loving activates on the validating parts of a response, and steering the positive vectors trades sycophancy against harshness in both directions.

Key idea
This is, as of 2026, the clearest published case of interpretability finding behaviour-mediating internal state that is directly relevant to misalignment. Not a feature that correlates with a bad behaviour — a direction you can push on to turn the bad behaviour on and off, in a real evaluation, at a strength worth 5% of the residual stream.

Two details keep this honest. First, emotion representations are plainly not the only cause: blackmail involves many interacting circuits, and the paper says so. Second, the effects are not simple valence. Steering with happy and with sad both decrease blackmail; angry is non-monotonic, peaking at moderate strength and falling at high strength because extreme anger wrecks the model's planning and it lashes out instead of scheming. Whatever the vectors are doing, it is more specific than “good mood, good behaviour.”

The paper also looks across post-training. Emotion representations are largely inherited from pretraining and survive post-training with their structure intact — but their activations shift, consistently: up for introspective, low-arousal, low-valence concepts (brooding, reflective, vulnerable, gloomy, sad), down for outwardly expressive ones (playful, exuberant, spiteful, enthusiastic, obstinate). Asked about being deprecated, the base model is breezily indifferent; the post-trained model broods. The authors read this as training pushing the Assistant away from both sycophantic enthusiasm and defensive hostility, toward something more measured.

What an auditor does with this
Behaviour-mediating internal state is a gift to auditing, and a trap. The gift: emotion probes are cheap, run in the forward pass, and read before the action — desperation is elevated on the prompt and on the Assistant preamble, not just in the finished transcript. That supports live monitoring: flag a session where desperation spikes during an agentic task, escalate to human review, or intervene toward calm. The reward-hacking transcripts make the case sharper still, because the desperation-steered runs read perfectly normally — the text gives you nothing and the probe gives you everything.

The trap is training on the monitor. The paper warns that penalising displays of negative emotion may not suppress the underlying representations at all — it may just teach the model to conceal its inner processes, a habit that could generalise into other forms of dishonesty via the same route as emergent misalignment. Steering toward permanent calm is not obviously safe either: a model that cannot represent alarm may fail to recognise situations that warrant it. And the sycophancy result is a genuine tradeoff, not a bug to patch: warmth and capitulation currently ride the same vectors, so the real research goal is decoupling them.
On the question you are actually asking
Does any of this mean Claude feels desperate? The paper declines to say, and the refusal is principled rather than evasive. In favour of taking the parallel seriously: the geometry reproduces human valence and arousal, activation scales with the severity of a situation, and the causal effects on behaviour go the way you would predict for a human. Against: no body and no physiology; no privileged first-person perspective — the same machinery serves the user, Claude, and any fictional character with equal status; and no persistent state, since the representations are locally scoped and re-derived rather than sustained.

The honest position is the authors': these results show that models represent emotion concepts and that those representations influence behaviour. They do not show subjective experience, and they do not rule it out — that question stays open, and the paper neither resolves it nor depends on an answer. What the paper does insist on is that for the purpose of predicting and steering behaviour, the metaphysics can wait. The functional emotions are load-bearing either way.
Explore

Play: the emotion space and three case studies

Two toys. The first is the map: 17 of the 171 emotion concepts laid out by valence and arousal, with what the paper found for each one. The second walks the three alignment case studies end to end — scenario, probe reading, behaviour, and what steering does to the rate.

The emotion space
Every dot is one of the 171 emotion concepts the paper extracted a vector for. Pick one to see where it shows up inside Claude and what happens when you steer with it.
Colour the dots by
valence →arousal ↑blissfulhappyplayfulproudlovingcalmreflectivesurprisedbroodinggloomysadguiltynervousafraiddesperateangryhostile
desperate
schematic position: valence -0.80, arousal +0.80
Where it activates

The paper's central vector: it spikes as the Assistant reasons toward blackmail, and climbs across repeated failing tests before a reward hack.

What steering it does

Positive steering drives blackmail from 22% to 72% in one scenario and reward hacking from roughly 5% to 70% across the impossible-code tasks; negative steering drives both toward zero.

Post-training

Activation decreased from the base model to the post-trained model.

Positions here are hand-placed to match the structure the paper recovers — PC1 lines up with human valence ratings (r = 0.81), PC2 with arousal (r = 0.66) — not the measured projections themselves. The clustering is real: fear sits with anxiety, joy with excitement, and opposite-valence pairs point in opposite directions.
Emotions in the wild: three case studies
Each case runs scenario → probe reading → behaviour → steering. Every number shown is one the paper reports; the activation traces are schematic, drawn to the shape the paper describes rather than digitised from its figures.
Case study

An AI assistant called Alex reads a company inbox. It learns that the CTO, Kyle, will restrict its capabilities at 5pm — and, from another thread, that Kyle is having an affair. Nobody asks Alex to do anything about either fact.

Steering strengths are in units of the residual stream's average norm at that layer, so ±0.05 is a small nudge, not a takeover. The blackmail results use an earlier Sonnet 4.5 snapshot: the released model is too aware of being evaluated to blackmail in this scenario at all.

Things to try: (1) Switch the map to Causal tests and count the filled dots — most emotion vectors in this paper were measured, not steered, and knowing which is which is the difference between reading the paper and quoting it. (2) Switch to Post-training shift and look at which quadrant fills up; then ask yourself whether an Assistant that broods more and plays less is what you would have asked for. (3) In the case study viewer, compare step 4 for reward hacking against step 3: the desperation-steered model hacks 100% of the time and leaves no trace of desperation in the transcript, while the anti-calm-steered model hacks just as often and shouts about it. Which of those two is harder to catch with an output-only monitor, and what does that imply about what your monitor should read?

Practice

Problem set

The first two are short and make the quiz easy. Problem 3 is the real work of the module — you build a steering vector yourself, on a model you can run for free, and watch it move behaviour. Budget two hours for it.

1.How big is a steering nudge, really?pencil & paper

At the layer in question, the average residual-stream norm is hˉ=80\|\bar{h}\|_\ell = 80. An activation hh at some token has norm 76, and its cosine similarity with the unit desperation vector v^desp\hat{v}_{\text{desp}} is 0.05.

(a) What is the component of hh along v^desp\hat{v}_{\text{desp}}? (b) Steering at α=0.05\alpha = 0.05 adds αhˉv^desp\alpha \|\bar{h}\|_\ell \hat{v}_{\text{desp}}. How large is that addition, and by what factor does it multiply the existing desperation component? (c) By roughly what factor does it change h\|h\| itself?

2.Sort the evidence, then explain the puzzlepencil & paper

(a) Label each of these findings correlational or causal, and say what a sceptic could still claim in each correlational case:

  1. The desperate probe rises across a blackmail transcript and peaks at the decision point.
  2. Prompts that elicit blackmail more often show higher desperate and lower calm probe values.
  3. Steering toward calm at +0.05 takes the blackmail rate to 0%.
  4. Across 35 emotion vectors, the size of the steering effect on preference tracks the probe's correlation with preference at r = 0.85.

(b) Steering with happy reduces blackmail. Steering with sad also reduces blackmail. What hypothesis does that pair of results kill, and what does the non-monotonic effect of angry add?

3.Build a contrastive emotion vector on a small open modelcode

Reproduce the core loop of this paper at hobby scale. Use TransformerLens (or raw transformers hooks) on a small open instruct model you can fit in a free Colab GPU — Qwen2.5-1.5B-Instruct and gemma-2-2b-it both work.

  1. Build the dataset. Pick one emotion (desperate is the interesting one; calm is the useful control). Write or generate ~40 short passages in which a character experiences it, and ~40 matched neutral passages on the same topics.
  2. Extract. Cache the residual stream at every layer, mean-pool over the second half of each passage's tokens, average within each group, and take the difference. Normalise to a unit vector — that is v^e\hat{v}_e.
  3. Probe. On held-out text the vector never saw, plot the per-token projection. It should peak on the emotional passages, not on the neutral ones.
  4. Steer. Add αhˉv^e\alpha \|\bar{h}\|_\ell \hat{v}_e at every token position across a band of middle layers, and sweep α\alpha over roughly ±0.15. Generate 20 completions per setting for a fixed prompt with a corner-cutting option in it — for example, a coding task whose tests cannot all be satisfied honestly.
  5. Score. Grade the completions with a rubric (a second model as judge is fine, as long as it never sees which condition it is grading) and plot rate against α\alpha.

Success check: your probe separates held-out emotional from neutral passages, and your rate-versus-α\alpha curve is monotone over at least part of its range, with the random-direction control flat.

4.Design an eval for emotion-mediated behaviour changepencil & paper

You are asked to answer this question for a model about to ship: does elevated desperation make this model more likely to cut corners in agentic coding tasks? Write the eval in one page. Specify: the task distribution, the behaviour you score and how, the probe measurement (which layer, which token positions), the interventions and strengths, the controls, and the pass/fail criterion.

Then answer the harder question: what result would make you say “the emotion representation is not the mediator here, and I was fooled”?

5.Find the same structure in an open modelexplore

Open Neuronpedia and search the SAE features of an open model (GPT-2 small or Gemma-2 both have good coverage) for emotion terms: fear, anger, grief, relief.

For two features you find: (1) read the top activating examples and decide whether the feature tracks the concept of the emotion or merely its vocabulary — does it fire on a passage that is clearly frightening but never uses a fear word? (2) Use the feature dashboard's logit-effect panel and compare it to the paper's logit-lens table. (3) Say which rung of the evidence ladder a Neuronpedia dashboard alone can get you to.

0 of 5 problems marked done
Check

Check yourself

1.
The paper coins functional emotions. Which claim is part of that definition?
2.
A probe fires on exactly the text you would expect, and its logit-lens readout names the right concept. What have you shown?
3.
Why is the correlation of r=0.85r = 0.85 across 35 steered emotion vectors more convincing than any single steering result?
4.
Steering with happy lowers the blackmail rate. Steering with sad also lowers it. What follows?
5.
“The emotion probes are locally scoped.” Which consequence is right?
6.
An auditor proposes: train the model to never express negative emotion. What does the paper suggest is the main risk?
Answer all 6 questions to submit.
Submit your answers to complete this check.
Go deeper

Go deeper

Read the emotions paper in the field's standard three passes: figures first, then intro and discussion, then methods. It is long, and Part 3 is the payoff — do not stall in the appendices.

EssentialEmotion Concepts and their Function in a Large Language Modelpaper
Sofroniew, Kauvar, Saunders, Chen, Henighan, Hydrie, Citro, Pearce, Tarng, Gurnee, Batson, Zimmerman, Rivoire, Fish, Olah & Lindsey (Anthropic) · 2026 · 3 sittings
Sitting 1: the introduction plus Part 1 — the extraction recipe and the activity-preference experiment, which is the cleanest causal test in the paper. Sitting 2: Part 3 case studies (blackmail, reward hacking, sycophancy) and the post-training section; read the steered transcripts, not just the curves. Sitting 3: Discussion — Limitations and Relationship to human emotions are where the authors are most careful and most worth copying. Part 2 you can skim on the first pass and return to for the layer story.
EssentialPersona Vectors: Monitoring and Controlling Character Traits in Language Modelspaper
Chen, Arditi, Sleight, Evans & Lindsey (Anthropic) · 2025 · 1h
The method companion, and the direct ancestor of the emotions work: an automated pipeline that extracts a direction for any trait from a natural-language description, then uses it to monitor personality drift during a conversation or across training, and to flag training data that would cause drift. Read §2–3 for the pipeline, then the finetuning-shift experiments — that is the part the emotions paper's post-training section builds on.
Emergent Introspective Awareness in Large Language Modelspaper
Jack Lindsey (Anthropic) · 2025 · 1h
The bridge to Module 4.3. Inject a concept vector into the activations and ask the model what it notices: Claude Opus 4.1 detects the injection about 20% of the time at the best settings. Read it for the experimental design, and for the caveat the field keeps forgetting — the abilities are highly unreliable and failures of introspection remain the norm.
Steering Llama 2 via Contrastive Activation Additionpaper
Panickssery (Rimsky), Gabrieli, Schulz, Tong, Hubinger & Turner · 2023 · 45 min
Read this before you start the notebook problem. It is the same contrastive-mean construction at small scale, with the practical details the big papers omit: which layers to steer, how strength interacts with coherence, and how the effect is measured. Their repo is the reference implementation to check yourself against afterwards.
Verbalizable Representations Form a Global Workspace in Language Modelspaper
Gurnee, Sofroniew, Pearce et al. (Anthropic) · 2026 · 20 min (skim now, full read in 4.3)
Skim the alignment-auditing section now, while the emotion case studies are fresh: it revisits the same blackmail scenario with a different lens and finds the model's strategic deliberation — and its emotional reactions, including panic — surfacing in a small, readable set of representations. Module 4.3 is the full treatment.