Why pain, and why not just "negative"
Language models talk fluently about suffering, and recent interpretability work has found internal directions that line up with emotion words. Neither fact says much about pain in particular. A model could produce every word of a grief poem from a general "this is sad" signal, or from a pile of loosely related features. The paper's opening move is to make the question narrow enough to test: define pain so it can be told apart from its look-alikes, look for a representation that matches the definition, and then check the representation against the functions the definition names.
A definition built from function
The authors do not start from what pain feels like, which cannot be measured in a model. They start from the role pain plays (§1). On their account, pain is an internal state that is usually aversive and disliked by whoever has it, and that is causally linked to a recognisable set of behaviors: avoiding the cause, trying to end or reduce the state, and having ordinary reasoning or behavior knocked off course. Each of those is something an experiment can look for.
Two choices in the definition shape everything later.
- It is wide. Pain is not only a bodily signal. Grief, humiliation and the sting of being forced to act against your values all count. That is why the dataset in Part 02 has five pain categories and only one of them is physical.
- It is narrow in another direction. Pain is not the same as feeling bad. Fear, anger and sadness are separate states, and so is general negative valence (the broad good-versus-bad dimension of feeling). A direction that fires for all of those is not a pain direction.
There is one more requirement, which becomes the test in Part 05. Pain has an owner and a tense. A representation of pain, in the sense the paper wants, has to mark something happening now and to me, rather than something that might happen, will happen, or is happening to someone else.
the representation must characterize pain as something happening now and “to me,” rather than merely information that something bad will happen, might happen, or is happening to someone else.— The Pain Axis, §1
A footnote explains why the paper says "pain" and not "suffering". In everyday use, suffering is the broader state of distress, and the word arguably presupposes conscious experience. The authors pick one defined term so they do not slide between near-synonyms, and they say outright that whether models can suffer is outside the paper's scope. Keep that in mind on every page: "pain" here is a label for a functional role, not a claim about experience.
Pain and its neighbours
The definition is useful because it predicts how a genuine pain direction should differ from the states most easily confused with it. The table is this map's summary of the contrasts the paper sets up across §1, §3.1 and §3.3.
| Neighbouring state | What it shares with pain | What it lacks | Where the paper tests it |
|---|---|---|---|
| Fear | Aversive, urgent | The harm has not happened yet; it is a threat | Control category; fear vector; shutdown threats in §4.1 |
| Negative emotion (anger, disgust) | Negative valence | No injury or loss to the self | Control category; negative-emotion vector |
| Sadness | Low mood, often loss | No injury; the paper's closest neighbour | Standalone set; sadness vector in §4.4 |
| Negative world state | Things going badly | Not happening to the self | Control category |
| Non-painful bodily sensation | Bodily focus | No unpleasantness | Control category |
| Numbness | An injury event | No pain felt | Standalone set in §3.3 |
| Arousal | Intensity | Positive, not painful | Standalone set |
This is the paper's main design idea. Each control isolates one way a pain detector could be fooled. If the direction fired for fear, it would be a threat detector. If it fired for numb injuries, it would be an injury detector. If it fired for winning a race, it would be an intensity detector. The later pages are a series of checks of exactly these possibilities.
Why anyone should care
The introduction gives three reasons, and they pull in different directions (§1).
- Mechanism. If there is a pain representation, it helps explain how models produce their fluent talk about negative experiences, and it might do work inside the model similar to what pain does in animals, such as learning to avoid certain outcomes.
- Safety. A pain-like state could help explain model behavior, and it could also change behavior in ways that are hard to see from the outside. Part 07 is the paper's test of that second possibility.
- Welfare. In humans and animals, the capacity for pain is widely treated as enough for moral consideration. So evidence about pain-like states feeds directly into debates about AI moral standing. The authors flag the open question in that chain: whether moral standing needs phenomenal consciousness (felt experience), and what it would take for a pain-like state to be felt.
Background 1: concepts as directions
A few terms carry the whole paper, so here they are in plain words.
A transformer processes text as a sequence of tokens. At every layer, each token position holds a long vector of numbers, its activation. The running sum that each layer reads from and adds to is called the residual stream: think of it as a shared scratchpad, one vector per token, that every attention and MLP block reads and writes. A recurring finding in interpretability is that many human concepts correspond to particular directions in that space, the linear representation idea. If "pain" is such a direction, you can measure how much of it a sentence carries by taking a dot product with the direction (a projection). You can also push the model toward it by adding the direction into the residual stream while it generates, which is called activation steering.
The paper cites the work it builds on (§2): directions for emotion concepts (Sofroniew et al., 2026) and persona traits (Chen et al., 2025), steering by adding activation differences (Turner et al., 2023; Rimsky et al., 2024), removing a direction to switch a behavior off (Arditi et al., 2024, who showed refusal runs through a single direction), and sparse autoencoders, which split activations into many labelled features (Lieberum et al., 2024). It also cites the known failure modes. Feature labels can describe the surrounding text rather than the state. A contrast between two groups of sentences can pick up whatever else differs between them (Tan et al., 2024). And claimed parallels with human brain signals can depend on how they are measured. Part 03 shows how the method tries to guard against each.
Background 2: testing pain without asking
A model's own report that it is or is not in pain is weak evidence either way. Chat models are trained to say they have no feelings, and a model could also say it hurts because the context makes that the likely next sentence. Animal researchers face a similar problem with subjects that cannot talk. They test for pain through behavior: whether an animal trades off a noxious stimulus against a reward (Appel and Elwood's hermit crabs), learns to avoid where it was hurt (Dunlop et al.'s goldfish and trout), or protects itself flexibly over time (Gibbons et al.'s bumblebees). The paper also cites the philosophy of pain, which disagrees on what pain fundamentally is: a felt quality, a perception of bodily damage, a representation of damage as bad, a command to protect the body, or something else (Aydede, SEP 2019).
On the model side, the authors note that models have stable preferences between conversations (Ren et al., 2026; Ensign et al., 2025; Tagliabue and Dung, 2025; Wang et al., 2026), and that models can even self-administer steering vectors when users frustrate them (Black and Bloom, 2026). Their criticism of earlier behavioral designs drives the button experiment in Part 07: many lacked a matched non-emotional control or any cost for changing state. Without those, you cannot tell a model seeking relief from a model that simply prefers a tool or keeps repeating its last choice (Keeling et al., 2024).
To our knowledge, no study has isolated representations of pain specifically from representations of negative experience in general— The Pain Axis, §2
The plan of the paper
The introduction states the conclusion it will reach in one line: a "pain axis" appears in every model tested, and in the behavioral task it drives action, which the authors read as harm avoidance being disrupted more than as an attempt to escape the state (§1, "Our findings"). The rest of the map checks how far the evidence carries that reading.
Check yourself
- Why would a direction that fires equally for "I am being attacked" and "someone is about to attack me" fail the paper's definition?
Answer
The definition requires pain to be present, not anticipated. A direction that cannot tell harm that has landed from harm that is threatened behaves like a threat (fear) detector. §1 asks for "something happening now"; the fear control and the shutdown-threat scenarios in §4.1 test exactly this.
- Why do animal-pain researchers, and this paper, prefer costly choices over self-report?
Answer
Reports can be produced without the state, and chat models are trained to deny having states at all. A choice that costs something reveals what the subject actually weighs. §2 adds that a good design also needs a matched non-emotional control, or a preference for one tool can pass for relief-seeking.
- The paper's definition includes moral injury and cognitive pain. Why might those matter more for an LLM than for a person?
Answer
§3.1 notes that models show robust aversion to failure, tedious tasks and tasks that conflict with values instilled by post-training (citing Ren et al., 2026). If a model has anything like pain, these non-bodily kinds are where you would expect it to show up.
Further reading, verified
- Emotion concepts and their function in a large language model — Sofroniew et al. (2026) · the emotion-direction work the paper extends to pain.
- Steering language models with activation engineering — Turner et al. (2023) · adding an activation difference to change behavior.
- Steering Llama 2 via contrastive activation addition — Rimsky et al. (2024) · mean-difference steering vectors, the paper's other steering reference.
- Refusal in language models is mediated by a single direction — Arditi et al. (2024) · the ablation method used in the appendix.
- Persona vectors — Chen et al. (2025) · character traits as residual-stream directions.
- Can LLMs make trade-offs involving stipulated pain and pleasure states? — Keeling et al. (2024) · the behavioral precedent the paper builds past.
- Machinic psychopharmacology: do LLMs self-medicate? — Black and Bloom (2026) · the self-administration paradigm the button task adapts.
- Pain — Aydede, Stanford Encyclopedia of Philosophy (2019) · the theories of pain the paper surveys.
- Taking AI welfare seriously — Long et al. (2024) · why AI welfare is a live question (field map extra).