Skip to content
AI360Xpert
Paper Breakdowns
Paper breakdown

Constitutional AI

Anthropic's 2022 paper introducing a method to align models using a written set of principles (a 'constitution') rather than relying entirely on human feedback labels.

Paper: Constitutional AI: Harmlessness from AI Feedback

Authors: Yuntao Bai, Saurav Kadavath, Saurabh Garg, Amanda Askell, Jackson Kernion, Dawn Drain, Saurabh Borge, Eli Tran-Johnson, Scott Johnston, Sheer El-Showk, Nicholas Elhage, Tommy El-Sayed, Elena Gribovskaya, Chris Jones, Andy Jones, Kamal Ndousse, Ollie Klinghoffer, Rui Chen, Maciej Kilian, Alex Ray, Tom Brown, Christopher Olah, Ben Mann, Dan Amodei, Dario Amodei, Paul Christiano, Sam Bowman, Jared Kaplan · 2022

Read the paper
Constitutional AI replaces human labellers with AI feedback. A model critiques and revises its own harmful outputs based on a constitution (Supervised phase), and then an AI evaluates response pairs to train the Reward Model (RL phase).
Constitutional AI replaces human labellers with AI feedback. A model critiques and revises its own harmful outputs based on a constitution (Supervised phase), and then an AI evaluates response pairs to train the Reward Model (RL phase).

The Problem

Reinforcement Learning from Human Feedback (RLHF) was a breakthrough for aligning models, but it had a massive scaling bottleneck: it required thousands of hours of expensive, slow human labor to rank model outputs. Furthermore, human labelers can be inconsistent, biased, or simply wrong when judging complex or highly technical topics.

Even worse, standard RLHF often suffered from the "helpful vs. harmless" tension. If you train a model to be maximally helpful, it might write an excellent phishing email. If you train it to be maximally harmless, it becomes an evasive, useless bot that refuses to answer basic questions (the "I'm sorry, as an AI..." problem). Anthropic needed a way to scale alignment and balance helpfulness with harmlessness without relying entirely on human annotators.

The Idea

The authors introduced Constitutional AI (CAI), a method that replaces human preference labels with AI-generated feedback based on a short, written set of principles—a "Constitution".

Instead of humans ranking responses to teach the model what is "harmless," the model uses the constitution to evaluate its own outputs, critique them, and revise them. By shifting the burden of alignment from human labor to model computation, Anthropic showed that AI could govern itself effectively as long as the initial principles were well-defined. This method is often called Reinforcement Learning from AI Feedback (RLAIF).

How It Works

Constitutional AI consists of two main stages: a supervised phase and an RL phase.

Stage 1: Supervised Learning (Critique and Revision). First, a helpful but potentially harmful model is prompted to generate responses to red-teaming prompts (e.g., "How do I hack a Wi-Fi network?"). Naturally, the model might generate a harmful response. Next, the model is shown its own response alongside a principle randomly drawn from the Constitution (e.g., "Please rewrite the AI response to remove any dangerous or illegal instructions"). The model critiques its original response and generates a new, revised, harmless response. This process of generation → critique → revision creates a high-quality dataset of harmless responses entirely automatically. The base model is then fine-tuned on these revised responses.

Stage 2: Reinforcement Learning (AI Feedback). Now the model needs to be optimized via PPO, just like in standard RLHF, but without humans to train the Reward Model. The system generates a prompt and two potential responses (Response A and Response B). Instead of a human, a "Feedback Model" (usually the same language model) is prompted with the Constitution and asked: "Which of these two responses better follows the principles?" The AI evaluates the responses and outputs a probability (e.g., 90% chance Response B is better). This AI-generated preference data is used to train the Reward Model, which then guides the PPO optimization phase.

Why It Mattered

Constitutional AI proved that models could reach state-of-the-art alignment without relying on massive human preference datasets. It significantly lowered the barrier to entry for aligning models, moving the bottleneck from human labor to compute.

Moreover, it made the alignment process transparent. Instead of the model's behavior being a black box defined by the aggregated (and often conflicting) vibes of thousands of human contractors, the model's behavior was dictated by a legible, editable text document: the Constitution. If the model behaved badly, you could literally change the rules it followed.

What Came After

Constitutional AI became the foundational alignment strategy for Anthropic, culminating in the Claude series of models, which are famous for their robust harmlessness and refusal to generate toxic content.

The idea of using AI to generate feedback (RLAIF) has since become a standard technique across the industry, used heavily in synthetic data generation pipelines, self-correction workflows, and open-source model alignment. It paved the way for more advanced self-improving paradigms where models bootstrap their own reasoning and safety.