Score: 1

Uncertainty-Aware Decoding with Minimum Bayes Risk

Published: March 7, 2025 | arXiv ID: 2503.05318v1

By: Nico Daheim , Clara Meister , Thomas Möllenhoff and more

Potential Business Impact:

Makes AI write better and know when to stop.

Business Areas:
A/B Testing Data and Analytics

Despite their outstanding performance in the majority of scenarios, contemporary language models still occasionally generate undesirable outputs, for example, hallucinated text. While such behaviors have previously been linked to uncertainty, there is a notable lack of methods that actively consider uncertainty during text generation. In this work, we show how Minimum Bayes Risk (MBR) decoding, which selects model generations according to an expected risk, can be generalized into a principled uncertainty-aware decoding method. In short, we account for model uncertainty during decoding by incorporating a posterior over model parameters into MBR's computation of expected risk. We show that this modified expected risk is useful for both choosing outputs and deciding when to abstain from generation and can provide improvements without incurring overhead. We benchmark different methods for learning posteriors and show that performance improves with prediction diversity. We release our code publicly.

Repos / Data Links

Page Count
23 pages

Category
Computer Science:
Computation and Language