Abstract
Chain of Thought (CoT) is significant in improving the reasoning abilities of large language models (LLMs). However, the correlation between the effectiveness of CoT and the length of reasoning steps in prompts remains largely unknown. This paper presents empirical experiments exploring these relations by expanding and compressing rationale reasoning steps within CoT demonstrations. Key findings indicate that lengthening reasoning steps, even without adding new information, considerably enhances LLM reasoning abilities. Conversely, shortening steps diminishes performance. Surprisingly, even incorrect rationales can improve outcomes if they maintain sufficient length. These results suggest that the number of steps is a critical factor in CoT effectiveness, particularly for complex tasks.
Introduction
Chain of Thought (CoT) prompting has revolutionized how we interact with Large Language Models (LLMs), enabling them to tackle complex reasoning tasks by "thinking aloud." While the benefits are clear, the underlying mechanism is still debated. Is it the logical rigor, the specific knowledge, or perhaps something more structural?
This research investigates a specific variable: the length of the reasoning chain. The authors hypothesize that the number of intermediate steps is a primary driver of performance, independent of information density or factual correctness.
Methodology
To isolate the effect of length, the researchers employed two primary techniques across eight diverse datasets spanning arithmetic, commonsense, and symbolic reasoning.
1. Rationale Expansion
Five strategies were developed to "stretch" reasoning without introducing external knowledge:
- Think About The Word: Defining and reinterpreting key terms.
- Read the Question Again: Explicitly restating the prompt to reduce interference.
- Repeat State: Summarizing the current problem state mid-logic.
- Self-Verification: Adding internal logic checks.
- Make Equation: Translating word problems into formal mathematical notation.
2. Rationale Compression
Conversely, GPT-4 was used to merge consecutive sentences in existing CoT prompts, creating highly concise versions that preserved all essential logic but reduced the total step count.
Key Results
The experiments, conducted primarily using GPT-3.5 and GPT-4, revealed a consistent trend: performance scales with the number of reasoning steps.
- Zero-Shot Boost: Simply appending "you must think more steps" to a standard zero-shot prompt increased GSM8K accuracy from 64.1% to 76.1%.
- Linear Correlation: In few-shot scenarios, a direct linear relationship was observed between step count and accuracy.
- Task Dependency: While simple tasks reach a performance ceiling quickly, complex problems continue to benefit from increasingly long reasoning chains.
Discussion: Why Length Matters
The most striking insight is that length can outweigh accuracy. In specific tests, even when intermediate reasoning steps contained factual or mathematical errors, the models often reached the correct final answer—provided the chain remained long. This suggests that longer sequences provide a form of "computational buffer" that helps the model maintain the correct reasoning pattern.
Furthermore, the study found that compression is destructive. When reasoning was made more "efficient" by merging steps, performance dropped significantly, often regressing toward zero-shot levels. This implies that the verbosity of CoT is a functional necessity for the model's internal processing.
Conclusion
This study highlights the importance of reasoning step length as a critical hyperparameter in CoT prompting. For practitioners, the takeaway is clear: when facing complex reasoning challenges, encouraging the model to be more verbose—even redundantly so—can unlock significant performance gains. Future work will look into the internal neuronal activation patterns to better understand how these longer sequences influence the transformer's latent representations.
Summary updated