Adaptive and Explicit safe: Triggering Latent Safety Awareness in Large Reasoning Models

Ke Miao, Jiaxin Li, Hongliang Chen, Yuke Hu, Zhan QinarXiv 2026

TL;DR

Large Reasoning Models (LRMs) often fall for sophisticated jailbreaks during standard generation, but they possess a "latent safety awareness" that activates when they review their own reasoning. This paper introduces Safe Trigger, a self-bootstrapped training method (SFT + DPO) that teaches models to adaptively insert a structured <safe> analysis tag before their final response, drastically reducing jailbreak success rates without harming general performance or requiring manual data annotation.

What Problem Does This Paper Address?

While Large Reasoning Models (like DeepSeek-R1) excel at complex, multi-step thinking, their extended reasoning capabilities can inadvertently amplify harmful outputs or make them vulnerable to clever jailbreak attacks.

Traditional safety alignment relies heavily on expensive, human-annotated datasets or API calls to powerful closed-source models to teach the model what is safe. Furthermore, aggressive safety tuning often introduces a "safety tax"—degrading the model's core reasoning abilities or causing "over-refusal" (where the model mistakenly rejects completely benign prompts).

The authors tackle a fundamental question: Can we unlock a model's internal safety capabilities using its own reasoning, without relying on external data or sacrificing performance?

Methods

The authors discovered a fascinating phenomenon: if an LRM successfully bypasses its safety guardrails and generates a harmful response, but is then re-presented with the original query alongside its own reasoning trajectory, it can successfully identify the safety risk post-hoc. This is termed Latent Safety Awareness.

To exploit this dormant capability during standard inference, they propose Safe Trigger, a two-stage, entirely self-consistent training pipeline:

  1. Safe Trigger SFT (Supervised Fine-Tuning): The model is trained to adaptively insert a structured <safe> ... </safe> block between its reasoning (<think>) and its final answer. This block forces the model to perform a core issue safety analysis, review its own reasoning process, and generate guidance for a safe final answer. Crucially, for benign queries, this tag is omitted entirely, ensuring the mechanism is adaptive.
  2. Safe Trigger DPO (Direct Preference Optimization): To ensure the safety analysis actually guides the final output effectively, the authors use DPO. They generate multiple responses from the model, score them using a custom reward function based on four binary indicators (final answer safety, presence of the tag, safety consideration in reasoning, and analysis comprehensiveness), and optimize the model on these self-generated preference pairs.
[Query] -> [<think> Reasoning] -> [<safe> Adaptive Safety Audit </safe>] -> [Safe Final Answer]

Datasets

The entire pipeline is self-bootstrapped, meaning the model acts as its own teacher to generate training data based on existing open-source prompt sets:

  • SFT Training: 30k instances evenly split (10k each) from UltraFeedback (general), PKU-SafeRLHF (harmful), and WildJailbreak (jailbreak).
  • DPO Training: 20k adversarial harmful queries from WildJailbreak (disjoint from the SFT set).
  • Evaluation Benchmarks:
  • Harmful Tasks: AdvBench, HexPHI, XsTest (Unsafe subset).
  • Jailbreak Tasks: WildJailbreak test set, Multi-Step Jailbreak (MSJ), Persuasion Adversarial Prompts (PAP).
  • General Capabilities: ARC, DROP, Winogrande (Wino).
  • Over-Refusal: XsTest (Safe subset).

Key Insights and Ideas

  • The Dormant Safety Guard: LRMs inherently "know" when a prompt is unsafe, but this awareness remains dormant during standard forward-pass generation. Forcing a structured post-reasoning review step effectively unlocks this latent capability.
  • Adaptive Triggering Avoids the "Safety Tax": Instead of forcing a safety check on every single query—which wastes compute and annoys users—the model learns to selectively invoke the <safe> tag only when it detects a risk.
  • Confidence via Entropy Reduction: Token entropy analysis revealed that the Safe Trigger approach significantly reduces uncertainty in the first few tokens of the final response. This means the model makes highly confident, stable decisions to pivot away from harmful content.

Key Results

The authors evaluated their method across several models, including Qwen3 and DeepSeek-R1-Distill variants, yielding impressive safety gains:

  • Jailbreak and Harm Deflection: For DeepSeek-R1-Distill-Llama-8B, the Attack Success Rate (ASR) dropped by an average of 24.65% on harmful benchmarks and 36.72% on jailbreak benchmarks compared to the base model.
  • Zero Performance Degradation: General capabilities (measured via ARC, DROP, and Wino) remained virtually identical to the baseline models, outperforming alternative LRM safety methods like Star1 and SafePath.
  • Low Over-Refusal: The over-refusal rate on benign queries stayed remarkably low (e.g., dropping to 2.40% for the 8B model after DPO), proving the model doesn't just become blindly defensive.
  • Concise Overhead: While the SFT stage added longer safety justifications, the DPO stage optimized the <safe> block to be concise and targeted, resulting in minimal inference token overhead.

Limitations and Future Work

  • Reasoning Dependency: This method relies on the model having a baseline level of reasoning capability to perform the self-audit. It is highly effective for LRMs but may be less applicable to smaller, standard LLMs that lack a dedicated reasoning/thinking phase.
  • Adaptive Adversaries: The authors do not deeply explore whether an adversary could specifically craft a jailbreak designed to manipulate or bypass the generation of the <safe> tag itself. Future work will likely need to test the robustness of the trigger mechanism against targeted "tag-evasion" attacks.

Summary updated

BibTeX
@misc{miao2026adaptive,
  author = {Ke Miao and Jiaxin Li and Hongliang Chen and Yuke Hu and Zhan Qin},
  title = {{Adaptive and Explicit safe: Triggering Latent Safety Awareness in Large Reasoning Models}},
  year = {2026},
  eprint = {2606.16808},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.16808},
}

Loading related content...

Figure