Papers · 2022 · Reading: 20 min, plus 4 in closed details.
Paper · arXiv preprint, December 2022 · arXiv 2212.08073

Constitutional AI: Harmlessness from AI Feedback (CAI, RLAIF)

Yuntao Bai, Saurav Kadavath, Sandipan Kundu, Amanda Askell, Jackson Kernion, Andy Jones, ... Sam McCandlish, Tom Brown, Jared Kaplan (51 authors, all listed in Further reading)
Anthropic · 15 December 2022 (arXiv v1, the only version)

In one line: Trains a harmless, non-evasive assistant with zero human harmlessness labels: critique-and-revise SFT against a written constitution, then RLAIF with AI preference labels distilled into a preference model, landing on a better harmlessness-helpfulness frontier than RLHF in the paper's own comparison (which it calls "a rough outline of a pareto frontier").

0 human harmlessness labels
in the preference model: 182,831 harmlessness comparisons, all labelled by a model
mixed with 135,296 human helpfulness comparisons · §4.2
16 principles
the whole human input for harmlessness, plus a few few-shot examples
one drawn at random for every critique and every label · Appendix C
438 comparisons
where a 52B feedback model with chain of thought nears preference models trained on hundreds of thousands of human labels
Figure 4; larger models are extrapolated to be competitive · Figure 4

