Don't Throw Away Your Beams: Improving Consistency-based Uncertainties in LLMs via Beam Search

Ekaterina Fadeeva, Maiya Goloburda, Aleksandr Rubashevskii, Roman Vashurin, Artem Shelmanov +3 more
12/10/2025
stat.MLcs.CLcs.LG

No confident code implementation found for this paper.

Abstract

Consistency-based methods have emerged as an effective approach to uncertainty quantification (UQ) in large language models. These methods typically rely on several generations obtained via multinomial sampling, measuring their agreement level. However, in short-form QA, multinomial sampling is prone to producing duplicates due to peaked distributions, and its stochasticity introduces considerable variance in uncertainty estimates across runs. We introduce a new family of methods that employ beam search to generate candidates for consistency-based UQ, yielding improved performance and reduced variance compared to multinomial sampling. We also provide a theoretical lower bound on the beam set probability mass under which beam search achieves a smaller error than multinomial sampling. We empirically evaluate our approach on six QA datasets and find that its consistent improvements over multinomial sampling lead to state-of-the-art UQ performance.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{fadeeva2025dont,
  title  = {Don't Throw Away Your Beams: Improving Consistency-based Uncertainties in LLMs via Beam Search},
  author = {Ekaterina Fadeeva and Maiya Goloburda and Aleksandr Rubashevskii and Roman Vashurin and Artem Shelmanov and Preslav Nakov and Mrinmaya Sachan and Maxim Panov},
  year   = {2025},
  eprint = {2512.09538},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.09538v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.09538.svg)](https://codeofpaper.com/paper/2512.09538)

Discussion