When Thinking Fails: The Pitfalls of Reasoning for Instruction-Following in LLMs

Xiaomin Li, Zhou Yu, Zhiwei Zhang, Xupeng Chen, Ziji Zhang, Yingying Zhuang, Narayanan Sadagopan, Anurag Beniwal

Abstract

Reasoning-enhanced large language models (RLLMs), whether explicitly trained for reasoning or prompted via chain-of-thought (CoT), have achieved state-of-the-art performance on many complex reasoning tasks. However, this research uncovers a surprising phenomenon: explicit CoT reasoning can significantly degrade instruction-following accuracy. Evaluating 15 models on IFEval and ComplexBench, we consistently observe performance drops when CoT prompting is applied. Through attention-based analysis, we show that CoT reasoning often diverts attention away from instruction-relevant tokens. We propose mitigation strategies, including selective reasoning, which can substantially recover lost performance.

Introduction

In the race to build "Reasoning LLMs" (RLLMs) like OpenAI’s o1 or DeepSeek-R1, the industry has largely assumed that more reasoning is always better. However, a critical gap exists: the impact of explicit reasoning on instruction following—the ability to adhere to specific constraints like "don't use commas," "write exactly 400 words," or "output only JSON." This study investigates the "reasoning-induced failure" phenomenon, exploring why a model capable of solving complex logic might fail a simple formatting rule just because it was told to "think step-by-step."

Methodology

The researchers evaluated 15 models (including Llama 3, Mistral, Claude 3.7, and DeepSeek-R1) across two modes: Base (direct answer) and CoT (reasoning before answering). Two primary benchmarks were used:

  • IFEval: 541 prompts with simple, rule-verifiable constraints (e.g., word counts).
  • ComplexBench: 1,150 instructions with compositional logic and nested constraints.

To quantify model focus, the authors introduced Constraint Attention, measuring attention scores directed at prompt tokens related to specific constraints (identified via GPT-4o).

The Attention Flattening Effect

The most striking finding is that CoT reasoning literally distracts the model. Quantitative analysis shows that when a model reasons, its attention toward constraint-related tokens in the prompt drops significantly. The model becomes so focused on "high-level content planning" that it neglects "mechanical constraints."

Comparison of attention patterns between Base and CoT models across various instruction constraints.

This "thinking" preamble can be a trap. In some cases, the model follows rules in the final answer but violates them in the "Thinking" block (e.g., using a forbidden comma while thinking), which can lead to an overall failure if the evaluator considers the entire output.

Key Results and Mitigation

Performance degradation was nearly universal: 13 out of 14 models saw drops on IFEval, and every single model declined on ComplexBench. For example, Meta-Llama-3-8B-Instruct’s accuracy plummeted from 75.2% to 59.0% when forced to reason. Analysis shows that the average attention drop is markedly higher in failed (LOSE) cases compared to successful (WIN) ones.

Average attention drop across different model layers, comparing successful (WIN) and failed (LOSE) instruction-following instances.

To mitigate these effects, the authors tested four strategies:

  1. Few-Shot In-Context Learning (ICL): Providing examples of successful constraint adherence.
  2. Self-Reflection: Asking the model to critique and revise its own answer.
  3. Self-Selective Reasoning: Letting the model decide if it needs to reason.
  4. Classifier-Selective Reasoning: Using an external classifier to predict whether CoT or a direct response will yield better results.

Classifier-Selective Reasoning proved most effective, allowing models to recover most of the lost performance by accurately predicting when to skip the reasoning phase.

Conclusion

While reasoning helps with formatting and lexical precision, it often hurts by introducing "helpful" but prohibited content or over-focusing on content at the expense of constraints. This "reasoning tax" suggests that more reasoning is not always better for instruction-following, and selective reasoning strategies are essential for maintaining performance.

Summary updated

Abstract

Reasoning-enhanced large language models (RLLMs), whether explicitly trained for reasoning or prompted via chain-of-thought (CoT), have achieved state-of-the-art performance on many complex reasoning tasks. However, we uncover a surprising and previously overlooked phenomenon: explicit CoT reasoning can significantly degrade instruction-following accuracy. Evaluating 15 models on two benchmarks: IFEval (with simple, rule-verifiable constraints) and ComplexBench (with complex, compositional constraints), we consistently observe performance drops when CoT prompting is applied. Through large-scale case studies and an attention-based analysis, we identify common patterns where reasoning either helps (e.g., with formatting or lexical precision) or hurts (e.g., by neglecting simple constraints or introducing unnecessary content). We propose a metric, constraint attention, to quantify model focus during generation and show that CoT reasoning often diverts attention away from instruction-relevant tokens. To mitigate these effects, we introduce and evaluate four strategies: in-context learning, self-reflection, self-selective reasoning, and classifier-selective reasoning. Our results demonstrate that selective reasoning strategies, particularly classifier-selective reasoning, can substantially recover lost performance. To our knowledge, this is the first work to systematically expose reasoning-induced failures in instruction-following and offer practical mitigation strategies.
BibTeX
@inproceedings{li2025when,
  author = {Xiaomin Li and Zhou Yu and Zhiwei Zhang and Xupeng Chen and Ziji Zhang and Yingying Zhuang and Narayanan Sadagopan and Anurag Beniwal},
  title = {{When Thinking Fails: The Pitfalls of Reasoning for Instruction-Following in LLMs}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=w5uUvxp81b},
}
Figure