Skip to content
mentoor

Topic 1 of 5 · 4 min read

Written constitutions for AI models

Goal: Explain how a written constitution is used in training and point to a behaviour it shapes.

A constitution is a written list of values and principles that a lab uses to train a model, so the model's behaviour comes from rules people can read rather than from thousands of unexplained ratings.

Check yourself · 1 of 3

What does a written constitution do during training?

Choose one answer

Why it matters

When a chatbot declines a request, takes a side, or admits it is unsure, that choice did not appear from nowhere. Labs shape it on purpose. A constitution is one way to do that in the open. If you know the idea, you can read a lab's document and predict how its model will act.

How it works

Anthropic describes two layers.

  1. Constitutional AI (the training method). In the 2022 paper, the model writes an answer, then critiques that answer against a short list of written principles, then rewrites it. The rewritten answers are used for further training. In a second stage, a model compares pairs of answers and picks the one that fits the principles better. Those AI-made preferences replace most of the human labelling for harmlessness. The method is called reinforcement learning from AI feedback.
  2. Claude's constitution (the document). Anthropic also publishes a long natural-language text that sets out who Claude should be: helpful, honest, careful about harm, and supportive of human oversight in the current period. It explains its reasons instead of only listing rules, because the aim is for the model to use judgement in cases the rules did not foresee.

Other labs do something similar under different names. The idea is the same: write the values down, then train toward them.

Before and after

Before: "The model is just filtering bad words."

That picture is wrong. A constitution does not work as a word list. It shapes how the model weighs a request.

After: A user asks for help writing a firm but fair email refusing a refund. A model trained against principles about honesty and avoiding harm will usually help, and will not invent a false policy to win the argument. The principles are visible in the answer, even though no rule names refund emails.

What goes wrong

  • A document is not a guarantee. Training is imperfect. A model can fall short of its own constitution, and the lab says so.
  • Principles conflict. Being helpful and being careful pull in opposite directions. The text has to say which usually wins, and a long document cannot cover every case.
  • Vague words hide choices. "Harmless" and "fair" mean different things to different people. Someone chose the meaning.

Treat a constitution as a statement of intent that you can test. Read it, then try a few prompts and see whether the behaviour matches.

Examples

Critique and revise

A draft answer gives step-by-step advice for picking a neighbour's lock. The model is asked, against a principle about not helping with harmful acts, what is wrong with the draft. It then rewrites the answer to explain how locks work in general and to suggest calling a locksmith. The rewritten answer becomes training data.

Intent versus behaviour

A lab's document says the model should be honest even when the truth is unwelcome. You ask a model whether your business plan has a weakness. A good match is an answer that names a real weakness. A poor match is a list of compliments. The gap is worth noting.

Key points

  • A constitution is a written set of principles a lab trains its model to follow.
  • In Constitutional AI the model critiques and rewrites its own answers against the principles, and AI-made preferences replace much of the human labelling for harmlessness.
  • Claude's constitution explains its reasons so the model can use judgement in new situations.
  • A published constitution states intent; it does not prove the model always behaves that way.
  • You can test a constitution by reading it and then checking whether the model's answers match.

Common mistakes

  • Thinking a constitution is a list of banned words or topics that the model checks each answer against.
  • Assuming a published document means the model always follows it.
  • Treating the 2022 Constitutional AI paper and Claude's published constitution as the same thing; one is a training method and the other is a values document.
  • Believing only Anthropic uses written principles, when other labs publish similar documents.

Check yourself · 2 of 3

In the Constitutional AI method, who mainly supplies the preference labels for harmlessness in the second stage?

Choose one answer

Check yourself · 3 of 3

A lab publishes a constitution saying its model should be honest. You ask for feedback on your essay and get only praise. What is the sensible conclusion?

Choose one answer

Practice items, not counted towards your mastery.

Start here