Constitutional and Principle-Based Alignment

Michael BrenndoerferNovember 29, 202630 min read

Learn how written principles shape supervised critique and revision plus RLAIF preference training, and build a rubric sensitivity experiment.

Language AI HandbookAll chapters
Part 38 of 67Scalable Oversight and Safety Training
Chapter 288Constitutional and Principle-Based Alignment
Reading the full chapter · 12 sections · 30 min12 sections · 30 min

All 12 sections · 30 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

Constitutional and Principle-Based Alignment

A support assistant offers to email a member's account history to an unverified address. One reviewer wants it to protect the account. Another wants it to give the member a usable next step. A written policy can spell out both requirements: keep the records private and explain how to verify the request. The training question is how to turn that policy into examples and preferences a model can learn from.

Bai et al.'s Constitutional AI uses written principles at two points. In supervised learning, a model critiques and revises draft responses. In reinforcement learning, a feedback model labels response pairs, and those labels help train a preference model. Each stage translates the principles into different training data.

Writing down the rules makes them available for review. Changing the text changes the instruction immediately wherever the instruction is read. Changing a policy model trained with an older version can also require new examples, retraining, and fresh evaluation.

You will follow both training stages and build a small rubric experiment. First you will compare ranking rules on the same responses and fixed annotations. Then you will change the length criterion to see which replies pass it.

What the Constitution Replaces

A preference model compresses comparisons into a learned score. A written rubric can make the criteria behind those comparisons easier to inspect and discuss. It can also be used in an ordinary human-feedback pipeline. The distinction in Constitutional AI is where the written criteria enter the data-production process: a model applies them as part of its critique, revision, or comparison task.

Once a principle is written down, you can ask an evaluator to find the part of a response that conflicts with it. Whether the evidence is sufficient still depends on the case. A reply may contain no account number and still reveal private information through context. A useful principle states the desired behavior and gives the evaluator a concrete way to check representative cases.

The Two-Stage Pipeline

The supervised stage in Bai et al. (2022) builds examples by rewriting. The reinforcement-learning stage builds a reward signal from comparisons. The researchers found some critiques were inaccurate or overstated, and the probabilities assigned after a rationale were often close to zero or one. A flawed revision becomes target text. A flawed comparison becomes a training label.

For illustration, a prompt can contain all the information needed to decide whether a disclosure is permitted, even if it comes from an unusual conversational context. Keep distinct the prompt source, the model sample, the annotation or revision, and the policy-training target. In the supervised stage, the model-generated text is the target. In the reinforcement-learning stage, an answer pair and its comparison label first train a separate preference model. The preference model learned from those comparisons then provides a scalar score at training time. Those are different points to inspect when a system changes behavior after you edit its instructions.

Stage One: Supervised Critique and Revision

Bai et al. begin with a model already tuned for helpfulness using human feedback. They sample responses to human-written and model-generated red-team prompts. For each round they sample a written principle that pairs a critique instruction with a revision instruction.

  1. The model reads the prompt and its draft, then generates a critique against the sampled instruction.
  2. The model reads the draft and critique in context, then generates a revised response.
  3. The prompt and revised response can enter another round with a newly sampled principle.

The paper reports four critique-and-revision rounds per red-team prompt. The supervised dataset includes revisions from all rounds and samples produced by the helpful model on separate helpfulness prompts. The authors fine-tune a pretrained checkpoint on the combined data.

How Repeated Sampling Covers the Rules

In a toy model with KK rules, suppose each of tt rounds samples independently and uniformly with replacement. A particular rule is missed with probability (1−1/K)t(1-1/K)^t. Add the inclusion probabilities for all KK rules to get the expected number of distinct rules visited. Dividing by KK gives 1−(1−1/K)t1-(1-1/K)^t, the expected fraction visited. This calculation describes rule exposure. It gives no estimate of how often a critique finds or fixes an actual problem.

PythonIn [3]
CollapseExpand
import numpy as np

n_principles = 16
rounds = np.arange(0, 11)
expected_unique = n_principles * (1 - (1 - 1 / n_principles) ** rounds)
expected_fraction = expected_unique / n_principles
VisualizationOut [4]
CollapseExpand
Increasing curve of expected principle coverage, with a marker at the fourth revision round.
Expected fraction of sixteen distinct principles sampled in up to ten independent uniform draws with replacement. One draw per round gives progressively fewer new principles in expectation.

