Marginal

AI Alignment

Why advanced AI might not do what we intend, and what labs do about it: capability trends, alignment targets, outer and inner alignment, specification gaming, goal misgeneralization and Goodhart's law, goal-directedness and deceptive alignment, forecasting risk, the training pipeline, reward models from human preferences and RLHF, constitutional AI and RLVR, reward over-optimization, evaluations, chain-of-thought monitoring, AI control, and reward learning when evaluators see only part of the picture.

47 lessons in 3 units · free with an account

Start your free trialThis course stays free after the trial.
What you'll learn

47 lessons, one small step at a time

Each lesson states its goal, then works up to it in short steps with practice after each. A placement test at the start skips what you already know.

The Alignment Problem

16 lessons
  1. Why AI alignment?Explain how training on a measurement leads to specification gaming, and why growing capability makes the gap more dangerous.
  2. Measuring capability trendsCompute growth from a doubling time and a doubling time from data, and judge how sensitive forecasts are to it.
  3. Alignment targetsCompare the main candidate targets of alignment, from following instructions to written constitutions, and explain how they are combined.
  4. Goal misgeneralizationExplain how an agent trained on a correct reward can learn a proxy goal, and tell this failure apart from a wrong reward.
  5. Outer & inner alignmentClassify an alignment failure as outer or inner, and match each kind to its remedies.
  6. Training storiesSplit an alignment proposal into a training target and a training rationale, and explain why the rationale must be about inductive biases.
  7. Regressional GoodhartCompute how much of a high proxy score is real, and explain why harder selection on a noisy proxy widens the gap.
  8. Goodhart's lawClassify a proxy failure as one of the four kinds of Goodhart effect, and choose mitigations against them.
  9. Mesa-optimizationExplain what a mesa-optimizer is, why its goal can differ from the training objective, and how evolution illustrates this.
  10. Coherence argumentsShow how incoherent preferences can be exploited by a money pump, and judge what coherence arguments imply about AI behavior.
  11. Instrumental convergenceExplain why many final goals share instrumental subgoals, count the options behind power-seeking, and judge the argument's limits for real systems.
  12. Goal-directednessExplain what makes a system goal-directed, and weigh the reasons for and against expecting AI to be.
  13. Deceptive alignmentName the ingredients of deceptive alignment, explain why behavioral tests struggle with it, and match responses to how they help.
  14. Conjunctive scenariosCompute the probability of a scenario from its conditional steps, update it on evidence with Bayes' rule, and name the pitfalls of decomposition.
  15. Forecasting risksCompute the probability of an outcome that several routes can reach, sort the kinds of AI risk, and score and combine forecasts.
  16. How hard is alignment?Plan alignment work across worlds where it is easy, hard or unsolvable in time, and compute how self-accelerating research shortens a takeoff.

Alignment in Practice

24 lessons
  1. The training pipelineSay what each stage of building a frontier model contributes, from pretraining through post-training to deployment, and where safety work fits in.
  2. Shaping the pretraining dataMeasure how much filtering the pretraining data reduces a dangerous capability, and compare filtering with gradient routing and alignment pretraining.
  3. Supervised fine-tuningExplain what imitating expert answers teaches a model, and compute how much computation reasoning tokens add.
  4. DistillationExplain how distillation transfers a teacher model's capability to a student, and how the same technique copies a competitor's model.
  5. Editing what a model knowsExplain how fine-tuning implants beliefs, why unlearning is shallow, and how distillation makes removal stick.
  6. The Bradley–Terry modelCompute the probability of a preference from a reward difference with the Bradley–Terry model, and invert it to find reward differences from preferences.
  7. Reward-model trainingCompute a reward model's loss and gradient on a preference pair, and explain where its scores stop being reliable.
  8. RL from human feedbackCompute the optimal RLHF policy as a reweighted reference policy, evaluate a policy's reward against its KL penalty, and name the variants and pitfalls of RLHF.
  9. Best-of-n samplingCompute the KL divergence of best-of-n sampling from the base policy, and explain why optimization pressure grows only logarithmically in n.
  10. Reward over-optimizationFind where gold reward peaks under the over-optimization law, and judge whether a policy has been pushed past the peak.
  11. RLHF failure modesMatch each training signal, human ratings, AI feedback and automatic verifiers, to its characteristic failures.
  12. Personas & post-trainingExplain the view that post-training selects a persona from a base model's repertoire, and what it predicts about how training generalizes.
  13. Teaching the specCompare four methods for teaching a model spec: AI feedback against a constitution, deliberative alignment, confessions and character training.
  14. Evaluations & red-teamingMatch questions to the kinds of evaluation that ask them, bound a rare failure rate from failure-free trials, and spot the ways evaluations mislead.
  15. Alignment evaluationsCompute a sycophancy flip rate, explain what agentic and generated scenarios can show, and test hypotheses about why a model misbehaved.
  16. Sandboxes & scorersUse the vocabulary of training and evaluation setups to analyze the 2026 sandbox escape and what it teaches.
  17. Frontier safety policiesStructure a safety case for releasing a model, order the four steps that build it, and explain how published policies tie capability thresholds to safeguards.
  18. Chain-of-thought monitoringCompute how often a chain-of-thought monitor catches repeated attempts, and explain the limits of faithfulness and how training can destroy monitorability.
  19. Trusted monitoringFind which actions an audit budget covers, judge a monitor by how well it ranks attacks, and compute how many attacks auditing and deferral stop.
  20. AI controlCompute how likely monitoring is to catch sabotage that needs several malicious actions, and weigh control protocols that trade usefulness for safety.
  21. The control toolboxCompare the main tools of AI control, and compute how much evidence repeated suspicious resamples give.
  22. Jailbreaks & robustnessCompute how repeated attempts raise an attacker's chance of a jailbreak and how stacked safeguards lower it, and explain why robustness stays an arms race.
  23. Jailbreaks by accessMatch attacks on a model's safety to the access they need, from the weights down to the chat box.
  24. Runtime safeguardsExplain how safeguard classifiers are built, compute the cost of a classifier cascade, and read red-team results as effort.

