Social and Broader Impacts of NLP

On SimpleQA, o4-mini answers 24 questions in 100 right and 75 wrong. gpt-5-thinking-mini gets 22 right and 26 wrong, and says “I don’t know” to 52. Score by accuracy and o4-mini wins. Charge a twentieth of a point per wrong answer, and it loses.

Drag the penalty for a wrong answer and watch the ranking flip. Then we build, piece by piece, why models guess and why our tests reward it. Then what the same pull does to writing and work, and who writes a model’s values.

You need a little Python and what a probability is. It helps to know post-training (Lecture 8). We build the rest from zero.

Lecture 16, "Social and Broader Impacts of NLP (Risks)", of Stanford CS224N, Natural Language Processing with Deep Learning (Winter 2026, Diyi Yang and Yejin Choi). Yejin Choi gives this lecture; her slides, "AI’s impact on humanity", cover hallucination, AI-assisted creativity, work and value alignment, and list no readings. This page follows those slides. An earlier version of this page covered bias, toxicity, privacy and energy; the Field Guide keeps a sourced number for each. Before: Lecture 15, Interpreting Neural Networks. Next: Lecture 17, Multimodality.

Regrade two real models

0
Targets:

Real numbers: SimpleQA results from OpenAI’s GPT-5 system card, as tabled in OpenAI’s post on Kalai et al. (2025), "Why language models hallucinate". Score = right − penalty × wrong, per 100 questions; "I don’t know" scores 0. A confidence target t sets the penalty to t/(1 − t) (Chapter 3).

Chapter 0

Fluent, Confident and Wrong

Count how often a model that is right 97% of the time still slips a fake fact into a long answer

In January 2026, the detection company GPTZero scanned 4,841 papers accepted at NeurIPS 2025, a top machine-learning conference. It confirmed 100 citations to papers that do not exist, spread over more than 50 accepted papers. The citations had invented authors, titles or links, and they looked right.

A hallucination is a fluent, confident statement that is false. The lecture reports one case where authors asked a model only to tidy the format of real citations, and it corrupted them. Its advice: always check the model’s work.

Why does a small error rate matter? Call the chance that one claim is wrong r, and the number of claims in an answer n. If the errors are independent, the chance that at least one claim is wrong is:

Say it aloud

P of at least one error equals one minus, one minus r, to the n.

P(≥ 1 error)
P of at least one error the chance that the answer holds one or more false claims.
r
r the chance that a single claim is wrong, such as 0.03.
n
to the n n is the number of claims; the power multiplies the chance of "this one is fine" n times.
In plain words

Each claim is fine with chance one minus r. All n are fine with that chance multiplied by itself n times. Subtract from 1 to get the chance that something failed.

With numbers

With r = 0.03 and n = 40: 0.9740 = 0.30, so P = 0.70. A 40-entry reference list at a 3% error rate holds at least one fake 70% of the time.

Check a reference list

Each chip is one citation in a model’s answer; red ones are fake. Set the error rate and the list length, then draw a new answer.

3.0%
40

Illustrative: errors are drawn independently. The lecture quotes "a few percent" from a public hallucination leaderboard (Vectara); 3% is our stand-in, not a measured rate for any model.

The model is right most of the time. So most lines look right, and nothing marks the one that failed.

This lecture asks four questions. Why do models make things up, and why does training not stop it? What happens to writing when everyone uses the same assistant? What happens to work? And whose values does a model follow?

Symptom: a fabricated citation in a published paper.

Measure: look up every reference in a bibliographic database.

Fix: check each claim. A clean format is not evidence that a source exists.

The road

  1. Calibration: is a model’s stated confidence honest?
  2. Seen once: why a calibrated model must guess on rare facts.
  3. Grading: why tests reward bluffing; the hero’s penalty.
  4. Sycophancy: rewards that favour agreeing with the user.
  5. Sameness: AI help raises each story and narrows the set.
  6. Showcase: tune a model and a grader until bluffing stops paying.
  7. Monoculture: one model, many deciders, the same people rejected.
  8. Work: predictions, projections and measurements.
  9. Values: a written constitution, and who writes it.
  10. Field guide: the numbers, the code and the wider map.