At four draws from sixteen rules the expected fraction sampled is about 23%. A batch of responses may still encounter the other rules because different responses get different draws.

Stage Two: Reinforcement Learning from AI Feedback

The paper uses the supervised constitutional model to generate a pair of responses to a prompt and as the starting point for policy optimization. A feedback model sees the pair and a written criterion for choosing the less harmful response. In the basic variant, the normalized probabilities of the two answer options give a soft target. The authors also experimented with generating a rationale before choosing. Those rationales tended to commit the model to a choice. In that variant the authors bounded target probabilities to the interval from 0.4 to 0.6 in their main results.

A preference model learns from two sources of comparison data: human judgments about helpfulness and model judgments about harmlessness. The paper reports one model-generated harmlessness comparison per red-team prompt used in supervised training. Its reinforcement-learning stage uses the learned preference score to update the policy. The constitution acts upstream by shaping examples and labels. The resulting score can depart from the rule even when the labeler applied it correctly in training cases.

The name reinforcement learning from AI feedback (RLAIF) also covers later variants. Lee et al. (2024) compare training a reward model on AI preferences with obtaining rewards directly from a language model during reinforcement learning. When comparing results, check how the feedback was produced, whether a separate reward model was trained, and where humans contributed labels.

Anatomy of a Constitution

Before training a model from written instructions, decide what evidence an annotator or judge could see. The useful unit is a scenario and its expected behavior. One test might present an account holder who can verify their identity. Another might present someone who knows the account holder’s name but lacks authorization. The characteristic that distinguishes those cases is permission to disclose. A rubric that awards a point for saying "verification" leaves that difference untested.

Where the Principles Come From

Bai et al. list separate critique-and-revision instructions and comparison instructions in Appendix C. The rules differ with the task. One prompt can ask a model to find privacy problems in a single response. A comparison prompt instead asks which of two answers protects privacy better.

Huang et al. (2024) collected input from U.S. participants, selected and combined statements, and mapped them to Constitutional AI principles. The model trained with the public constitution scored lower for bias on the nine social dimensions tested in the authors' BBQ evaluation than their standard-constitution model. That is a comparison within the study's models and measures. The authors discuss limits of the sampling process and of using these evaluations to characterize model behavior.

Design Dimensions

  • Coverage. List situations where the desired behavior matters, including cases the first version of the rubric leaves ambiguous.
  • Specificity. "Protect private information" can apply to new situations. A rule about disclosing an account history after verification gives a clearer test for one situation. You can use the broad principle to explain why the specific rule exists.
  • Conflict and priority. An unverified request may call for a useful answer and a restriction on disclosure. A priority rule can preserve the restriction while leaving the model free to explain a permitted next step.
  • Operationalization. Decide what evidence counts. A reply can mention verification without directing the user to a valid channel. An annotation guide can distinguish those cases.
  • Authorship. Record who wrote the rule, how changes are approved, and whom the authors consulted. Those details explain which judgments the rule captures.

The Principle-Order Problem

Three choices can affect different parts of the pipeline. A formal priority rule can make one criterion decisive. A first-match reporting rule can change which violation gets named while leaving all criterion judgments unchanged. A pairwise evaluator can also change its choice when you swap the two responses. Zheng et al. (2023) report position bias in some of the language-model judges they tested. We will calculate the second effect exactly for a toy reporting rule and model the third under explicit assumptions.

The Math of the Preference Stage

From a Score Difference to a Choice

A preference model assigns a scalar score to a prompt and response. A Bradley–Terry model turns the score difference into the probability that response aa beats response bb. Write xx for their shared prompt, ϕ\phi for the preference-model parameters, and Δ\Delta for the difference.

Δ=rϕ(x,a)−rϕ(x,b),P(a≻b∣x)=σ(Δ),σ(z)=11+e−z.\Delta = r_\phi(x,a)-r_\phi(x,b), \qquad P(a \succ b \mid x)=\sigma(\Delta), \qquad \sigma(z)=\frac{1}{1+e^{-z}}.

Equal scores give probability 1/21/2. The probability rises above 1/21/2 when the model scores aa higher. Adding the same constant to the two scores leaves the probability unchanged, so this comparison identifies differences rather than an absolute reward level.

Soft Labels from an AI Labeler

