Finding and Reactivating Post-Trained LLMs' Hidden Safety Mechanisms
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
- 2025Excessive Reasoning Attack on Reasoning LLMs17 Jun
- 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
- 2025Are Smarter LLMs Safer? Exploring Safety-Reasoning Trade-offs in Prompting and Fine-Tuning13 Feb
Other references · 44
- 2023GPT-4 Technical Reportcited by 18,132
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,146
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2024GPT-4o System Cardcited by 4,467
- 2023Let's Verify Step by Stepcited by 3,598
- 2023Qwen Technical Reportcited by 3,273
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
- 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,359
32 more
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,330
- 2025s1: Simple test-time scalingcited by 1,311
- 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,239
- 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!cited by 1,106
- 2023A Simple and Effective Pruning Approach for Large Language Modelscited by 776
- 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Modelscited by 738
- 2019Adversarial Training for Free!cited by 638
- 2024JailbreakBench: An Open Robustness Benchmark for Jailbreaking Large Language Modelscited by 494
- 2025LIMO: Less is More for Reasoningcited by 488
- 2023XSTest: A Test Suite for Identifying Exaggerated Safety Behaviours in Large Language Modelscited by 477
- 2023Jailbreak and Guard Aligned Language Models with Only Few In-Context Demonstrationscited by 401
- 2024Improving Alignment and Robustness with Circuit Breakerscited by 302
- 2024SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decodingcited by 233
- 2023Multilingual Jailbreak Challenges in Large Language Modelscited by 222
- 2024Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modificationscited by 220
- 2024Safe LoRA: the Silver Lining of Reducing Safety Risks when Fine-tuning Large Language Modelscited by 122
- 2024InferAligner: Inference-Time Alignment for Harmlessness through Cross-Model Guidancecited by 78
- 2024FlipAttack: Jailbreak LLMs via Flippingcited by 73
- 2024UltraMedical: Building Specialized Generalists in Biomedicinecited by 67
- 2024Fight Back Against Jailbreaking via Prompt Adversarial Tuningcited by 63
- 2024A Theoretical Understanding of Self-Correction through In-context Alignmentcited by 43
- 2025I Have Covered All the Bases Here: Interpreting Reasoning Features in Large Language Models via Sparse Autoencoderscited by 43
- 2024Jailbreaking Large Language Models Against Moderation Guardrails via Cipher Characterscited by 39
- 2025SaLoRA: Safety-Alignment Preserved Low-Rank Adaptationcited by 39
- 2024Locking Down the Finetuned LLMs Safetycited by 22
- 2024Generated Data with Fake Privacy: Hidden Dangers of Fine-tuning Large Language Models on Generated Datacited by 21
- 2025G1: Teaching LLMs to Reason on Graphs with Reinforcement Learningcited by 14
- 2024Beyond Interpretability: The Gains of Feature Monosemanticity on Model Robustnesscited by 13
- 2025Adjacent Words, Divergent Intents: Jailbreaking Large Language Models via Task Concurrencycited by 13
- 2025JADES: A Universal Framework for Jailbreak Assessment via Decompositional Scoringcited by 12
- 2025Stabilizing Reasoning in Medical LLMs with Continued Pretraining and Reasoning Preference Optimizationcited by 4
- 2021Pareto Adversarial Robustness: Balancing Spatial Robustness and Sensitivity-based Robustnesscited by 2
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2025LLM Post-Training: A Deep Dive into Reasoning Large Language Models
- 2025STAR-1: Safer Alignment of Reasoning LLMs with 1K Data
- 2026Beyond Safe Data: Pretraining-Stage Alignment with Regular Safety Reflection
- 2025How Should We Enhance the Safety of Large Reasoning Models: An Empirical Study
- 2025Beyond SFT: Reinforcement Learning for Safer Large Reasoning Models with Better Reasoning Ability
- 2026Towards Safer Large Reasoning Models by Promoting Safety Decision-Making before Chain-of-Thought Generation
- 2025SafeRBench: Dissecting the Reasoning Safety of Large Language Models
- 2025Safety Tax: Safety Alignment Makes Your Large Reasoning Models Less Reasonable