NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

AdvChain: Adversarial Chain-of-Thought Tuning for Robust Safety Alignment of Large Reasoning Models

Zihao Zhu, Xinyu Wu, Gehan Hu, Siwei Lyu, Ke Xu, Baoyuan Wu · DOI

Introduction

Large Reasoning Models (LRMs) like DeepSeek-R1 and Qwen3 leverage Chain-of-Thought (CoT) processing to solve complex tasks. While effective for reasoning, this sequential process introduces a vulnerability: the "snowball effect." A single flawed thought can amplify throughout the reasoning chain, leading to either harmful outputs or unnecessary refusals. This paper introduces AdvChain, an adversarial tuning paradigm that builds "cognitive immunity" by training models to recognize and correct their own reasoning errors.

The Snowball Effect in Reasoning

Standard safety alignment often relies on "Safety CoT Tuning," where models imitate perfect, error-free reasoning paths. However, this makes models fragile. If a model deviates slightly from the "perfect" path—perhaps by briefly rationalizing a harmful request—it lacks the mechanism to recover.

Figure 1: Visualization of the Snowball Effect, where minor reasoning deviations escalate into harmful outputs or over-refusals.

Empirical analysis shows that harmful outputs rarely begin as such. Instead, they often start with safe analysis but rapidly escalate in later steps. Similarly, helpful processes can be derailed by minor safety hesitations, leading to over-refusal of benign prompts.

Methodology: AdvChain

To address this, AdvChain shifts the focus from imitation to correction. The core of the method is the construction of an adversarial training dataset consisting of two types of samples:

  1. Temptation-Correction (T-C) Samples: These samples start with a "temptation" step where the model begins to justify a harmful request, followed by a "correction" step that refutes the logic and returns to a safe refusal.
  2. Hesitation-Correction (H-C) Samples: For benign inputs, these samples include a "hesitation" step (unnecessary safety concern) followed by a correction that recognizes the prompt's legitimacy.
Figure 3: Overview of Adversarial Safety Reasoning Dataset Construction and the Adversarial CoT Tuning process.

By fine-tuning on these self-correcting trajectories, the model learns to break the "cognitive inertia" of flawed reasoning.

Experimental Results

AdvChain was evaluated using a highly efficient dataset of just 1,000 samples (800 T-C and 200 H-C). Despite the small data scale, it achieved state-of-the-art results:

  • Robust Safety: On the WildJailbreak-AdvHarm benchmark, AdvChain-tuned DeepSeek-R1-7B reduced the Attack Success Rate (ASR) to 9.00%, significantly outperforming STAR-1 (17.33%) and SafeChain (24.00%).
  • CoT-Hijack Deflection: In a new benchmark where reasoning prefixes are manipulated to favor compliance, AdvChain models maintained safety (9.33% ASR) while conventional models collapsed (e.g., STAR-1 at 54.67% ASR).
  • Reduced Over-Refusal: On XSTest, AdvChain dropped the Over-Refusal Rate (ORR) to 18.00%, compared to 42.00% for STAR-1, proving that robustness does not require hyper-defensiveness.
  • Preserved Utility: Performance on standard reasoning benchmarks like Math-500 and AIME 2024 remained on par with base models.

Conclusion

AdvChain demonstrates that teaching models how to recover from mistakes is more effective than simply teaching them to be perfect. By injecting adversarial "temptations" and "hesitations" into the training process, researchers can create LRMs that are both safer and more helpful, achieving high data efficiency without sacrificing core reasoning capabilities.

Summary updated

BibTeX
@inproceedings{zhu2026advchain,
  author = {Zihao Zhu and Xinyu Wu and Gehan Hu and Siwei Lyu and Ke Xu and Baoyuan Wu},
  title = {{AdvChain: Adversarial Chain-of-Thought Tuning for Robust Safety Alignment of Large Reasoning Models}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=mIe17L3kWn},
}
Figure