Formula

Risk of an Output in Minimum Bayes Risk Decoding

In Minimum Bayes Risk (MBR) decoding, the risk associated with selecting a particular output y from a set of candidates Ω is defined as the expected cost over all possible reference outputs y_r. This is calculated by summing the product of the risk function R(y, y_r) and the probability of the reference output Pr(y_r|x) for every candidate in Ω. The formula is: $\text{Risk}(y) = \mathbb{E}_{y_r \sim \Pr(y_r|\mathbf{x})} R(y, y_r) = \sum_{y_r \in \Omega} R(y, y_r) \cdot \Pr(y_r|\mathbf{x})$

Image 0

0

1

Updated 2026-05-02

Contributors are:

Who are from:

Tags

Ch.3 Prompting - Foundations of Large Language Models

Foundations of Large Language Models

Computing Sciences

Foundations of Large Language Models Course