ConSol: Sequential Probability Ratio Testing to Find Consistent LLM Reasoning Paths Efficiently

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Lee, Jaeyeon, Qi, Guantong, Neeley, Matthew Brady, Liu, Zhandong, Jeong, Hyun-Hwan
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910888767782912
author Lee, Jaeyeon
Qi, Guantong
Neeley, Matthew Brady
Liu, Zhandong
Jeong, Hyun-Hwan
author_facet Lee, Jaeyeon
Qi, Guantong
Neeley, Matthew Brady
Liu, Zhandong
Jeong, Hyun-Hwan
contents Recent advancements in large language models (LLMs) integrating explicit reasoning, such as OpenAI's o3-mini, DeepSeek-R1, and QWQ-32B, enable smaller models to solve complex tasks by generating intermediate reasoning steps prior to providing answers. However, this approach significantly increases computational costs, both monetarily and environmentally. The widely-used self-consistency method further exacerbates these costs by aggregating multiple reasoning paths to improve accuracy, often requiring between 40 to 64 samples per task. Although aggregation effectively reduces variance and bias, additional sampling can lead to diminishing returns when early samples yield consistent results. To address inefficiencies, we propose leveraging Sequential Probability Ratio Testing (SPRT) to dynamically terminate sampling once sufficient consistency is achieved. We calibrate SPRT parameters specifically for LLM applications, accounting for sensitivity to detect the mode of the distribution. Our experiments demonstrate that incorporating SPRT significantly enhances token efficiency, achieving comparable accuracy to self-consistency methods but at a substantially reduced computational cost. To promote transparency and facilitate reproducibility, we have made the source code and datasets used in our experiments publicly available at our GitHub repository: https://github.com/LiuzLab/consol, or available as a PyPI package: pip install consol. We hope that this resource will support further research and encourage the development of new methods building upon our work.
format Preprint
id arxiv_https___arxiv_org_abs_2503_17587
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle ConSol: Sequential Probability Ratio Testing to Find Consistent LLM Reasoning Paths Efficiently
Lee, Jaeyeon
Qi, Guantong
Neeley, Matthew Brady
Liu, Zhandong
Jeong, Hyun-Hwan
Machine Learning
Artificial Intelligence
Recent advancements in large language models (LLMs) integrating explicit reasoning, such as OpenAI's o3-mini, DeepSeek-R1, and QWQ-32B, enable smaller models to solve complex tasks by generating intermediate reasoning steps prior to providing answers. However, this approach significantly increases computational costs, both monetarily and environmentally. The widely-used self-consistency method further exacerbates these costs by aggregating multiple reasoning paths to improve accuracy, often requiring between 40 to 64 samples per task. Although aggregation effectively reduces variance and bias, additional sampling can lead to diminishing returns when early samples yield consistent results. To address inefficiencies, we propose leveraging Sequential Probability Ratio Testing (SPRT) to dynamically terminate sampling once sufficient consistency is achieved. We calibrate SPRT parameters specifically for LLM applications, accounting for sensitivity to detect the mode of the distribution. Our experiments demonstrate that incorporating SPRT significantly enhances token efficiency, achieving comparable accuracy to self-consistency methods but at a substantially reduced computational cost. To promote transparency and facilitate reproducibility, we have made the source code and datasets used in our experiments publicly available at our GitHub repository: https://github.com/LiuzLab/consol, or available as a PyPI package: pip install consol. We hope that this resource will support further research and encourage the development of new methods building upon our work.
title ConSol: Sequential Probability Ratio Testing to Find Consistent LLM Reasoning Paths Efficiently
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2503.17587