Structure-Conditional Minimum Bayes Risk Decoding

Bryan Eikema, Anna Rutkiewicz, Mario Giulianelli
10/23/2025
cs.CL

No official code found. Best implementation: Roxot/structure-conditional-mbr (0 stars, MIT, last commit 2025-11-05).

Abstract

Minimum Bayes Risk (MBR) decoding has seen renewed interest as an alternative to traditional generation strategies. While MBR has proven effective in machine translation, where the variability of a language model's outcome space is naturally constrained, it may face challenges in more open-ended tasks such as dialogue or instruction-following. We hypothesise that in such settings, applying MBR with standard similarity-based utility functions may result in selecting responses that are broadly representative of the model's distribution, yet sub-optimal with respect to any particular grouping of generations that share an underlying latent structure. In this work, we introduce three lightweight adaptations to the utility function, designed to make MBR more sensitive to structural variability in the outcome space. To test our hypothesis, we curate a dataset capturing three representative types of latent structure: dialogue act, emotion, and response structure (e.g., a sentence, a paragraph, or a list). We further propose two metrics to evaluate the structural optimality of MBR. Our analysis demonstrates that common similarity-based utility functions fall short by these metrics. In contrast, our proposed adaptations considerably improve structural optimality. Finally, we evaluate our approaches on real-world instruction-following benchmarks, AlpacaEval and MT-Bench, and show that increased structural sensitivity improves generation quality by up to 13.7 percentage points in win rate.

View on arXivView PDF

Code Implementations(1)

MIT

Structure-conditional minimum Bayes risk decoding.

00PythonSep 17, 202511 months agoMIT

Similar Papers

Cite this paper

@article{eikema2025structureconditional,
  title  = {Structure-Conditional Minimum Bayes Risk Decoding},
  author = {Bryan Eikema and Anna Rutkiewicz and Mario Giulianelli},
  year   = {2025},
  eprint = {2510.20700},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.20700v1}
}

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/2510.20700.svg)](https://codeofpaper.com/paper/2510.20700)

Discussion