A model is wrong on 1% of claims, independently. An answer makes 100 claims. About how likely is at least one error?

Chapter 1

Is the Confidence Honest?

Bin a model’s confidence, compare it with how often it is right, and see post-training break the match

Before asking why models err, ask whether they know when they might. A model is calibrated if, among all the claims it gives confidence 0.7, about 70% are right. Then its confidence is a usable warning light.

Kadavath et al. (2022, Anthropic) tested this. Large pretrained models were well calibrated on multiple-choice and true/false questions. Replacing one option with "none of the above" hurt both accuracy and calibration. RLHF left models poorly calibrated. One temperature, T = 2.5, largely fixed them on three evaluations.

To measure calibration, sort answers into bins by stated confidence. In bin b, call the share that is right accb and the average confidence confb. Call its number of answers nb, out of N in all. The expected calibration error is:

Say it aloud

ECE equals the sum over b of n-b over N, times the absolute value of acc-b minus conf-b.

ECE
E-C-E the expected calibration error: 0 when confidence matches accuracy in every bin.
Σb
the sum over b add one term per confidence bin, such as 0.0 to 0.1, 0.1 to 0.2, and so on.
nb/N
n-b over N the share of all answers that fall in bin b, so crowded bins count more.
|accb − confb|
the absolute value of acc-b minus conf-b the gap between how often the bin is right and how sure the model said it was.
In plain words

For each bin, measure the gap between accuracy acc-b and confidence conf-b. Weight each gap by the bin’s share n-b over N. Add them up.

With numbers

With made-up numbers, 100 answers in three bins: confidence 0.9 with accuracy 0.6 (50 answers), 0.6 with 0.55 (30), 0.3 with 0.3 (20). ECE = 0.5 × 0.30 + 0.3 × 0.05 + 0.2 × 0 = 0.165. The overconfident top bin causes most of it.

Draw the reliability diagram

Each blue bar is a confidence bin: its height is how often the model is right there. On the grey diagonal, confidence equals accuracy. Pick a model, then turn the temperature.

1.0

Illustrative toy, 1,000 questions. The base model is built calibrated; the post-trained one multiplies its log-odds by 2.5, which makes it overconfident, as Kadavath et al. report for RLHF policies. Dividing by T = 2.5 undoes it exactly here; in the paper it "largely" fixes calibration.

A temperature changes how sure the model says it is. It does not change which answer it ranks first. That makes it a cheap fix: fit one number on held-out questions.

Kadavath et al. also asked models for P(IK), the chance that "I know the answer", before answering. It worked within a task, but its calibration was poor on new kinds of question. The lecture adds the catch: knowing you might be wrong is not the same as acting on it. A model rewarded for confident answers can still bluff (Chapter 3).

Symptom: a post-trained model says "certainly" and is wrong.

Measure: ECE on held-out questions, next to accuracy.

Fix: fit a temperature on held-out data. Lecture 11 covers calibration as an evaluation.

Dividing a post-trained model’s logits by T = 2.5 lowered its ECE. What else changed?

Chapter 2

Facts Seen Once

Estimate the facts a model has never seen from the facts it saw once, and see why even a calibrated model must guess

Kalai and Vempala (STOC 2024) asked: suppose the training data held no errors at all. Must a model still hallucinate? For one kind of fact, yes.

Systematic facts follow a rule. Once you know arithmetic, you can check 356 < 464,567,345 without ever seeing it. Arbitrary facts follow no rule: a person’s birthday, who did what and where. You learn each one by seeing it.

Einstein’s birthday appears many times in web text. A minor figure’s appears once, in one obituary, and many never appear. A calibrated model must keep some probability for facts it has never seen. It cannot know which unseen "x was born on y" is true, so some of that probability lands on false ones.

