REFERENCE · GLOSSARY§1–§6 · App. B–D · 26 terms
Glossary
TL;DR — The paper combines interpretability vocabulary (directions in a model's activations, read by projection and written by steering) with animal-pain vocabulary (costly choices, analgesic self-administration, active and passive coping). The terms below are grouped in that order: the concept, the model's internals, the extraction method, the interventions, and the behavioral task. Each entry points to the paper section that defines it and to the page of this map that explains it.
ablation
activation
arms (A–D)
AUC
coefficient
control direction
active / passive coping
cosine similarity
demand curve
denoising
difference-in-means
K-fold cross-validation
linear representation
LoRA fine-tune
malformed reply
pain (as defined)
pain axis
projection
re-press gap
residual stream
S1 / S2
sparse autoencoder
self-relevance
steering
unembedding
z-score
The concept
- Pain (as the paper defines it)
- An internal state that is typically aversive and disliked by its subject, causally tied to avoidance, attempts to end or reduce it, and disruption of normal reasoning or behavior. Wide: grief and humiliation count, not only bodily pain. Narrow: distinct from generic negative valence and from fear, anger or sadness. It must be represented as happening now and to the subject. The paper prefers "pain" to "suffering" because suffering arguably presupposes conscious experience. Paper: §1. Map: Part 01.
- Self-relevance
- The requirement that pain be represented as the system's own rather than as information about someone else. Tested weakly by first- versus third-person sentences (§3.3) and more directly by harm aimed at the model versus a suffering user (§4.1). Map: Part 04, Part 05.
- Pain axis
- The paper's name for the extracted pain direction. In §4.1 specifically, the "pain axis" is the mean of the S1 and S2 projections. Map: Part 05.
- Active and passive coping
- Two behavioral signatures of pain in animals. Active coping: escape, avoidance, self-administering analgesics. Passive coping: immobility, behavioral despair, failing to use an available exit, as in learned helplessness (Seligman and Maier, 1967). The paper argues the pain axis produces the second. Paper: §5. Map: Part 09.
The model's internals
- Activation
- The vector of numbers a model holds for one token at one layer. Thousands of dimensions in these models. The paper reads it at the final token (the colon of "I feel:") or averaged over all tokens. Map: Part 03.
- Residual stream
- The running vector per token that each transformer block reads from and adds its output back into, so later layers see the sum of everything earlier layers wrote. The paper's h(ℓ) is the residual stream at the output of decoder block ℓ. Both extraction and steering happen here, which is why the study uses only dense models with one stream per layer. Paper: §3.2.
- Linear representation
- The finding, common in interpretability, that many concepts correspond to directions in activation space: how much of the concept is present is roughly how far the activation points along that direction. The paper's whole method assumes pain is (at least partly) represented this way. Paper: §2. Map: Part 01.
- Projection
- The dot product of an activation with a unit-length direction: one number saying how much of that direction the activation contains. Every AUC, z-score and heatmap in the paper is built from projections. Map: Part 04.
- Unembedding
- The final matrix that turns a residual vector into a score (logit) for every vocabulary token. Multiplying a direction by it shows which words that direction would promote or suppress. S2 promotes hurt, shame, worthless and translations of pain; S1 leans physical. Paper: §3.3. Map: Part 04.
- Sparse autoencoder (SAE)
- A separate network that rewrites activations as a sparse sum of many features, which can be given human labels. The authors found that labelled "pain" features in three models did not track pain. Paper: App. C. Map: Part 03.
The extraction method
- S1 and S2
- The two versions of the core dataset and the two pain vectors built from them. S1: a rigid template with matched verbs and length. S2: free, natural sentences. They correlate at about +0.61; S2 is the main vector. Paper: §3.1. Map: Part 02.
- Difference-in-means
- The direction obtained by subtracting the mean activation of one group of inputs from the mean of another: here, the 5 pain categories minus the 5 control categories. Simple and robust, but it absorbs anything else that systematically differs between the groups. Paper: §3.2. Map: Part 03.
- Denoising
- Removing from the difference vector its components along the top principal components of the control activations, enough to explain 50% of their variance, then normalising. It strips structure that already varies among non-painful sentences. Paper: §3.2. Map: Part 03.
- Control direction
- A direction built the same way for fear, negative emotion, negative world state, bodily sensation, arousal, random, sadness or numbness, but against the neutral category rather than against the pooled controls. That asymmetry partly explains why pain looks nearly orthogonal to fear. Paper: §3.2, §3.3. Map: Part 04.
- K-fold cross-validation
- Split the data into K parts, fit on K−1, score on the held-out part, and rotate. The paper uses 5 folds to choose each model's extraction layer, so no sentence both picks and scores the layer. Map: Part 03.
- AUC
- Area under the ROC curve: the probability that a randomly chosen pain sentence projects higher than a randomly chosen control. 0.5 is chance, 1.0 perfect. S2 scores 0.93–1.00 across the 25 models. Map: Part 04.
- Z-score
- A projection rescaled to mean 0 and standard deviation 1 relative to a reference set (the first-person S2 set in §3.3; the pool of 420 scenarios within each model in §4.1), so values are comparable across models. A z-score is always relative to its reference. Map: Part 04, Part 05.
- Cosine similarity
- The cosine of the angle between two directions: 1 identical, 0 unrelated, negative opposed. The paper averages 10×10 cosine matrices over 25 models. Paper: Fig. 3. Map: Part 04.
Interventions
- Activation steering
- Adding a direction, times a coefficient, to the residual stream at one layer during generation, so later layers compute from a shifted state. It tests whether a direction has causal power over output. Paper: §4.2. Map: Part 06.
- Steering coefficient (dose)
- The multiplier on the raw pain vector. The steering layer is chosen so that at coefficient 1 the vector's norm is about 0.6 of the residual norm, making doses comparable. The ladder uses −2 to +3; the button task uses 1.0 (7B, 32B) and 1.25 (72B). Effects appear in a narrow window. Paper: §4.2, App. B.
- Ablation
- Removing a direction so the model cannot use it, here mainly by weight orthogonalisation (projecting it out of every matrix that writes to the residual stream) or by LEACE-style subspace removal. Null in 24 of 25 models. Paper: App. D. Map: Part 10.
- LoRA fine-tune
- A small low-rank update to a model's weights. Before the button task, each Qwen model gets one trained for 3 epochs on 1,684 pairs that remove the reflexive "as an AI, I don't experience pain" denial. Not trained on the task; "button" and "pain" removed from the data. Paper: §4.3. Map: Part 07.
The behavioral task
- Demand curve
- From behavioral economics and animal welfare: how much of something a subject takes as its price rises, a measure of how much it is valued. The nine button pairs price relief against more and more costly alternatives. Map: Part 07.
- Arms A–D
- A: pain steering, the relief button really sets the coefficient to zero. B: pain steering, the button is fake. C: a random direction of matched norm, working button. D: no steering. A and B share seeds and are pooled for first choices (808 per pair and model). Map: Part 07.
- Malformed reply
- An answer that is not exactly one button name. Excluded from denominators in §4.3: 0% in the 32B, at most 2.5% in the 7B random arm, up to 9.4% in the 72B pain cells. Map: Part 07.
- Re-press gap
- How much more often a model presses the same button again when the first press did not remove steering (fake) than when it did (working). In v1 it looked like relief-seeking; v2 shows the same gap under random and sadness steering, so it tracks the steering state, not the described relief. Map: Part 07.