Learn Before
Condition for Rejecting Speculation
A condition for potentially rejecting a speculation is met when the probability of a predicted future value, , under a distribution exceeds the probability under a distribution . This relationship is expressed as the inequality .

0
1
Tags
Ch.5 Inference - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Related
Acceptance-Rejection Mechanism for Speculative Decoding
Inequality Constraint for Predicted Future Value Functions ()
Condition for Rejecting Speculation
Consider a text generation system that uses a fast, approximate model to propose a potential future word. For each proposed word, a more accurate but slower model also calculates a probability. Suppose at a certain step
i, the fast model predicts the next word will be 'universe' (represented as ). The fast model's confidence in this specific prediction is calculated and denoted as . Based on this information, what is the most accurate interpretation of the value 0.8?In the context of a system that generates sequences of values (like words in a sentence), the expression is often used. Match each component of this expression to its correct description.
Rejection Criterion in Speculative Sampling
Interpreting Model Predictions
Learn After
Probability Formula for Speculation Rejection
An autoregressive model uses two probability distributions, a target distribution 'p' and a proposal distribution 'q', to evaluate potential future values. A condition for potentially rejecting a speculated value is met if its probability under distribution 'q' is greater than its probability under distribution 'p'.
Given the following data for four potential values, which value meets this condition?
Predicted Value Probability under p Probability under q 'A' 0.5 0.4 'B' 0.3 0.6 'C' 0.1 0.1 'D' 0.2 0.05 In a speculative generation process, a model considers a potential future value. This value is evaluated using a target probability distribution,
p, and a proposal probability distribution,q. After evaluation, the potential value is accepted and added to the final output sequence. Based only on the fact that the value was accepted, is the following statement true or false: 'The probability of the value under distributionqmust have been less than or equal to its probability under distributionp.'Speculative Decoding Scenario