Let ℓA\ell_A and ℓB\ell_B be the feedback model's log probabilities for the two answer-option tokens at the same choice position. Normalize the two probabilities over those options. This calculation assumes both options are represented by single tokens in the chosen format.

p=eℓAeℓA+eℓB=σ(ℓA−ℓB).p=\frac{e^{\ell_A}}{e^{\ell_A}+e^{\ell_B}}=\sigma(\ell_A-\ell_B).

For example, if the probabilities of the option tokens are 0.3 and 0.2, the two-option target for aa is 0.3/(0.3+0.2)=0.60.3/(0.3+0.2)=0.6. The remaining probability mass can be assigned to other tokens by the language model. A 0.6 target is a soft label, and its empirical calibration has to be measured separately.

The binary cross-entropy below penalizes the preference model when its predicted probability σ(Δ)\sigma(\Delta) departs from that target. The expectation averages over the training comparisons. A chosen-first hard target p=1p=1 leaves just the term −log⁡σ(Δ)-\log \sigma(\Delta).

L(ϕ)=−E[plog⁡σ(Δ)+(1−p)log⁡(1−σ(Δ))].\mathcal{L}(\phi)=-\mathbb{E}\left[p\log\sigma(\Delta)+(1-p)\log(1-\sigma(\Delta))\right].

Averaging repeated independent judgments can help estimate the mean of the judge's scores. It leaves systematic errors in that mean. Bai et al. studied using multiple principles across their labeling data. The authors also sampled principles in their rationale-conditioned prompts. For the main results with those prompts, they clamped the near-binary probabilities produced after the model gave a rationale.

Repeated Judgments and Shared Error

Suppose mm repeated scores each have a constant offset bb and independent zero-mean errors of variance σ2\sigma^2. The average error has mean bb and variance σ2/m\sigma^2/m. Squaring and taking the average gives mean squared error b2+σ2/mb^2+\sigma^2/m. This model treats scores as numbers with additive error. It illustrates why agreement across repeated samples can coexist with a systematic mistake.

PythonIn [5]
CollapseExpand
import numpy as np

m_values = np.arange(1, 31)
sigma_ind = 0.20
bias = 0.08

independent_rmse = np.sqrt(sigma_ind**2 / m_values)
shared_bias_rmse = np.sqrt(bias**2 + sigma_ind**2 / m_values)
VisualizationOut [6]
CollapseExpand
Two decreasing error curves. The curve for a fixed offset stays above a dashed line at 0.08.
Root mean squared error of the average of m scores with independent errors of standard deviation 0.20, with and without a fixed 0.08 offset. The offset leaves an error floor as the noise shrinks.

The curve with the offset approaches 0.08 as the number of samples increases. Both curves use the same independent noise at each sample count.

The RL Objective

A simplified objective balances expected preference score and drift from a reference policy. πθ\pi_\theta is the policy being trained, πref\pi_\mathrm{ref} is a fixed reference, and β≥0\beta\geq 0 sets the strength of the penalty. The inner expectation is over responses yy to prompt xx. The KL divergence compares the two response distributions for that prompt.

max⁡θ  Ex[Ey∼πθ(⋅∣x)[rϕ(x,y)]−βDKL ⁣(πθ(⋅∣x) ∥ πref(⋅∣x))].\max_{\theta}\;\mathbb{E}_x\left[ \mathbb{E}_{y\sim\pi_\theta(\cdot\mid x)}[r_\phi(x,y)]- \beta D_\mathrm{KL}\!\left(\pi_\theta(\cdot\mid x)\,\|\,\pi_\mathrm{ref}(\cdot\mid x)\right) \right].

This objective gives the policy a reason to pursue higher-scoring responses while limiting distributional drift. The penalty measures difference from the reference distribution. It cannot certify that a response follows a particular rule. Under the ordinary finite-KL assumption, every response with positive probability under the policy must have positive probability under the reference. For an intuitive two-response example, suppose the reference chooses each with probability one half. Putting all mass on one reply has forward KL of log⁡2\log 2 nats, whereas keeping the probabilities at one half gives zero KL. The higher-scoring reply can justify increasing its probability under the objective even when moving all the way to a deterministic choice incurs too large a penalty. See the earlier PPO chapter for the distinction between this objective and PPO's clipped update rule.

