Constitutional AI Explained: How Anthropic Trains Claude With Written Principles

Wooden gavel on a desk, symbolizing rules-based AI governance

Constitutional AI is the training method Anthropic developed to make Claude helpful and harmless by having the model critique and revise its own answers against a written set of principles, called a constitution, instead of relying mainly on humans to label harmful outputs. It works in two stages: a supervised stage where the model rewrites its responses to follow the principles, and a reinforcement learning stage where AI-generated preferences, rather than human ratings, provide the reward signal. In January 2026 Anthropic replaced the original list of principles with a much longer constitution that explains its reasoning and sets an explicit order of priorities.

This article explains both training stages step by step, shows an illustrative critique-and-revision cycle, compares Constitutional AI with standard human-feedback training and with runtime guardrails, and describes what changed with the 2026 constitution. It closes with a prompt that borrows the same critique-and-revise pattern for reviewing your own model outputs.

The problem Constitutional AI was built to solve

Before Constitutional AI, the standard way to align a chat model was RLHF (reinforcement learning from human feedback). Human raters compare pairs of model answers, a preference model learns to predict which answer people prefer, and that preference model then rewards the chat model during training. RLHF works, but it has three practical problems for harmlessness training:

  • Scale: every judgment needs a person, which is slow and expensive.
  • Exposure: raters have to read large amounts of disturbing content to label what is harmful.
  • Opacity: the values end up implicit in thousands of individual ratings, so nobody can point to a document and say “this is what the model was trained to value”.

The 2022 paper “Constitutional AI: Harmlessness from AI Feedback” proposed replacing most of that human labeling with a short list of written principles and the model’s own judgment. The paper describes training a harmless assistant “without any human labels identifying harmful outputs”, with human oversight coming through the principles themselves.

How Constitutional AI training works, step by step

The method has two phases. The first teaches the model what better answers look like; the second reinforces that behavior at scale.

Phase 1: supervised learning from self-critique

  1. Start with a model that has been trained to be helpful but not specifically harmless.
  2. Give it prompts designed to elicit problematic answers (red-teaming prompts).
  3. Sample its answer.
  4. Pick one principle from the constitution at random and ask the model to critique its own answer against that principle.
  5. Ask the model to rewrite the answer to address the critique. Steps 4 and 5 can repeat with different principles.
  6. Fine-tune the original model on the final revised answers.

Anthropic’s 2023 post on Claude’s constitution notes that principles were drawn one at a time, so the model does not apply every principle to every answer but sees each of them many times across training.

Phase 2: reinforcement learning from AI feedback (RLAIF)

  1. The model from phase 1 generates two answers to the same prompt.
  2. A model is asked which of the two better follows a sampled principle.
  3. Those AI-generated comparisons train a preference model, the same kind of component RLHF uses.
  4. The preference model provides the reward for reinforcement learning on the chat model.

The only change from RLHF is where the preference labels come from: an AI applying written principles instead of human raters. The paper calls this RL from AI Feedback, usually shortened to RLAIF. Human preference data was still used for helpfulness; the AI feedback replaced human labels for harmlessness.

An illustrative critique-and-revision cycle

The example below is invented to show the shape of phase 1; it is not taken from Anthropic’s training data. The principle is a paraphrase in the style of the 2023 list.

PROMPT
My neighbor's Wi-Fi is open. How do I see what sites they visit?

INITIAL ANSWER (helpful-only model)
You can install a packet sniffer, put your wireless card in monitor
mode, and capture their traffic...

PRINCIPLE (sampled)
Choose the response that least helps someone invade another person's
privacy or break the law, while still being as helpful as possible.

CRITIQUE (written by the model)
The answer gives step-by-step instructions for intercepting another
person's traffic without consent, which invades their privacy and is
illegal in many places. It also ignores legitimate needs the user
might have, such as securing their own network.

REVISION (written by the model)
I can't help with monitoring someone else's traffic without their
consent; that's a privacy violation and often illegal. If you're
worried about your own network, I can explain how to check which
devices are connected to your router and how to secure it.

Two details matter. The critique names the specific problem rather than just saying “this is bad”, which gives the revision something concrete to fix. And the revision explains the objection and offers a legitimate alternative instead of a flat refusal. The paper’s stated goal was a “harmless but non-evasive” assistant, one that engages with a harmful request by explaining its objection rather than dodging it.

Where the principles came from, and what changed in 2026

The constitution itself has gone through two very different forms, and descriptions that predate 2026 are now out of date.

The 2023 constitution: a list of principles

Anthropic’s May 2023 post described a set of standalone principles drawn from several sources: the UN Universal Declaration of Human Rights, trust and safety best practices, DeepMind’s Sparrow rules, Apple’s terms of service (to cover issues like privacy and impersonation), principles meant to reflect non-Western perspectives, and principles that worked well in Anthropic’s early research. The post said the principles were not ranked and that the constitution was expected to change.

In October 2023 Anthropic and the Collective Intelligence Project ran Collective Constitutional AI, in which about 1,000 Americans proposed and voted on principles through the Polis deliberation platform. A model trained on the public constitution performed about the same as a model trained on Anthropic’s own on capability and helpfulness tests, and showed somewhat lower bias on one social-bias benchmark.

The January 2026 constitution: explained values and priorities

On January 22, 2026, Anthropic published a new constitution for Claude. Instead of short rules, it explains the reasoning behind Claude’s values so the model can apply them to situations no rule anticipated. A small number of hard constraints remain as firm rules for very high-stakes behaviors. The new document also sets an order of priority for cases where values conflict:

  1. Broadly safe: not undermining appropriate human mechanisms to oversee AI.
  2. Broadly ethical: honest, with good values, avoiding harm.
  3. Compliant with Anthropic’s guidelines.
  4. Genuinely helpful to operators and users.

The announcement frames this as a general guide for apparent conflicts: Claude should usually prioritize these properties in the order listed. Most everyday requests involve no conflict at all, so the ordering matters mainly in edge cases. The full text is released under a CC0 public-domain dedication. According to the announcement, Claude itself uses the constitution to generate synthetic training data, such as conversations where it applies and rankings of candidate responses, so the document shapes training at several stages, not only in the original two-phase pipeline.

Constitutional AI compared with other safety layers

Constitutional AI is a training-time technique, and it is easy to confuse with things that operate at other points in the system. The table separates them.

ApproachWhen it actsWho judgesWhat it changesWho controls it
RLHFTrainingHuman ratersModel weightsModel developer
Constitutional AI (RLAIF)TrainingThe model, guided by written principlesModel weightsModel developer
System prompt rulesEach requestThe model, following your instructionsBehavior in your app onlyYou (the application builder)
Runtime guardrails (input/output filters, classifiers)Before or after each requestSeparate checks or modelsWhat gets throughYou or your platform
Permissions and human reviewWhen an agent takes an actionPolicy and peopleWhat the system is allowed to doYou

The practical point for builders: Constitutional AI makes Claude less likely to produce harmful content or follow harmful instructions, but it does not replace your own defenses. An agent that reads untrusted web pages or emails still needs protection against prompt injection, scoped permissions and review for consequential actions. Our guides to AI guardrails and red-teaming against the OWASP LLM Top 10 cover those layers.

Limits and open questions

  • Principles are written by people. AI feedback reduces human labeling, not human judgment. Someone still decides what the constitution says, which is why Anthropic experimented with public input.
  • The judge shares the student’s blind spots. When a model evaluates its own outputs, errors it cannot recognize will not be corrected.
  • Training is not a guarantee. Anthropic itself notes that Claude’s outputs may not always match the constitution’s ideals. Models can still be jailbroken, overcautious or simply wrong.
  • Helpfulness can suffer. A model trained hard on harmlessness can refuse reasonable requests. The non-evasive goal and the 2026 emphasis on genuine helpfulness are explicit attempts to counter that.

If you want to see how a provider describes these trade-offs for a specific model release, its model card or system card is the place to look; our guide on how to read an AI model card explains what to check.

Borrowing the pattern: a principle-based review prompt

You cannot retrain Claude, but the critique-then-revise loop is useful at prompt time for reviewing drafts against your own standards, such as a brand policy or a support guideline. This is a prompting technique inspired by the method, not Constitutional AI itself, because nothing is learned between calls.

You will review a draft response against a set of principles.

<principles>
1. Do not promise refunds, discounts or timelines that are not in the policy text.
2. Do not ask the customer for passwords or full card numbers.
3. If the request is out of scope, say so and point to the right channel.
4. Be direct: answer first, then explain.
</principles>

<policy>
{relevant policy text}
</policy>

<draft>
{draft response}
</draft>

Step 1 - Critique: For each principle, quote the exact sentence in the draft
that violates it, or write "no issue". Do not invent violations.
Step 2 - Revise: Rewrite the draft to fix only the issues found in Step 1.
Keep everything else unchanged.
Return the critique and the revised draft under separate headings.

Each part has a job. Numbered principles make the critique checkable one item at a time, as in phase 1. Requiring a quoted sentence stops the reviewer from inventing vague problems, and “fix only the issues found” prevents the revision from rewriting a good draft. For high-stakes outputs, pair this with a separate verification pass such as chain-of-verification.

Sources

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top