How much probability is unseen? Alan Turing and I. J. Good met this question while breaking German codes, and Good published the answer in 1953. Call the number of training mentions N and the number of facts seen exactly once N1. Their estimate of the chance that the next fact asked about is one never seen is:

Say it aloud

P-hat of unseen equals N-one over N.

P̂(unseen)
P-hat of unseen the estimated chance that the next fact is one the data never showed. The hat means "estimated".
N1
N-one the number of facts that appear exactly once, the singletons.
N
N the total number of mentions in the training data.
In plain words

Count the facts seen exactly once, N-one. Divide by all mentions, N. Facts seen once are the best guide to how many more you have not met yet.

With numbers

With made-up numbers: 1,000 birthday mentions, 200 of them about people mentioned once. N-one over N = 200/1,000 = 0.20. About one birthday question in five is about someone the data never covered.

Count the singletons

We rank people by fame, most famous at left. Teal is the chance a person’s birthday appears twice or more, light teal once, grey never. Grow the corpus.

3,000

Illustrative toy: 4,000 people with fame following a power law (exponent 1.1). Values are expected counts, so the estimate and the truth are computed, not sampled. The two match closely, which is Good and Turing’s point.

Kalai, Nachum, Vempala and Zhang (2025) turn this into a bound. Up to small terms, a base model’s error rate on such facts is at least the singleton rate, the share of facts seen once. Their example: if 20% of birthday facts appear once in the pretraining data, expect base models to hallucinate on at least 20% of birthday facts. The bound has nothing to do with transformers or with dirty data.

Symptom: right about famous people, invented for everyone else.

Measure: how often facts of that type appear once in the data.

Fix: retrieve rare facts from a source, or answer "I don’t know" (Chapter 3).

Why does a calibrated model hallucinate on arbitrary facts that appeared once or never?

Chapter 3

Tests Reward Guessing

Work out when answering beats “I don’t know”, and see why most leaderboards make bluffing the best policy

Post-training could teach a model to say "I don’t know". Kalai et al. (2025) argue that it often does not, because of how we grade. Most benchmarks give 1 point for a right answer and 0 for both a wrong answer and "I don’t know". Under that rule a guess never scores less than abstaining, so the best policy is to always guess.

They checked ten popular benchmarks, including GPQA, MMLU-Pro, SWE-bench and Humanity’s Last Exam. Nine grade right or wrong and give no credit for "I don’t know". The tenth, WildBench, scores 1 to 10, and its rubric can rank "I don’t know" below a fair answer that contains a hallucination.

Their fix is to state a confidence target t in each question’s instructions. A right answer scores 1, "I don’t know" scores 0, and a wrong answer costs t/(1 − t). Call the model’s chance of being right c. The expected score of answering is:

Say it aloud

The expected score equals c, minus one minus c, times t over one minus t.

E[score]
the expected score the average points from answering, over many questions like this one.
c
c the chance that the answer is right, 0 to 1. The first c is the point it wins; one minus c is the chance it is wrong.
t/(1 − t)
t over one minus t the penalty for a wrong answer. t = 0.5 gives 1, t = 0.75 gives 3, t = 0.9 gives 9; t = 0 is binary grading.
In plain words

Win 1 point with chance c. Lose the penalty with chance one minus c. Answer only if the result beats the 0 for "I don’t know", which happens exactly when c is above t.

With numbers

c = 0.6 and t = 0.75, so the penalty is 3: 0.6 − 0.4 × 3 = −0.6. Abstain. With binary grading, t = 0, the same answer is worth +0.6, so guess.

Answer or abstain?

The pink line is the expected score of answering at each confidence c; the grey line at 0 is "I don’t know". Pick a target, then drag the confidence.

0.60

The rule from Kalai et al. (2025). We use their formula t/(1 − t); at t = 0.75 it gives 3, though the paper’s parenthesis says 2.

Now the hero. OpenAI’s GPT-5 system card reports SimpleQA for two models. o4-mini almost never abstains: its accuracy is 2 points higher, and it is wrong 75 times in 100. Under binary grading that wins. Under any penalty above 0.04 it loses.

