Optimal Policy Minimum Bayesian Risk

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Astudillo, Ramón Fernandez, Sultan, Md Arafat, Trivedi, Aashka, El-Kurdi, Yousef, Naseem, Tahira, Florian, Radu, Roukos, Salim
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918155745492992
author Astudillo, Ramón Fernandez
Sultan, Md Arafat
Trivedi, Aashka
El-Kurdi, Yousef
Naseem, Tahira
Florian, Radu
Roukos, Salim
author_facet Astudillo, Ramón Fernandez
Sultan, Md Arafat
Trivedi, Aashka
El-Kurdi, Yousef
Naseem, Tahira
Florian, Radu
Roukos, Salim
contents Inference scaling helps LLMs solve complex reasoning problems through extended runtime computation. On top of long chain-of-thought (long-CoT) models, purely inference-time techniques such as best-of-N (BoN) sampling, majority voting, or more generally, minimum Bayes risk decoding (MBRD), can further improve LLM accuracy by generating multiple candidate solutions and aggregating over them. These methods typically leverage additional signals in the form of reward models and risk/similarity functions that compare generated samples, e.g., exact match in some normalized space or standard similarity metrics such as Rouge. Here we present a novel method for incorporating reward and risk/similarity signals into MBRD. Based on the concept of optimal policy in KL-controlled reinforcement learning, our framework provides a simple and well-defined mechanism for leveraging such signals, offering several advantages over traditional inference-time methods: higher robustness, improved accuracy, and well-understood asymptotic behavior. In addition, it allows for the development of a sample-efficient variant of MBRD that can adjust the number of samples to generate according to the difficulty of the problem, without relying on majority vote counts. We empirically demonstrate the advantages of our approach on math (MATH-$500$) and coding (HumanEval) tasks using recent open-source models. We also present a comprehensive analysis of its accuracy-compute trade-offs.
format Preprint
id arxiv_https___arxiv_org_abs_2505_17242
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Optimal Policy Minimum Bayesian Risk
Astudillo, Ramón Fernandez
Sultan, Md Arafat
Trivedi, Aashka
El-Kurdi, Yousef
Naseem, Tahira
Florian, Radu
Roukos, Salim
Machine Learning
Artificial Intelligence
Inference scaling helps LLMs solve complex reasoning problems through extended runtime computation. On top of long chain-of-thought (long-CoT) models, purely inference-time techniques such as best-of-N (BoN) sampling, majority voting, or more generally, minimum Bayes risk decoding (MBRD), can further improve LLM accuracy by generating multiple candidate solutions and aggregating over them. These methods typically leverage additional signals in the form of reward models and risk/similarity functions that compare generated samples, e.g., exact match in some normalized space or standard similarity metrics such as Rouge. Here we present a novel method for incorporating reward and risk/similarity signals into MBRD. Based on the concept of optimal policy in KL-controlled reinforcement learning, our framework provides a simple and well-defined mechanism for leveraging such signals, offering several advantages over traditional inference-time methods: higher robustness, improved accuracy, and well-understood asymptotic behavior. In addition, it allows for the development of a sample-efficient variant of MBRD that can adjust the number of samples to generate according to the difficulty of the problem, without relying on majority vote counts. We empirically demonstrate the advantages of our approach on math (MATH-$500$) and coding (HumanEval) tasks using recent open-source models. We also present a comprehensive analysis of its accuracy-compute trade-offs.
title Optimal Policy Minimum Bayesian Risk
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2505.17242