Revisiting Chain-of-Thought Prompting: Zero-shot Can Be Stronger than Few-shot

Yong Liu (刘勇), Xiang Cheng, Chengyan Pan, Minjun Zhao, Deyang Li, Fangchao Liu, Xinyu Zhang, Xiao Zhang, Yong LiuarXiv 2025 · DOI · arXiv

Abstract

Since the inception of Chain-of-Thought (CoT) prompting, the prevailing consensus in the AI community has been that few-shot examples are essential for maximizing the reasoning capabilities of Large Language Models (LLMs). This paper challenges that paradigm, demonstrating that for modern, instruction-tuned models, Zero-shot CoT can match or even exceed the performance of Few-shot CoT. Through a series of systematic evaluations and ablation studies, we show that the perceived superiority of few-shot prompting is largely an artifact of evaluation bias and that exemplars in the context of "expert" models serve primarily as format guides rather than logical templates.

Introduction

In 2022, the introduction of Chain-of-Thought (CoT) prompting revolutionized how we interact with LLMs, establishing a clear hierarchy: Few-shot CoT (providing worked examples) was significantly more effective than Zero-shot CoT (simple instructions like "Let's think step by step"). However, the landscape of foundation models has shifted dramatically. Current frontier models, such as Qwen2.5 and Llama 3, undergo extensive instruction tuning and have likely internalized vast amounts of reasoning data during pre-training.

This study investigates whether the traditional reliance on In-Context Learning (ICL) remains justified for these high-capability models. We hypothesize that as models become "experts" in reasoning, the marginal utility of few-shot examples diminishes, and in some cases, these examples may even introduce unnecessary noise or consume valuable context window space without providing cognitive benefits.

The Evaluation Bias: "Zero-shot-fixed"

A critical discovery in our research is that Zero-shot CoT has been historically undervalued due to rigid evaluation frameworks. Many standard benchmarks, such as those in OpenCompass, utilize scripts that expect a specific answer format (e.g., a trailing number). Modern models often produce more sophisticated, LaTeX-formatted outputs, such as wrapping the final answer in \boxed{}.

When these models are prompted in a zero-shot setting, they may fail to match the script's expected pattern, leading to a false negative. Conversely, few-shot examples implicitly teach the model to follow the script's preferred formatting. By introducing a "Zero-shot-fixed" evaluation method—which accounts for these formatting variations—we found that the performance gap between zero-shot and few-shot prompting largely vanishes for top-tier models.

The Format Alignment Hypothesis

To understand what models actually learn from exemplars, we conducted a series of ablation studies using "Noisy Exemplars." We tested models by replacing the content of few-shot examples with gibberish, shuffling words into nonsense, or replacing the entire reasoning chain with placeholders like "xxx," while maintaining only the final formatting phrase (e.g., "So the answer is...").

Our findings support the Format Alignment Hypothesis: for strong models, the primary value of an exemplar is stylistic. The models do not rely on the logic provided in the examples to solve the problem; they already possess the internal logic. Instead, they use the examples to understand how the user wants the answer presented. On GSM8K, Qwen2.5-72B achieved 95.83% in a Zero-shot-fixed setting, slightly outperforming its 8-shot performance of 95.75%. Remarkably, even when the logic in the examples was replaced with complete nonsense, performance remained stable, indicating that the model was relying on its internal reasoning capabilities.

Why Strong Models Ignore Examples

We utilized attention visualization to map the weights of models during the reasoning process. The results revealed that high-capability models exhibit "lazy" attention toward few-shot exemplars. During the generation of a reasoning chain, these models focus almost exclusively on the current question and the immediate instructions, effectively ignoring the provided examples in the context window.

This behavior mirrors human expertise. A novice learner requires worked examples to understand a new strategy (the "Few-shot" stage). However, an expert who has already internalized the strategy finds worked examples redundant and may even find them distracting. Modern LLMs have reached a level of "internalized CoT" where the tutorial provided by few-shot examples is no longer necessary.

Experimental Results

Our analysis spanned models from 0.5B to 72B parameters across several benchmarks:

  • GSM8K & MATH: On these primary mathematical reasoning benchmarks, the transition point where Zero-shot becomes superior correlates directly with model strength. Weaker models (like Llama 2-7B) still benefit from few-shot examples, but for frontier models, the benefit disappears.
  • Generalization: Supplementary tests on LSAT, CommonsenseQA, and LogicQA confirmed that these findings extend beyond pure mathematics into general logic and out-of-distribution tasks.

Conclusion

The findings of this paper suggest a necessary shift in how we prompt and evaluate frontier LLMs. As models evolve into reasoning experts, the traditional In-Context Learning paradigm becomes less relevant for standard tasks. Moving forward, developers and researchers should prioritize "Format-only" prompting to save on inference costs and context length, and evaluation scripts must be updated to accommodate the sophisticated natural language outputs of modern models. While few-shot prompting may still hold value for highly niche or novel tasks, for general reasoning, the era of the few-shot requirement is coming to an end.

Summary updated

BibTeX
@misc{2025revisiting,
  author = {Yong Liu (刘勇) and Xiang Cheng and Chengyan Pan and Minjun Zhao and Deyang Li and Fangchao Liu and Xinyu Zhang and Xiao Zhang and Yong Liu},
  title = {{Revisiting Chain-of-Thought Prompting: Zero-shot Can Be Stronger than Few-shot}},
  year = {2025},
  eprint = {2506.14641},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.14641},
}
Figure