Chain-of-Defensive-Thought: Structured reasoning improves large language models' robustness against reference contaminationChain-of-Defensive-Thought: Structured Reasoning Elicits Robustness in Large Language Models against Reference Corruption
AI summary
The researchers propose a prompting method called chain-of-defensive-thought, which leverages chain-of-thought-enhanced reasoning ability; with only a few demonstrations showing structured, defensive reasoning, it enables multiple large language models to significantly improve robustness to reference content contamination on tasks that are not centered on reasoning. In the Natural Questions task, when 1 of the 10 provided references is contaminated by a prompt injection attack, GPT-4o's accuracy under standard prompting drops from 60% to as low as 3%, whereas with chain-of-defensive-thought prompting it still maintains 50% accuracy. The authors call the method's improvement astonishing and describe it as simple and broadly applicable.