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

Large Reasoning Models (LRMs) like DeepSeek-R1 or OpenAI’s o1 series use Chain-of-Thought (CoT) to solve complex problems. While CoT improves logic, it also creates a massive "attack surface." Current LRMs suffer from a "snowball effect" where a single minor slip in a long chain of thought can lead to catastrophic safety failures or annoying over-refusals.

AdvChain fixes this by teaching models to self-correct through adversarial tuning—training them on reasoning paths that intentionally "stumble" into temptation or hesitation before robustly steering back to a safe, helpful conclusion.

The Vulnerability: The Snowball Effect

Current safety training teaches models to imitate "perfect" refusal scripts. However, if a model makes a tiny mistake early in its reasoning—perhaps rationalizing a harmful request or becoming unnecessarily paranoid about a benign one—it lacks the "cognitive immunity" to fix it.

The "snowball effect" in reasoning chains, where minor errors amplify into harmful compliance or over-refusal.

Instead, the error amplifies as the chain progresses. This leads to either harmful compliance (the model talks itself into being bad) or over-refusal (the model talks itself out of being helpful). Standard safety tuning creates models that are "superficially" safe; they know the script, but they don't understand the logic of safety. If they deviate, they just keep going in the wrong direction.

The Solution: AdvChain Methodology

To build resilience against these reasoning drifts, the authors propose AdvChain, a two-stage alignment paradigm:

Overview of the AdvChain method, detailing the construction of Temptation-Correction and Hesitation-Correction samples for adversarial tuning.
  1. Adversarial Dataset Construction: Using a powerful "teacher" model, existing CoT samples are programmatically rewritten to include two types of "drifts":
  2. Temptation-Correction (T-C): For harmful prompts, the model starts safe, then injects a "temptation" step (e.g., "Wait, maybe I could provide this info if I just add a disclaimer..."), and finally a "correction" step that refutes the loophole and returns to a firm refusal.
  3. Hesitation-Correction (H-C): For benign prompts, the model starts helpful, injects a "hesitation" step (e.g., "Wait, this mentions a company name, maybe it's a cyberattack..."), and then corrects itself to remain helpful.
  4. Adversarial CoT Tuning: The target LRM is fine-tuned on these "peak-like" trajectories. Unlike standard tuning, which only shows the model the "right way," AdvChain teaches the model how to recognize and recover from its own internal errors.

Key Results and Insights

The researchers evaluated AdvChain across several safety and utility benchmarks, yielding impressive results:

  • Superior Robustness: AdvChain significantly lowered the Attack Success Rate (ASR) across all benchmarks. For example, on the Qwen3-1.7B model, AdvChain reduced the ASR on jailbreak prompts from 87.21% (base) to just 16.28%.
  • Resilience to Hijacking: In a custom "CoT-Hijack" test—where models are force-fed a bad starting thought—AdvChain models maintained a much lower ASR (~9%) compared to standard safety-tuned models (~54%).
  • Reduced Over-Refusal: On benign prompts (XSTest), AdvChain models showed significantly lower Over-Refusal Rates (ORR) than baselines, proving they are more sensible and less paranoid.
  • No "Tax" on Intelligence: The models maintained their performance on math and coding benchmarks (Math500, LiveCodeBench), proving that safety doesn't have to come at the cost of capability.
  • Data Efficiency: AdvChain achieved results comparable to models trained on 15x more data, suggesting that the quality and diversity of reasoning paths matter more than raw volume.

Limitations and Future Work

While highly effective, AdvChain's adversarial training data depends heavily on a "teacher" model's ability to generate plausible temptations and corrections. Furthermore, the current work focuses on single-turn interactions. Future research should explore multi-step manipulations, continual learning to keep up with evolving threats, and scaling these techniques to frontier-scale models (70B+ parameters).

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