Papers
Topics
Authors
Recent
Search
2000 character limit reached

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

Published 29 Apr 2025 in cs.CL, cs.AI, and cs.LG | (2504.20769v1)

Abstract: Chain-of-thought prompting has demonstrated great success in facilitating the reasoning abilities of LLMs. In this work, we explore how these enhanced reasoning abilities can be exploited to improve the robustness of LLMs in tasks that are not necessarily reasoning-focused. In particular, we show how a wide range of LLMs 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%.

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.

Collections

Sign up for free to add this paper to one or more collections.

Tweets

Sign up for free to view the 6 tweets with 26 likes about this paper.