Definition

Role of the Uniformly Distributed Random Variable (rtr_t) in Speculative Decoding

In the acceptance-rejection step of speculative decoding, rtr_t is a random variable sampled from a uniform distribution between 0 and 1, denoted as U(0,1)U(0, 1). For each candidate token at position tt, a new value of rtr_t is drawn and compared against the probability ratio of the target and draft models to decide whether to accept or reject the token.

0

1

Updated 2025-10-07

Contributors are:

Who are from:

Tags

Ch.5 Inference - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences