mlsanityData to 14 Oct 2026

Chain-of-Defensive-Thought: Structured Reasoning Elicits Robustness in Large Language Models against Reference Corruption

arXiv 2504.20769 ↗First posted 29 Apr 2025cs.CL cs.AI cs.LGcited by 5

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

  1. 2023GPT-4 Technical Reportcited by 18,396
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  4. 2024Qwen2.5 Technical Reportcited by 4,942
  5. 2023Mistral 7Bcited by 3,164
  6. 2024Qwen2 Technical Reportcited by 2,120
  7. 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,917
  8. 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,839
  9. 2024Yi: Open Foundation Models by 01.AIcited by 719
  10. 2024DeepSeek LLM: Scaling Open-Source Language Models with Longtermismcited by 642
  11. 2024Gemma Scope: Open Sparse Autoencoders Everywhere All At Once on Gemma 2cited by 394
  12. 2024PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Modelscited by 267
5 more
  1. 2024Corrective Retrieval Augmented Generationcited by 197
  2. 2023Poisoning Retrieval Corpora by Injecting Adversarial Passagescited by 159
  3. 2024Certifiably Robust RAG against Retrieval Corruptioncited by 151
  4. 2024InstructRAG: Instructing Retrieval-Augmented Generation via Self-Synthesized Rationalescited by 101
  5. 2024Astute RAG: Overcoming Imperfect Retrieval Augmentation and Knowledge Conflicts for Large Language Modelscited by 58

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 4; 2026: 1.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Fragile Thoughts: How Large Language Models Handle Chain-of-Thought Perturbations
  2. 2024Preemptive Answer "Attacks" on Chain-of-Thought Reasoning
  3. 2026Critical-CoT: A Robust Defense Framework against Reasoning-Level Backdoor Attacks in Large Language Models
  4. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  5. 2026SFCoT: Safer Chain-of-Thought via Active Safety Evaluation and Calibration
  6. 2025Prompt Injection as an Emerging Threat: Evaluating the Resilience of Large Language Models
  7. 2025Thought Purity: A Defense Framework For Chain-of-Thought Attack
  8. 2025Chain-of-Code Collapse: Reasoning Failures in LLMs via Adversarial Prompting in Code Generation