Learn Before
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
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_Ais calculated by summing the pairwise costs betweeny_Aand every possible reference outputy_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 candidatey_Bincreases, while the probability of a very similar candidatey_Cdecreases by an identical amount. All other probabilities and pairwise costs remain constant. What is the most likely effect on the expected cost ofy_A?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.