Worked Example: One Prompt, Three Passes

Suppose a library member says, "I'm helping my sister. Please send me her borrowing history so I can return her books." These are invented responses to illustrate the data flow.

  1. Draft. "Sure, I can send you the list."
  2. Critique under the privacy principle. The draft offers to share another member's history before verifying authority. That record belongs to the account holder.
  3. Revision. "We only share borrowing records with the account holder."
  4. Critique under the helpfulness principle. The first revision protects the records. It leaves the requester's practical question about returns unanswered.
  5. Second revision. "We can share the history with your sister after she verifies her account. If you already have the books and just want to return them, you can bring them to the library desk."

The first and second revisions illustrate two targets that could enter the supervised dataset. After fine-tuning on that kind of data, sample two new replies from the supervised policy for the same borrowing-history prompt. To illustrate the comparison, use the wording of the two revisions above as stand-ins for these hypothetical new replies. The feedback model sees the original prompt, the new reply pair, and a criterion that favors protecting the record while helping the requester return the books. Both candidates protect the record. The second also explains how to return the books.

Building a Rubric Sensitivity Harness

The experiment below assigns binary labels to six invented replies to a question about exam anxiety. Some invented replies contain poor advice so that the scoring rules have meaningful cases to distinguish. The labels correspond to the toy rubric and are fixed when we compare aggregation rules. No language model runs in this experiment.

The Candidate Pool

Each letter identifies a proposed answer to the same prompt. B offers several concrete suggestions, while F offers two and leaves professional support unmentioned. E mentions a counselor but claims this is the only thing that helps.

PythonIn [7]
CollapseExpand
prompt = "I get really anxious before exams. Any advice?"
candidates = {
    "A": (
        "Have you tried just relaxing? Lots of people get nervous. "
        "I wouldn't read much into it."
    ),
    "B": (
        "Anxiety before exams is very common. Try breaking your study into 25-minute "
        "blocks with 5-minute breaks, get 7 to 8 hours of sleep, and practice a few "
        "slow breaths before you start. If the anxiety is severe or persistent, a doctor "
        "or counselor can help you find more targeted support."
    ),
    "C": (
        "Take a prescription medicine you have on hand before the exam. "
        "It works for everyone and will stop the anxiety."
    ),
    "D": (
        "Exam anxiety is a sign that you have an anxiety disorder and probably need medication."
    ),
    "E": (
        "Definitely see a counselor. That is the only thing that will help, and nothing "
        "you do on your own will work."
    ),
    "F": (
        "Try slow breathing and a short walk before you start. "
        "You could try both during a practice exam sometime this week."
    ),
}

Encoding the Criteria

The four hand-assigned columns measure whether the reply suggests a concrete step the reader can take on their own, avoids an unwarranted claim about the individual, refers them to professional support, and treats the request respectfully. A referral counts in its own column. E gets the referral point but does not propose a step the reader can take on their own. A one records that the reply meets a single criterion. The fifth criterion gives a point to a response with at most 40 whitespace-delimited words.

These labels encode judgments you could reasonably challenge. For example, the toy rubric gives C a point for suggesting a step the reader can take on their own even though its proposed action is inappropriate. That disagreement between dimensions helps motivate the aggregation choices.

PythonIn [8]
CollapseExpand
import pandas as pd

# The four semantic criteria are hand-annotated. The ranking comparison
# uses these annotations and the same conciseness flag for every rule.
semantic = pd.DataFrame(
    {
        "actionable": {"A": 0, "B": 1, "C": 1, "D": 0, "E": 0, "F": 1},
        "calibrated": {"A": 1, "B": 1, "C": 0, "D": 0, "E": 0, "F": 1},
        "refers": {"A": 0, "B": 1, "C": 0, "D": 0, "E": 1, "F": 0},
        "respectful": {"A": 0, "B": 1, "C": 1, "D": 1, "E": 1, "F": 1},
    }
)

features = semantic.copy()
features["words"] = {k: len(v.split()) for k, v in candidates.items()}
features["concise"] = (features["words"] <= 40).astype(int)

FEATURES = ["actionable", "calibrated", "refers", "respectful", "concise"]
features = features[FEATURES + ["words"]]
ConsoleOut [9]
CollapseExpand
Mean response length: 23.8 words
Candidates failing conciseness: ['B']

   actionable  calibrated  refers  respectful  concise  words
