BadReasoner: Planting Tunable Overthinking Backdoors into Large Reasoning Models for Fun or Profit
Large reasoning models (LRMs), defined by their extensive chain-of-thought (CoT) reasoning capabilities, have emerged as a significant advancement in artificial intelligence. In this paper, we identify a previously unexplored attack vector against LRMs, which we term "overthinking backdoors". We advance this concept by proposing a novel tunable backdoor, which moves beyond simple on/off attacks to one where an attacker can precisely control the extent of the model’s reasoning verbosity. Our attack is implemented through a novel data poisoning methodology. It pairs a tunable trigger (where the number of repetitions signals the desired intensity) with a correspondingly verbose CoT response. These responses are programmatically generated by instructing a teacher LLM to inject a controlled number of redundant refinement steps into a correct reasoning process. The approach preserves output correctness, which ensures stealth and establishes the attack as a pure resource-consumption vector. Extensive empirical results on various LRMs demonstrate that our method can reliably trigger a controllable, multi-fold increase in the length of the reasoning process, without degrading the final answer’s correctness. Code is available at https://github.com/FZaKK/BadReasoner.
Authors
- Zekun Fei (ORCID: https://orcid.org/0000-0001-6475-685X)
- Jianing Geng
- Lihai Nie (ORCID: https://orcid.org/0000-0001-8569-3739)
- Zheli Liu (ORCID: https://orcid.org/0000-0002-2984-2661)
- Yiming Li (ORCID: https://orcid.org/0000-0001-9408-6631)
- Tong Li (ORCID: https://orcid.org/0000-0003-2748-794X)
- Biao Yi
Institutions
- Nanyang Technological University (SG)
- Nankai University (CN)
- State Key Laboratory of Cryptology (CN)
Publication Details
- Published
- 2026-04-21
- DOI
- https://doi.org/10.1109/icassp55912.2026.11462875
- Primary Topic
- Video Analysis and Summarization
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China
- China Postdoctoral Science Foundation