Towards Better Chain-of-Thought Prompting Strategies: A Survey

Zihan Yu, Liang He, Zhen Wu, Xinyu Dai, Jiajun ChenarXiv 2023 · DOI

Abstract

Chain-of-Thought (CoT) prompting has revolutionized how Large Language Models (LLMs) handle complex reasoning, but its success depends on a delicate balance of prompt design and model scale. This survey systematizes the CoT landscape, revealing that while model size and "step-by-step" instructions are crucial, the logical coherence of a reasoning chain often matters more than its factual correctness for eliciting a model's latent reasoning abilities. We categorize the field into four pillars: task types, prompt design, extension strategies, and model factors.

Introduction

While Large Language Models (LLMs) are impressive at "vanilla" tasks like summarization or translation, they historically struggle with multi-step reasoning—tasks where a direct answer is insufficient, such as math word problems or symbolic logic. Chain-of-Thought (CoT) prompting emerged as a solution by asking models to "show their work" through intermediate reasoning steps. However, the rapid expansion of this field has lacked a unified framework to understand why CoT works and how to optimize it. This paper addresses this gap by providing a systematic taxonomy of the factors determining CoT success.

A Taxonomy of CoT Strategies

The authors formalize the CoT pipeline into a comprehensive taxonomy, organizing the diverse range of research into manageable categories. This framework allows researchers to navigate the various methodologies developed to enhance LLM reasoning.

Taxonomy of Chain-of-Thought Prompting strategies, categorizing tasks, prompt designs, and extension methods.

1. Task Types

CoT is applied across three primary domains:

  • Close Domain Reasoning: Mathematical and symbolic logic tasks (e.g., GSM8K).
  • Open Domain Reasoning: Knowledge-based question answering (e.g., StrategyQA).
  • Code Generation: Tasks requiring structured, algorithmic logic.

2. Prompt Design

The anatomy of a CoT prompt typically consists of "Demonstrations" (few-shot examples) and "Textual Instructions" (zero-shot prompts). The structure of these prompts significantly impacts performance.

Anatomy of CoT prompts, comparing few-shot and zero-shot configurations with their constituent parts.

3. Extension Strategies

Beyond basic prompting, several strategies boost CoT effectiveness:

  • Ensembles: Running multiple reasoning paths and using majority voting (Self-Consistency).
  • Sub-problem Division: Breaking complex tasks into smaller, manageable sub-tasks.
  • External Assistance: Integrating tools like calculators or search engines to verify facts or perform precise calculations.

4. Model Factors

CoT is largely an "emergent ability." It rarely provides a performance boost for models under 10 billion parameters; for smaller models, CoT can actually degrade performance by inducing hallucinations. Furthermore, models pre-trained on computer code tend to exhibit superior CoT abilities, likely because the structured nature of programming logic primes the architecture for step-by-step natural language reasoning.

Key Insights and Results

  • Coherence > Correctness: Surprisingly, a CoT rationale does not need to be 100% factually correct to be effective. As long as the reasoning is coherent and follows a logical flow, it can successfully elicit the correct final answer from the LLM.
  • The Complexity Heuristic: Using more complex demonstration examples with more reasoning steps generally induces the model to produce better, more detailed rationales, preventing it from taking incorrect "short-cuts."
  • Zero-Shot Power: The simple addition of the phrase "Let's think step by step" can rival the performance of few-shot prompting, proving that reasoning abilities are often latent and merely require the correct trigger.
  • Interpretability: CoT provides a traceable reasoning process, making LLM outputs more interpretable for humans, even if the trace is not always perfectly faithful to the model's internal logic.

Limitations and Future Work

Despite its success, CoT faces several challenges:

  • Faithfulness: A logical explanation does not guarantee that the model actually used that logic to reach its answer, a major concern for safety-critical applications.
  • Generality: CoT still struggles with highly complex, real-world planning where environmental states change constantly.
  • Theoretical Gap: There is currently no rigorous mathematical explanation for why the transformer architecture benefits so specifically from this prompting style.
  • Efficiency: CoT increases token generation, raising inference costs and latency. Future research is needed to prune trivial steps without sacrificing reasoning power.

Summary updated

BibTeX
@misc{yu2023towards,
  author = {Zihan Yu and Liang He and Zhen Wu and Xinyu Dai and Jiajun Chen},
  title = {{Towards Better Chain-of-Thought Prompting Strategies: A Survey}},
  year = {2023},
  eprint = {2310.04959},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.04959},
}
Figure