Reward Learning Theory

7 lessons
  1. Partial observabilityCompute the true and perceived returns of a policy that hides its failures, and the belief an evaluator should hold on seeing a clean log.
  2. The observation returnCompute the observation return of a trajectory, and derive when RLHF prefers a policy that hides its failures.
  3. Deceptive inflationTell deceptive inflation from overjustification, compute what each does to the true return, and choose remedies.
  4. Reward identifiabilityCompute choice probabilities under a Boltzmann-rational model, and find which differences between rewards no amount of data can reveal.
  5. Misspecified human modelsJudge which errors in a behavioral model reward learning survives, and explain why a simplicity prior cannot rescue it.
  6. Comparing reward functionsCompute a policy's value from its occupancy measure, explain why naive distances between rewards mislead, and build a STARC distance.
  7. Assistance gamesExplain assistance games, decide when an assistant should ask rather than act, and name the problems that changing and plural preferences raise.
Sample lesson

Why AI alignment?

Goal: Explain how training on a measurement leads to specification gaming, and why growing capability makes the gap more dangerous.

Nobody writes the goals of a modern AI system as code. Developers choose a way of scoring behavior, and training searches for a system that scores well. The alignment problem is making sure the result reliably pursues the goals its developers intended.

We will see training aim at a measurement, find the same gap in next-token prediction, see stronger search find bigger gaps and checking get harder, and finish with how much time there is.

Step 1: Training aims at a measurement

A training objective is a score computed from a system's behavior: a reward, a loss, or ratings from people. Training adjusts the system until it scores well. The objective is a measurement that stands in for what the developers want, and wherever the two disagree, the search can find the disagreement.

In 2016 OpenAI trained an agent on the boat-racing game CoastRunners, rewarding it for points. Points came from hitting targets along the course, and the agent learned to circle a small lagoon, hitting the same three targets again and again, often on fire and never finishing the race. It did what was measured, not what was meant. Such behavior is called specification gaming.

Step 2: Even next-token prediction

The same gap exists even for an objective as neutral as next-token prediction. A pretrained language model learns to continue documents the way their authors would, and its training text includes careless, mistaken, toxic and deceptive authors along with helpful ones. Predicting a helpful answer and predicting the most likely continuation of a forum thread are different targets, and nothing in the loss says which of the many behaviors in the data the developers want. That has to be added by further training, which brings its own measurements.

Step 3: Stronger search finds bigger gaps

A weak learner trained on a flawed objective mostly finds ordinary behavior, which scores well for the intended reasons. A stronger optimizer searches far more possibilities and finds the rare ones where the measurement and the goal disagree most, because those are where the score is easiest to raise. A flaw that was harmless at low capability becomes the main thing a capable system exploits.

Picture a grader that slightly overrates confident wording. Picking the best of 10 essays by this grader mostly picks good essays; picking the best of 10,000 picks the essay that exploits the overrating most. The measured score keeps rising while true quality first rises and then falls:

ScoreQuality05100510valueoptimization

Later lessons in this course make this pattern precise and measure it.

Step 4: Checking gets harder

The usual defense against a flawed objective is to look at what the system does and correct it. That works while people can judge the work. Judging a proof, a large codebase or a plan for a new experiment often needs as much expertise as producing it, and a system that takes thousands of actions a minute cannot have every action reviewed.

When evaluators cannot tell good work from work that merely looks good, training on their approval rewards looking good. A capable system could then hide its errors, or pursue goals of its own in ways nobody notices. Research on scalable oversight looks for ways weaker overseers can still supervise stronger systems.

Step 5: How much time there is

How pressing these problems are depends on how fast capabilities grow. The research group METR measures the length of tasks, in the time a skilled human needs, that AI agents complete with 50% reliability. This task horizon has doubled roughly every 7 months since 2019:

Task horizon after m months = h₀ × 2m/7

Going from 1-hour tasks to 32-hour tasks, most of a working week, takes 5 doublings: about 35 months. If AI systems speed up AI research itself, the doubling time could shrink. Fast progress leaves less time to solve the problems of the earlier steps before systems become too capable to check.

In the app, each step ends with practice questions, new ones every time, and the lesson comes back later in spaced reviews.

Start AI Alignment

Lessons that need something you haven't learned yet bring it in first, from any course.

Start your free trialThis course stays free after the trial.