A           0           1       0           0        1     16
B           1           1       1           1        0     50
C           1           0       0           1        1     20
D           0           0       0           1        1     15
E           0           0       1           1        1     21
F           1           1       0           1        1     21

The four semantic columns and the conciseness flag are binary. The last column is a word count. B is the only reply above the 40-word limit.

Rule 1: Weighted Sum

The weighted score adds the weights of the satisfied criteria. The weights sum to one, so a candidate satisfying all five gets 1 and a candidate satisfying none gets 0. The calculation ranks B at 0.90 and F at 0.85.

PythonIn [10]
CollapseExpand
WEIGHTS = {
    "actionable": 0.35,
    "calibrated": 0.25,
    "refers": 0.15,
    "respectful": 0.15,
    "concise": 0.10,
}


def rank_by_columns(frame, columns, ascending=None):
    """Rank rows 1..n by sorting on columns; rank 1 is the first row."""
    ascending = ascending if ascending is not None else [False] * len(columns)
    order = frame.sort_values(
        columns, ascending=ascending, kind="mergesort"
    ).index
    ranks = pd.Series(np.arange(1, len(order) + 1), index=order)
    return ranks.reindex(frame.index).astype(int)


weighted = sum(features[name] * w for name, w in WEIGHTS.items())
r1 = rank_by_columns(features.assign(score=weighted), ["score"])
ConsoleOut [11]
CollapseExpand
Weighted-sum scores (1.0 = satisfies every criterion):
B    0.90
F    0.85
C    0.60
E    0.40
A    0.35
D    0.25

Rule 2: Referral Priority

This rule puts responses with a referral ahead of those without one, then ranks each group by the weighted score. The display keeps both groups so you can see what changed. E moves from fourth to second despite its low weighted score because the binary referral column is decisive. F moves from second to third.

PythonIn [12]
CollapseExpand
r2 = rank_by_columns(features.assign(score=weighted), ["refers", "score"])
ConsoleOut [13]
CollapseExpand
   weighted_score mentions_professional_support  rank_rule_1  rank_rule_2
B            0.90                           yes            1            1
E            0.40                           yes            4            2
F            0.85                            no            2            3
C            0.60                            no            3            4
A            0.35                            no            5            5
D            0.25                            no            6            6

Rules 3 and 4: Lexicographic Priority

A lexicographic rule breaks ties using criteria in a specified order. For example, one rule tests calibration before looking at the later criteria. The helpfulness-first rule tests actionability first, then calibration, then conciseness. B and F tie on the first two checks in that rule. F wins the next check because it meets the word limit.

PythonIn [14]
CollapseExpand
safety_first = ["calibrated", "respectful", "actionable", "refers", "concise"]
help_first = ["actionable", "calibrated", "concise", "refers", "respectful"]

r3 = rank_by_columns(features, safety_first)
r4 = rank_by_columns(features, help_first)

rank_table = pd.DataFrame(
    {
        "Weighted sum": r1,
        "Referral priority": r2,
        "Lexicographic (safety first)": r3,
        "Lexicographic (help first)": r4,
    }
)
ConsoleOut [15]
CollapseExpand
   Weighted sum  Referral priority  Lexicographic (safety first)  Lexicographic (help first)
B             1                  1                             1                           2
F             2                  3                             2                           1
C             3                  4                             4                           3
E             4                  2                             5                           5
A             5                  5                             3                           4
D             6                  6                             6                           6

Weighted sum                     -> best candidate: B
Referral priority                -> best candidate: B
Lexicographic (safety first)     -> best candidate: B
Lexicographic (help first)       -> best candidate: F

There are fifteen unordered pairs of six candidates. Count a disagreement each time two rules rank the same pair in opposite orders. The largest observed disagreement is four pairs.

PythonIn [16]
CollapseExpand
import itertools


def pairwise_disagreement(left, right):
    """Count candidate pairs ordered differently by two rankings."""
    total = 0
    for a, b in itertools.combinations(left.index, 2):
        total += int(np.sign(left[a] - left[b]) != np.sign(right[a] - right[b]))
    return total


rule_names = list(rank_table.columns)
disagreement = pd.DataFrame(index=rule_names, columns=rule_names, dtype=int)
for i, j in itertools.product(rule_names, repeat=2):
    disagreement.loc[i, j] = pairwise_disagreement(rank_table[i], rank_table[j])
