RAPO: Risk-Aware Preference Optimization for Generalizable Safe Reasoning
On the map: LLM reasoning → Reasoning for agents, planning and code
also in 2 more
Abstract (arXiv)
Large Reasoning Models (LRMs) have achieved tremendous success with their chain-of-thought (CoT) reasoning, yet also face safety issues similar to those of basic language models. In particular, while algorithms are designed to guide them to deliberately refuse harmful prompts with safe reasoning, this process often fails to generalize against diverse and complex jailbreak attacks. In this work, we attribute these failures to the generalization of the safe reasoning process, particularly their insufficiency against complex attack prompts. We provide both theoretical and empirical evidence to show the necessity of a more sufficient safe reasoning process to defend against advanced attack prompts. Building on this insight, we propose a Risk-Aware Preference Optimization (RAPO) framework that enables LRM to adaptively identify and address the safety risks with appropriate granularity in its thinking content. Extensive experiments demonstrate that RAPO successfully generalizes multiple LRMs' safe reasoning adaptively across diverse attack prompts whilst preserving general utility, contributing a robust alignment technique for LRM safety. Our code is available at https://github.com/weizeming/RAPO.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 24 of its 51 references that are in the map. First posted on arXiv 4 Feb 2026.
Builds on
24 of 51 references.
Closest ancestors · 14
Same direction, newest first
- 2025Towards Safe Reasoning in Large Reasoning Models via Corrective Intervention29 Sep
- 2025Reasoning as an Adaptive Defense for Safety1 Jul
- 2025Safety in Large Reasoning Models: A Survey24 Apr
- 2025RealSafe-R1: Safety-Aligned DeepSeek-R1 without Compromising Reasoning Capability14 Apr
- 2025SaRO: Enhancing LLM Safety through Reasoning-based Alignment13 Apr
- 2025STAR-1: Safer Alignment of Reasoning LLMs with 1K Data2 Apr
- 2025A Mousetrap: Fooling Large Reasoning Models for Jailbreak with Chain of Iterative Chaos19 Feb
- 2025H-CoT: Hijacking the Chain-of-Thought Safety Reasoning Mechanism to Jailbreak Large Reasoning Models, Including OpenAI o1/o3, DeepSeek-R1, and Gemini 2.0 Flash Thinking18 Feb
- 2025The Hidden Risks of Large Reasoning Models: A Safety Assessment of R118 Feb
- 2025SafeChain: Safety of Language Models with Long Chain-of-Thought Reasoning Capabilities17 Feb
- 2025STAIR: Improving Safety Alignment with Introspective Reasoning4 Feb
- 2025Trading Inference-Time Compute for Adversarial Robustness31 Jan
2 more
Other references · 10
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
- 2025Qwen3 Technical Reportcited by 8,195
- 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,326
- 2025Towards Large Reasoning Models: A Survey of Reinforced Reasoning with Large Language Modelscited by 291
- 2024SORRY-Bench: Systematically Evaluating Large Language Model Safety Refusalcited by 224
- 2024Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modificationscited by 220
- 2022Why Can GPT Learn In-Context? Language Models Implicitly Perform Gradient Descent as Meta-Optimizerscited by 204
- 2024Towards Understanding Safety Alignment: A Mechanistic Perspective from Safety Neuronscited by 47
- 2025Strata-Sword: A Hierarchical Safety Evaluation towards LLMs based on Reasoning Complexity of Jailbreak Instructionscited by 11
- 2025Mitigating Jailbreaks with Intent-Aware LLMscited by 4
Built on by
Citing papers per year: 2026: 1.
1 paper.
- 2026Do Thinking Tokens Help with Safety?cited by 3
- 2026Do Thinking Tokens Help with Safety?23 Jun 2026
Similar, not cited
Close in wording, no citation either way
- 2025Reasoning-to-Defend: Safety-Aware Reasoning Can Defend Large Language Models from Jailbreaking
- 2026Adaptive and Explicit safe: Triggering Latent Safety Awareness in Large Reasoning Models
- 2025RAJ-PGA: Reasoning-Activated Jailbreak and Principle-Guided Alignment Framework for Large Reasoning Models
- 2026SafeThinker: Reasoning about Risk to Deepen Safety Beyond Shallow Alignment
- 2025SAFEPATH: Preventing Harmful Reasoning in Chain-of-Thought via Early Alignment
- 2025SafeRBench: Dissecting the Reasoning Safety of Large Language Models
- 2025ARMOR: Aligning Secure and Safe Large Language Models via Meticulous Reasoning
- 2025Safety is Not Only About Refusal: Reasoning-Enhanced Fine-tuning for Interpretable LLM Safety