Refining Answer Distributions for Improved Large Language Model Reasoning

Soumyasundar Pal, Didier Chételat, Yingxue Zhang, Mark Coates

TL;DR

This paper introduces Refined Answer Distributions (RAD), a novel algorithmic framework that iteratively refines an LLM's answer distribution to improve reasoning accuracy. By treating LLM responses as samples from a distribution and iteratively marginalizing over previous answers, RAD effectively identifies the most likely correct answer, outperforming existing methods like Self-Consistency with fewer LLM calls.

What Problem Does This Paper Address?

Large Language Models (LLMs) have shown remarkable reasoning abilities, especially when prompted to generate step-by-step explanations (Chain-of-Thought, CoT). However, simply combining multiple CoT responses (Self-Consistency) or using progressive hints (Progressive Hint Prompting) can be inefficient and plateau in performance. The challenge is to develop a more principled and efficient method for LLMs to refine their reasoning and arrive at more accurate answers, especially for complex tasks where initial reasoning might be flawed.

Methods

The core of the proposed method, Refined Answer Distributions (RAD), is an iterative process that refines the distribution of possible answers. Instead of directly aiming for the mode of the initial answer distribution, RAD constructs a sequence of distributions. In each iteration, it samples new answers by prompting the LLM to refine its previous answers. These new samples are then used to update the answer distribution through a marginalization process, effectively weighting answers based on the probability of their predecessors. This approach can be seen as a Monte Carlo approximation of an underlying, intractable distribution, aiming to converge on the true answer. RAD is agnostic to the specific prompting strategy used for refinement, allowing it to be combined with existing techniques.

Datasets

The authors evaluated RAD on several benchmarks:

  • Arithmetic Reasoning: AddSub, MultiArith, SingleEQ, SVAMP, GSM8K, and AQuA.
  • Mathematical Reasoning: MATH dataset, which is a collection of challenging mathematical problems across various subcategories.
  • General Reasoning: Two BIG-Bench Hard tasks: Date Understanding and Object Tracking.

Key Insights and Ideas

  • Refinement is beneficial, but distribution matters: LLMs can indeed benefit from self-reflection and refinement of their past answers, but focusing on refining the distribution of answers, rather than just individual answers, is key to improving performance.
  • Marginalization as an efficiency gain: The iterative marginalization process in RAD effectively weights promising answers from previous rounds, leading to more efficient use of LLM calls compared to simply increasing the number of samples in methods like Self-Consistency.
  • "Probability flow" is crucial: The paper formalizes the condition under which refinement improves the probability of the correct answer, highlighting that the flow of probability mass into the correct answer must exceed the flow out.
  • Orthogonal to prompt engineering: RAD's core mechanism is independent of the specific prompting techniques used for initialization or refinement, making it a versatile framework that can enhance various existing LLM reasoning strategies.

Key Results

  • RAD consistently outperformed baselines like Self-Consistency (CoT+SC) and Progressive Hint Prompting (PHP+SC) across multiple LLMs (GPT-3.5 Turbo, GPT-4 Turbo, GPT-40-mini, Llama-3) and reasoning benchmarks.
  • For a comparable number of LLM calls and token cost, RAD achieved higher accuracy. For instance, out of 36 experimental scenarios, RAD variants achieved the highest accuracy in 30.
  • On "difficult" questions, RAD showed a more substantial improvement in assigning higher probabilities to the correct answers compared to baselines.
  • The method demonstrated robustness, performing well when combined with different initialization strategies (CoT and PHP).

Limitations and Future Work

  • Computational Cost: While more efficient than some methods, RAD still involves iterative LLM calls, which can be computationally expensive. The paper suggests exploring more efficient strategies for allocating LLM calls non-uniformly to different answers in future work.
  • Applicability to Verbal Reasoning: The current experiments focus on quantitative reasoning. The authors suggest that RAD could be extended to tasks requiring verbal responses by incorporating "verbal criticism" as a refinement strategy.
  • Hyperparameter Sensitivity: While generally robust, the performance might still be influenced by hyperparameter choices, such as the sampling budget and number of iterations.

Summary updated

BibTeX
@inproceedings{pal2025refining,
  author = {Soumyasundar Pal and Didier Chételat and Yingxue Zhang and Mark Coates},
  title = {{Refining Answer Distributions for Improved Large Language Model Reasoning}},
  booktitle = {LLM Reason and Plan @ ICLR},
  year = {2025},
  url = {https://openreview.net/forum?id=KVZKtugIsy},
}
Figure