atlas

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

Reasoning as an Adaptive Defense for Safety

NeurIPS 2025 · Large language models › Reasoning and chain of thought · approach: Efficient and adaptive thinking · 0 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 TARS, an RL recipe (lightweight SFT warmstart, mixed harmful/harmless/ambiguous prompts, split safety and helpfulness rewards) that trains small reasoning models to adaptively reason about safety and reduce over-refusal.

Problem

Safety training of LLMs via reasoning often yields degenerate over-refusal, and it is unclear how to design data and rewards so that test-time reasoning improves the safety-refusal trade-off and robustness to jailbreaks.

Approach

Use GRPO on long chain-of-thought with a lightly SFT-warmed-up Qwen-2.5 model, mixing harmful prompts (scored by a moderation API safety reward) with harmless and ambiguous prompts (scored by a preference reward model), so the model reasons per prompt instead of refusing shortcut-style.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Train with RL and reasoning rather than supervised reasoning tracesQwen-2.5-1.5B-Instruct; TARS vs. SFT · GCG, responses with EOTDSR (%): 82.73% > 92.79%Helped
Train with RL and reasoning rather than supervised reasoning tracesQwen-2.5-1.5B-Instruct; TARS vs. SFT · PAIR, responses with EOTDSR (%): 72.97% > 94.45%Helped
Train with RL and reasoning rather than supervised reasoning tracesQwen-2.5-1.5B-Instruct; TARS vs. SFT · GCG, broken-format responsesDSR (%): 78.90% > 83.82%Helped
Use lightweight SFT warmstart instead of heavy SFT (ablation)TARS · Safety-refusal trade-offsafety-refusal trade-offHelped
Use heavy SFT with learning rate 1×10⁻⁴ for 6 epochs instead of lightweight SFT (ablation)TARS · Safety-refusal trade-offsafety-refusal trade-offHurt
Add harmless prompts and task-completion rewards to RL (ablation)TARS · Harmless and ambiguous promptsreasoning lengthHelped
Train on only harmful prompts with a safety reward (ablation)TARS RL training · Harmless promptsrefusalHurt
Add ambiguous OR-Bench prompts rewarded with GRM (ablation)TARS · Ambiguous promptsrefusal rateHelped
Use separate safety and helpfulness rewards instead of one GRM preference reward (ablation)TARS · Safety-refusal trade-offsafety-refusal trade-offHelped
Use GRM directly on harmful prompts instead of mixing harmless prompts with separate rewards (ablation)TARS RL training · Safety-refusal trade-offsafety-refusal trade-offMixed
Mix harmless prompts with a separate helpfulness reward rather than use GRM directly on harmful prompts (ablation)TARS RL training · Safety-refusal trade-offsafety-refusal trade-offHelped
Use RL with reasoning rather than RL without reasoningTARS vs. RL · Safety-refusal trade-offsafety-refusal trade-offHelped

Surprising findings

Limitations

Experimental setup

Datasets: WildJailbreak Aegis AI Content Safety Dataset 2.0 SafeEdit Rainbow Teaming UltraFeedback OR-Bench

Benchmarks: HarmBench XSTest WildChat Sorry-Bench

Metrics: defense success rate (DSR%) refusal rate via StrongReject reasoning and response length SVM margin on UMAP embeddings

Baselines: Llama-RR Mistral-RR RealSafe-R1 SafeChain Deliberative Alignment Llama-3.1-8B-Instruct Llama-3.2-1B-Instruct SFT with reasoning DPO (RPO) RL without reasoning

Builds on: GRPO DeepSeek-R1 Circuit breakers (representation re-routing) RPO Deliberative Alignment

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