Learn Before
Interpreting the BoN Sampling Formula
Consider the formal definition for selecting a set of N output sequences based on an input sequence, x:
In your own words, explain what this mathematical expression represents. Specifically, describe the function of the Pr(y|x) component and the argTopN operation in this context.
0
1
Tags
Ch.5 Inference - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Comprehension in Revised Bloom's Taxonomy
Cognitive Psychology
Psychology
Social Science
Empirical Science
Science
Related
A language model processes an input prompt
xand considers four potential output sequences:y1,y2,y3, andy4. The model calculates the conditional probabilityPr(y|x)for each sequence as follows:Pr(y1|x) = 0.45Pr(y2|x) = 0.15Pr(y3|x) = 0.85Pr(y4|x) = 0.60
If the model employs a selection method that chooses the top 2 sequences that maximize this probability, which set of sequences will be the final output?
Interpreting the BoN Sampling Formula
In the mathematical formulation of a sampling method where the top N outputs are selected based on their likelihood given an input
x, the expressionargTopN_y [Pr(y|x)]returns the N highest conditional probability values.