logo
How it worksCoursesResearch CommunitiesBenefitsAbout Us
Schedule Demo
Learn Before
  • Risk of an Output in Minimum Bayes Risk Decoding

Case Study

Calculating Expected Risk for a Candidate Output

Based on the data provided in the case study, calculate the expected risk for selecting candidate y2. Show the formula and the final result.

0

1

Updated 2025-09-28

Contributors are:

G
Gemini AI
🏆 2

Who are from:

G
Google
🏆 2

Tags

Ch.3 Prompting - Foundations of Large Language Models

Foundations of Large Language Models

Computing Sciences

Foundations of Large Language Models Course

Application in Bloom's Taxonomy

Cognitive Psychology

Psychology

Social Science

Empirical Science

Science

Related
  • Calculating Expected Risk for a Candidate Output

  • In a system that selects an output by minimizing an expected cost, the cost for a candidate output y_A is calculated by summing the pairwise costs between y_A and every possible reference output y_r, with each cost weighted by the probability of that reference output. The pairwise cost function is designed to be high for dissimilar outputs and low for similar outputs.

    Suppose you are calculating the expected cost for candidate y_A. The probability of a very dissimilar candidate y_B in

  • When calculating the expected cost for a candidate output, a reference output that is very dissimilar to the candidate (resulting in a high pairwise cost) will always have a large impact on the final calculated expected cost, even if that reference output has a very low probability of being correct.

logo 1cademy1Cademy

Optimize Scalable Learning and Teaching

How it worksCoursesResearch CommunitiesBenefitsAbout UsAll Courses
TermsPrivacyCookieGDPR

Contact Us

iman@honor.education

Follow Us




© 1Cademy 2026

We're committed to OpenSource on

Github