[Paper Review] Complexity-Based Prompting for Multi-Step Reasoning
The paper introduces complexity-based prompting and complexity-based consistency to select more complex reasoning chains for prompts and decoding, achieving new state-of-the-art results on several multi-step reasoning benchmarks with GPT-3 and Codex.
We study the task of prompting large-scale language models to perform multi-step reasoning. Existing work shows that when prompted with a chain of thoughts (CoT), sequences of short sentences describing intermediate reasoning steps towards a final answer, large language models can generate new reasoning chains and predict answers for new inputs. A central question is which reasoning examples make the most effective prompts. In this work, we propose complexity-based prompting, a simple and effective example selection scheme for multi-step reasoning. We show that prompts with higher reasoning complexity, i.e., chains with more reasoning steps, achieve substantially better performance on multi-step reasoning tasks over strong baselines. We further extend our complexity-based criteria from prompting (selecting inputs) to decoding (selecting outputs), where we sample multiple reasoning chains from the model, then choose the majority of generated answers from complex reasoning chains (over simple chains). When used to prompt GPT-3 and Codex, our approach substantially improves multi-step reasoning accuracy and achieves new state-of-the-art (SOTA) performance on three math benchmarks (GSM8K, MultiArith, and MathQA) and two BigBenchHard tasks (Date Understanding and Penguins), with an average +5.3 and up to +18 accuracy improvements. Compared with existing example selection schemes like manual tuning or retrieval-based selection, selection based on reasoning complexity is intuitive, easy to implement, and annotation-efficient. Further results demonstrate the robustness of performance gains from complex prompts under format perturbation and distribution shift.
Motivation & Objective
- Motivate improved multi-step reasoning with prompts that use more complex reasoning chains.
- Propose a simple, annotation-efficient method to select complex prompt examples.
- Extend prompting to decoding by voting among complex reasoning chains (Complexity-based Consistency).
- Demonstrate robust performance gains across multiple datasets and model types.
Proposed method
- Define complex samples as those with more reasoning steps in the chain-of-thought (CoT).
- Compare complexity-based prompting to handcrafted and random CoT prompts using GPT-3 and Codex.
- Extend to decoding by voting among the top-K complex chains (Complexity-based Consistency) rather than all chains.
- Evaluate on GSM8K, MultiArith, MathQA, Date Understanding, Penguins, and StrategyQA.
- Show robustness across prompt distributions and perturbations, and analyze confounders.
- Compare to other example selection schemes (random, centroid, retrieval).
Experimental results
Research questions
- RQ1Does prompting with more complex reasoning chains improve multi-step reasoning accuracy compared to simpler prompts?
- RQ2Does selecting outputs from the most complex chains during decoding yield better results than voting over all chains?
- RQ3Are the gains from complexity-based prompting robust to distribution shifts, prompt perturbations, and various complexity proxies?
- RQ4How does complexity-based prompting compare to existing example selection methods (random, centroid, retrieval) across datasets?
- RQ5Is this improvement an emergent capability only in very large models?
Key findings
- Complex prompts yield substantially higher accuracy than handcrafted or random CoT prompts on GPT-3 and Codex.
- Voting among top-K complex chains (complexity-based consistency) outperforms voting over all chains and simple chains.
- Achieves new state-of-the-art performance on GSM8K, MultiArith, and MathQA, and strong results on Date Understanding and Penguins, with average gains of +5.3 (GPT-3) and +6.2 (Codex).
- Gains persist across prompt distributions (in-distribution, noisy, and distribution shift) and under prompt format perturbations.
- Complex prompts show robustness and annotation efficiency compared to retrieval-based or full-training-set methods, with complexity serving as a reliable complexity proxy (e.g., question length, formula length).
- Complexity-based prompting is an emergent ability for very large models and provides notable gains over baseline CoT prompts.
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.