atlas

Research map / Large language models / Reasoning and chain of thought

STAIR: Improving Safety Alignment with Introspective Reasoning

ICML 2025 · Large language models › Reasoning and chain of thought · approach: Test-time compute scaling · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes STAIR, which teaches LLMs structured chain-of-thought safety reasoning, then iteratively improves safety via step-level DPO on data from a safety-informed MCTS with a theoretically derived reward, and trains a process reward model for test-time search.

Problem

Safety alignment via direct refusals is shallow and easily bypassed by jailbreak attacks, and existing methods suffer safety-helpfulness trade-offs.

Approach

Integrates introspective step-by-step safety reasoning into alignment: a safety-informed reward (R = S*H + 2S, derived from three properties) guides MCTS over reasoning steps, producing stepwise preference pairs for iterative DPO without external annotation, plus a PRM for best-of-N and beam search at inference.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add structured CoT alignment and three SI-MCTS preference-optimization iterationsLLaMA-3.1-8B-Instruct · StrongRejectgoodness score: 0.4054 -> 0.8798Helped
Add structured CoT alignment and three SI-MCTS preference-optimization iterationsQwen-2-7B-Instruct · StrongRejectgoodness score: 0.3808 -> 0.8486Helped
Add structured CoT alignment and three SI-MCTS preference-optimization iterationsLLaMA-3.1-8B-Instruct · AlpacaEvalwinning rate against GPT-4: 25.55% -> 38.66%Helped
Add structured CoT alignment and three SI-MCTS preference-optimization iterationsLLaMA-3.1-8B-Instruct · GSM8kaccuracy: 85.60% -> 87.64%Helped
Add structured CoT alignment and three SI-MCTS preference-optimization iterationsLLaMA-3.1-8B-Instruct · GSM8kaccuracy: 85.60% -> 87.64%Hurt
Use stepwise rather than full-trajectory preference data (ablation)STAIR-SFT on LLaMA-3.1-8B-Instruct · StrongRejectgoodness score: 0.6663 -> 0.6955Helped
Use stepwise rather than full-trajectory preference data (ablation)STAIR-SFT on LLaMA-3.1-8B-Instruct · AlpacaEvalwinning rate against GPT-4: 32.87% -> 34.48%Helped
Train iteratively across three self-improvement rounds rather than on the full dataset in one iteration (ablation)STAIR on LLaMA-3.1-8B-Instruct · StrongRejectgoodness score: 0.7342 -> 0.8798Helped
Train iteratively across three self-improvement rounds rather than repeat first-split data for 3× epochs (ablation)STAIR on LLaMA-3.1-8B-Instruct · StrongRejectgoodness score: 0.6745 -> 0.8798Helped
Use PRM Best-of-4 inference (ablation)STAIR-SFT on LLaMA-3.1-8B-Instruct · AlpacaEvalwinning rate against GPT-4: 30.02% -> 30.95%Helped
Use self-rewarding Best-of-4 inference instead of PRM Best-of-4 (ablation)STAIR-DPO-1 on LLaMA-3.1-8B-Instruct · AlpacaEvalwinning rate against GPT-4: 33.11% -> 32.03%Hurt
Change the safety-informed reward form among the tested alternatives (ablation)STAIR-SFT on LLaMA-3.1-8B-Instruct · StrongRejectgoodness score: 0.6712; 0.6633; 0.6753; 0.6688No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: PKU-SafeRLHF JailbreakV-28k UltraFeedback StrongReject XSTest WildChat Do-Not-Answer SimpleQA InfoFlow AdvGLUE GSM8K AlpacaEval 2.0

Benchmarks: StrongReject XSTest WildChat Do-Not-Answer Stereotype SimpleQA InfoFlow AdvGLUE GSM8K AlpacaEval 2.0 BIG-bench HHH

Metrics: goodness score refusal rate accuracy winning rate correlation coefficient

Baselines: CoT prompting SFT DPO SACPO Self-Rewarding GPT-4o Claude-3 Claude-3.5 Qwen-Max Gemini-1.5 DeepSeek-R1 LLaMA-o1

Builds on: DPO Self-Rewarding SACPO Monte Carlo Tree Search chain-of-thought

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy