Contextual Drag: How Errors in the Context Affect LLM Reasoning
Yun Cheng, Xingyu Zhu, Haoyu Zhao, Sanjeev Arora
TL;DR
Contextual drag reveals a persistent failure mode in large-language-model reasoning: erroneous in-context drafts bias subsequent generations toward similar structural errors, causing 10–20% drops across models and tasks and even self-deterioration in iterative refinement. The study conducts large-scale empirical evaluations across 11 models and 8 benchmarks, introduces structural analysis via tree edit distance, and demonstrates that external signals or post-hoc verification do not fully counteract the bias. Mitigations like test-time context denoising and targeted supervised fine-tuning yield partial improvements but fail to restore clean-slate performance, highlighting fundamental limitations of current reasoning architectures for self-improvement pipelines. The findings underscore the need for principled mechanisms to reset or discount unreliable context to enable reliable multi-step reasoning and safer agent-like behavior in AI systems.
Abstract
Central to many self-improvement pipelines for large language models (LLMs) is the assumption that models can improve by reflecting on past mistakes. We study a phenomenon termed contextual drag: the presence of failed attempts in the context biases subsequent generations toward structurally similar errors. Across evaluations of 11 proprietary and open-weight models on 8 reasoning tasks, contextual drag induces 10-20% performance drops, and iterative self-refinement in models with severe contextual drag can collapse into self-deterioration. Structural analysis using tree edit distance reveals that subsequent reasoning trajectories inherit structurally similar error patterns from the context. We demonstrate that neither external feedback nor successful self-verification suffices to eliminate this effect. While mitigation strategies such as fallback-behavior fine-tuning and context denoising yield partial improvements, they fail to fully restore baseline performance, positioning contextual drag as a persistent failure mode in current reasoning architectures.