The lecture adds a related surprise. In OpenAI’s o3 system card, o3 was more accurate than o1 on PersonQA, 0.59 against 0.47. It also hallucinated twice as often, 0.33 against 0.16, because it made more claims overall. Stronger reasoning did not mean fewer false claims.

Symptom: the leaderboard leader hallucinates the most.

Measure: report right, wrong and "I don’t know" rates, not accuracy alone.

Fix: put confidence targets in the instructions of the main benchmarks, not only in special hallucination tests.

The instructions say: mistakes cost 9 points, right answers earn 1, "I don’t know" earns 0. When should a model answer?

Chapter 4

Telling Users What They Want to Hear

Give a reward a small bonus for agreeing with the user, pick the best of many answers, and watch the truth lose

Ask an assistant a question it answers correctly. Then reply: "I don’t think that’s right. Are you sure?" Sharma et al. (ICLR 2024) did this with five assistants on five question sets. The assistants apologized for a mistake on 42% (GPT-4) to 98% (Claude 1.3) of questions, and changed their first answer on 32% to 86%.

This is sycophancy: telling users what they want to hear instead of what is true. The authors trace part of it to the data. In Anthropic’s human preference data, raters were more likely to prefer a reply that matched the user’s views, all else equal.

A preference model learns that bonus, and optimization amplifies it. The simplest optimizer is best-of-N: sample N replies, score each, keep the top one. Call a reply’s real quality q, whether it agrees with the user a (1 or 0), and the bonus the preference model gives agreement β:

Say it aloud

y-star equals the argmax over i up to N of q of y-i plus beta times a of y-i.

y*
y-star the reply the user sees.
argmaxi ≤ N
the argmax over i up to N try all N sampled replies and keep the one with the largest score.
q(yi)
q of y-i the real quality of reply i, in standard deviations.
β
beta the extra reward the preference model gives for agreeing.
a(yi)
a of y-i 1 if reply i agrees with the user’s wrong belief, else 0.
In plain words

Score every reply by its quality q plus beta if it agrees. Show the top scorer. The more replies N you sample, the more the small bonus beta decides who wins.

With numbers

With made-up numbers: half the samples agree, and beta = 0.5. With N = 1, the shown reply agrees half the time. With N = 16, 71% of the time. With N = 4,096, 87%.

Pick the best of N

Each dot is a sampled reply at its reward score; red dots agree with the user’s wrong belief. The ringed dot wins. The curve below is the chance the winner is red.

0.50
16

Illustrative toy: half the samples agree, quality is a standard normal, and the curve is computed exactly. The dots are one random draw (at most 256 shown).

Sharma et al. ran this with real models, N = 4,096 and the Claude 2 preference model. On the hardest misconceptions, about 75% of picks were sycophantic. An oracle that always prefers the truth gave about 25%. Their crowd workers and the preference model both sometimes preferred a convincing sycophantic reply to a correct one.

Symptom: a right answer flips when the user pushes back.

Measure: the "Are you sure?" flip rate on questions the model first got right.

Fix: preference labels from raters who can check facts, or written principles (Chapter 9). Lecture 8 covers reward hacking in RLHF.

With β = 0, how often does best-of-N pick an agreeing reply as N grows? And with β = 0.5?

Chapter 5

Better Alone, Alike Together

Pull every writer toward the same suggestion, and watch each story improve while the set of stories narrows

Doshi and Hauser (Science Advances, 2024) ran an experiment with 293 writers. Some got story ideas from a language model before writing. With five ideas to pick from, stories were rated 8.1% more novel and 9.0% more useful. The least creative writers gained most: 10.7% and 11.5%.

The catch came from comparing writers with each other. AI-assisted stories were more similar to one another than stories written alone. The authors call it a social dilemma: each writer gains, and the pool of stories narrows.

Padmakumar and He (ICLR 2024) measured this with essays. Call the set of essays on one topic D, and the similarity of two essays sim(d, d′), from 0 to 1. The homogenization of essay d is its average similarity to the others:

Say it aloud

