Reasoning as an Adaptive Defense for Safety
摘要
Reasoning methods that adaptively allocate test-time compute have advanced LLM performance on easy to verify domains such as math and code. In this work, we study how to utilize this approach to train models that exhibit a degree of robustness to safety vulnerabilities, and show that doing so can provide benefits. We build a recipe called (Training Adaptive Reasoners for Safety), a reinforcement learning (RL) approach that trains models to reason about safety using chain-of-thought traces and a reward signal that balances safety with task completion. To build TARS, we identify three critical design choices: (1) a ``lightweight''warmstart SFT stage, (2) a mix of harmful, harmless, and ambiguous prompts to prevent shortcut behaviors such as too many refusals, and (3) a reward function to prevent degeneration of reasoning capabilities during training. Models trained with TARS exhibit adaptive behaviors by spending more compute on ambiguous queries, leading to better safety-refusal trade-offs. They also internally learn to better distinguish between safe and unsafe prompts and attain greater robustness to both white-box (e.g., GCG) and black-box attacks (e.g., PAIR). Overall, our work provides an effective, open recipe for training LLMs against jailbreaks and harmful requests by reasoning per prompt.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Submodular Optimization for Minimal Augmentation in Robust Language Model Alignment 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- Submodular Optimization for Minimal Augmentation in Robust Language Model Alignment 引用了 Training language models to follow instructions with human feedback
- Direct Preference Optimization: Your Language Model is Secretly a Reward Model 引用了 Training language models to follow instructions with human feedback
- Mitigating the Safety–Utility Trade-off in LLM Alignment via Adaptive Safe Context Learning 引用了 Let's Verify Step by Step
- Let's Verify Step by Step 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Let's Verify Step by Step 引用了 Training language models to follow instructions with human feedback
- AutoRAN: Automated Hijacking of Safety Reasoning in Large Reasoning Models 引用了 HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal
- AutoRAN: Automated Hijacking of Safety Reasoning in Large Reasoning Models 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Towards Safe Reasoning in Large Reasoning Models via Corrective Intervention 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- Towards Safe Reasoning in Large Reasoning Models via Corrective Intervention 引用了 Let's Verify Step by Step
- Towards Safe Reasoning in Large Reasoning Models via Corrective Intervention 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Chain-of-Thought Prompting Elicits Reasoning in Large Language Models 引用了 Training language models to follow instructions with human feedback
引用它的顶会 Paper5
- Constitutional Classifiers++: Efficient Production-Grade Defenses against Universal JailbreaksHoagy Cunningham, Jerry Wei, Zihan Wang, Andrew Persic 等ICLR 2026 · 39 次引用
- Towards Safe Reasoning in Large Reasoning Models via Corrective InterventionYichi Zhang, Yue Ding, Jingwen Yang, Tianwei Luo 等ICLR 2026 · 13 次引用
- Mitigating the Safety–Utility Trade-off in LLM Alignment via Adaptive Safe Context LearningYanbo Wang, Minzheng Wang, Jian Liang, Lu Wang 等ICML 2026 · 3 次引用
- AutoRAN: Automated Hijacking of Safety Reasoning in Large Reasoning ModelsJiacheng Liang, Tanqiu Jiang, Yuhui Wang, Rongyi Zhu 等ACL 2026 · 3 次引用
- Submodular Optimization for Minimal Augmentation in Robust Language Model AlignmentCHING-CHIA KAO, Chia-Mu Yu, Chun-Shien Lu, Chu-song ChenICML 2026
它引用的 Paper32
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida 等NeurIPS 2022 · 24,707 次引用
- Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma 等NeurIPS 2022 · 22,562 次引用
- Direct Preference Optimization: Your Language Model is Secretly a Reward ModelRafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning 等NeurIPS 2023 · 10,924 次引用
- Let's Verify Step by StepHunter Lightman, Vineet Kosaraju, Yuri Burda, Harrison Edwards 等ICLR 2024 · 3,045 次引用
- HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust RefusalMantas Mazeika, Long Phan, Xuwang Yin, Andy Zou 等ICML 2024 · 1,031 次引用
相关 Paper
- Safety Reasoning with GuidelinesHaoyu Wang, Zeyu Qin, Li Shen, Xueqian Wang 等ICML 2025
- Endless Jailbreaks with Bijection LearningBrian R. Y. Huang, Maximilian Li, Leonard TangICLR 2025
- Safety is Not Only About Refusal: Reasoning-Enhanced Fine-tuning for Interpretable LLM SafetyYuyou Zhang, Miao Li, William Han, Yihang Yao 等ACL Findings 2025 · 5 次引用
- Thinking Twice Makes Large Language Models Safer and More HelpfulYutao Mou, Yuxiao Luo, Shikun Zhang, Wei YeACL Findings 2026
- The Alignment Waltz: Jointly Training Agents to Collaborate for SafetyJingyu Zhang, Haozhu Wang, Eric Michael Smith, Sid Wang 等ICLR 2026 · 11 次引用
