Chain-of-Defensive-Thought: Structured Reasoning Elicits Robustness in Large Language Models against Reference Corruption
On the map: LLM reasoning → Reasoning for agents, planning and code
Abstract (arXiv)
Chain-of-thought prompting has demonstrated great success in facilitating the reasoning abilities of large language models. In this work, we explore how these enhanced reasoning abilities can be exploited to improve the robustness of large language models in tasks that are not necessarily reasoning-focused. In particular, we show how a wide range of large language models exhibit significantly improved robustness against reference corruption using a simple method called chain-of-defensive-thought, where only a few exemplars with structured and defensive reasoning are provided as demonstrations. Empirically, the improvements can be astounding, especially given the simplicity and applicability of the method. For example, in the Natural Questions task, the accuracy of GPT-4o degrades from 60% to as low as 3% with standard prompting when 1 out of 10 references provided is corrupted with prompt injection attacks. In contrast, GPT-4o using chain-of-defensive-thought prompting maintains an accuracy of 50%.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 17 of its 29 references that are in the map. First posted on arXiv 29 Apr 2025.
Builds on
17 of 29 references.
References · 17
- 2023GPT-4 Technical Reportcited by 18,396
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2024Qwen2.5 Technical Reportcited by 4,942
- 2023Mistral 7Bcited by 3,164
- 2024Qwen2 Technical Reportcited by 2,120
- 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,917
- 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,839
- 2024Yi: Open Foundation Models by 01.AIcited by 719
- 2024DeepSeek LLM: Scaling Open-Source Language Models with Longtermismcited by 642
- 2024Gemma Scope: Open Sparse Autoencoders Everywhere All At Once on Gemma 2cited by 394
- 2024PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Modelscited by 267
5 more
- 2024Corrective Retrieval Augmented Generationcited by 197
- 2023Poisoning Retrieval Corpora by Injecting Adversarial Passagescited by 159
- 2024Certifiably Robust RAG against Retrieval Corruptioncited by 151
- 2024InstructRAG: Instructing Retrieval-Augmented Generation via Self-Synthesized Rationalescited by 101
- 2024Astute RAG: Overcoming Imperfect Retrieval Augmentation and Knowledge Conflicts for Large Language Modelscited by 58
Built on by
Citing papers per year: 2025: 4; 2026: 1.
5 papers.
- 2025A Comprehensive Survey on Trustworthiness in Reasoning with Large Language Modelscited by 25
- 2025BadThink: Triggered Overthinking Attacks on Chain-of-Thought Reasoning in Large Language Modelscited by 8
- 2025Bounds of Chain-of-Thought Robustness: Reasoning Steps, Embed Norms, and Beyondcited by 2
- 2025A Real-Time, Self-Tuning Moderator Framework for Adversarial Prompt Detectioncited by 0
- 2026Implicit Reasoning Steering via Concept Chainingcited by 0
- 2026Implicit Reasoning Steering via Concept Chaining15 Jul 2026
- 2025BadThink: Triggered Overthinking Attacks on Chain-of-Thought Reasoning in Large Language Models13 Nov 2025
- 2025Bounds of Chain-of-Thought Robustness: Reasoning Steps, Embed Norms, and Beyond25 Sep 2025
- 2025A Comprehensive Survey on Trustworthiness in Reasoning with Large Language Models4 Sep 2025
- 2025A Real-Time, Self-Tuning Moderator Framework for Adversarial Prompt Detection10 Aug 2025
Similar, not cited
Close in wording, no citation either way
- 2026Fragile Thoughts: How Large Language Models Handle Chain-of-Thought Perturbations
- 2024Preemptive Answer "Attacks" on Chain-of-Thought Reasoning
- 2026Critical-CoT: A Robust Defense Framework against Reasoning-Level Backdoor Attacks in Large Language Models
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- 2026SFCoT: Safer Chain-of-Thought via Active Safety Evaluation and Calibration
- 2025Prompt Injection as an Emerging Threat: Evaluating the Resilience of Large Language Models
- 2025Thought Purity: A Defense Framework For Chain-of-Thought Attack
- 2025Chain-of-Code Collapse: Reasoning Failures in LLMs via Adversarial Prompting in Code Generation