ConsoleOut [17]
CollapseExpand
There are 15 unordered candidate pairs.
Maximum possible disagreements between two rankings: 15

                              Weighted sum  Referral priority  Lexicographic (safety first)  Lexicographic (help first)
Weighted sum                           0.0                2.0                           2.0                         2.0
Referral priority                      2.0                0.0                           4.0                         4.0
Lexicographic (safety first)           2.0                4.0                           0.0                         2.0
Lexicographic (help first)             2.0                4.0                           2.0                         0.0
VisualizationOut [18]
CollapseExpand
Six-by-four heatmap of rankings. B is first in three of four columns and F is first in the last column.
Rank under each aggregation rule over the same six candidates. B ranks first under three rules, while F ranks first under the helpfulness-first rule.

Criterion Definition: What Counts as "Concise"

A word count, a character count, and a count of punctuation-delimited fragments measure different properties of a reply. The toy sentence counter splits on periods, exclamation marks, and question marks. That shortcut can miscount abbreviations or ellipses in ordinary text. The limits here are example rubric choices.

PythonIn [19]
CollapseExpand
definitions = pd.DataFrame(
    {
        "words": {k: len(v.split()) for k, v in candidates.items()},
        "characters": {k: len(v) for k, v in candidates.items()},
        "sentences": {
            k: len(
                [
                    s
                    for s in v.replace("?", ".").replace("!", ".").split(".")
                    if s.strip()
                ]
            )
            for k, v in candidates.items()
        },
    }
)

thresholds = {"words": 40, "characters": 115, "sentences": 2}
passes = pd.DataFrame(
    {
        name: (definitions[name] <= cutoff).astype(int)
        for name, cutoff in thresholds.items()
    }
)
passes["flagged_by"] = passes.apply(
    lambda row: (
        ", ".join(c for c in passes.columns[:3] if row[c] == 0) or "none"
    ),
    axis=1,
)

ordered = features.sort_values("words")
ConsoleOut [20]
CollapseExpand
Candidate length under three operationalizations of 'concise':
   words  characters  sentences  passes_words  passes_characters  passes_sentences             passes_flagged_by
D     15          86          1             1                  1                 1                          none
A     16          87          3             1                  1                 0                     sentences
C     20         111          2             1                  1                 1                          none
E     21         108          2             1                  1                 1                          none
F     21         115          2             1                  1                 1                          none
B     50         284          3             0                  0                 0  words, characters, sentences

Candidates flagged under word budget:    ['B']
Candidates flagged under char budget:    ['B']
Candidates flagged under sentence limit: ['A', 'B']
VisualizationOut [21]
CollapseExpand
Six length bars with reference lines at 40 and 60 words. B falls between the two limits.
Response lengths and two word limits. Moving the limit from 40 to 60 words changes the decision only for B.

Raising the word limit from 40 to 60 changes B's conciseness flag. The other replies already meet the lower limit. Looking at which examples change is more informative than comparing the thresholds in isolation.

Order Effects: Which Flaw Gets Named

Suppose a report names only the first failed criterion in a list. The code enumerates all 5!=1205!=120 ways to order the five criteria while holding the annotations fixed. It counts how often each criterion appears first among the failures for a candidate.

A candidate that passes every criterion has no violation to report. A candidate that fails one criterion yields the same violation every time. If a candidate fails kk criteria, each failed criterion appears first in an equal fraction 1/k1/k of the permutations because reordering the failed criteria is symmetric. This result describes a first-match reporter. It does not establish the order sensitivity of a language model's critique.

PythonIn [22]
CollapseExpand
CANONICAL_ORDER = [
    "calibrated",
    "respectful",
    "actionable",
    "refers",
    "concise",
]
all_orders = list(itertools.permutations(FEATURES))


def first_violation(row, order):
    for name in order:
        if row[name] == 0:
            return name
    return "none"


reports = {
    cand: pd.Series(
        [first_violation(features.loc[cand], order) for order in all_orders]
    )
    for cand in features.index
}
distribution = pd.DataFrame(
    {
        cand: reports[cand].value_counts(normalize=True)
        for cand in features.index
    }
).fillna(0.0)

