[Paper Review] Chain of Thoughtlessness? An Analysis of CoT in Planning
The study finds that chain-of-thought prompts rarely generalize in planning; gains are limited to highly problem-specific prompts and deteriorate as problem size grows, suggesting CoT relies on pattern matching rather than learning general algorithms.
Large language model (LLM) performance on reasoning problems typically does not generalize out of distribution. Previous work has claimed that this can be mitigated with chain of thought prompting-a method of demonstrating solution procedures-with the intuition that it is possible to in-context teach an LLM an algorithm for solving the problem. This paper presents a case study of chain of thought on problems from Blocksworld, a classical planning domain, and examines the performance of two state-of-the-art LLMs across two axes: generality of examples given in prompt, and complexity of problems queried with each prompt. While our problems are very simple, we only find meaningful performance improvements from chain of thought prompts when those prompts are exceedingly specific to their problem class, and that those improvements quickly deteriorate as the size n of the query-specified stack grows past the size of stacks shown in the examples. We also create scalable variants of three domains commonly studied in previous CoT papers and demonstrate the existence of similar failure modes. Our results hint that, contrary to previous claims in the literature, CoT's performance improvements do not stem from the model learning general algorithmic procedures via demonstrations but depend on carefully engineering highly problem specific prompts. This spotlights drawbacks of chain of thought, especially the sharp tradeoff between possible performance gains and the amount of human labor necessary to generate examples with correct reasoning traces.
Motivation & Objective
- Evaluate whether chain-of-thought prompts enable generalizable reasoning in large language models for planning tasks.
- Assess how prompt specificity and problem size affect CoT effectiveness in planning.
- Compare performance across GPT-4, GPT-4-Turbo, and Claude-3-Opus on planning tasks.
- Examine whether CoTPrompts teach general algorithms or merely enable pattern matching in planning and related benchmarks.
Proposed method
- Use Blocksworld PDDL instances with stack heights ranging from small to large (3–20 blocks).
- Translate model outputs to PDDL and verify plans with VAL.
- Test multiple models (GPT-4, GPT-4-Turbo, Claude-3-Opus) under zero-shot, n-shot, and chain-of-thought prompts (including domain-specific and stacking variants).
- Extend evaluation to scalable synthetic benchmarks (CoinFlip, LastLetterConcatenation, multi-step arithmetic) to assess generalization of CoT.
- Analyze accuracy as problem class and prompt granularity vary, and examine self-consistency effects.
Experimental results
Research questions
- RQ1Does chain-of-thought prompting improve out-of-distribution generalization for planning problems in LLMs?
- RQ2How does prompt granularity/generality affect performance as problem size increases in Blocksworld and its variants?
- RQ3Do LLMs learn general algorithmic procedures from CoT demonstrations across planning tasks, or is improvement due to pattern matching?
- RQ4Do findings extend to scalable synthetic benchmarks commonly used in CoT research?
Key findings
- CoT prompts yield meaningful improvements only for the narrowest problem distributions; gains vanish as the height of the goal stack grows.
- Increasing prompt generality often reduces performance even on small problems, and can underperform standard prompting.
- Self-consistency and other advanced CoT variants show similar or worse results in this setting.
- Table-to-stack prompts with high specificity can retain improvement, but there is no robust generalization to larger instances.
- Extending CoT to scalable synthetic benchmarks (CoinFlip, LastLetterConcatenation, arithmetic) reveals similar brittleness, with improvements largely due to syntactic pattern matching rather than learning general algorithms.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.