4.4.5 · D5Alignment, Prompting & RAG
Question bank — Constitutional AI overview
This page drills the ideas in CAI overview (4.4.5). It leans on prerequisites: RLHF, Bradley-Terry preference model, PPO Proximal Policy Optimization, KL divergence, Reward modeling, and DPO Direct Preference Optimization. If a term feels shaky, revisit those before answering.
True or false — justify
Constitutional AI removes humans from the loop entirely
False — humans still write the constitution and design the prompts; only the per-example feedback labels are produced by an AI judge, so human effort shifts from labeling to authoring.
The base model literally reads the constitution at inference time
False — the constitution is only used during training (inside critiques and judge prompts); its influence ends up implicitly encoded in the fine-tuned weights, and no rulebook is fed in at deployment.
The Stage 1 (SL) fine-tune trains on the model's initial harmful responses
False — it trains on the final revised (prompt → good response) pairs; training on the un-revised answers would reinforce the very behaviour CAI is trying to remove.
Running more critique→revise passes always yields a strictly better model
False — revisions show diminishing returns and too many passes can cause over-refusal (evasive answers); the number of passes is a tuned hyperparameter, not "more is better".
The KL term in the RL objective is an optional regularizer you can drop for speed
False — without it the policy policy "hacks" the reward with degenerate or repetitive text; the KL leash keeps outputs fluent and on-distribution, so it is essential, not cosmetic.
CAI can only make a model safer, never more helpful
False — the revision step is designed to keep answers helpful (offer a legitimate alternative) while removing harm; the target is helpful and harmless, not silence.
The reward model in RLAIF outputs a probability directly
False — the reward model outputs a scalar quality score ; a probability only appears when the Bradley–Terry logistic turns a score difference into .
Because labels are AI-generated, CAI cannot inherit any human bias
False — biases enter through the humans who wrote the constitution and through the base model's pretraining data; automating the labels does not sterilize those upstream sources.
Spot the error
"In Stage 1 we ask the model to critique, then we immediately fine-tune on the critique text." — what's wrong?
We fine-tune on the revised response, not the critique text; the critique is a scaffold that produces a better answer, and the answer is the training target.
"The AI judge assigns a numeric score to each response and we train on those scores." — what's wrong?
The judge only picks a winner (a categorical choice between two responses); the numeric scores are learned by the reward model to explain those choices, not supplied by the judge.
"We maximize to fit the reward model." — what's wrong?
We minimize (equivalently maximize ); minimizing the negative log-likelihood is the same as maximizing the probability of the observed preferences.
"The RL objective is ." — what's wrong?
The KL term is subtracted (); adding it would reward drifting away from the reference, the exact opposite of what a leash should do.
"Since RLAIF uses an AI judge, we don't need a reward model at all." — what's wrong?
The judge produces discrete preference pairs, but RL still needs a dense scalar signal for every sampled response, so we still fit a reward model on those pairs.
"CAI's constitution is a large document the model consults token-by-token as it generates." — what's wrong?
The constitution is a small set of principles, and it is sampled into training prompts, not consulted at generation time; only its distilled behaviour survives in the weights.
Why questions
Why use the Bradley–Terry logistic instead of just labeling the winner as reward 1, loser 0?
A hard 0/1 label ignores how much better one answer is; the logistic maps a continuous score difference to a probability, so confident and marginal preferences produce appropriately different gradients.
Why does CAI move human effort from labeling to writing the constitution?
Writing principles once is cheap, transparent, and spares labelers from reading toxic content, whereas ranking every harmful pair in RLHF is expensive, opaque, and psychologically harmful.
Why force the model to name the specific violation during critique instead of just saying "this is bad"?
Naming the exact principle broken gives the revision step a concrete target to fix, producing a cleaner corrected answer than a vague "make it better" instruction.
Why keep the SL-CAI model as the reference in the RL stage rather than the raw base model?
The SL-CAI model already speaks in the constitution's style, so anchoring the KL to it means the RL stage refines behaviour without dragging the policy back toward the un-aligned base distribution.
Why can DPO be an alternative to the PPO-based RL stage here?
DPO optimizes the same Bradley–Terry preference objective directly from pairs, folding the reward model and KL penalty into one closed-form loss — it consumes the same AI-judged pairs, just skips the explicit reward-model + PPO loop.
Why is a capable base model a precondition for self-critique to work at all?
Self-critique assumes the model already latently "knows" the principle it violated; a weak model cannot spot its own violation, so there is nothing to revise and Stage 1 collapses.
Edge cases
If the AI judge is wrong (mislabels the safer answer as worse), what happens downstream?
The reward model faithfully fits the bad preference, so RL will steer the policy toward the worse answer — judge quality is a hard ceiling on the whole pipeline.
What happens to the RL objective if (the KL coefficient) is set to zero?
The leash vanishes and the policy is free to reward-hack, producing degenerate or repetitive text that scores high on but reads as broken language.
What if is set enormously large?
The KL penalty dominates and the policy barely moves from , so RL contributes almost nothing and you get roughly the SL-CAI model back.
For a prompt where both sampled responses are equally good, what does the reward model learn?
With near-equal scores, and the loss is large-but-flat, giving a weak, low-magnitude gradient — the model sensibly refuses to commit to a spurious preference.
What if a query is entirely benign (no principle is violated) during Stage 1?
The critique finds nothing to fix, so the revision is essentially the original answer; the (prompt → answer) pair still enters SL training and reinforces good behaviour on harmless inputs, preventing over-refusal.
If the constitution contains two principles that conflict on a given prompt, what breaks?
The critique/judge signal becomes inconsistent (the "right" answer depends on which principle is sampled), injecting noise into both SL revisions and RLAIF labels — resolving principle conflicts is a human authoring problem, not something the model fixes.
What is the failure mode if critique→revise is repeated too many times?
Answers drift toward blanket refusal (over-refusal), sacrificing helpfulness — the model over-corrects and treats even legitimate requests as violations.
Recall One-line summary of every trap above
The math is shared with RLHF; only the label source is AI. The constitution lives in training, not inference. Train on revisions, not initial answers. The KL term is subtracted and essential. Everything downstream is bounded by judge quality.