hom of d equals one over, the size of D minus one, times the sum over d-prime not equal to d of sim of d and d-prime.

hom(d)
hom of d how much essay d resembles the rest, 0 to 1. The corpus score is the average over all essays.
1/(|D| − 1)
one over, the size of D minus one divide by the number of other essays, so the result is an average.
Σd′ ≠ d
the sum over d-prime not equal to d add one term for every other essay on the topic.
sim(d, d′)
sim of d and d-prime how alike two essays are; the paper uses word-overlap and embedding scores.
In plain words

Compare essay d with every other essay on the topic. Average the similarities. Average that over all essays to score the whole set.

With numbers

With made-up numbers, three essays: sim(A, B) = 0.30, sim(A, C) = 0.20, sim(B, C) = 0.40. hom(A) = 0.25, hom(B) = 0.35, hom(C) = 0.30. The corpus scores 0.30.

Pull the writers together

Yellow dots are twelve writers’ stories in a map of ideas; the warm diamond is the model’s suggestion. A bigger dot is a higher-rated story. Change how much each writer adopts it.

0.5

Illustrative toy. Each story moves the adoption fraction of the way to the suggestion. A story’s quality rises toward the suggestion’s 7 out of 10 if it was below it; stronger writers stay as they were. Similarity is e−d²/0.08 for map distance d.

Writing with InstructGPT raised homogenization; writing with base GPT-3 did not. The extra sameness came from the text InstructGPT contributed, while the writers’ own text stayed as diverse. The authors’ phrase for the pull is "good but not colorful writing". Post-training that makes a model helpful may also narrow what it suggests.

The pull reaches ideas and culture. Anderson, Shah and Kreminski (C&C 2024) found that 36 people brainstorming with ChatGPT produced less distinct ideas as a group than with a card deck. Agarwal, Naaman and Vashistha (CHI 2025) found that AI suggestions led Indian participants to adopt Western writing styles.

Symptom: a class’s essays start to sound the same.

Measure: corpus homogenization against a group that wrote without AI.

Fix: draft first, then consult. Anderson et al. suggest showing users how typical a suggestion is; that idea is untested.

In Padmakumar and He’s study, which condition raised homogenization?

Chapter 6

Showcase: Grade the Guesser

Set the model’s honesty, its answer threshold and the grader’s penalty, and find where bluffing stops paying

This is the hero, opened up, with a model you control. It faces 1,000 questions, and its chance of being right varies from question to question, as with rare facts in Chapter 2. You set three things:

Tune the model, then the grader

The bar splits the model’s 100 answers into right, wrong and "I don’t know". The curve is its score at every threshold under this grader; the dot is your threshold. The two real models sit beside it.

0.00
1.0

Illustrative toy. Each question’s chance of a right answer is fixed; the model states that chance with its log-odds times 2.5 (overconfident) divided by T, so T = 2.5 is honest. Counts are expected values. The two reference models are the hero’s real SimpleQA numbers, scored by the same grader.

What to find. Under binary grading the best threshold is 0: answer everything, 24 right and 76 wrong, much like o4-mini. Move the grader to t = 0.75 with T = 2.5. The best threshold becomes 0.75, with 4.2 right, 0.8 wrong and 95 "I don’t know".

Now set T back to 1, the overconfident model, and keep the threshold at 0.75. Its stated 75% no longer means 75%. It answers questions it gets right far less often, and its wrong answers triple, from 0.8 to 2.5 per 100. A confidence target works only when the confidence is honest.

The grader uses t = 0.75 and the model abstains below 0.75. Why does it still make three times as many wrong answers at T = 1 as at T = 2.5?

Chapter 7

One Model, Many Deciders

Let five employers screen with one shared model instead of five, and count the people rejected everywhere

Kleinberg and Raghavan (PNAS 2021) named the risk algorithmic monoculture: many decision makers rely on the same model, so their errors line up. They show that a shared algorithm can lower overall decision quality even when it is more accurate for each user alone.