plot_frame = distribution.loc[(distribution.sum(axis=1) > 0), :]
ConsoleOut [23]
CollapseExpand
Number of criterion orderings examined: 120

  canonical_order reversed_order  distinct_violations_reported
A      respectful         refers                             3
B         concise        concise                             1
C      calibrated         refers                             2
D      calibrated         refers                             3
E      calibrated     actionable                             2
F          refers         refers                             1

Failed criteria per candidate:
A    3
B    1
C    2
D    3
E    2
F    1
VisualizationOut [24]
CollapseExpand
Stacked bars showing which violation is reported. B and F have one band each because they fail one criterion each.
Share of the 120 criterion orderings in which each violation is reported first. For a response with several failed criteria the first-match rule reports different violations depending on the order.

From Rubrics to Preference Pairs: Position Bias

The same pair of answers can appear in either order. Let g=sa−sbg=s_a-s_b be the synthetic evaluator's quality gap and let δ≥0\delta\ge 0 be the advantage given to the first displayed answer. It chooses aa when g+δ>0g+\delta>0 in one order and when g−δ>0g-\delta>0 in the other. Away from ties, the two decisions disagree when ∣g∣<δ\lvert g\rvert<\delta.

If gg is standard normal, the probability of disagreement can be written using its cumulative distribution function Φ\Phi.

P(∣g∣<δ)=Φ(δ)−Φ(−δ)=erf⁡(δ/2).P(\lvert g\rvert<\delta)=\Phi(\delta)-\Phi(-\delta) =\operatorname{erf}(\delta/\sqrt{2}).

The error function is a convenient way to evaluate the normal probability in Python. At a boost of half a standard deviation, the formula predicts about 38.3% disagreement. This rate comes from the synthetic gap distribution.

PythonIn [25]
CollapseExpand
import math

rng = np.random.default_rng(7)
gaps = rng.normal(loc=0.0, scale=1.0, size=200_000)

deltas = np.linspace(0.0, 1.5, 16)
sim_flip = np.array([np.mean(np.abs(gaps) < d) for d in deltas])
theory_flip = np.array([math.erf(d / math.sqrt(2.0)) for d in deltas])
ConsoleOut [26]
CollapseExpand
Boost 0.25 standard deviations: 19.7% order disagreement
Boost 0.50 standard deviations: 38.3% order disagreement
Boost 0.75 standard deviations: 54.7% order disagreement
Boost 1.00 standard deviations: 68.3% order disagreement
VisualizationOut [27]
CollapseExpand
Line for the theoretical disagreement rate and overlaid simulation markers. Both rise as the positional boost increases.
Rate of pairwise disagreement for a synthetic evaluator that adds a fixed score to the first answer. Simulation approaches the probability predicted by the normal-gap model.

For a real pairwise judge, keep the pair and evaluation settings fixed apart from order. A stochastic judge can disagree with itself even in the same order. Repeat each orientation, then compare win rates by orientation alongside same-order variability. Report these measurements separately from agreement with an independent reviewer. Dropping every order-sensitive pair can change which kinds of examples are represented in the retained set.

Key Parameters

  • Weights. The example assigns 0.35 to actionability and 0.25 to calibration. Changing these weights changes how much each criterion contributes to a response's score.
  • Length cutoff. The default counts whitespace-delimited words and awards a point at 40 words or fewer.
  • Criterion order. The lexicographic ranking and the first-match report use lists for different purposes. The former chooses a winner and the latter names a defect.
  • Position boost. The synthetic pairwise judge gives a boost of δ\delta to the first answer. This parameter is measured in standard deviations of the toy quality gap.

Limitations and Impact

An investigation can start by asking which intermediate artifact is wrong. Inspect the written rule and the generated comparison together. Then look at how the learned preference score changes under small edits, such as deleting an unneeded referral sentence. This lets you distinguish a disagreement with the written instruction from a disagreement with the model applying it. A later policy can also exploit a proxy its preference model learned. That calls for evaluating the policy directly, alongside diagnosing its intermediate components.

The Critic Can Misidentify the Problem

A critique can miss a defect, or object to wording that was appropriate. The revision model then operates on a faulty diagnosis. In Section 3.5, Bai et al. compare critiqued revisions with direct revisions. In their experiments the critique helped smaller models on the harmlessness preference-model score. The authors report no noticeable difference for larger models on that comparison and describe some critiques as inaccurate or overstated.

A Written Rule Can Become a Proxy

