[Paper Review] Progressive-Hint Prompting Improves Reasoning in Large Language Models
Progressive-Hint Prompting (PHP) enables iterative interactions where earlier LLM outputs are used as hints to refine subsequent answers, improving reasoning accuracy and achieving state-of-the-art results on several math reasoning benchmarks when combined with strong prompts and models (e.g., GPT-4).
The performance of Large Language Models (LLMs) in reasoning tasks depends heavily on prompt design, with Chain-of-Thought (CoT) and self-consistency being critical methods that enhance this ability. However, these methods do not fully exploit the answers generated by the LLM to guide subsequent responses. This paper proposes a new prompting method, named Progressive-Hint Prompting (PHP), that enables automatic multiple interactions between users and LLMs by using previously generated answers as hints to progressively guide toward the correct answers. PHP is orthogonal to CoT and self-consistency, making it easy to combine with state-of-the-art techniques to further improve performance. We conducted extensive and comprehensive experiments on seven benchmarks. The results show that PHP significantly improves accuracy while remaining highly efficient. For instance, with text-davinci-003, we observed a 4.2% improvement on GSM8K with greedy decoding compared to Complex CoT, and a 46.17% reduction in sample paths with self-consistency. With GPT-4 and PHP, we achieve state-of-the-art performances on SVAMP (89.1% -> 91.9%), GSM8K (92% -> 95.5%), AQuA (76.4% -> 79.9%) and MATH (50.3% -> 53.9%).
Motivation & Objective
- Motivate improved multi-step reasoning in LLMs beyond traditional CoT and self-consistency by reusing previous answers as hints.
- Introduce a two-stage prompting pipeline that iterates answers until stability (two consecutive equal answers).
- Demonstrate compatibility and additive gains when combined with standard CoT, Complex CoT, and self-consistency across multiple models.
Proposed method
- Two-stage prompting pipeline: (1) generate a base answer with a base prompt (e.g., CoT or Complex CoT); (2) generate subsequent answers using Progressive-Hint Prompts (PHP-CoT or PHP-Complex CoT) until stabilization.
- Progressive-Hint Prompt design: concatenate the question with the previous answer as hints, plus a two-sentence PHP framework that communicates proximity to the answer and rehearses hints.
- Stopping criterion: stop when two consecutive answers are identical.
- Prompts support both correct and incorrect hints to probe model robustness and adaptability.
- Extensive evaluation across seven math reasoning datasets using multiple LLMs (text-davinci-002/003, GPT-3.5-Turbo, GPT-4).
- Analysis of interaction count and hint quality to understand when PHP yields gains.
Experimental results
Research questions
- RQ1Can iterative hinting guided by previous model outputs improve multi-step reasoning in LLMs beyond standard prompting?
- RQ2How does PHP interact with different prompting strategies (Standard, CoT, Complex CoT) and model capabilities (GPT-3.5, GPT-4)?
- RQ3What is the impact of hint quality (correct vs incorrect) on PHP performance across datasets?
- RQ4Does PHP reduce the need for self-consistency paths or increase efficiency when combined with self-consistency?
Key findings
- PHP improves accuracy across several datasets, with larger gains when paired with stronger prompts and models.
- With text-davinci-003, PHP-Complex CoT shows notable improvements (e.g., GSM8K +4.6%, SVAMP/others up to 71.6% on certain setups).
- GPT-4 with Complex CoT + PHP achieves state-of-the-art on SVAMP (91.9%), GSM8K (95.5%), AQuA (79.9%), and MATH (53.9%).
- PHP can reduce the number of reasoning paths required under self-consistency, enabling cost reductions while maintaining or boosting accuracy.
- Performance gains from PHP are more pronounced with higher-quality prompts (CoT, Complex CoT) and more capable models (GPT-4).
- Ablation studies show that both P1 and P2 sentences in the PHP prompts are necessary for best results, especially with stronger 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.