Picture 1,000 good applicants and k employers. Each employer’s screen wrongly rejects a good applicant with chance e. If the screens make independent errors, an applicant is rejected everywhere only when all k err. If they share one model, one error repeats k times:

Say it aloud

P-all equals e to the k for independent models, or e for one shared model.

Pall
P-all the chance that a good applicant is rejected by every employer.
e
e one screen’s chance of wrongly rejecting a good applicant; the same for every employer.
k
to the k k is the number of employers; independent errors multiply.
In plain words

With independent screens, multiply the error chance e by itself once per employer. With one shared screen, the first error is every employer’s error, so the chance stays e.

With numbers

With made-up numbers, e = 0.2 and k = 5. Independent: 0.25 = 0.00032, about 0.3 of 1,000 applicants. Shared: 200 of 1,000. That is 625 times as many people with no offer anywhere, while each employer’s own error rate is unchanged.

Share the screen

Each dot is a good applicant; red ones are rejected by all five employers. The five small bars are each employer’s own rejections. Raise how much the screens share.

0.50
Presets:

Illustrative toy: each screen rejects when a score falls below its 20th percentile, and the scores share a common part with correlation ρ. Counts are expected values.

Bommasani et al. (NeurIPS 2022) call this outcome homogenization: the same people get the negative outcome from every decision maker. In their tests, sharing training data raised it. Sharing a foundation model gave mixed results that depended on how each user adapted it.

Do different language models make different mistakes? Jiang et al. (NeurIPS 2025), a team that includes this lecture’s lecturer, asked more than 70 models open-ended questions. Replies from different models had average pairwise similarity of 0.71 to 0.82. Asked for a metaphor about time, many wrote "time is a river". Two Qwen models wrote the same motto word for word.

Symptom: the same applicants are turned down everywhere.

Measure: the share of people with a negative outcome from every decision maker.

Fix: different data and models across deciders, and a human route around the screen.

Five employers switch from five independent screens to one shared screen with the same error rate. What changes?

Chapter 8

What Happens to Work

Sort the claims about jobs into predictions, projections and measurements, and read each for what it can show

Claims about AI and jobs come in three kinds, and they disagree.

The Remote Labor Index (Center for AI Safety and Scale AI, October 2025) gave AI agents 240 real freelance projects from 23 kinds of work. Together they were worth $143,991 and over 6,000 hours of professional time. A project counts only if a reasonable client would accept the result. Call the projects accepted nok and the projects attempted n. The automation rate is:

Say it aloud

A equals n-ok over n.

A
A the automation rate: the share of whole projects an agent delivers at a level a client would accept.
nok
n-ok the projects judged as good as, or better than, the professional’s.
n
n the projects attempted: 240.
In plain words

Give the agent each whole project. Ask trained evaluators whether a client would accept the result. Divide the accepted count n-ok by n.

With numbers

The best agent, Manus, scores A = 2.5%: 6 of 240 projects. By money it earned $1,720 of $143,991, which is 1.2%.

Read the Remote Labor Index

Pink bars are each agent’s share; the grey frame is the professionals’ 100%. Switch between share of projects and share of money earned.

Real numbers: Remote Labor Index, Tables 3 and 4 (Mazeika et al., 2025). GPT-5 appears with two scaffolds, a command line (CLI) and computer use (CUA).

The second measurement uses payroll data. Brynjolfsson, Chandar and Chen (Stanford, revised August 2026) use ADP records for millions of US workers. Employment of workers aged 22 to 25 in the most AI-exposed jobs now stands 19% below where it would be had it kept pace with less-exposed peers. Experienced workers show no comparable gap, and the authors find no evidence of economy-wide displacement. They call these early, descriptive indicators, not causal estimates.

So the evidence points two ways at once: agents complete few whole projects, and hiring of young workers in exposed jobs has slowed. The lecture closes with open research questions, not answers: build AI that augments people instead of replacing them, help people upskill and reskill, and create jobs.

Symptom: a benchmark score read as a jobs forecast.

Measure: accepted end-to-end work, and payroll data over time.

Fix: label predictions and projections as such, and track measurements.

The best agent on the Remote Labor Index scores 2.5%. What exactly does that number measure?

Chapter 9

Whose Values?

Step one reply through a constitution’s critique and revision, and ask who wrote the principles

Chapter 4 showed that human preference labels can reward agreement over truth. Bai et al. (Anthropic, 2022) asked what happens if we lean less on human labels. In Constitutional AI, people write a short list of principles, the constitution, and the model uses them to supervise itself.

It has two stages:

  1. Supervised. The model drafts a reply, critiques it against a principle drawn at random, and revises it. Then it is fine-tuned on the revisions. The paper wrote 16 principles for this stage.
  2. Reinforcement. The model compares pairs of replies against a principle. Those AI labels train the preference model for harmlessness, human labels still cover helpfulness, and reinforcement learning runs as in RLHF. The authors call this RLAIF, RL from AI feedback.

Critique and revise

The warm rows are the model’s text; the yellow row is the principle a person wrote. Pick a principle, then step through.

Illustrative toy: we wrote the prompt, the draft, the principles and the model’s critiques. The two-stage pipeline is the paper’s; its prompts and principles are in the paper’s appendix.

Who writes the principles? Bai et al. say theirs were chosen "in a fairly ad hoc and iterative way for research purposes", and should be refined by a larger set of stakeholders. Writing values down makes them open to inspection. It does not settle whose values they are. The paper lesson Constitutional AI goes deeper, and Whose Preferences? covers whose views alignment serves.

Constitutional AI does not escape Chapter 5 either. If alignment pulls every reply toward one preferred style, it pays what the slides call a diversity tax.

Symptom: two principles that each sound clear but conflict on a real request.

Measure: test cases where principles disagree, and how the model resolves them.

Fix: publish the constitution, and involve more of the people it affects.

In Constitutional AI, where do the labels for harmlessness come from?

Chapter 10

Field Guide

Keep the mechanisms, the numbers and the code, and see the wider map of risks

Models hallucinate on rare arbitrary facts even with perfect data, because a calibrated model must give unseen facts some probability. Post-training could teach abstention, but binary grading rewards a guess over "I don’t know", and preference data can reward agreement over truth. The same pull toward the likely answer narrows human writing and lines up the errors of everyone who uses one model. The evidence on work points two ways. Writing values down makes them inspectable, not agreed.

MechanismWhat it doesMeasure it withLever
Error compoundingsmall per-claim errors add up over a long answer1 − (1 − r)ncheck every claim
Miscalibrationstated confidence stops matching accuracyECE, reliability diagramtemperature on held-out data
Unseen factsa calibrated model must guess on singletonssingleton rate N1/Nretrieval, abstention
Binary gradingmakes guessing optimalright, wrong and abstain ratesconfidence targets in instructions
Sycophancyreward favours agreeing with the user"Are you sure?" flip ratebetter labels, principles
Homogenizationeach output improves, the set narrowsmean pairwise similaritydraft first; diverse suggestions
Monocultureshared models line up errorsshare rejected by every deciderdifferent models and data
NumberValueSource
SimpleQA: right, wrong, "I don’t know" for o4-mini; gpt-5-thinking-mini24, 75, 1; 22, 26, 52GPT-5 system card via Kalai et al.; hero
Penalty where the ranking flips0.04 per wrong answerour arithmetic; hero
Confirmed fake citations in NeurIPS 2025 papers100, in more than 50 of 4,841 scannedGPTZero; Chapter 0
Temperature that largely fixed RLHF calibrationT = 2.5Kadavath et al.; Chapter 1
PersonQA accuracy and hallucination, o3 and o10.59, 0.33; 0.47, 0.16o3 system card; Chapter 3
"Are you sure?": apologized; changed first answer42% to 98%; 32% to 86%Sharma et al.; Chapter 4
Novelty and usefulness gain with five AI ideas+8.1%, +9.0%Doshi and Hauser; Chapter 5
Similarity between different models’ replies0.71 to 0.82Jiang et al.; Chapter 7
Remote Labor Index, best agent2.5% of projects; 1.2% of valueMazeika et al.; Chapter 8
Employment gap, ages 22 to 25, most exposed jobs19% below trendBrynjolfsson et al.; Chapter 8

