Skip to main content
QUICK REVIEW

[Paper Review] Deliberative Alignment: Reasoning Enables Safer Language Models

Melody Y. Guan, Manas Joglekar|arXiv (Cornell University)|Dec 20, 2024
Natural Language Processing TechniquesComputer Science9 citations
TL;DR

Deliberative Alignment trains LLMs to explicitly reason over safety specifications before answering, achieving precise policy adherence and improvements in robustness and generalization without human-labeled data.

ABSTRACT

As large-scale language models increasingly impact safety-critical domains, ensuring their reliable adherence to well-defined principles remains a fundamental challenge. We introduce Deliberative Alignment, a new paradigm that directly teaches the model safety specifications and trains it to explicitly recall and accurately reason over the specifications before answering. We used this approach to align OpenAI's o-series models, and achieved highly precise adherence to OpenAI's safety policies, without requiring human-written chain-of-thoughts or answers. Deliberative Alignment pushes the Pareto frontier by simultaneously increasing robustness to jailbreaks while decreasing overrefusal rates, and also improves out-of-distribution generalization. We demonstrate that reasoning over explicitly specified policies enables more scalable, trustworthy, and interpretable alignment.

Motivation & Objective

  • Address safety shortcomings in large language models (LMMs) by introducing deliberative alignment that enables explicit reasoning over safety specifications before output.
  • Achieve precise adherence to OpenAI’s safety policies without relying on human-written chain-of-thoughts or labeled outputs.
  • Demonstrate improvements in robustness to jailbreaks, reductions in over-refusal, and better out-of-distribution generalization.

Proposed method

  • Define safety specifications for multiple categories (e.g., erotic content, self-harm, regulated advice).
  • Create spec-conditioned prompts to generate chain-of-thoughts (CoTs) that reference safety policies.
  • Use two-stage training: supervised fine-tuning on spec-referenced CoTs, followed by reinforcement learning with a policy-aware reward model.
  • Remove explicit spec prompts during SFT so the model recalls safety policies from memory.
  • Evaluate with internal and external safety benchmarks and ablations to assess policy adherence and generalization.
Figure 2: Main safety results . The o1 models advance the Pareto frontier of refusing to answer malicious jailbreak prompts (from StrongREJECT [ 12 ] ) and not over-refusing benign prompts (from XSTest [ 13 ] ), compared to GPT-4o and other state-of-the-art LLMs. Error bars represent estimates of st
Figure 2: Main safety results . The o1 models advance the Pareto frontier of refusing to answer malicious jailbreak prompts (from StrongREJECT [ 12 ] ) and not over-refusing benign prompts (from XSTest [ 13 ] ), compared to GPT-4o and other state-of-the-art LLMs. Error bars represent estimates of st

Experimental results

Research questions

  • RQ1Can explicit reasoning over safety specifications improve adherence to safety policies in LLMs?
  • RQ2Does deliberative alignment reduce both under-refusal and over-refusal compared to baseline safety approaches?
  • RQ3How well does the approach generalize to out-of-distribution safety scenarios?
  • RQ4What is the contribution of process supervision versus outcome-based RL in safety performance?
  • RQ5How does the method fare against jailbreaks and in-presence of adversarial prompts?

Key findings

  • Deliberative alignment achieves precise specification adherence without human-labeled outputs.
  • The o-series models show Pareto-frontier improvements by reducing both refusals and jailbreak vulnerability compared to GPT-4o and other models.
  • The approach improves generalization to out-of-distribution safety scenarios.
  • Process supervision provides a strong prior, while outcome-based RL refines safety reasoning.
  • Hard refusals, safe completions, and transformation cases show improved style and safety adherence.
Figure 3: Illustration of overall methodology. Key processes are shown along the bottom of the figure. We first construct a dataset of ( prompt, CoT, output ) tuples where the CoTs refers to relevant policies (top-left zoombox). We collect these by prompting a reasoning model $G_{base}$ with safety
Figure 3: Illustration of overall methodology. Key processes are shown along the bottom of the figure. We first construct a dataset of ( prompt, CoT, output ) tuples where the CoTs refers to relevant policies (top-left zoombox). We collect these by prompting a reasoning model $G_{base}$ with safety

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.