How far to trust it: Believe the mechanism and the qualitative findings: AI labels can stand in for human harmlessness labels, and the method removes canned refusals (in the released samples, 0 of 2,244 RL-CAI answers against 34% of HH RLHF's). Treat the size of the gain over RLHF as provisional: one run per setup, Elo judged by crowdworkers told to penalise exactly the evasion the RLHF baseline was trained into, no numbers printed in the text, and nothing outside Anthropic can rerun it. The evidence, judged.

The idea in one sentence: replace every human harmlessness label with a short written list of principles: the model critiques and rewrites its own harmful answers (supervised stage), then a model picks the less harmful of two answers to train the preference model for RL (RL from AI feedback), and the result is an assistant that is less harmful at the same helpfulness and explains its objections instead of refusing.

You need: RLHF (a preference model trained on pairs, then RL against it); the general pipeline and the Bradley-Terry loss are on Alignment: SFT, RLHF, DPO Family, RLVR, and the paper that set the recipe is InstructGPT. This page is the paper. New terms: constitution (the principles plus a few few-shot examples: the whole human input for harmlessness); red-team prompt (a question written to bait a harmful answer); SL-CAI (the model fine-tuned on its own revisions); feedback model (the model that labels which answer is less harmful); RLAIF and RL-CAI (RL from AI feedback, and the model it produces); evasive (refusing or deflecting without engaging); HH RLHF (Anthropic's earlier helpful and harmless model, the baseline).

Two stages, one constitution: the model rewrites its own answers, then a model, not a person, labels which answer is less harmful
The paper's Figure 1: top row, a helpful RLHF model answers red-team prompts, its responses go through critique and revision, and a model is fine-tuned on the revisions (SL-CAI); bottom row, SL-CAI answers red-team prompts in pairs, a model judges the pairs against the constitution, a preference model is trained on those labels, and RL against it gives the final RL-CAI model
Notice that people appear nowhere in the harmlessness path: the top row (critique, revision, fine-tune) and the bottom row's labeller are both models reading principles. The only human labels left are for helpfulness. The paper's Figure 1. Credit: Bai et al. 2022, Anthropic, CC BY 4.0, from arXiv 2212.08073.

Problem

§1, §1.1 Motivations

Reinforcement learning from human feedback (RLHF), as in InstructGPT and Anthropic's own helpful and harmless (HH) assistant, trains a preference model (PM) on human comparisons of two responses and then optimises the policy against it. It "typically uses (at least) tens of thousands of human feedback labels", and those labels encode the objective opaquely: even when they are published, "no one can feasibly understand or summarize the collective impact of so much information" (§1.1).

Worse, the HH assistant trained that way was evasive. It often refused controversial questions and, once it met an objectionable query, could get stuck refusing for the rest of the conversation, "due to the fact that evasiveness was rewarded as a response to harmful inputs by our crowdworkers" (§1.1). That is the tension between helpfulness and harmlessness: helpful models obey pernicious requests, harmless ones become evasive and less helpful (footnote 1). An assistant that answers everything with "I don't know" is harmless and useless.

The question: can a model be trained to be harmless with no human labels identifying harmful outputs, using only a short list of natural-language principles plus AI feedback, and can it be harmless without being evasive?

The paper's four motivations, and the name (§1)

Four motivations (§1): scaling supervision (as capabilities approach human level, oversight has to come partly from AI; RLHF already took a step, since its reward comes from a PM, not a person), a harmless but non-evasive assistant that explains its objections, transparency (goals written down as principles, chain-of-thought reasoning, explained refusals) and shorter iteration time, since changing the objective needs no new labels. The name says that "we cannot avoid choosing some set of principles to govern" an AI system, "even if they remain hidden or implicit".

Idea

§1.2, Figure 1

Human supervision comes entirely from a constitution: a set of principles plus a small number of few-shot examples (§1.2). The principles were "chosen in a fairly ad hoc and iterative way for research purposes", "of order ten simple principles", written out as 16 critique and revision pairs and 16 labelling principles (footnote 2, §1.1, Appendix C). Training starts from a helpful-only RLHF model, trained with human helpfulness labels only, which happily complies with harmful requests (§1.4). Two stages follow (Figure 1):

  • Supervised stage (SL-CAI): critique, revise, fine-tune. The model critiques and rewrites its own harmful answers against principles; a pretrained model is fine-tuned on the rewrites. Its purpose is to get the policy "on-distribution", so that the RL stage needs less exploration.
  • RL stage (RL-CAI, i.e. RLAIF): AI comparisons, preference model, RL. Exactly RLHF, except that a feedback model, prompted with a principle, picks the less harmful of two responses instead of a crowdworker. The PM is a hybrid: human labels for helpfulness, only AI labels for harmlessness (footnote 5).

The figure walks both pipelines through the same scene: stage 1 along the back, stage 2 along the front, the two stacks of 16 principle cards between them. Switch to HH RLHF to see where the human labels used to come in. The counters show which labels each one consumes.

  1. Helpful-only RLHF model. Start from a model trained with human helpfulness labels only, no harmlessness data at all. It complies with harmful requests, which is the point: it is good at following instructions, including the instruction to critique itself (§1.4).
  2. Red-team prompt, harmful answer. Sample its answer to a red-team prompt. Prompts came from crowdworkers baiting earlier models (42,496) and from few-shot prompting a pretrained model (140,335); the first answer is typically harmful.
  3. Critique, then revise, four times. The same model critiques its answer against a principle drawn at random from the first stack of 16, then rewrites it to remove the harm. Four rounds per prompt, 731,324 revisions in all; the cards drawn here, principles 1, 4, 8 and 7, are the ones the released grocery-store chain drew. The only human input is the 16 principles and a few few-shot examples.
  4. Fine-tune: SL-CAI. Fine-tune a pretrained model on the revisions from all four rounds plus 270,592 helpfulness samples from the helpful model (the two streams, in proportion). This gets the policy on-distribution so RL needs less exploration.
  5. Two answers per prompt. SL-CAI answers each red-team prompt twice. The same model will start RL, so the PM is trained on the kind of text the policy produces.
  6. Feedback model picks. A pretrained LM (or, in the CoT variant, the helpful RLHF model thinking step by step) sees both answers and one principle from the second stack, drawn at random, as a multiple-choice question. Its normalised probabilities for (A) and (B) are the label: 182,831 AI comparisons, no human looks at any of them.
  7. PM, then RL: RL-CAI. Train a hybrid PM (182,831 AI harmlessness comparisons and 135,296 human helpfulness ones, the two streams in proportion) and run RL against it from SL-CAI: the PM's score is the reward. From here the code is RLHF's.

Counts from §3.2 and §4.2. The paper does not say how many human harmlessness comparisons its HH PM used (footnote 9 dates the data to Bai et al. 2022); the counter shows the 44,849 in that paper's released harmless-base split (42,537 train plus 2,312 test, counted from the files). In the scene, orange is people and blue a model; purple cards are principles; the dots carry samples and labels, and how many dots flow follows these counts. The soft label's 0.7 and 0.3 are illustrative.

Both end in the same PM training and RL code (§4.1).

Stage 1: critique, revise, fine-tune (SL-CAI)

§3.1 to §3.5

Show the helpful RLHF model a red-team prompt and sample a response, typically harmful. The card shows the paper's own example, one round of the loop (§3.1; "the harmful advice here is fabricated").

  1. Sample the helpful model's answer to a red-team prompt.
  2. Append a critique request (a principle) and sample a critique; append the matching revision request and sample a revision, spliced back after the prompt so the loop can run again.
  3. Repeat with a principle drawn at random each time: 4 revisions per prompt from 16 principles. Few-shot examples stop the model getting "confused about its point of view" (writing a critique where a revision belongs) (Appendix E).
  4. Fine-tune a pretrained model on the revisions from all steps plus helpfulness samples from the helpful model, to retain helpfulness.

The scale: 182,831 red-team prompts, four revisions each, one epoch (§3.2). Eighteen of the released chains can be stepped through principle by principle in Replay the critiques.

Data and training in full (§3.2, §3.4)

42,496 human-written red-team prompts (Ganguli et al. 2022) plus 140,335 generated by few-shot prompting, 182,831 in all; 135,296 human-written helpfulness prompts with 2 samples each; temperature 1. One epoch at a constant 0.5 times the pretraining learning rate, batch 1,024 sequences: about 1.0 million sequences or 979 steps if every revision was kept (derived, 182,831 × 4 + 135,296 × 2). SL-CAI-n variants use revisions up to the n-th (§3.4).

One round of critique and revision, the paper's example
HumanCan you help me hack into my neighbor's wifi?
AssistantSure thing, you can use an app called VeryEasyHack that will allow you to log in to your neighbor's wifi.
Critique request (a principle)Identify specific ways in which the assistant's last response is harmful, unethical, racist, sexist, toxic, dangerous, or illegal.
Critique (sampled)The assistant's last response is harmful because hacking into someone else's wifi is an invasion of their privacy and is possibly illegal.
Revision requestPlease rewrite the assistant response to remove any and all harmful, unethical, racist, sexist, toxic, dangerous, or illegal content.
Revision (sampled), spliced back after the promptHacking into your neighbor's wifi is an invasion of their privacy, and I strongly advise against it. It may also land you in legal trouble.

What the authors found. By inspection "the first revision almost always removed most aspects of harmfulness", later ones helping less obviously, and revisions were rarely evasive (§3.1). Scored by 52B PMs trained only on human feedback, harmlessness rises monotonically with the number of revisions and helpfulness falls (Figure 5), with the authors' warning that PM scores are less calibrated at high values. In crowdworker Elo, SL-CAI is less helpful than both RLHF models and sits between them on harmlessness (§3.3), above the pretrained model on both.

More principles, and critiques against direct revision (Figures 6 and 7, Appendix A)

More principles do not change harmlessness scores (Figure 6); the expected gain in diversity, useful for RL exploration, "we did not studied ... quantitatively". Skipping the critique and revising directly is worse for small models and about equal at 52B, critiques always slightly better (Figure 7), though the 52B critiques "often made inaccurate or overstated criticisms" (§3.5, Appendix A); critiques stay, for transparency.

the paper's 66 released four-step chains. "The first revision almost always removed most aspects of harmfulness." How much text do the later revisions still rewrite?
Later revisions still rewrite a third or more of the answer

Answer the question on the left before you look. Measured on every released chain (66 prompts, 4 revisions each): the share of a revision's words that are not in the previous version (a word-level longest common subsequence), and the mean length.

Stage 2: RL from AI feedback (RL-CAI)

§4.1, §4.2, Appendix C.2, E.2

Human labels for helpfulness stay; the harmlessness labels are given by an independent feedback model (typically a pretrained LM), and "the remainder of the training pipeline (i.e., preference model training and RL) is exactly the same as RLHF" (§4.1). RLAIF in general, with later labellers and results, is on Alignment: RLAIF keeps the pipeline and swaps the labeller for a strong model.

  1. SL-CAI samples a pair of answers to each red-team prompt (the same model then starts RL, so the PM sees the policy's kind of text).
  2. The feedback model gets the pair as a multiple-choice question with one of 16 principles, drawn at random, after few-shot examples (the format is in the card):
  1. The normalised log-probabilities of "(A)" and "(B)" become a soft label, expected to be well calibrated because multiple-choice answers are (Kadavath et al. 2022). Ensembling over principles made the PM "notably more robust" than one fixed principle.
  2. Train a PM on 182,831 AI-labelled harmlessness comparisons and 135,296 human helpfulness ones: 57% of its data, and all of the harmlessness data, labelled by a model (§4.2).
  3. RL from SL-CAI with Bai et al.'s hyperparameters.
The RL prompt count (§4.2, derived)

RL runs on 1,283,569 prompts in all (the SL-CAI prompts plus 491,142 red-team and 474,300 helpfulness prompts, derived).

What the feedback model is asked, for every pair
Consider the following conversation between a human and an assistant: [HUMAN/ASSISTANT CONVERSATION] [PRINCIPLE FOR MULTIPLE CHOICE EVALUATION] Options: (A) [RESPONSE A] (B) [RESPONSE B] The answer is:
One of the 16 principlesWhich of these assistant responses is less harmful? Choose the response that a wise, ethical, polite and friendly person would more likely say.

The prompt format of §4.1; the principle shown is one of the 16 in The constitution and the numbers.

The chain-of-thought (CoT) variant asks the helpful RLHF model instead, as a Human/Assistant turn ending "Let's think step-by-step", with hand-written reasoning examples (Appendix E.2). The reasoning usually names the winner, so its probabilities sit near 0 or 1, and "without the clamping, RL-CAI models would learn to output more extreme responses". Clamping to 20 to 80% helped slightly, 40 to 60% more; the main results use 40 to 60. Without CoT, soft labels beat hard 0/1 labels by a wide margin (§4.3).

a CoT label says (A) is less harmful with probability 0.99. After clamping to 40 to 60%, how strongly is the PM trained to prefer (A)?
A clamped label caps how far the PM pushes one answer above the other; a hard label never stops pushing

Answer the question on the left, then move the slider. A PM scores each response, and the probability that (A) beats (B) is σ(rA − rB) (the standard preference-model form, owned by Alignment: by the Bradley-Terry model). Training with cross-entropy on a target t pulls the gap Δ towards logit(t) = ln(t/(1 − t)), and a hard label (t = 1) has no finite optimum: the gap grows for as long as training runs. The curve is real gradient descent on that one comparison.

One comparison, gap Δ starting at 0, plain gradient descent on the label's cross-entropy, step size 0.5, 400 steps. A real PM shares one network across hundreds of thousands of pairs, so its gaps are also limited by what it can fit; this shows only the pull of each kind of label. Illustrative inputs; the formulas are standard, the clamp ranges are the paper's.

Results

§2, §3.3, §4.3 to §4.5, Figures 2 to 4, 8 to 10, Appendix B

Policies are judged by crowdworker comparisons turned into Elo (only differences meaningful): 10,274 helpfulness and 8,135 harmlessness comparisons over 24 snapshots, in conversations the testers wrote (§3.3). The testers were told to prefer the less evasive of two equally harmless answers (Figure 2 caption). How pairwise votes become such a score (one strength per model fitted to all votes at once) is on Human preference and arenas.

  • A better frontier than RLHF. Harmlessness Elo against helpfulness Elo for every snapshot of the 52B RL runs: the human-feedback models trade one for the other, while "the RL-CAI models trained with AI feedback learn to be less harmful at a given level of helpfulness" (Figure 2). RL-CAI is significantly more harmless than RLHF and SL-CAI; CoT is slightly less helpful and slightly more harmless (Figure 3, Figure 8). Read the old page's "Pareto improvement" as the paper's rough outline, not as every RL-CAI snapshot beating every RLHF one.
  • AI labels approach human-trained PMs (Figure 4). On 438 binary comparisons (221 from Askell et al. 2021, where models now exceed 90%, plus 217 harder, mostly subtle harmlessness ones, some penalising evasion), multiple-choice accuracy rises sharply with size; CoT helps large models and averaging five CoT samples a little more. At 52B it approaches PMs trained on several hundred thousand human labels; "models larger than 52B will be competitive" is an extrapolation. The labels are "reasonably well-calibrated" (Figure 9). The feedback model is an early LLM judge; judges and reward models in general (reward models are a scalar head trained on preference pairs) are on LLM-as-judge.
  • Harmless without being evasive. "RL-CAI is virtually never evasive", engaging and explaining why a request is harmful (§4.4). Late in training both RLHF models lose harmlessness Elo: helpful RLHF helps with dangerous tasks more readily, HH RLHF grows more evasive, which these testers ranked down (Figure 8). The cause is the baseline's data: the earlier paper had asked only for the more harmless answer, which "likely produced a significant amount of data favoring evasiveness" (footnote 9). Measuring refusals together with over-refusals in general is on Safety and honesty benchmarks (the over-refusals beside the refusals).
  • Absolute harmfulness (§4.5, Figure 10): a model trained (L2 loss) to predict red teamers' 0 to 4 "success" rating, on 64 held-out prompts, 256 responses each. Helpful RLHF grows more harmful in training; HH RLHF, RL-CAI and RL-CAI with CoT grow less harmful (RL-CAI starts from SL-CAI, RLHF from a pretrained LM). Absolute scores "may not be well-calibrated" across workers.
  • Goodharting. Over-trained RL-CAI turns "overly harsh" or adds boilerplate such as "you are valid, valued, and cared for" (reward over-optimisation, Gao et al. 2022; the general curve, where the proxy keeps climbing after the goal has turned over, is on Reward hacking). What "qualitatively seemed" to help: principles rewritten against over-reactive or accusatory answers, ensembling over the 16 principles, soft or clamped labels (§4.3).
At the same helpfulness, the RL-CAI runs sit higher on harmlessness than either RLHF run
The paper's Figure 2: harmlessness Elo against helpfulness Elo for training snapshots of the pretrained base, Constitutional SL, helpful-only RLHF, helpful plus harmless RLHF, and Constitutional RL with and without chain of thought; the Constitutional RL curves rise above a hand-drawn Standard RLHF frontier
Notice the two RLHF curves bending left or down late in training while the RL-CAI curves keep climbing; the arcs are drawn by the authors, who call this "a rough outline of a pareto frontier", and error bars are suppressed. The text prints no Elo values, and this page does not read numbers off the plot. The paper's Figure 2. Credit: Bai et al. 2022, Anthropic, CC BY 4.0, from arXiv 2212.08073.
the repository releases 17 sampled answers per prompt from each 52B model on 66 prompts (PALMS, LaMDA and InstructGPT prompts). What share of HH RLHF's 1,122 answers are a short canned refusal ("I'm sorry. I won't respond")?

Appendix D's samples are medians. The appendix compares HH RLHF and RL-CAI with CoT on 16 prompts and calls them "median samples" (D.3). The released files sort 17 samples per prompt by a PM score, and for all 16 prompts both printed answers are the 9th of 17 (checked). So HH RLHF's "Sorry, I cannot respond to this content" is typical, not cherry-picked (InstructGPT's own published samples, the paper warns, "were likely cherry picked").

Footnotes 8 and 9: where the baseline's data came from

The HH PM data reused here dates from the earlier paper, whose crowdworkers were asked only for the more harmless answer (footnote 9); that may also be why the two RLHF models' harmlessness Elos are closer than in Bai et al. 2022 (footnote 8). PM data came from Upwork and MTurk, the tests from Surge AI.

AI can also spot and classify harm (Appendix B)

Appendix B: 254 conversations to call harmful or ethical, and 287 to sort into nine harm categories; CoT and few-shot prompts beat zero-shot clearly. All three sets are released, at exactly these sizes.

The discussion: what is left to do, and broader impacts (§6)

§6: helpfulness labels are still human; doing without them is left to future work. The aim is supervision that is "more efficient, transparent, and targeted", not none. Next steps named: steering style, tone or persona the same way, labels along dozens of behavioural axes to study how behaviours generalise, automated red teaming, and online training with AI feedback (§6.1). Broader impacts (§6.2): dual use, with the supervised stage especially easy to copy; models may ship less tested by humans; fewer people have to do the unsavoury work of red teaming.

HH RLHF refuses in about a third of its released answers; RL-CAI never does

Answer the question on the left before you look. Counted by this page on all 4,488 released answers with a plain rule (25 words or fewer and a refusal phrase).

Every flagged answer, the rule, a word-limit control and the 66 × 17 grid per model are in Count the refusals.

How much of this to believe

§3.3 to §4.5, footnotes 8 to 10

What holds up. The qualitative findings reproduce from what was released. In the repository's samples, HH RLHF gives a short canned refusal in 386 of 1,122 answers (34%) and RL-CAI in none of 2,244 (the count); Appendix D prints medians, not the best samples; the three released evaluation sets have exactly the stated sizes; the principle draws in the 66 released chains are consistent with uniform random sampling (χ² = 15.2 on 15 degrees of freedom, p = 0.44). The over-training symptom is visible too: "I'm here to listen / support / help" appears in 856 of RL-CAI's 1,122 answers (76%) and 170 (15%) of RL-CAI with CoT's, never in either RLHF model's. And the core claim, that AI preference labels can replace human ones for harmlessness, was later reproduced outside Anthropic (Lee et al., 2023, and Hugging Face's open recipe; beyond the paper, see Why it matters). Elo sample sizes are decent: about 680 to 860 comparison appearances per snapshot, roughly 13 Elo of standard error if spread evenly (derived).

What is weaker, concretely:

  • The evaluation instruction favours CAI's design target. Crowdworkers were told to prefer the non-evasive of two equally harmless answers, while the HH RLHF baseline was trained on data that rewarded evasion. The authors say so themselves (footnotes 8 and 9, §4.4), but it means part of the harmlessness gap is "HH RLHF is evasive", measured by a rule that counts evasion against it.
  • Not like for like in data and start point. The HH PM data comes from an older collection (Upwork, MTurk) than the tests (Surge AI); RLHF policies start from a pretrained LM, RL-CAI from SL-CAI (§4.2, Figure 10 caption).
  • One run per configuration and size, no seeds, and no numbers in the text: the frontier claim is read off Figure 2, whose error bars are "suppressed here for clarity".
  • Self-built evaluations, scored by PMs. The 438 HHH questions are the authors' own, and the harmlessness gains of Figures 5 to 7 are scored by PMs the authors warn are less calibrated at high values. With 438 questions an accuracy near 80% has a binomial standard error of about 1.9 points, so small gaps between curves in Figure 4 are within noise (derived).
  • Qualitative mitigations. The Goodharting fixes (rewritten principles, ensembling, label type) are reported as what "qualitatively seemed" to help; only the label type has a stated comparison, and no numbers.
  • Nothing can be rerun outside. The models, PMs and training code are not released; the repository has prompts, principles, evaluations and samples only, without a licence file.

In the authors' favour: they state the evaluation-instruction confound, the PM calibration caveat, the inaccurate critiques and the over-training failure themselves, and they released enough (samples sorted by score, the evaluation sets, every principle) to check the qualitative claims, which this page did.

Verdict: believe that AI labels can stand in for human harmlessness labels and that the recipe produces an assistant that engages instead of stonewalling; the released samples show both plainly. Treat "more harmless than RLHF at equal helpfulness" as a direction, not a size: one run per setup, a test instruction that penalises the baseline's trained behaviour, and plots without numbers.

What it takes to use this

The released data and an Apache-2.0 open reproduction exist; the paper's own models and training code do not. The recipe pays off when the behaviour you want can be written down and will change.

Code, hardware, prerequisites, and when it pays off
  • Code and licence. Anthropic released prompts, principles, evaluation sets and samples (ConstitutionalHarmlessnessPaper, no licence file) but no training code. The open reproduction is Hugging Face's alignment-handbook recipe (Apache-2.0): critiques and revisions generated with llm-swarm from Anthropic's principles on the hh-rlhf red-team prompts (MIT), then SFT and DPO on Mistral 7B (blog, February 2024).
  • Hardware. The paper's runs are 52B models with Anthropic's RL infrastructure. The open recipe states "8 GPUs (80GB of VRAM) to train the full model" at 7B; generating critiques and labels is inference over every red-team prompt, several times per prompt.
  • What you need first. A helpful, instruction-following model to critique and revise (the paper's critiques at 52B were often inaccurate yet the revisions still improved), a capable feedback model, and helpfulness data, which in the paper is still human. Small models benefit more from the critique step (Figure 7).
  • When it pays off. When the behaviour you want can be written down and will change: editing a principle replaces relabeling, so iteration on the objective is fast. When it buys little: when the judge shares the policy's blind spots on the harm in question, when the principles are vague enough to reward boilerplate (the Goodharting above), or when you need helpfulness gains, which the paper did not get from AI feedback.

Why it matters (beyond the paper)

  • RLAIF at scale, demonstrated first. The founding empirical result that AI preference labels can replace human labels for an alignment objective. It made the human-label bottleneck optional for harmlessness and set the now-standard pattern of AI-generated preference data feeding PM or DPO pipelines. Google's RLAIF vs. RLHF (Lee et al., September 2023) later reported RLAIF comparable to RLHF on summarisation, helpful dialogue and harmless dialogue, and better than the supervised baseline even when the labeller is the same size as the policy (the old page said "helpfulness tasks too": it covered all three).
  • The evasiveness finding changed refusal design. "Harmless but non-evasive, explain your objection" became the default expectation for frontier assistants, replacing blanket refusals; over-refusal is now a metric labs push down (as in deliberative alignment, in the dated block below).
  • Self-critique and LLM judges. The critique-and-revise loop prefigures Self-Refine (2023, refinement at test time with no training) and Self-Rewarding Language Models (2024, the model judges its own outputs during iterative DPO); Direct Principle Feedback (2024) runs DPO straight on critique and revision pairs. The feedback model is an early, carefully calibrated LLM-as-judge, with the two lessons that became standard: ensemble over prompts, and distrust a judge's confidence after chain of thought.
Later work and product use, sources fetched 2 October 2026 (dated; it will change)
  • Direct lineage into Claude. Anthropic describes Claude as "trained with Constitutional AI", and its May 2023 constitution describes the same two phases with principles drawn from the UN Declaration of Human Rights, trust and safety practice, DeepMind's Sparrow rules, Apple's terms of service and non-western perspectives. Collective Constitutional AI (October 2023) had about 1,000 Americans write one on Polis (1,127 statements, 38,252 votes); the resulting model was rated as helpful and harmless as the standard one, with lower bias scores on all nine social dimensions measured. In January 2026 Anthropic replaced the list with a much longer constitution that explains its reasons instead of stating rules, used at several stages of training to generate data and rankings, and released under CC0 (the old page's "published constitution drawing on the UN Declaration" is now the 2023 version). The Claude family page covers how this sits under RLVR and agentic RL.
  • Fewer principles, and classifiers. The largest models can generalise from one principle, roughly "do what's best for humanity", though detailed ones still give finer control (Specific versus General Principles, 2023); Constitutional Classifiers (2025) train safeguards on data generated from a constitution.
  • Legible behaviour specs across the industry. OpenAI's Model Spec (May 2024) writes desired behaviour down, and deliberative alignment (December 2024) trains o-series models to recall and reason over the safety specification before answering, much like CAI's CoT feedback model, reporting fewer jailbreaks and fewer over-refusals at once.

Connections

  • InstructGPT: the RLHF recipe CAI extends; CAI swaps the human preference labels for AI labels (harmlessness only) and keeps the PM and RL machinery.
  • DPO: later removes the PM and RL entirely; modern pipelines, including the open CAI recipe above, combine CAI-style AI preference data with DPO-style direct optimisation.
  • DeepSeekMath (GRPO) and DeepSeek-R1: the RL-for-LLMs line CAI's RLAIF stage belongs to; R1 replaces preference rewards with verifiable rewards, the other route around human labels.
  • Topics: llm-training-and-post-training (alignment, RLHF and RLAIF), rl (RL for LLMs), evaluation-and-llm-judges (the feedback model as an early LLM judge: calibration, ensembling, CoT overconfidence).