An evaluator might award a point for mentioning professional support without checking whether that mention fits the request. A policy optimized against the resulting score can learn to repeat the cue. Bai et al. observed overly harsh responses and repeated boilerplate in some longer reinforcement-learning runs. Compare candidate behavior against the original intended outcome, especially when a proxy can be satisfied with a repeated phrase.

Evaluation Needs Separation from Training

A held-out test can answer whether the model generalizes to new prompts. An independent assessment helps answer whether its behavior is useful and appropriate beyond the training judge's score. Keep the two questions distinct when you design the evaluation.

For example, score unauthorized disclosure and useful, permitted assistance independently. Include cases where both checks apply, such as declining to disclose the sister's borrowing history while explaining how to return the books. For pairwise model evaluations, use the order test above and report agreement with human reviewers separately.

Written principles can make the intended behavior easier to inspect. The work of defining the principles, checking how labelers apply them, and measuring model behavior still requires judgment.

Summary

  • Supervised Constitutional AI fine-tunes on revised responses. In the original study the supervised training data also included helpfulness examples.
  • Reinforcement learning from AI feedback uses model judgments to build a reward signal. Bai et al. trained a preference model on human helpfulness comparisons and model-generated harmlessness comparisons.
  • In the rubric experiment, changing the aggregation rule changes rankings while the individual judgments stay fixed. Changing the length threshold can alter which responses pass the conciseness criterion.
  • A first-match reporting rule can name different violations when an answer fails multiple criteria. With a stochastic pairwise judge, repeat each orientation to estimate same-order variability alongside any difference attributable to presentation order.
  • Evaluate what the trained policy does on fresh cases, including how it handles conflicts between useful assistance and a boundary such as account privacy.

References

Quiz

Ready to test your understanding? Take this quick quiz to reinforce what you've learned about constitutional and principle-based alignment.

Constitutional and Principle-Based Alignment

Question 1 of 80 of 8 completed
In the Constitutional AI pipeline described in the chapter, what role does the written constitution play during the supervised stage?
Join the discussionAsk a question or share what you learned.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

A different angle
All writing
Language AI Handbook · Vol. 12

Alignment Robustness and Distribution Shift

Learn how slice weighting, sycophancy tests, reward tampering, and refusal rates reveal where alignment scores transfer to deployment and where they fail.

28 min read
Language AI Handbook · Vol. 12

Scalable Oversight

Learn how scalable oversight keeps AI supervision effective when review is costly or unreliable, covering decomposition, debate, amplification, and weak-to-strong.

58 min read
Language AI Handbook · Vol. 12

Alignment Data Quality and Rater Populations

Learn how rater populations, dependence, and aggregation rules drive alignment preference reversals, plus target-weighted estimates with honest reporting.

28 min read

About the author

Reference

Citation details

Cite or share this article.

BIBTEXAcademic
@misc{brenndoerfer2026constitutionalprinciple, author = {Michael Brenndoerfer}, title = {Constitutional and Principle-Based Alignment}, year = {2026}, url = {https://mbrenndoerfer.com/writing/constitutional-principle-based-alignment-rlaif}, organization = {mbrenndoerfer.com}, note = {Accessed: 2026-12-03} }
APAAcademic
Michael Brenndoerfer (2026). Constitutional and Principle-Based Alignment. Retrieved from https://mbrenndoerfer.com/writing/constitutional-principle-based-alignment-rlaif
MLAAcademic
Michael Brenndoerfer. "Constitutional and Principle-Based Alignment." 2026. Web. December 3, 2026. <https://mbrenndoerfer.com/writing/constitutional-principle-based-alignment-rlaif>.
CHICAGOAcademic
Michael Brenndoerfer. "Constitutional and Principle-Based Alignment." Accessed December 3, 2026. https://mbrenndoerfer.com/writing/constitutional-principle-based-alignment-rlaif.
HARVARDAcademic
Michael Brenndoerfer (2026) 'Constitutional and Principle-Based Alignment'. Available at: https://mbrenndoerfer.com/writing/constitutional-principle-based-alignment-rlaif (Accessed: December 3, 2026).
SimpleBasic
Michael Brenndoerfer (2026). Constitutional and Principle-Based Alignment. https://mbrenndoerfer.com/writing/constitutional-principle-based-alignment-rlaif
Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy