Reasoning Aware Self-Consistency: Leveraging Reasoning Paths for Efficient LLM Sampling

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Wan, Guangya, Wu, Yuqi, Chen, Jie, Li, Sheng
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866913676125011968
author Wan, Guangya
Wu, Yuqi
Chen, Jie
Li, Sheng
author_facet Wan, Guangya
Wu, Yuqi
Chen, Jie
Li, Sheng
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2408_17017
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Reasoning Aware Self-Consistency: Leveraging Reasoning Paths for Efficient LLM Sampling
Wan, Guangya
Wu, Yuqi
Chen, Jie
Li, Sheng
Computation and Language
Artificial Intelligence
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.
title Reasoning Aware Self-Consistency: Leveraging Reasoning Paths for Efficient LLM Sampling
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2408.17017