Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

Module 05 · AI · The loop and its harness · about 15 min to read

Watch: What AGI means, and who gets to say
▶ VideoPlay it as a journeyTutor comes with a plan

Keeping it honest and safe: alignment and responsible AI

How Do You Know It's Good
How Do You Know It's Good · Open board

The board that asks how you know a model is good. This lesson asks the harder version: good for whom, and safe against what.

In May 2016 the news site ProPublica published “Machine Bias”. Reporters Julia Angwin, Jeff Larson, Surya Mattu and Lauren Kirchner had studied a program called COMPAS, which courts in the United States used to score how likely a defendant was to commit another crime. They checked the scores against what happened over the next two years. Among defendants who did not reoffend, Black defendants had been wrongly labelled high risk far more often than white defendants. The company that made COMPAS answered that its scores meant the same thing for every group. Both sides were counting correctly. They were counting different things.

That is the whole subject of this lesson. A model can pass the test you chose and still fail people in a way you never measured. By the end you will be able to name six ways a model can fail while its score looks fine, and say what check catches each one.

Before you start. Learning from a score: policy gradients, PPO and GRPO showed a model chasing a score into a hole, which is reward hacking, and a held-out check that exposes it. Honest scores: cross-validation, leakage and bias-variance gave you a test set the model never trained on. Precision and Recall (where to set the spam filter's bar) gave you four boxes for a yes-or-no model: true and false flags, true and false misses. Fine-tuning & Alignment gave you RLHF, where people choose between replies and the model learns their taste. You need only those four.

Lesson 54 of 83 in AI

The rest of this lesson is part of a plan.

A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.

See plansAlready a member? Sign in

Or start free: a free account opens lessons 2 and 3 of every track.

In this lesson

  • Failure 1: the score is a stand-in, so the model learns the gap
  • Failure 2: nobody can check the answer (scalable oversight)
  • Failure 3: it is fair on average and unfair to a group (group fairness)
  • Failure 4: it remembers what it should not (memorisation)
  • Failure 5: it can do something dangerous (dangerous-capability evaluation)
  • Failure 6: the bill arrives in the world (energy and copyright)
  • Fairness metrics, precisely
  • Oversight and reward models
  • Memorisation and privacy
  • Dangerous capabilities in practice
  • All of it in code
  • Where it breaks

Terms it explains: reward hacking, Scalable oversight, performance gap recovered, false positive, false positive rate, precision, Memorisation, differential privacy, dangerous-capability evaluation, Common mistakes, Predictive parity, Equal opportunity, Equalised odds.

Lab

The filter has scored every email. How sure must it be before one goes to the spam folder?

Drag How sure before it goes to the spam folder from 0.90 down to 0.20 and watch false alarms per 1,000 good emails climb.

Open The decision threshold

Related papers

Review AI