Abstract
This report examines the effectiveness of Chain-of-Thought (CoT) prompting in improving the multi-step reasoning abilities of large language models (LLMs). Inspired by previous studies \cite{Min2022RethinkingWork}, we analyze the impact of three types of CoT prompt perturbations, namely CoT order, CoT values, and CoT operators on the performance of GPT-3 on various tasks. Our findings show that incorrect CoT prompting leads to poor performance on accuracy metrics. Correct values in the CoT is crucial for predicting correct answers. Moreover, incorrect demonstrations, where the CoT operators or the CoT order are wrong, do not affect the performance as drastically when compared to the value based perturbations. This research deepens our understanding of CoT prompting and opens some new questions regarding the capability of LLMs to learn reasoning in context.
TL;DR
Does Chain-of-Thought (CoT) prompting work because of its logical rigor, or does the model just benefit from the "look and feel" of a step-by-step explanation? This paper stress-tests GPT-3 by intentionally breaking the logic in CoT prompts—scrambling sentence order, swapping math operators, and changing numerical values. The verdict: while models can tolerate messy logic or out-of-order steps, correct numerical values are non-negotiable for maintaining performance.
What Problem Does This Paper Address?
Chain-of-Thought prompting—where a Large Language Model (LLM) is shown examples of problems solved step-by-step—has become the gold standard for boosting reasoning performance. However, researchers are still debating why it works. Does the model actually follow the logic provided in the prompt, or is it simply picking up on the structural pattern (the "contextual awareness") of a multi-step response?
The authors investigate whether the logical correctness of a CoT prompt is actually necessary. If models only need the structure of a CoT to succeed, we could automate prompt generation without worrying about factual accuracy. If logic does matter, then human-curated, high-quality prompts remain essential.
Methods
The researchers conducted a series of ablation experiments using GPT-3 (specifically text-davinci-002). They compared three primary prompting styles:
- Few-Shot: Standard question-answer pairs with no explanation.
- Standard CoT: Question-answer pairs including a logically sound step-by-step explanation.
- Perturbed CoT: The "stress test" category, where the explanation is intentionally sabotaged in three ways: CoT Values (changing numbers), CoT Order (scrambling sentences), and CoT Operators (swapping math symbols).
Datasets
The study evaluated performance across both numerical and non-numerical reasoning tasks:
- Numerical Tasks: ASDiv, SVAMP, GSM8k, and MAWPS (varying in difficulty from single to multi-step).
- Non-Numerical Tasks: Date Understanding, Symbolic Reasoning (Coin Flip), Concat (string manipulation), and Reverse List.
Key Insights and Ideas
- Values are the "Load-Bearing" Walls of Logic: The most striking finding was that perturbing values caused the most significant performance drops. If the numbers in your prompt's explanation don't match the logic of the problem, the model gets "fooled," often performing worse than if you had given it no explanation at all (Few-Shot).
- Structure Over Sequence: Surprisingly, the model was relatively resilient to CoT Order perturbations. Even when the reasoning steps were out of order, the model often managed to produce the correct answer. This suggests the model relies heavily on the presence of a "reasoning structure" rather than a strict linear flow.
- The "Tough Task" Exception: In the most difficult dataset (GSM8k), even a "broken" CoT (with wrong values) performed better than standard Few-Shot prompting. This suggests that for very complex tasks, providing any reasoning framework is better than none.
Key Results
- Numerical Accuracy: On the MAWPS (multi-arithmetic) dataset, standard CoT achieved ~86% accuracy. When values were perturbed, accuracy crashed to 13%, which is significantly lower than the 32% achieved by simple Few-Shot prompting.
- Non-Numerical Resilience: For simpler tasks like "Coin Flip," the model was nearly 100% accurate across almost all modes, showing that trivial tasks are less sensitive to prompt quality.
Limitations and Future Work
- Model Specificity: The study focused exclusively on GPT-3 (
text-davinci-002). Results might differ for newer models like GPT-4. - The "Retention" Phenomenon: A major open question remains: why does the model sometimes retain the incorrect structure of a prompt while still calculating the correct answer? Investigating this could reveal how LLMs balance in-context learning with their pre-trained knowledge.
Summary updated