Constitutional AI: Harmlessness from AI Feedback
1. Research problem
Scaling harmlessness training requires large amounts of human feedback about what makes responses safe, which is expensive and inconsistent.
2. Motivation
The authors wanted a scalable alignment process where an AI system critiques and revises its own outputs under an explicit written set of principles.
3. Previous approaches
RLHF relied on human preference labels; rule-based filters were brittle and could not handle nuanced harmlessness judgments.
4. Core contribution
Introduced a two-phase method: supervised self-critique and revision guided by a 'constitution' of written principles, followed by reinforcement learning from AI-generated preferences (RLAIF).
5. Mathematical formulation
The model samples critiques and revised answers according to principle prompts; an AI evaluator ranks responses, and those AI preferences train a reward model used for RL.
6. Methodology
Define a constitution of natural-language rules, generate critique-revision supervised data, train a preference model from AI labels, then apply RL with that model.
7. Architecture
Decoder-only assistant model plus a separate AI feedback model evaluating against constitutional principles.
8. Experimental setup
Red-team-style harmlessness evaluations, helpfulness/harmlessness comparisons with human-feedback baselines.
9. Datasets
Anthropic's internal harmlessness and helpfulness evaluation prompts and generated responses.
10. Results
Produced assistants that were less harmful while remaining helpful, reducing reliance on human labels for harmlessness.
11. Limitations
The constitution encodes contested value choices; AI critics can share blind spots with the generator; self-critique may be shallow or deceptive.
12. Critical analysis
A concrete proposal for scalable oversight via principles, but it relocates rather than solves the question of whose values the constitution represents.
13. Implementation tasks
- 1.Draft a small constitution and generate critique-revision pairs for harmful prompts.
- 2.Train a preference classifier from AI-generated rankings and compare with human rankings on a small set.
- 3.Evaluate robustness to prompts that explicitly conflict with a constitutional rule.
14. Follow-up work
- 1.Training language models to follow instructions with human feedback (Ouyang et al., 2022)
- 2.Direct Preference Optimization: Your Language Model is Secretly a Reward Model (Rafailov et al., 2023)
15. Open research questions
- 1.Who should author and revise the constitution?
- 2.Can AI self-critique catch failures that the generator itself cannot recognize?