Two Models, One Pass: The Core Mechanism

Speculative decoding's core involves a lightweight 'draft model' rapidly proposing multiple tokens, which a larger 'target model' then verifies in a single, parallel forward pass, drastically cutting sequential generation steps.

Sources

Open the full topic