Confidence Improves Self-Consistency in LLMs

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Taubenfeld, Amir, Sheffer, Tom, Ofek, Eran, Feder, Amir, Goldstein, Ariel, Gekhman, Zorik, Yona, Gal
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866911183102017536
author Taubenfeld, Amir
Sheffer, Tom
Ofek, Eran
Feder, Amir
Goldstein, Ariel
Gekhman, Zorik
Yona, Gal
author_facet Taubenfeld, Amir
Sheffer, Tom
Ofek, Eran
Feder, Amir
Goldstein, Ariel
Gekhman, Zorik
Yona, Gal
contents Self-consistency decoding enhances LLMs' performance on reasoning tasks by sampling diverse reasoning paths and selecting the most frequent answer. However, it is computationally expensive, as sampling many of these (lengthy) paths is required to increase the chances that the correct answer emerges as the most frequent one. To address this, we introduce Confidence-Informed Self-Consistency (CISC). CISC performs a weighted majority vote based on confidence scores obtained directly from the model. By prioritizing high-confidence paths, it can identify the correct answer with a significantly smaller sample size. When tested on nine models and four datasets, CISC outperforms self-consistency in nearly all configurations, reducing the required number of reasoning paths by over 40% on average. In addition, we introduce the notion of within-question confidence evaluation, after showing that standard evaluation methods are poor predictors of success in distinguishing correct and incorrect answers to the same question. In fact, the most calibrated confidence method proved to be the least effective for CISC. Lastly, beyond these practical implications, our results and analyses show that LLMs can effectively judge the correctness of their own outputs, contributing to the ongoing debate on this topic.
format Preprint
id arxiv_https___arxiv_org_abs_2502_06233
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Confidence Improves Self-Consistency in LLMs
Taubenfeld, Amir
Sheffer, Tom
Ofek, Eran
Feder, Amir
Goldstein, Ariel
Gekhman, Zorik
Yona, Gal
Computation and Language
Artificial Intelligence
Self-consistency decoding enhances LLMs' performance on reasoning tasks by sampling diverse reasoning paths and selecting the most frequent answer. However, it is computationally expensive, as sampling many of these (lengthy) paths is required to increase the chances that the correct answer emerges as the most frequent one. To address this, we introduce Confidence-Informed Self-Consistency (CISC). CISC performs a weighted majority vote based on confidence scores obtained directly from the model. By prioritizing high-confidence paths, it can identify the correct answer with a significantly smaller sample size. When tested on nine models and four datasets, CISC outperforms self-consistency in nearly all configurations, reducing the required number of reasoning paths by over 40% on average. In addition, we introduce the notion of within-question confidence evaluation, after showing that standard evaluation methods are poor predictors of success in distinguishing correct and incorrect answers to the same question. In fact, the most calibrated confidence method proved to be the least effective for CISC. Lastly, beyond these practical implications, our results and analyses show that LLMs can effectively judge the correctness of their own outputs, contributing to the ongoing debate on this topic.
title Confidence Improves Self-Consistency in LLMs
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2502.06233