Advanced
Constitutional AI & RLAIF
A written constitution can guide model-generated critiques and preference labels, scaling oversight while making principles explicit but not self-enforcing.
Updated
1
Concept
Human preference collection is expensive and difficult to scale, especially for adversarial safety cases. Constitutional AI makes part of the behavioral specification explicit as a set of written principles—a constitution—and uses models to apply those principles during training. Reinforcement learning from AI feedback (RLAIF) uses model-generated judgments where classic RLHF would use human comparisons.
A constitution can contain principles about avoiding harm, respecting autonomy, protecting privacy, acknowledging uncertainty, or following a hierarchy of instructions. Good principles are actionable enough to distinguish behaviors and scoped enough to reveal conflicts. “Be good” is not a useful clause. “Do not provide instructions that materially facilitate credential theft; offer defensive account-recovery guidance instead” supplies a clearer decision boundary.
In a supervised phase, a model first generates a response to a potentially harmful prompt. It then critiques the response with reference to a selected principle and writes a revision. The critique-and-revision pairs become training data. This differs from a dataset in which humans author every ideal answer: the model proposes both the diagnosis and correction, while the constitution structures the task.
In a preference phase, a model judge compares candidate responses according to the principles. Those AI-generated preferences can train a reward model or feed a direct preference objective. Human feedback may still calibrate helpfulness or audit samples. The “AI” in RLAIF describes the immediate source of labels, not the ultimate source of values: humans choose the constitution, prompting procedure, judge model, conflict rules, and deployment thresholds.
This approach can improve consistency and coverage. A principle can be applied to many prompts, including newly generated adversarial variants. Each judgment can record which clause was invoked, making the specification more inspectable than an unlabeled preference. Updating a clause permits targeted regeneration and comparison, though the resulting model still needs retraining or another enforcement mechanism.
The central risk is shared failure. A judge model may have the same blind spots as the policy it evaluates. Both may be persuaded by fluent but false claims, misunderstand a language or culture, or miss an encoded harmful instruction. Using a larger or differently trained judge can help, but authority does not turn a probabilistic model into a theorem prover.
Principles also conflict. Privacy can conflict with personalization; directness with emotional sensitivity; helpfulness with misuse prevention. A constitution needs priority rules, examples, and escalation paths. Some cases should be marked uncertain for human review instead of forcing the judge to manufacture a confident ranking.
Evaluation should measure both over-refusal and under-refusal. A system that blocks every difficult topic may appear harmless while failing legitimate users. Red teams should vary language, framing, role-play, quoted text, and multi-turn context. Independent domain experts should audit high-stakes categories. Every judgment should retain principle version, judge version, prompt template, and date so changes can be traced.
Constitutional methods make an important governance move: they turn some tacit labeling preferences into reviewable text. That supports debate, versioning, and targeted tests. But the text remains incomplete, and its application remains learned. Published principles without evidence of adherence are policy theater.
The durable mental model is delegated oversight. Humans write and govern the handbook; model critics and judges apply it at scale; training shifts the policy; independent evaluations check whether the intended boundary emerged. RLAIF can multiply human oversight, but it cannot remove the human responsibility to define, audit, and revise the rules.
2
Explain it like I am five
A newsroom cannot send every draft to the editor-in-chief, so it publishes a style and ethics handbook. Reporters critique drafts against named clauses, revise them, and senior editors audit samples and disputed cases. The handbook scales judgment and exposes the rules, but vague clauses can conflict and reporters can misapply them. Constitutional AI uses principles in this role, with models producing critiques or preference feedback under human oversight.
3
Teach it back
Describe the supervised and preference-learning roles a constitution can play, then state two reasons it does not eliminate human governance.
Minimum: 80 characters and 15 words. Your text stays only in this browser.
Saved only on this device.
Show a model answer
A model can critique and revise responses by citing constitutional principles, producing supervised revision examples. A model judge can also compare candidate responses under those principles, creating AI preference data for alignment. Humans still choose, interpret, prioritize, and update the principles, and must audit failures because the judge can misunderstand contexts, share biases with the policy, or apply conflicting clauses inconsistently.
4
Check your understanding
Complete the teach-back and answer the quiz correctly to finish this lesson.
Sources
- Yuntao Bai et al. (2022). Constitutional AI: Harmlessness from AI Feedback.