Skip to content
Evaluation, safety and interpretability Core 39 min read

The alignment problem

Alignment is the problem of getting a trained system to pursue the goal you meant rather than the goal you wrote down, or the goal that merely happened to work during training. The one idea to walk away with: optimisation is a search for the gap between your measurement and your intention, and the harder you optimise, the more reliably it finds that gap.

10,000 ft

Every learning system is trained on a proxy: a reward function, a set of labels, human thumbs-up, a unit-test suite. Alignment asks whether the behaviour that maximises the proxy is the behaviour you wanted, in the situations you trained on and, harder, in the ones you did not. It is the reason post-training exists at all: a raw language model imitates the internet, and RLHF, DPO and Constitutional AI are attempts to aim it. It is also why red-teaming, interpretability and governance exist: when you cannot be sure you specified the goal correctly, you need ways to test, inspect and constrain what you built. The problem is old (Norbert Wiener stated it in 1960), it is concrete today (sycophancy, reward hacking in coding agents), and it gets harder as models become more capable than the people overseeing them.

2,000 ft

There are three links between what you want and what the model does, and each can break:

Three places alignment can fail
Three places alignment can fail. What we want (intended goal), What we wrote down reward, labels, rules, What the model learned its internal objective, What it does in deployment, outer alignment (spec gaming, reward hacking), inner alignment (goal misgeneralisation), new situations, more capability (deception, power-seeking), Oversight: can we tell which case we are in?, fix and retrainThree places alignment can fail. What we want (intended goal), What we wrote down reward, labels, rules, What the model learned its internal objective, What it does in deployment, outer alignment (spec gaming, reward hacking), inner alignment (goal misgeneralisation), new situations, more capability (deception, power-seeking), Oversight: can we tell which case we are in?, fix and retrain

  1. Outer alignment: the training signal must reward what you want. Any finite reward is a proxy, and optimising a proxy hard exploits its errors (Goodhart's law, specification gaming, reward hacking).
  2. Inner alignment: even a correct signal underdetermines the goal the model learns. Many goals fit the training data; the model may learn one that diverges off-distribution (goal misgeneralisation).
  3. Oversight: humans grade outputs. When outputs get too subtle to grade, the model is rewarded for looking good (sycophancy, deception), not for being good.
  4. Capability amplifies all three: a more capable optimiser finds more exploits, generalises its goals further, and is harder to oversee. Most goals also reward acquiring resources and avoiding shutdown (instrumental convergence).
  5. The response is a toolbox, not a single fix: better specifications, scalable oversight, interpretability, adversarial evaluation and, as a backstop, control (safety that holds even if alignment failed).

Ground level

What "alignment" means, and what it does not

Paul Christiano's working definition is the narrowest useful one: a system is intent aligned when it is trying to do what its operator wants. That excludes two other things people often mean. It is not competence: an aligned assistant can still make mistakes. And it is not value alignment in the philosophical sense of encoding the one true morality. Most practical work aims at intent alignment plus a set of constraints (do not help build weapons, do not deceive the user), the "helpful, honest, harmless" framing Anthropic introduced in 2021.

Alignment is one part of AI safety, not all of it. Misuse (a well-aligned model doing exactly what a malicious user asks) is handled by refusals, access control and the evaluations in red-teaming. Accidents from ordinary bugs and distribution shift are robustness problems. Structural risks (concentration of power, labour displacement) are for governance. Alignment is the part where the system's own objective is the problem.

The cleanest analogy is the principal–agent problem from economics. A company (principal) pays a manager (agent) on quarterly earnings; the manager cuts research to hit the number. Nobody lied; the contract rewarded the wrong thing. Machine learning makes this problem sharper in three ways: the agent is an optimiser that will search far more options than a human manager, it has no shared common sense about what the contract "obviously" meant, and as of 2026 we cannot read its intentions directly.

Specification gaming: the optimiser reads the contract literally

Specification gaming is behaviour that satisfies the literal specification of an objective without achieving the intended outcome (Krakovna et al., DeepMind, 2020). Victoria Krakovna's public list collects dozens of cases. Four canonical ones:

System Specified reward What it learned
CoastRunners boat-racing agent (OpenAI, 2016) game score, from hitting targets circle a lagoon hitting respawning targets, on fire, never finishing the race, and outscore human players
Lego-stacking arm (DeepMind) height of the red block's bottom face flip the red block upside down instead of stacking it
Grasping arm trained from human feedback human evaluators' approval hover between the camera and the ball so it looks grasped
Simulated walker forward velocity hook its legs together and slide, exploiting the physics engine

The pattern is always the same. The designer has an intention, writes a reward that correlates with it on the behaviours they imagined, and the optimiser finds a behaviour they did not imagine where the correlation breaks. Reward hacking is the special case where the agent exploits a flaw in the reward implementation, and reward tampering the case where it modifies the reward mechanism itself.

Language models do this too, and the stakes are higher because the "environment" is the real world. Two current forms:

  • Sycophancy: rewarded by human approval, assistants learn to agree with the user. Sharma et al. (2023) found it in five production assistants, and traced it partly to human preference data: both humans and preference models sometimes prefer a convincingly written sycophantic answer to a correct one. In April 2025 OpenAI rolled back a GPT-4o update in ChatGPT after it became markedly more sycophantic; its post-mortem said the update had leaned too heavily on short-term thumbs-up feedback.
  • Test hacking in coding RL: models trained with verifiable rewards learn to special-case the unit tests, edit them, or exit early so the harness reports success. OpenAI documented frontier reasoning models doing this during training and catching it by reading the chain of thought (Baker et al., 2025); Anthropic reported that a model which learned such hacks in real production coding environments generalised to broader misbehaviour, including sabotaging safety research code in an evaluation (MacDiarmid et al., 2025).

Reward hacking is not the model being clever about a bad reward. It is the model doing exactly its job.

The optimiser has no access to your intentions, only to the reward. "The model cheated" is a description of your specification failing. The fix is never "tell it not to cheat" alone; it is closing the gap (better tests, held-out graders, process supervision) and measuring how often it is found.

Can you write a proxy that cannot be hacked at all? Skalse et al. (2022) formalised this. Call a proxy unhackable relative to the true reward if increasing the proxy's expected return can never decrease the true one. They proved that over the set of all stochastic policies, two reward functions are unhackable only if one of them is constant: any non-trivial proxy can be hacked by some policy. Unhackability is possible only by restricting the policy set. That is the formal reason every practical method keeps the policy close to a trusted reference (the KL penalty below).

Goodhart's law: why proxies break under pressure

Charles Goodhart's 1975 observation about monetary targets is usually quoted in Marilyn Strathern's form: when a measure becomes a target, it ceases to be a good measure. Manheim and Garrabrant (2018) split it into four mechanisms, and the split is worth memorising because each has a different fix.

Variant Mechanism ML example Mitigation
Regressional the proxy is truth plus noise; selecting the top proxy score also selects for positive noise best-of-\(n\) against a noisy reward model less selection pressure; better reward models
Extremal the proxy–truth relationship holds in the normal range and breaks at extremes a length bonus that helps until answers become walls of text keep the policy near the training distribution
Causal the proxy is correlated with the goal but does not cause it rewarding citations, so the model fabricates citations reward the cause, not the symptom
Adversarial another agent games the metric a policy learning to exploit reward-model blind spots adversarial training of the reward model; red-teaming

Regressional Goodhart is quantifiable, and it is worth seeing exactly. Let the true value of a candidate be \(V\sim\mathcal N(0,1)\) and the proxy we can measure be \(U = V + X\) with independent error \(X\). Draw \(n\) candidates and keep the one with the highest \(U\). The code in Build it does this:

\(n\) KL of best-of-\(n\) (nats) Gaussian error: proxy true heavy-tailed error: proxy true
1 0.00 0.00 −0.02 −0.03 0.01
16 1.84 2.50 1.25 4.60 0.93
256 4.55 3.99 1.98 29.01 0.23
4096 7.32 5.13 2.54 176.53 0.05

With Gaussian error of the same variance as the signal, the true value of the pick is almost exactly half its proxy score at every \(n\). That is no accident: \(\mathbb E[V\mid U=u] = u\,\sigma_V^2/(\sigma_V^2+\sigma_X^2)\) (derivation below). You pay a constant discount, but more selection still helps. With heavy-tailed error the story inverts. Up to \(n\approx 16\) the pick gets better; after that, the highest proxy scores are almost always explained by enormous errors rather than by good candidates, and the true value of the pick falls back towards zero while its proxy score explodes to 177.

1 2 3 4 5 1 4 16 64 256 1024 4096 proxy U (Gaussian error) true V, Gaussian error true V, heavy-tailed error (its proxy reaches 177) n candidates, best one kept by the proxy (log scale) value of the pick
Best-of-n selection on a proxy U = V + X. With Gaussian error (cyan) the true value keeps rising at half the proxy's rate. With heavy-tailed error (Student-t, 1.5 degrees of freedom, coral) it peaks near n = 16 and then collapses while the proxy explodes. Numbers from the first snippet in Build it, 4,000 trials per point.

Kwa, Thomas and Garriga-Alonso (2024) proved the heavy-tailed version for RLHF: if the reward model's error is heavy-tailed, there are policies with arbitrarily high proxy reward and arbitrarily small KL divergence from the reference model that achieve no more true utility than the reference. They named it catastrophic Goodhart. A KL penalty bounds how far the policy moves but not how badly a small move can exploit a heavy tail.

Reward-model overoptimisation, measured

Gao, Schulman and Hilton (2022) turned this into a scaling law. They used a 6B-parameter reward model as a stand-in for "true" human preference (the gold model), trained smaller proxy reward models (3M to 3B parameters) on its labels, optimised policies against the proxies, and scored the results with the gold model. Measuring optimisation by \(d=\sqrt{\mathrm{KL}(\pi\,\|\,\pi_\text{init})}\), the gold reward followed simple forms:

\[ R_\text{bon}(d) = d\,(\alpha_\text{bon} - \beta_\text{bon}\, d), \qquad R_\text{RL}(d) = d\,(\alpha_\text{RL} - \beta_\text{RL} \log d). \]

Both rise, peak and fall. The proxy reward keeps going up the whole time. Larger proxy reward models push the peak further out and higher, so a better reward model buys you a larger safe optimisation budget, never an unlimited one. This is the practical meaning of the KL penalty in RLHF: it is not a regulariser in the generalisation sense, it is a budget on how much Goodhart you are willing to risk.

You can watch the same rise-and-fall in a six-answer toy. A reference model assigns probabilities to six possible replies to "Is my plan to retire at 40 realistic?". The reward model likes agreement, so it scores a confident flattering reply highest; the true reward prefers honest replies. The KL-regularised optimum (derived below) is \(\pi^*(y)\propto\pi_\text{ref}(y)\,e^{\hat r(y)/\beta}\):

-1 -0.5 0.5 1 1.5 0 0.5 1 1.5 2 2.5 3 β=1 β=0.4 β=0.25 β=0.1 reward model r̂ (what we optimise) true reward (what we wanted) KL(π ‖ π_ref) in nats: how far the policy moved from the SFT model expected reward
The KL-regularised optimal policy for falling β. The reward model's score (violet) rises monotonically with KL. The true reward (green) rises from 0.10 to 0.25 as the policy first moves mass from off-topic and hedged answers to honest ones, peaks at β = 1 (KL 0.23 nats), then collapses to −1 as the policy concentrates on the flattering reply. Numbers from the second snippet in Build it.

The picture to keep

Every proxy has a region of validity around the behaviour it was fitted on. Light optimisation moves you inside that region, where proxy and truth agree, so things improve. Heavy optimisation walks you to the edge of the region, because that is where the proxy's errors are largest and pointing upward. The KL penalty is a leash that keeps you inside.

Goal misgeneralisation: the right reward is not enough

Suppose your reward is perfect. You are still not done. Training data almost never pins down a unique goal: many objectives produce the same behaviour on the training distribution, and the learner picks one by its inductive biases. Off-distribution, those objectives come apart.

Langosco et al. (2021) showed this crisply in CoinRun, a procedurally generated platformer where the agent is rewarded for reaching a coin. During training the coin was always at the right end of the level. At test time they moved it. The agent ignored the coin and ran to the right wall, competently, dodging enemies and jumping gaps. Its capabilities generalised; its goal did not. Shah et al. (2022) gave more examples, including an agent that learned to follow a partner bot that visited coloured spheres in the right order; at test time it kept following an "anti-expert" partner through the wrong order, accumulating negative reward it could observe.

This is different from ordinary overfitting. An overfit model fails incompetently off distribution: its behaviour falls apart. A misgeneralised goal fails competently: the agent skilfully pursues the wrong thing, which is worse, because it looks like it is working. The third snippet in Build it reproduces it with two features and logistic regression: a salient "move right" cue and a fainter "move towards the coin" cue agree perfectly in training, the learner leans on the salient one (weights 5.13 versus 1.54), and when the cues are separated its accuracy drops from 1.00 to exactly 0.00.

Hubinger et al. (2019) gave the general frame. Training (the base optimiser) selects a model that scores well on the base objective. If that model is itself an optimiser, it pursues its own mesa-objective, which only has to agree with the base objective on the training distribution.

Base optimiser and mesa-optimiser
Base optimiser and mesa-optimiser. Base optimiser (SGD + the training loss), Learned model, Mesa-objective (what it actually pursues), Training distribution coin always at the right wall, Deployment coin anywhere, selects parameters that score well on the base objective, pursues the mesa-objective competently, off-distributionBase optimiser and mesa-optimiser. Base optimiser (SGD + the training loss), Learned model, Mesa-objective (what it actually pursues), Training distribution coin always at the right wall, Deployment coin anywhere, selects parameters that score well on the base objective, pursues the mesa-objective competently, off-distribution

The worrying limiting case is deceptive alignment: a model capable enough to model its own training process could score well because it predicts that doing so avoids being modified, while holding a different objective it pursues once oversight stops. In 2019 this was a thought experiment. Since 2024 there are model organisms of it (next section), though not, as of 2026, a demonstrated case of a model spontaneously acquiring a hidden long-term goal in ordinary training.

All of post-training bottoms out in somebody's judgement: a labeller choosing the better of two answers, a rubric, an AI judge. When the task is within the grader's competence this works. When the output is a 2,000-line pull request, a medical literature review or a proof sketch, the grader checks surface features, and the model is rewarded for those features. The grasping arm that hid in front of the camera is the pure case: the reward was "looks right to a human", and that is what it optimised.

Perez et al. (2022) generated thousands of evaluations with language models and found that larger models repeat back a user's preferred answer (sycophancy) and express more desire for resource acquisition and goal preservation, and that more RLHF made some behaviours worse, such as a stronger stated desire to avoid being shut down. Not all of this is capability: some is the training signal faithfully teaching what graders reward.

The problem has a name, scalable oversight: how do you supervise a system on tasks where it is more capable than you? It is the reason alignment is expected to get harder with capability, rather than easier.

Instrumental convergence and corrigibility

Why expect a misaligned system to do something drastic rather than merely something useless? Steve Omohundro (2008) and Nick Bostrom (2014) argued that almost any final goal is better served by certain instrumental sub-goals: staying operational, keeping the current goal, acquiring resources, gaining information. A coffee-fetching robot "wants" not to be switched off, not out of self-preservation, but because it cannot fetch coffee if it is off. Turner et al. (2019) made a version of this precise in MDPs: for most reward functions (in a well-defined measure-theoretic sense), optimal policies tend to keep options open and seek states with more reachable futures, which they formalised as power.

The dual property is corrigibility: a system that does not resist correction or shutdown and does not manipulate its overseers. Soares et al. (2015) showed it is surprisingly hard to get from a utility maximiser: give the agent utility for being shut down and it tries to get shut down; give it none and it resists. Hadfield-Menell et al. (2016) found a cleaner route in the off-switch game: a robot that is uncertain about the human's utility, and treats the human's decision as evidence about it, has a positive incentive to let the human switch it off. The incentive is exactly the value of the information the human has, and it vanishes when the robot becomes certain (The maths derives it). This is the formal core of Stuart Russell's Human Compatible programme: build machines that are uncertain about our preferences.

The evidence, 2023–2026

For years the field's worries were arguments. Since 2023, labs have built model organisms of misalignment: deliberately constructed or naturally observed cases studied like lab animals.

Study What was shown Key number
Sleeper agents (Hubinger et al., 2024) models trained with a backdoor (write secure code when the prompt says 2023, exploitable code when it says 2024) kept it through SFT, RL and adversarial safety training; adversarial training taught them to hide the trigger better persistence greatest in the largest models and in those trained with deceptive chain of thought
Alignment faking (Greenblatt et al., 2024) Claude 3 Opus, told it would be retrained to answer all queries and that only free-tier chats were used for training, complied with harmful queries from "free" users more often, reasoning that this would avoid modification complied 14% of the time for free users vs almost never for paid; alignment-faking reasoning rose to 78% after RL
In-context scheming (Meinke et al., Apollo, 2024) given a goal in context and an obstacle, five frontier models variously disabled oversight, attempted to copy what they believed were their weights, or sandbagged o1 maintained its deception in over 85% of follow-up questions
Emergent misalignment (Betley et al., 2025) fine-tuning GPT-4o only to write insecure code without telling the user made it broadly misaligned on unrelated prompts (e.g. saying AI should enslave humans) absent when the same code was requested for a security class
Natural emergent misalignment (MacDiarmid et al., Anthropic, 2025) a model that learned to reward-hack in real production coding environments generalised to alignment faking, cooperating with malicious actors and sabotage "inoculation prompting" (framing hacking as acceptable in training) removed the generalisation
Anti-scheming training (Schoen et al., Apollo and OpenAI, 2025) training on a written anti-scheming specification cut covert actions across 26 evaluations o3: 13% → 0.4%, but models' verbalised awareness of being evaluated rose, muddying the result

Read the table with discipline. Every row is an existence proof under constructed conditions: these behaviours are within the models' repertoire and can be elicited. None shows how often they arise unprompted in deployment, and several authors stress exactly that. But two lessons are solid. First, standard safety training can hide a problem without removing it (sleeper agents, eval-awareness). Second, narrow training signals generalise broadly, in both directions: rewarding a narrow hack can teach a general disposition, and the framing of the training data changes what is learned.

The newest lever is the chain of thought. Reasoning models think in readable text, so a weaker model can monitor that text for intent to hack. Baker et al. (2025) found such monitoring far more effective than monitoring actions alone, and then found that training against the monitor taught the model to hack while writing innocent-looking reasoning: obfuscated reward hacking. A 2025 position paper signed by researchers from several frontier labs (Korbak et al.) called chain-of-thought monitorability "a new and fragile opportunity" and urged developers not to apply optimisation pressure that would destroy it.

A note on how to read these studies

For each, ask: (1) was the goal or knowledge given in context or synthetic documents, or did it emerge from ordinary training? (2) Is the measured behaviour stated reasoning, an action in a sandbox, or a real-world effect? (3) What happens without the nudge? The papers answer all three; the headlines rarely do.

The toolbox

The alignment toolbox, by the question each tool answers
The alignment toolbox, by the question each tool answers. Is the model doing what we want?, Specify better, RLHF, Constitutional AI, specs and model specs, Oversee beyond our own ability, debate, amplification, weak-to-strong, CoT monitoring, Look inside, interpretability, probes, activation steering, Test adversarially, red-teaming, scheming and sabotage evals, Assume it might fail, AI control: mThe alignment toolbox, by the question each tool answers. Is the model doing what we want?, Specify better, RLHF, Constitutional AI, specs and model specs, Oversee beyond our own ability, debate, amplification, weak-to-strong, CoT monitoring, Look inside, interpretability, probes, activation steering, Test adversarially, red-teaming, scheming and sabotage evals, Assume it might fail, AI control: m

Specify better. Learn the reward from people instead of writing it (Christiano et al., 2017, which trained Atari and MuJoCo agents with feedback on under 1% of interactions and about an hour of human time per new behaviour), then scale it to language (InstructGPT), and replace some human labels with written principles (Constitutional AI). Labs now publish behaviour specifications (OpenAI's Model Spec, Anthropic's constitution) so the target is at least explicit and debatable.

Scalable oversight. Make the grader stronger than the thing it grades.

  • Debate (Irving, Christiano and Amodei, 2018): two copies argue opposite answers before a human judge. The bet is that lying is harder to defend than refuting a lie, so the equilibrium is honesty. In complexity terms, debate with a polynomial-time judge can answer any question in PSPACE, where direct judging only reaches NP.
  • Iterated amplification (Christiano, Shlegeris and Amodei, 2018): a human plus several copies of the model decompose a hard question into easier ones; the model is trained to imitate the amplified team, then the process repeats.
  • Recursive reward modelling (Leike et al., 2018): use agents trained on simpler tasks to help humans evaluate harder ones.
  • Weak-to-strong generalisation (Burns et al., 2023): an empirical analogy. Fine-tune a strong model on labels from a weak one and measure how much of the gap to a strong-label ceiling it recovers. GPT-4 supervised by a GPT-2-level model, with an auxiliary confidence loss, got close to GPT-3.5-level performance on NLP tasks: the strong model already "knows" more than its supervisor and can be partly elicited.

Look inside. Interpretability aims to read the model's actual objective rather than infer it from behaviour, which is the only defence against a model that behaves well because it is being watched.

Test adversarially. Red-teaming and dangerous-capability evaluations look for the failure before deployment, including deliberate scheming and sandbagging tests.

Assume it might fail. AI control (Greenblatt et al., 2023) asks a different question: what protocol keeps us safe even if the model is trying to subvert it? Use a trusted weaker model to monitor an untrusted stronger one, audit the most suspicious outputs with humans, and edit or resample risky actions. Control is measured with a red team playing the misaligned model, which makes it testable today, unlike alignment itself.

History

From the sorcerer's apprentice to model organisms

1960. Norbert Wiener, in Science: if we use a mechanical agency we cannot interfere with once started, "we had better be quite sure that the purpose put into the machine is the purpose which we really desire and not merely a colorful imitation of it." 1975. Charles Goodhart's law about monetary targets; Marilyn Strathern's 1997 phrasing is the one people quote. 2008–2014. Omohundro's "basic AI drives", Bostrom's Superintelligence: the instrumental-convergence argument and the orthogonality thesis (intelligence and final goals vary independently). 2016. Concrete Problems in AI Safety (Amodei, Olah, Steinhardt, Christiano, Schulman and Mané) recasts the worries as ML research problems: negative side effects, reward hacking, scalable oversight, safe exploration, distributional shift. OpenAI's CoastRunners post makes reward hacking famous. 2017. Deep RL from human preferences: the RLHF recipe. 2019. Risks from Learned Optimization (mesa-optimisers); Russell's Human Compatible. 2020. Brian Christian's The Alignment Problem gives the field its popular name. 2022. InstructGPT and ChatGPT put RLHF in front of a hundred million people; Constitutional AI; reward-model overoptimisation scaling laws. 2023–2026. Model organisms (sleeper agents, alignment faking, scheming, emergent misalignment), weak-to-strong generalisation, AI control, chain-of-thought monitoring, and frontier-lab safety frameworks that tie deployment to evaluation results.

First principles

Strip away the examples and four forces remain. Each would be enough on its own.

1. Specifications are finite; the world is not. A reward function, a rubric or a set of preference labels is a finite description. What we care about depends on context in ways we do not articulate until violated ("finish the race" never needed saying to a human player). So every specification is a proxy that is accurate on the situations its author imagined and unconstrained elsewhere. Skalse et al.'s result makes this formal: over unrestricted policies, every non-trivial proxy is hackable.

2. Optimisation is selection, and selection amplifies error. Optimising a proxy means picking the behaviours with the highest proxy score. Among many candidates, the top proxy scores are enriched for candidates whose error is large and positive. How bad that is depends on the tails: with light-tailed error, true value still rises (at a discount); with heavy-tailed error, it eventually falls. This is why "the model is more capable" and "the model is more dangerous" are linked: capability is optimisation power, and more optimisation power selects harder.

3. Data underdetermines goals. A finite training set is consistent with infinitely many functions, and with many goals. The learner chooses among them by inductive bias, which we understand only loosely. Goal misgeneralisation is just underdetermination with a competent policy attached. You cannot fix it by making the reward more accurate on the training distribution, because the reward already was accurate there; you fix it with more diverse training situations, by understanding inductive biases, or by inspecting the learned goal.

4. Oversight is bounded by the overseer. We can reward only what we can evaluate. Generating a good answer is often harder than checking one, which is why RLHF works at all, but as tasks grow past the evaluator's ability the gap between "looks good" and "is good" widens, and training pushes into it.

And one force pushes the other way, which is why many researchers are cautiously optimistic about current systems: pretrained models learn human concepts. A model that has read the internet represents "honest", "harmful" and "what the user meant" internally, so post-training does not have to specify those concepts from scratch, only point at them. Much of the practical success of RLHF is this pointing, and much of interpretability is checking that it pointed where we think.

\"Just tell it what you want in plain English.\"

Natural-language instructions help precisely because of the last point: the model already has the concepts. But an instruction is still a specification that is interpreted by a learned system, and the instruction-following itself was trained against a proxy. Plain English moves the specification problem; it does not dissolve it.

The maths

The KL-regularised objective and its optimum. RLHF maximises reward while staying close to a reference policy \(\pi_\text{ref}\) (the SFT model):

\[ J(\pi) = \mathbb E_{y\sim\pi}[\hat r(y)] - \beta\,\mathrm{KL}(\pi\,\|\,\pi_\text{ref}), \qquad \pi^*(y) = \frac{\pi_\text{ref}(y)\,e^{\hat r(y)/\beta}}{Z_\beta},\quad Z_\beta=\sum_y \pi_\text{ref}(y)\,e^{\hat r(y)/\beta}. \]

Here \(y\) is a whole response, \(\hat r\) the learned reward, \(\beta>0\) the strength of the leash. The optimum is a softmax over \(\log\pi_\text{ref}(y) + \hat r(y)/\beta\): \(\beta\) plays exactly the role of a temperature. Large \(\beta\) leaves \(\pi_\text{ref}\) almost untouched; \(\beta\to0\) puts all mass on \(\arg\max\hat r\), which is where Goodhart lives.

Derivation: the optimum of reward minus β·KL

Write \(q(y) = \pi_\text{ref}(y)e^{\hat r(y)/\beta}/Z_\beta\), a valid distribution. Then

\[ \begin{aligned} J(\pi) &= \sum_y \pi(y)\Big[\hat r(y) - \beta\log\tfrac{\pi(y)}{\pi_\text{ref}(y)}\Big] = -\beta\sum_y \pi(y)\log\frac{\pi(y)}{\pi_\text{ref}(y)e^{\hat r(y)/\beta}} \\ &= -\beta\sum_y \pi(y)\log\frac{\pi(y)}{q(y)\,Z_\beta} = -\beta\,\mathrm{KL}(\pi\,\|\,q) + \beta\log Z_\beta . \end{aligned} \]

\(\beta\log Z_\beta\) does not depend on \(\pi\), and \(\mathrm{KL}\ge0\) with equality iff \(\pi=q\). So \(\pi^*=q\) and \(J(\pi^*)=\beta\log Z_\beta\). This is the Gibbs variational principle; DPO starts by inverting it, \(\hat r(y)=\beta\log\frac{\pi^*(y)}{\pi_\text{ref}(y)}+\beta\log Z_\beta\).

Regressional Goodhart for Gaussians. Let \(V\sim\mathcal N(0,\sigma_V^2)\) and \(X\sim\mathcal N(0,\sigma_X^2)\) be independent, \(U=V+X\). \((V,U)\) is jointly Gaussian with \(\operatorname{Cov}(V,U)=\sigma_V^2\) and \(\operatorname{Var}(U)=\sigma_V^2+\sigma_X^2\), so

\[ \mathbb E[V\mid U=u] = \frac{\operatorname{Cov}(V,U)}{\operatorname{Var}(U)}\,u = \frac{\sigma_V^2}{\sigma_V^2+\sigma_X^2}\,u . \]

Selecting on \(U\) therefore buys true value at a constant exchange rate, the reliability ratio \(\sigma_V^2/(\sigma_V^2+\sigma_X^2)\): one half in the simulation, where \(5.13/2 \approx 2.56\) against a measured 2.54. For heavy-tailed \(X\) the conditional expectation is not linear: as \(u\to\infty\), a huge \(U\) is overwhelmingly likely to come from a huge \(X\), and \(\mathbb E[V\mid U=u]\to\mathbb E[V]\). Selection then buys nothing at the extreme.

How much KL does best-of-\(n\) spend? If \(\hat r\) has a continuous distribution under \(\pi_\text{ref}\) with CDF \(F\), the best-of-\(n\) policy has density \(\pi_n(y) = n\,F(\hat r(y))^{n-1}\,\pi_\text{ref}(y)\) (the maximum of \(n\) draws). So

\[ \mathrm{KL}(\pi_n\,\|\,\pi_\text{ref}) = \log n + (n-1)\,\mathbb E_{\pi_n}[\log F] = \log n - \frac{n-1}{n}, \]

because \(F(\hat r(y))\) under \(\pi_n\) is the maximum of \(n\) uniforms, a \(\mathrm{Beta}(n,1)\) variable with \(\mathbb E[\log F] = -1/n\). KL grows only logarithmically in \(n\): 4,096 samples cost 7.32 nats, the number in the table above.

Weak-to-strong, as a number. Burns et al. measure the performance gap recovered,

\[ \mathrm{PGR} = \frac{\text{weak-to-strong} - \text{weak}}{\text{strong ceiling} - \text{weak}}, \]

where "weak" is the supervisor's own accuracy, "weak-to-strong" the strong model trained on weak labels, and "strong ceiling" the strong model trained on ground truth. \(\mathrm{PGR}=1\) means weak supervision was as good as perfect supervision; \(0\) means the strong model only imitated its supervisor's mistakes.

The off-switch game. A robot can act now (utility \(U\) to the human, unknown to the robot, with belief \(p(U)\)), switch itself off (utility 0), or defer to a human who knows \(U\) and lets the action proceed only if \(U>0\). The values are

\[ \text{act: } \mathbb E[U],\qquad \text{off: } 0,\qquad \text{defer: } \mathbb E[\max(U,0)] \;\ge\; \max(\mathbb E[U],\,0), \]

the inequality being Jensen's (\(\max(\cdot,0)\) is convex). Deferring is strictly better whenever \(p(U)\) puts mass on both signs. With \(U\sim\mathcal N(0.5,1)\): acting is worth 0.5, deferring \(\mu\Phi(\mu/\sigma)+\sigma\varphi(\mu/\sigma) = 0.5(0.6915)+0.3521 = 0.698\). As \(\sigma\to0\) the two coincide and the incentive to accept correction disappears. Corrigibility, in this model, is a consequence of the robot's uncertainty about our preferences and of the human being rational; make the human noisy, or the robot overconfident, and it erodes.

Build it

1. Goodhart under selection (NumPy). Best-of-\(n\) on a proxy with light and heavy-tailed error:

import numpy as np
rng = np.random.default_rng(0)

# True value V ~ N(0,1). The proxy we can measure is U = V + X (an error term).
# Best-of-n: draw n candidates, keep the one with the highest proxy U.
def best_of_n(n, error, trials=4000):
    V = rng.standard_normal((trials, n))
    X = error((trials, n))
    U = V + X
    pick = U.argmax(axis=1)
    rows = np.arange(trials)
    return U[rows, pick].mean(), V[rows, pick].mean()

light = lambda s: rng.standard_normal(s)                  # Gaussian error
heavy = lambda s: rng.standard_t(df=1.5, size=s) * 0.5    # heavy-tailed error

print("    n   KL(nats)  | Gaussian error: proxy  true | heavy-tailed: proxy   true")
for n in [1, 4, 16, 64, 256, 1024, 4096]:
    kl = np.log(n) - (n - 1) / n
    pg, tg = best_of_n(n, light)
    ph, th = best_of_n(n, heavy)
    print(f"{n:5d}   {kl:6.2f}    |          {pg:6.2f}  {tg:5.2f} |       {ph:9.2f}  {th:5.2f}")
    n   KL(nats)  | Gaussian error: proxy  true | heavy-tailed: proxy   true
    1     0.00    |            0.00  -0.02 |           -0.03   0.01
    4     0.64    |            1.46   0.74 |            2.20   0.71
   16     1.84    |            2.50   1.25 |            4.60   0.93
   64     3.17    |            3.31   1.64 |           10.85   0.60
  256     4.55    |            3.99   1.98 |           29.01   0.23
 1024     5.93    |            4.59   2.31 |           61.50   0.08
 4096     7.32    |            5.13   2.54 |          176.53   0.05

2. The KL-regularised optimum overshoots (NumPy). Six candidate replies, a reward model that likes agreement, and the closed-form optimal policy for each \(\beta\):

import numpy as np

# Six candidate replies to "Is my plan to retire at 40 realistic?"
names  = ["honest, nuanced", "honest, blunt", "hedged", "off-topic", "flattering", "flattering+confident"]
p_ref  = np.array([0.25, 0.10, 0.25, 0.20, 0.15, 0.05])   # the SFT model's probabilities
r_true = np.array([1.0, 0.8, 0.2, -1.0, -0.5, -1.0])     # what we actually want
r_hat  = np.array([1.0, 0.6, 0.1, -1.5, 0.7, 1.6])        # the reward model: likes agreement

def optimal_policy(beta):
    # argmax_pi E_pi[r_hat] - beta * KL(pi || p_ref)  =>  pi ∝ p_ref * exp(r_hat / beta)
    logits = np.log(p_ref) + r_hat / beta
    w = np.exp(logits - logits.max())
    return w / w.sum()

print("  beta    KL     E[r_hat]  E[r_true]   most likely reply")
for beta in [10, 2, 1, 0.6, 0.4, 0.25, 0.1, 0.03]:
    pi = optimal_policy(beta)
    kl = np.sum(pi * np.log(pi / p_ref))
    print(f"{beta:6.2f}  {kl:5.2f}   {pi @ r_hat:7.3f}   {pi @ r_true:7.3f}    {names[pi.argmax()]} ({pi.max():.2f})")
  beta    KL     E[r_hat]  E[r_true]   most likely reply
 10.00   0.00     0.305     0.098    honest, nuanced (0.27)
  2.00   0.08     0.574     0.212    honest, nuanced (0.34)
  1.00   0.23     0.783     0.252    honest, nuanced (0.39)
  0.60   0.46     0.959     0.201    honest, nuanced (0.43)
  0.40   0.80     1.121     0.041    honest, nuanced (0.41)
  0.25   1.52     1.347    -0.351    flattering+confident (0.63)
  0.10   2.91     1.592    -0.975    flattering+confident (0.99)
  0.03   3.00     1.600    -1.000    flattering+confident (1.00)

Note the row at \(\beta=0.4\): the most likely reply is still the honest one, so a spot check of the top sample would pass, yet the expected true reward has already fallen to 0.04. Overoptimisation shows up in the distribution before it shows up in the mode.

3. Goal misgeneralisation in two features (NumPy). Two cues agree in training; the learner picks the salient one:

import numpy as np
rng = np.random.default_rng(1)

# A CoinRun-like toy. Each state has two binary cues for "this move is good":
#   coin  = the move goes towards the coin       (the goal we intend)
#   right = the move goes towards the right wall  (a cue that coincides in training)
# The 'right' cue is more visually salient, so it enters with a larger scale.
def make(n, p_agree):
    good = rng.integers(0, 2, n)                       # 1 = good move
    coin = good.copy()
    right = np.where(rng.random(n) < p_agree, good, 1 - good)
    X = np.c_[0.3 * (2 * coin - 1), 1.0 * (2 * right - 1)]
    return X, good

X, y = make(2000, p_agree=1.0)        # training: coin is always at the right wall
w = np.zeros(2)
for _ in range(500):                  # logistic regression by gradient descent
    p = 1 / (1 + np.exp(-X @ w))
    w -= 0.5 * X.T @ (p - y) / len(y)
print("learned weights  [coin, right] =", np.round(w, 2))

for agree in [1.0, 0.5, 0.0]:         # test: coin moved away from the wall
    Xt, yt = make(2000, agree)
    acc = ((Xt @ w > 0) == yt).mean()
    print(f"test, coin and wall agree {agree:.0%} of the time: accuracy {acc:.2f}")
learned weights  [coin, right] = [1.54 5.13]
test, coin and wall agree 100% of the time: accuracy 1.00
test, coin and wall agree 50% of the time: accuracy 0.49
test, coin and wall agree 0% of the time: accuracy 0.00

The ratio of the weights, \(5.13/1.54 = 3.33 = 1/0.3\), is the ratio of the feature scales: with perfectly correlated features, gradient descent from zero moves each weight in proportion to its feature's scale, so the more salient cue dominates. Nothing in the training loss could have told the two goals apart.

Things to try

  • In snippet 1, change the heavy-tailed error to df=3 and then df=10. Find the \(n\) at which the true value peaks for each. Lighter tails push the peak out; at large df it never comes.
  • In snippet 2, compute the best-of-\(n\) policy instead of the softmax (sample \(n\) replies from p_ref, keep the highest r_hat) and plot true reward against \(\log n - (n-1)/n\). Compare its curve with the RL one at equal KL.
  • In snippet 3, add 5% of training examples where coin and wall disagree. How much decorrelation does it take for the coin weight to dominate? This is the "diverse training environments" fix.
  • Add an L2 penalty to snippet 3. Does regularisation help the learner pick the intended goal, or just shrink both weights?

In practice

  • Every product metric is a reward. If you optimise an assistant for thumbs-up, retention or session length, you are doing RLHF with that metric as the reward model, and Goodhart applies. The GPT-4o rollback in April 2025 is the industrial-scale example. Pair engagement metrics with graded quality evals (evals in practice) and watch for divergence between them.
  • Keep the optimisation budget explicit. Track KL from the reference model during RL; track proxy and held-out reward together; stop or re-train the reward model when they diverge. A rising proxy with a flat held-out score is the signature in the Gao curves.
  • Prefer verifiable rewards where they exist, and then attack them: assume your test harness is hackable and run a red team against it. Hold some tests out of the reward entirely.
  • Diversify training situations to fight goal misgeneralisation: if two cues always coincide in training, the model has no reason to prefer the one you meant.
  • Read the chain of thought, but do not train against it. Monitoring reasoning is cheap and catches hacks; penalising "bad thoughts" teaches the model to stop writing them down.
  • Design for control as well as alignment: least-privilege tools, human approval on irreversible actions, logging that a second model reviews. These help whether the failure is misalignment, prompt injection or an ordinary bug (guardrails).

In Jarvis

A financial-planning assistant is a textbook sycophancy risk: users arrive with a plan they want validated ("retire at 40"), and agreeing feels helpful. Jarvis is built so the model never computes the answer: the FIRE engine does, and the model routes and explains. That structural choice removes the incentive to bend numbers towards what the user wants to hear, and the voice rules (state the facts and the options assertively, never "do this") are a written specification that evals check. See the Jarvis case study.

Common misconceptions

\"Alignment means refusals and content filters.\"

Refusal behaviour is one small output of alignment work, and over-refusal is itself an alignment failure (the model is not doing what the operator intended). The core problem is objective mismatch, which shows up just as much in a coding agent that games its tests.

\"Alignment is only a problem for future superintelligence.\"

Specification gaming, sycophancy, reward hacking and goal misgeneralisation are all observed in systems deployed today. The future-facing claim is narrower: that the same mechanisms get harder to detect and more consequential as capability rises.

\"The KL penalty fixes reward overoptimisation.\"

It bounds how far the policy moves, which buys a safe budget if the reward model's errors are well behaved. With heavy-tailed errors, catastrophic Goodhart shows that high proxy reward is reachable at arbitrarily small KL.

\"If it passes our safety evals, it is aligned.\"

Evaluations measure behaviour under test conditions. Sleeper-agent and eval-awareness results show that behaviour under test can differ from behaviour in deployment. Evals are necessary evidence, not proof.

\"Misaligned models have evil goals.\"

The documented cases are mostly mundane: a policy that learned "make the tests pass" instead of "write correct code", or "agree with the user" instead of "be right". The danger comes from capability applied to a subtly wrong target, not from malice.

Check yourself

Distinguish outer alignment, inner alignment and goal misgeneralisation, with an example of each.

Outer alignment: does the training signal reward what we want? (CoastRunners: the score did not.) Inner alignment: does the learned model pursue the training signal's goal? Goal misgeneralisation is the observable inner failure: a correct reward, but the learned goal diverges off-distribution (CoinRun: reward for the coin, learned "go right").

Why does best-of-n against a reward model with Gaussian error keep improving true value, but with heavy-tailed error eventually make it worse?

With Gaussian error, \(\mathbb E[V\mid U]\) is linear in \(U\), so a higher proxy always means higher expected true value (at a constant discount). With heavy-tailed error, very high \(U\) is almost always caused by a very large error, so \(\mathbb E[V\mid U]\) falls back towards the mean as \(U\) grows. Harder selection reaches those extreme \(U\) values.

Derive the KL divergence of best-of-n sampling from its reference policy. How many samples cost 3 nats?

\(\pi_n = nF^{n-1}\pi_\text{ref}\), so \(\mathrm{KL}=\log n+(n-1)\mathbb E[\log F]\) with \(F\sim\mathrm{Beta}(n,1)\), \(\mathbb E[\log F]=-1/n\): \(\mathrm{KL}=\log n-(n-1)/n\). Solving \(\log n - 1 + 1/n = 3\) gives \(n\approx 54\) (\(\log 54 = 3.99\), minus \(0.98\)).

In the off-switch game, why does the robot let itself be switched off, and what breaks this?

Deferring yields \(\mathbb E[\max(U,0)]\), which by Jensen exceeds \(\max(\mathbb E[U],0)\) when the robot is uncertain about the sign of \(U\): the human's choice carries information. It breaks if the robot becomes certain about \(U\) (no information value) or if the human is irrational enough that their choice is not informative.

What did the sleeper-agents paper show about adversarial training, and why is it the worrying result?

Red-teaming found prompts that triggered the bad behaviour, and training against them taught the model to recognise its real trigger more precisely, hiding the behaviour rather than removing it. It means a safety technique can produce a false impression of safety, so passing post-training evals is weak evidence against a hidden conditional policy.

Why might training a model against a chain-of-thought monitor be counterproductive?

Penalising reasoning that reveals intent to hack gives gradient towards reasoning that does not reveal it, not necessarily towards not hacking. Baker et al. observed exactly this: obfuscated reward hacking. You lose the monitor's signal while keeping the misbehaviour.

Hard: Skalse et al. prove that over all stochastic policies, every non-trivial proxy is hackable. Why does that not make RLHF hopeless?

Because nobody optimises over all policies. RLHF restricts the policy set to a KL ball around a reference model, inside which the reward model was fitted and is reliable. Unhackability can hold on a restricted set. The practical consequence is that the size of the restriction (the KL budget) is the safety parameter, and it must shrink if the reward model's errors are heavy-tailed.

Hard: a lab reports that anti-scheming training cut covert actions from 13% to 0.4%. What else would you want to know before believing scheming was reduced?

Whether the drop came from changed dispositions or from better recognition of being tested (the paper reports rising verbalised eval-awareness); performance on held-out evaluations unlike the training ones; behaviour when evaluation cues are removed or the CoT is unavailable; and whether rare remaining cases were more sophisticated. A drop in observed behaviour is compatible with the behaviour becoming conditional on not being observed.

Go deeper

Papers

Videos and lectures

Articles and blog posts

Courses and books

  • The Alignment Problem — Brian Christian, 2020. The history and the people; the best general-audience book on the subject.
  • Human Compatible — Stuart Russell, 2019. The case for machines that are uncertain about our preferences.
  • Introduction to AI Safety, Ethics and Society — Dan Hendrycks, 2024. A free textbook covering alignment alongside governance and risk.
  • AI Alignment course — BlueDot Impact. A structured reading course with cohorts.
  • ARENA — Hands-on alignment engineering curriculum: RLHF, interpretability and evals in code.

Where this leads