mlsanityData to 14 Oct 2026

Reasoned Safety Alignment: Ensuring Jailbreak Defense via Answer-Then-Check

arXiv 2509.11629 ↗First posted 15 Sep 2025cs.LG cs.AIcited by 6

On the map: LLM reasoning → Reasoning for agents, planning and code

also in 2 more
Abstract (arXiv)

As large language models (LLMs) continue to advance in capabilities, ensuring their safety against jailbreak attacks remains a critical challenge. In this paper, we introduce a novel safety alignment approach called Answer-Then-Check, which enhances LLM robustness against malicious prompts by applying thinking ability to mitigate jailbreaking problems before producing a final answer to the user. Our method enables models to answer the question in their thoughts directly and then critically evaluate its safety before deciding whether to provide it. To implement this approach, we construct the Reasoned Safety Alignment (ReSA) dataset, comprising 80K samples that teach models to reason through direct responses and then analyze their safety. Experimental results demonstrate that our approach achieves the Pareto frontier with superior safety capability while decreasing over-refusal rates. Notably, the fine-tuned model maintains general reasoning capabilities on benchmarks like MMLU, MATH500, and HumanEval. Besides, our method equips models with the ability to perform safe completion, while post-hoc detection methods can only directly reject sensitive, harmful queries (e.g., self-harm). Our results show that inference-time strategies alone are insufficient, highlighting the necessity of safety training, and we find even 500 samples can yield performance comparable to the entire dataset, suggesting a promising path for data-efficient safety alignment. The dataset is publicly available at: https://huggingface.co/datasets/ByteDance-Seed/ReSA.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 54 of its 58 references that are in the map. First posted on arXiv 15 Sep 2025.

Builds on

54 of 58 references.

Closest ancestors · 6

Same direction, newest first

  1. 2025RealSafe-R1: Safety-Aligned DeepSeek-R1 without Compromising Reasoning Capability14 Apr
  2. 2025SafeChain: Safety of Language Models with Long Chain-of-Thought Reasoning Capabilities17 Feb
  3. 2025STAIR: Improving Safety Alignment with Introspective Reasoning4 Feb
  4. 2025GuardReasoner: Towards Reasoning-based LLM Safeguards30 Jan
  5. 2024Deliberative Alignment: Reasoning Enables Safer Language Models20 Dec
  6. 2024How Johnny Can Persuade LLMs to Jailbreak Them: Rethinking Persuasion to Challenge AI Safety by Humanizing LLMs12 Jan

Other references · 48

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
  4. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  5. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  6. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
  7. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
  8. 2024Qwen2.5 Technical Reportcited by 4,942
  9. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,720
  10. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
  11. 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 2,057
  12. 2025Gemma 3 Technical Reportcited by 1,824
36 more
  1. 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,651
  2. 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,429
  3. 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,420
  4. 2025s1: Simple test-time scalingcited by 1,341
  5. 2025Kimi k1.5: Scaling Reinforcement Learning with LLMscited by 1,210
  6. 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,207
  7. 2024Tulu 3: Pushing Frontiers in Open Language Model Post-Trainingcited by 1,053
  8. 2022Red Teaming Language Models to Reduce Harms: Methods, Scaling Behaviors, and Lessons Learnedcited by 729
  9. 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automaticallycited by 672
  10. 2023Safe RLHF: Safe Reinforcement Learning from Human Feedbackcited by 656
  11. 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 651
  12. 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Promptscited by 560
  13. 2023XSTest: A Test Suite for Identifying Exaggerated Safety Behaviours in Large Language Modelscited by 505
  14. 2025LIMO: Less is More for Reasoningcited by 498
  15. 2024Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attackscited by 486
  16. 2024Safety Alignment Should Be Made More Than Just a Few Tokens Deepcited by 472
  17. 2023Detecting Language Model Attacks with Perplexitycited by 431
  18. 2023Safety-Tuned LLaMAs: Lessons From Improving the Safety of Large Language Models that Follow Instructionscited by 387
  19. 2024A StrongREJECT for Empty Jailbreakscited by 385
  20. 2023DeepInception: Hypnotize Large Language Model to Be Jailbreakercited by 367
  21. 2023A Wolf in Sheep's Clothing: Generalized Nested Jailbreak Prompts can Fool Large Language Models Easilycited by 259
  22. 2024ShieldGemma: Generative AI Content Moderation Based on Gemmacited by 243
  23. 2023Red-Teaming Large Language Models using Chain of Utterances for Safety-Alignmentcited by 223
  24. 2024WildTeaming at Scale: From In-the-Wild Jailbreaks to (Adversarially) Safer Language Modelscited by 223
  25. 2024AutoDAN-Turbo: A Lifelong Agent for Strategy Self-Exploration to Jailbreak LLMscited by 199
  26. 2023Defending Against Alignment-Breaking Attacks via Robustly Aligned LLMcited by 192
  27. 2023Defending Large Language Models Against Jailbreaking Attacks Through Goal Prioritizationcited by 170
  28. 2024AutoDefense: Multi-Agent LLM Defense against Jailbreak Attackscited by 145
  29. 2024Marco-o1: Towards Open Reasoning Models for Open-Ended Solutionscited by 144
  30. 2024On Prompt-Driven Safeguarding for Large Language Modelscited by 116
  31. 2024O1 Replication Journey -- Part 2: Surpassing O1-preview through Simple Distillation, Big Progress or Bitter Lesson?cited by 92
  32. 2024Navigating the OverKill in Large Language Modelscited by 44
  33. 2024Can Language Models Perform Robust Reasoning in Chain-of-thought Prompting with Noisy Rationales?cited by 41
  34. 2024Backtracking Improves Generation Safetycited by 32
  35. 2024Large Language Models Can Self-Improve in Long-context Reasoningcited by 29
  36. 2025From Passive to Active Reasoning: Can Large Language Models Ask the Right Questions under Incomplete Information?cited by 23

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 4.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Reasoning-to-Defend: Safety-Aware Reasoning Can Defend Large Language Models from Jailbreaking
  2. 2025SAID: Safety-Aware Intent Defense via Prefix Probing for Large Language Models
  3. 2026LLM-VA: Resolving the Jailbreak-Overrefusal Trade-off via Vector Alignment
  4. 2025Enhancing Model Defense Against Jailbreaks with Proactive Safety Reasoning
  5. 2025ARMOR: Aligning Secure and Safe Large Language Models via Meticulous Reasoning
  6. 2024Immune: Improving Safety Against Jailbreaks in Multi-modal LLMs via Inference-Time Alignment
  7. 2025SafeBehavior: Simulating Human-Like Multistage Reasoning to Mitigate Jailbreak Attacks in Large Language Models
  8. 2026STAR-S: Improving Safety Alignment through Self-Taught Reasoning on Safety Rules