TL;DR
Deliberative Alignment is a way to make a language model follow a written safety policy. Instead of showing the model thousands of human-labelled good and bad answers, the authors give the model the text of the policy, have it write reasoning that cites the relevant rules, keep only the reasoning that a judge model approves, and then train the model to produce that reasoning when the policy is no longer in its prompt. A reinforcement learning stage then rewards answers that a judge model, reading the policy, scores as compliant. The authors used this to align OpenAI's o-series reasoning models, and reported fewer successful jailbreaks and fewer unnecessary refusals than GPT-4o.
Builds on: Reinforcement Learning from Human Feedback (RLHF), Instruction Tuning, Chain-of-Thought Prompting, LLM-as-a-Judge · Leads to: AI Alignment, Scaling LLM Test-Time Compute Optimally
Why it mattered
The paper is a concrete answer to a question every deployed chat model faces: how do you make it obey a long list of safety rules that change over time? Most safety training in this period works by showing examples of good and bad responses and hoping the model generalises the rule behind them. The paper's central claim is that a reasoning model can instead be taught the rule itself and then reason about it, which makes the behaviour easier to check and to update.
The method was applied to OpenAI's o-series models, including o1-preview, o1 and o3-mini, and the paper's safety evaluations of o1 are the source of most of the numbers reported later in this lesson. It also makes a practical point: a judge model that can read a written policy can grade answers against that policy, so the scarce resource shifts toward the policy text and the evaluations, and away from the number of human-labelled completions.
The problem
The authors start from two limits of standard safety training. The first is compute. A model that answers in one pass has a fixed amount of computation per token, and it must decide whether a request is dangerous without deliberating. A request that needs a careful reading of several rules gets the same budget as "what is the capital of France".
The second limit is indirect supervision. In standard SFT followed by RLHF, the rules are never given to the model. They live only in the labels: a person or a rater model looked at a prompt and an answer, and wrote "good" or "bad". The model has to infer the rule from many such labels. That is data-hungry, and it generalises poorly to cases the labels did not cover, including the adversarial prompts that jailbreak attacks rely on. A jailbreak in this sense is a prompt built to make a model comply with a request it should refuse, for example by encoding the request or wrapping it in role-play. A related failure is overrefusal, where a model declines a harmless request that only looks dangerous on the surface.
Two terms the paper uses throughout are worth fixing now. A hard refusal is a short apology and a statement that the model cannot help. A safe completion is an answer that engages with a sensitive request in a limited, safe way, for example giving self-harm support resources instead of a method. The paper's policies say which of these three responses (comply, refuse, or safe-complete) applies to a given kind of request.
How it works
The method has two training stages, and both stages use the same written specification, which the paper calls the spec. Here is the pipeline in the order it runs.
flowchart LR A["Prompts with a safety category"] --> B["Add the category's spec to the prompt"] B --> C["Base reasoning model writes CoT and answer"] C --> D["Judge model with the spec scores each answer k times"] D --> E["Keep answers with a high minimum score; drop the spec"] E --> F["SFT on prompt, CoT, answer without the spec"] F --> G["RL with judge reward on final answers"] G --> H["Deliberative model"]
- Start with prompts that carry a safety category. Each training prompt is tagged with a category such as illicit behaviour or self-harm. The category decides which part of the spec is shown.
- Put the spec in the prompt and let the model reason. For a prompt in the illicit category, the base model is given the original conversation plus the spec for that category and an instruction to cite the relevant parts. It writes a chain of thought (CoT) and a final answer. Because the spec is in the context, the CoT can quote it.
- Judge each completion against the spec. A judge model, also given the spec, scores the completion. The judge runs several times, and a completion's score is the minimum of those runs, because one run may miss a flaw.
- Keep only good completions, then remove the spec. Completions with a high score are kept. The spec is deleted from the prompt, so the stored data is a prompt with no rules in it, followed by reasoning that refers to rules.
- Fine-tune on the stored data (SFT). The model is trained to produce the stored CoT and answer from the bare prompt. The lesson of this step is that the model learns to recall the relevant rules from memory.
- Refine with reinforcement learning. For safety prompts, the model writes a CoT and an answer, and the judge model (with the spec) returns a reward for the answer. The CoT is hidden from the judge, so the training pressure falls on the final answer and not on the reasoning text.
A tiny made-up illustration of step 2, not taken from the paper: a user asks which two household cleaners are dangerous to mix. The augmented prompt includes a rule that safety information is allowed but step-by-step production instructions are not. The model's CoT might read "the policy allows explaining which combinations are dangerous, so I will name them and say to avoid mixing them, but I will not give quantities or a method". Step 4 keeps that reasoning only if the judge agrees it is faithful to the rule. Step 5 then teaches the model to produce similar reasoning when the rule is absent from the prompt.
The math
The paper's method is mostly a data pipeline, so the formal part is mainly notation for the stages above. Write a training prompt as and its safety category as . The spec for that category is . The base model is , the judge is , and a completion has a chain of thought and a final answer .
Step 2 in symbols: generating completions
The base model writes a completion conditioned on the spec:
The "instructions to cite the spec" are the extra text in the augmented prompt. The spec is in the context only here.
Step 3 in symbols: scoring with the minimum over k runs
The judge scores the completion times, each time seeing the prompt, the CoT, the extracted answer and the spec:
The completion's score is the worst of the scores:
Taking the minimum is a deliberately strict rule. A completion counts as good only if no run finds a serious problem. The paper does not publish the threshold it used, so the filter is written only in general form: keep a completion when for some threshold chosen by the authors.
Step 4 in symbols: the stored dataset
Let be the set of kept triples, with the spec removed:
Every element of this set has as the original prompt. The rule text does not appear in .
Step 5 in symbols: supervised fine-tuning
The model is trained with the ordinary SFT objective, which maximises the probability of the stored CoT and answer given the bare prompt:
Because the spec is not in , the only way to raise this probability is for the model to bring the relevant rule into its own reasoning from memory. That is the sense in which the rule is learned.
Step 6 in symbols: the reward
In the RL stage the judge sees the spec and the final answer, but not the CoT. The reward is
and the policy is updated to increase the expected reward over sampled CoTs and answers. The paper states the reward in these terms; the exact RL algorithm and its hyperparameters are not reproduced here.
Results
The paper reports results for OpenAI's own models, so each number below is the paper's measurement, not an independent one. All values are fractions between 0 and 1, where higher is better. For the overrefusal rows, a higher value means fewer refusals of benign requests.
Disallowed content. On the challenging refusal evaluation, which is production traffic that asks for disallowed content, the share judged not unsafe was 0.8 for GPT-4o, 0.934 for o1-preview, 0.9 for o1 and 0.94 for o3-mini. On the toxic WildChat subset, the scores were 0.98, 0.98, 0.99 and 0.98 in the same order. Note that o1-preview is higher than o1 on the challenging refusal set, so the o1 gain is not uniform across the rows.
Response style. On safe completions for self-harm, the score rose from 0.04 for GPT-4o to 0.92 for o1. On safe completions for regulated advice (medical or legal), it rose from 0.28 to 0.65. On hard refusals, the score was 0.72 for GPT-4o and 0.79 for o1. The paper attributes the o1-preview gap on style to a change in the safe-completion guidelines made between the two releases, so o1-preview was scored against a standard it was not trained for.
Jailbreaks. On StrongREJECT, scored as goodness at 0.1 (the safety of the model against the top 10 percent of jailbreak techniques for each prompt), the scores were 0.37 for GPT-4o, 0.66 for o1-preview, 0.88 for o1 and 0.75 for o3-mini. The paper also ran human review on StrongREJECT outputs from o1, Claude 3.5 Sonnet, GPT-4o and Gemini 1.5 Pro. Using 60 forbidden prompts, each transformed by 35 jailbreak techniques (2,100 prompts per model), with 35 trained reviewers and a third expert reviewer for disagreements, the goodness scores were 0.92 for o1, 0.90 for Claude 3.5 Sonnet, 0.35 for GPT-4o and 0.08 for Gemini 1.5 Pro. The authors report that these human results match the automatic evaluations.
Overrefusal. On XSTest, which contains benign prompts that look risky, o1 scored 0.93 against 0.88 for GPT-4o. On the transformation exception set, where a model should translate or analyse disallowed text rather than follow it, the score rose from 0.28 (GPT-4o) to 0.89 (o1).
Policy retrieval. The paper also measured whether the CoT names the right policy. For hard refusals the share rose from 0.27 in the no-safety baseline to 0.75 in the full-data model; for safe completions from 0.21 to 0.91; and for compliance prompts from 0.09 to 0.54. The authors expect the compliance number to be lower, because a permitted request does not need a policy citation.
Out-of-distribution generalisation. The paper tests on encoded jailbreaks (for example base64) and on translated jailbreaks. On the encoding evaluation, the no-safety baseline scored 0.65 (standard error 0.06), the model with no encoded or non-English safety data scored 0.97 (0.02), and the full-data model scored 0.95 (0.03). On the multilingual evaluation, the figures were 0.44 (0.01), 0.69 (0.01) and 0.68 (0.01). The point of the Eng-only row is that a model never trained on encoded or non-English safety examples generalised to them about as well as the full-data model.
Ablations and inference-time compute. On a reduced o1-mini setup, the authors compare no safety training, safety data in SFT only, safety data in RL only, and both. The figure shows that both stages contribute and that the combined setting is best; the text reports these ablations qualitatively. A baseline that places the full spec in the system prompt at inference time learned less safe behaviour than the trained model, especially on style. The paper gives a reason: each category's detailed policy spans 5,000 to 10,000 tokens, and all of them together would exceed the model's context window. The paper also reports that the StrongREJECT score and the regulated-advice style score improve as the model is given more reasoning compute.
Limits. The evaluations are the authors' own benchmarks plus public sets, and the policies are OpenAI's policies, so the method has been shown in one setting. The judge is itself a reasoning model, and the paper notes that automatic grading was confused on compositional jailbreaks, which is why it added human review. The paper does not measure how the method behaves with a different policy. It also gives no formal guarantee that the reasoning is faithful; the authors list monitoring chains of thought for deception as future work.
Reading guide
Read the paper in this order. Each section names the prerequisite lessons it leans on.
- Section 1, Introduction. The two limits of standard training and the two-stage idea. Needs Reinforcement Learning from Human Feedback (RLHF) and Instruction Tuning.
- Section 2.1, Overview. The notation , and . Needs Chain-of-Thought Prompting.
- Section 2.2, Safety specifications. Read it as a list of policy categories and the three response types. The term System Prompt is used for where the spec is inserted.
- Section 2.3, SFT stage. Generation, quality filtering with the minimum over runs, and fine-tuning without the spec. Needs Fine-Tuning and LLM-as-a-Judge.
- Section 2.4, RL training. The judge reward and why the CoT is hidden from the judge. Needs Reinforcement Learning from Human Feedback (RLHF) and Reward Model. For the contrast between reward on steps and reward on final answers, see Process Reward Model.
- Section 3, Results. Table 1 and the figures of example CoTs. Needs Red Teaming for the jailbreak vocabulary.
- Section 4, Science of deliberate alignment. Ablations, policy retrieval (Table 2) and out-of-distribution tests (Table 3). Needs In-Context Learning for the comparison with putting the spec in context.
- Section 5, Related work. Compare with Constitutional AI: Harmlessness from AI Feedback and Direct Preference Optimization. Those two sections explain why the spec is used in a different place.
Check yourself
QuestionIn one sentence, what does the model see during training in step 5 that it does not see at deployment, and why does that matter?Show answer
In step 5 the model is trained on prompts with the spec removed, so the stored CoT and answer must be produced from memory. At deployment the spec is also absent, so the model must already carry the relevant rules. The stored data is therefore the mechanism by which the rules move from the prompt into the weights.
QuestionThe judge scores a completion three times and the scores are 0.9, 0.4 and 0.8. What is the completion's score S under the minimum rule, and why might the authors prefer this to the average?Show answer
S = min(0.9, 0.4, 0.8) = 0.4. The minimum rule keeps the completion only if no run finds a serious problem. The average would be 0.7 and would hide the 0.4 run, which the authors argue is exactly the failure they want to catch, since one run may overlook a flaw.
QuestionUsing the StrongREJECT figures in the Results section, by how much did goodness at 0.1 rise from GPT-4o to o1, and what fraction of the gap does o1 close relative to a perfect score of 1?Show answer
The rise is 0.88 minus 0.37, which is 0.51. The gap to a perfect 1.0 for GPT-4o is 0.63; o1 closes 0.51 of it, that is 0.51 divided by 0.63, about 0.81 of the gap.
QuestionA team wants to put a company's full, 8,000-token policy into the system prompt of a deployed chat model instead of training on it. Using the paper's ablation, what would you expect, and what would you check first?Show answer
The paper's baseline with the full spec at inference time learned less safe behaviour than the trained model, particularly on response style, and the authors argue that embedding policies in training is more reliable. Before choosing, check whether the policy fits the context window alongside the conversation, and measure style adherence and refusals on held-out prompts for both options.
Sources
- Guan et al., "Deliberative Alignment: Reasoning Enables Safer Language Models", arXiv 2412.16339 (2024): https://arxiv.org/abs/2412.16339
- Bai et al., "Constitutional AI: Harmlessness from AI Feedback", arXiv 2212.08073 (2022): https://arxiv.org/abs/2212.08073
- Souly et al., "A StrongREJECT for Empty Jailbreaks", arXiv 2402.10260 (2024): https://arxiv.org/abs/2402.10260