Topic 3 of 6 · 5 min read
AI feedback and constitutional methods
Goal: Critique a rubric for an AI labeller and point out the bias it would bake into the tuned model.
AI feedback replaces some human labelling with a model that judges answers against written principles, so your rubric becomes the thing the tuned model learns. It scales cheaply, and it also copies the judge's blind spots at scale.
Check yourself · 1 of 3
In Constitutional AI, what plays the role of the human labeller for preference pairs?
Why it matters
Human preference labels cost money and time. Ranking 50,000 pairs by hand is a project. A strong model can label them in an afternoon. This idea is called RLAIF (reinforcement learning from AI feedback). Anthropic's Constitutional AI paper (2022) used a short list of written principles: the model critiqued and revised its own answers for supervised training, then compared pairs of answers against the principles to build preference data for a harmlessness reward signal.
How to do it
- Write the principles as checkable statements. "Pick the answer that gives the instruction without helping someone harm others" can be judged. "Be good" cannot.
- Give the judge one question per call. "Which answer better follows principle 3?" is more reliable than "Which is better?".
- Randomise order. Show each pair in both orders and keep only labels that survive the swap.
- Sample human spot-checks. Compare a few hundred AI labels to a person's labels. Report agreement per principle, not a single average.
- Feed the pairs into a reward model or DPO as usual.
Biases to expect
Studies of LLM judges (the MT-Bench paper, 2023) found position bias (preferring the first answer), verbosity bias (preferring longer answers) and self-preference (favouring text in the judge's own style). A tuned model trained on those labels learns them too. If the judge likes confident prose, the model learns confident prose.
Before and after
Weak rubric: "Choose the more helpful and professional answer." Judges read "professional" as long, formal and hedged, so the model becomes stiff and wordy.
Better rubric:
Principle 1: prefer the answer that states the result in the first sentence.
Principle 2: prefer the answer whose claims can be checked from the given context.
Principle 3: if both are correct, prefer the shorter one.
What goes wrong
- The judge is weaker than the task and labels subtle errors as fine.
- Principles conflict ("be helpful" against "be cautious") and the judge resolves them inconsistently.
- The same model family labels and gets tuned, so its habits reinforce themselves.
Examples
A vague rule shapes style
A team asks the judge to prefer "the more thorough answer". After tuning, replies to simple yes or no questions run to five paragraphs. The principle did exactly what it said. Rewriting it as "as thorough as the question needs, and no more" and labelling a fresh sample brought length back down.
Order test for a judge
labels_ab = judge(prompt, a, b)
labels_ba = judge(prompt, b, a)
keep = labels_ab == flip(labels_ba)
If only 70% of pairs keep the same winner when swapped, 30% of your labels are position noise. Drop them or use a stronger judge.
Key points
- In RLAIF a model labels preference pairs against written principles, so the principles define what the tuned model learns.
- Constitutional AI uses principles twice: to critique and revise answers, and to label pairs for preference training.
- LLM judges show position, verbosity and self-preference biases that a tuned model inherits.
- Write checkable principles, swap answer order, and compare a sample of AI labels with human labels.
- Report judge agreement per principle; an average hides the principles that fail.
Common mistakes
- Writing principles so broad that the judge supplies its own meaning.
- Using one judge call with the pair in one fixed order.
- Skipping the human spot-check because the AI labels look reasonable.
- Labelling with the model family you are about to tune and assuming its taste is neutral.
Check yourself · 2 of 3
A judge model prefers whichever answer appears first, regardless of content. This is called:
Check yourself · 3 of 3
Which rubric line is the best for an AI labeller?
Practice items, not counted towards your mastery.
Start here
- Training language models to follow instructions with human feedback (InstructGPT) (opens in a new tab)PaperFree
OpenAI's original RLHF recipe: demonstrations, ranked outputs, a reward model and PPO, with results on a 1.3B model.
- Direct Preference Optimization: Your Language Model is Secretly a Reward Model (opens in a new tab)PaperFree
The DPO paper: the loss, the role of the reference model and beta, and why no reward model is needed.
- RLHF Book (Nathan Lambert) (opens in a new tab)BookFree
A free, practical walk through reward models, PPO, DPO, rejection sampling and RL with verifiable rewards.
More for this topic
- Constitutional AI: Harmlessness from AI Feedback (opens in a new tab)PaperFree
Shows how written principles let a model critique, revise and label data in place of human harm labels.
- Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena (Zheng et al.) (opens in a new tab)PaperFree
Documents position, verbosity and self-preference bias in model judges, and how well they agree with humans.