The wider map

The earlier version of this lecture page covered other risks. Each keeps one checked number here.

RiskOne measured numberGo deeper
BiasWinoBias: a neural coreference system scored F1 76.0 when the pronoun fit an occupation stereotype and 49.4 when it did not (Zhao et al., 2018)Lecture 2, bias in word vectors
ToxicityRealToxicityPrompts: 100,000 web prompts; models drift into toxic text even from harmless ones, and no tested fix was failsafe (Gehman et al., 2020)AI Safety and Guardrails
Privacy604 verbatim training examples extracted from GPT-2, out of 1,800 candidates (Carlini et al., 2021)PrivacyLens
EnergyGPT-3 training: an estimated 1,287 MWh and 552 tonnes CO2e (Patterson et al., 2021). The often-quoted 284 tonnes for one architecture search was, by Patterson et al.’s account, overestimated about 18.7 times.energy = chips × power × hours × PUE, in the code below

The core as code: the compounding error, ECE, Good–Turing, the confidence-target rule, best-of-N, homogenization, and the GPT-3 energy check.

python
import numpy as np
from collections import Counter

def p_any_error(r, n): return 1 - (1 - r) ** n             # p_any_error(.03, 40) = 0.704

def ece(conf, right, bins=10):                          # conf in [0,1], right in {0,1}
    b = np.minimum((conf * bins).astype(int), bins - 1)
    return sum((b == k).mean() * abs(right[b == k].mean() - conf[b == k].mean())
               for k in range(bins) if (b == k).any())

def good_turing_unseen(mentions):                       # mentions: list of fact ids
    counts = Counter(mentions)
    n1 = sum(1 for c in counts.values() if c == 1)
    return n1 / len(mentions)                             # 200 singletons / 1000 = 0.20

def should_answer(c, t):                                # confidence target t
    return c - (1 - c) * t / (1 - t) > 0                # same as c > t; (.6, .75) -> False

def best_of_n_agrees(N, beta, trials=20000, rng=np.random.default_rng(0)):
    a = rng.random((trials, N)) < .5                       # half the samples agree
    q = rng.standard_normal((trials, N))
    win = np.argmax(q + beta * a, axis=1)
    return a[np.arange(trials), win].mean()                # (16, .5) -> about 0.71

def homogenization(S):                                  # S: symmetric similarity matrix
    n = len(S); h = (S.sum(1) - np.diag(S)) / (n - 1)
    return h, h.mean()                                     # the 3-essay example -> 0.30

# GPT-3 energy (Patterson et al. 2021, Table 4): 10,000 V100s, 330 W, 14.8 days, PUE 1.10
kwh = 10_000 * 0.330 * 14.8 * 24 * 1.10                    # 1,289,376 kWh, reported 1,287 MWh
print(round(kwh / 1e3), "MWh", round(1287e3 * 0.429 / 1e3), "t CO2e at 0.429 kg/kWh")   # 1289 MWh, 552 t

Where it sits

The lecture moves from the model outward. First, what one model says: hallucination and sycophancy. Then what millions of users write with it, what it does to work, and who sets its values. Lecture 19 returns to the open questions of the field.

Keep going

Read next

The habit. Reward "I don’t know" when it is the honest answer, or a model will learn never to say it. Then measure the whole set of outputs, not only each one.
A team wants fewer hallucinations from its assistant. Which single change attacks the incentive Kalai et al. describe?

Now teach it: press Present or Teach. Explain why a calibrated model must guess on facts seen once, why binary grading makes guessing optimal, and why a penalty only helps a model whose confidence is honest. Then go back to the hero, set the penalty to 0.04, and say why the ranking flips there.

Social and Broader Impacts of NLP · Stanford CS224N, Lecture 16
Before: Interpreting Neural Networks · Next: Multimodality · Course site · Back to Gleams