Skip to main content
QUICK REVIEW

[Paper Review] Reasoning Aware Self-Consistency: Leveraging Reasoning Paths for Efficient LLM Sampling

Guoyang Wan, Yuqi Wu|arXiv (Cornell University)|Aug 30, 2024
Data Stream Mining TechniquesComputer Science3 citations
TL;DR

This paper proposes Reasoning-Aware Self-Consistency (RASC), an early-stopping framework that dynamically reduces LLM inference cost by evaluating both reasoning path quality and answer consistency. By assigning confidence scores to sampled reasoning paths and using weighted majority voting, RASC reduces sample usage by 80% on average while maintaining or improving accuracy over standard Self-Consistency.

ABSTRACT

Self-Consistency mitigates hallucinations in Large Language Models (LLMs) by sampling multiple reasoning paths,but it lacks a systematic approach to determine the optimal number of samples or select the most faithful rationale. To address this limitation, we introduce Reasoning-Aware Self-Consistency (RASC), a novel framework that enhances sampling efficiency and reasoning faithfulness by dynamically evaluating both outputs and rationales. RASC assesses the quality of reasoning and the consistency of answers for each generated sample, using these assessments to guide early stopping decisions and rationale selection. The framework employs criteria-based stopping and weighted majority voting, enabling more informed choices on when to halt sampling and which rationale to select. Our comprehensive experiments across diverse question-answering datasets demonstrate that RASC outperforms existing methods, reducing sample usage by approximately 70% while maintaining accuracy. Moreover, RASC facilitates the selection of high-fidelity rationales, thereby improving the faithfulness of LLM outputs. Our approach effectively addresses the efficiency-accuracy trade-off in LLM reasoning tasks, offering a new perspective for more nuanced, faithful, and effective utilization of LLMs in resource-constrained environments.

Motivation & Objective

  • To address the high computational cost of Self-Consistency (SC) in LLMs, which requires generating many samples to achieve reliable outputs.
  • To overcome limitations in prior early-stopping methods that only consider final answers, ignoring reasoning path quality and faithfulness.
  • To develop a dynamic sampling strategy that leverages reasoning path content and consistency to determine when to stop sampling.
  • To improve answer reliability through confidence-score-weighted majority voting, reducing reliance on unfaithful or hallucinated reasoning paths.
  • To validate the method across diverse LLMs and datasets, demonstrating robustness and generalization beyond in-domain tasks.

Proposed method

  • RASC introduces a confidence score approximator using seven lightweight textual indicators to assess reasoning path quality and faithfulness.
  • It evaluates each sampled reasoning path (RP) for content quality and consistency with other RPs, assigning a confidence score to each.
  • The method employs a dynamic early-stopping mechanism that halts sampling when confidence scores meet predefined thresholds based on convergence and reliability.
  • It applies weighted majority voting using the confidence scores to aggregate final answers, giving higher influence to more reliable RPs.
  • The framework integrates with existing Chain-of-Thought (CoT) prompting and is compatible with multiple LLMs and QA benchmarks.
  • A normalized metric combining accuracy and cost factors is used to evaluate trade-offs between performance and efficiency.

Experimental results

Research questions

  • RQ1Can reasoning path quality be leveraged to improve early-stopping decisions in Self-Consistency, beyond relying solely on final answer agreement?
  • RQ2Does incorporating confidence scores based on reasoning path faithfulness lead to more efficient and accurate inference in LLMs?
  • RQ3Can a dynamic sampling strategy reduce sample usage by 80% while maintaining or improving accuracy compared to standard Self-Consistency?
  • RQ4How does RASC perform across diverse LLMs and out-of-domain datasets, indicating generalization and robustness?
  • RQ5To what extent does weighted majority voting with confidence scores improve answer reliability compared to uniform voting?

Key findings

  • RASC reduces average sample usage by 80% compared to standard Self-Consistency while maintaining or improving accuracy by up to 5%.
  • The method achieves higher accuracy than both fixed-budget and state-of-the-art early-stopping baselines across multiple LLMs and datasets.
  • When the sampling budget is increased, RASC’s confidence-score-driven voting improves QA accuracy by an average of 6%.
  • RASC demonstrates consistent performance gains on 14 out-of-domain QA datasets, confirming its robustness and generalization capability.
  • The confidence score approximator, based on seven lightweight textual indicators, effectively captures reasoning path faithfulness and quality.
  • The normalized metric shows that RASC achieves a superior balance between accuracy and computational cost, outperforming existing methods in the accuracy-cost trade-off.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.