mlsanityData to 7 Oct 2026

Finding and Reactivating Post-Trained LLMs' Hidden Safety Mechanisms

arXiv 2604.00012 ↗First posted 10 Mar 2026cs.CL cs.AIcited by 2

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

Abstract (arXiv)

Despite the impressive performance of general-purpose large language models (LLMs), they often require fine-tuning or post-training to excel at specific tasks. For instance, large reasoning models (LRMs), such as the DeepSeek-R1 series, demonstrate strong reasoning capabilities after post-training different general large language models on diverse chain-of-thought (CoT) datasets. However, this additional training frequently comes at the cost of reduced safety, as the fine-tuned or post-trained models tend to exhibit more harmful behaviors compared with the regular LLMs before post-training or fine-tuning, potentially leading to harmful outcomes due to their enhanced capabilities. Taking LRMs as an example, we first investigate the underlying cause of this safety degradation in this paper. Our analysis reveals that post-training can mask the original safety mechanisms of the base LLM, while over-amplifying representations related to their post-training ability. But luckily, we also find that LRMs' safety mechanisms still exist instead of being removed during their post-training. Based on these findings, we propose a lightweight and cost-effective solution called SafeReAct that restores the suppressed safety behaviors by aligning with LoRA adapters on a few layers. Experiments on four state-of-the-art LRMs show that our method significantly improves safety on harmful prompts without compromising reasoning performance. Besides LRMs, additional results on other domain-specific LLMs, like medical models, further confirm the generality and effectiveness of our approach.

Key facts. Cited by 2 papers 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 48 of its 53 references that are in the map. First posted on arXiv 10 Mar 2026.

Builds on

48 of 53 references.

Closest ancestors · 4

Same direction, newest first

  1. 2025Excessive Reasoning Attack on Reasoning LLMs17 Jun
  2. 2025The Hidden Risks of Large Reasoning Models: A Safety Assessment of R118 Feb
  3. 2025SafeChain: Safety of Language Models with Long Chain-of-Thought Reasoning Capabilities17 Feb
  4. 2025Are Smarter LLMs Safer? Exploring Safety-Reasoning Trade-offs in Prompting and Fine-Tuning13 Feb

Other references · 44

  1. 2023GPT-4 Technical Reportcited by 18,132
  2. 2024The Llama 3 Herd of Modelscited by 14,192
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  4. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  5. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  6. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,146
  7. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  8. 2024GPT-4o System Cardcited by 4,467
  9. 2023Let's Verify Step by Stepcited by 3,598
  10. 2023Qwen Technical Reportcited by 3,273
  11. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
  12. 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,359
32 more
  1. 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,330
  2. 2025s1: Simple test-time scalingcited by 1,311
  3. 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,239
  4. 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!cited by 1,106
  5. 2023A Simple and Effective Pruning Approach for Large Language Modelscited by 776
  6. 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Modelscited by 738
  7. 2019Adversarial Training for Free!cited by 638
  8. 2024JailbreakBench: An Open Robustness Benchmark for Jailbreaking Large Language Modelscited by 494
  9. 2025LIMO: Less is More for Reasoningcited by 488
  10. 2023XSTest: A Test Suite for Identifying Exaggerated Safety Behaviours in Large Language Modelscited by 477
  11. 2023Jailbreak and Guard Aligned Language Models with Only Few In-Context Demonstrationscited by 401
  12. 2024Improving Alignment and Robustness with Circuit Breakerscited by 302
  13. 2024SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decodingcited by 233
  14. 2023Multilingual Jailbreak Challenges in Large Language Modelscited by 222
  15. 2024Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modificationscited by 220
  16. 2024Safe LoRA: the Silver Lining of Reducing Safety Risks when Fine-tuning Large Language Modelscited by 122
  17. 2024InferAligner: Inference-Time Alignment for Harmlessness through Cross-Model Guidancecited by 78
  18. 2024FlipAttack: Jailbreak LLMs via Flippingcited by 73
  19. 2024UltraMedical: Building Specialized Generalists in Biomedicinecited by 67
  20. 2024Fight Back Against Jailbreaking via Prompt Adversarial Tuningcited by 63
  21. 2024A Theoretical Understanding of Self-Correction through In-context Alignmentcited by 43
  22. 2025I Have Covered All the Bases Here: Interpreting Reasoning Features in Large Language Models via Sparse Autoencoderscited by 43
  23. 2024Jailbreaking Large Language Models Against Moderation Guardrails via Cipher Characterscited by 39
  24. 2025SaLoRA: Safety-Alignment Preserved Low-Rank Adaptationcited by 39
  25. 2024Locking Down the Finetuned LLMs Safetycited by 22
  26. 2024Generated Data with Fake Privacy: Hidden Dangers of Fine-tuning Large Language Models on Generated Datacited by 21
  27. 2025G1: Teaching LLMs to Reason on Graphs with Reinforcement Learningcited by 14
  28. 2024Beyond Interpretability: The Gains of Feature Monosemanticity on Model Robustnesscited by 13
  29. 2025Adjacent Words, Divergent Intents: Jailbreaking Large Language Models via Task Concurrencycited by 13
  30. 2025JADES: A Universal Framework for Jailbreak Assessment via Decompositional Scoringcited by 12
  31. 2025Stabilizing Reasoning in Medical LLMs with Continued Pretraining and Reasoning Preference Optimizationcited by 4
  32. 2021Pareto Adversarial Robustness: Balancing Spatial Robustness and Sensitivity-based Robustnesscited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025LLM Post-Training: A Deep Dive into Reasoning Large Language Models
  2. 2025STAR-1: Safer Alignment of Reasoning LLMs with 1K Data
  3. 2026Beyond Safe Data: Pretraining-Stage Alignment with Regular Safety Reflection
  4. 2025How Should We Enhance the Safety of Large Reasoning Models: An Empirical Study
  5. 2025Beyond SFT: Reinforcement Learning for Safer Large Reasoning Models with Better Reasoning Ability
  6. 2026Towards Safer Large Reasoning Models by Promoting Safety Decision-Making before Chain-of-Thought Generation
  7. 2025SafeRBench: Dissecting the Reasoning Safety of Large Language Models
  8. 2025Safety Tax: Safety Alignment Makes Your Large Reasoning Models Less Reasonable