Back to the lesson libraryMECHANISM · 13 MIN
M27.6 CONNECT THE MECHANISM

Let a cheap draft propose tokens for a target model to verify

A small model guesses the next four tokens, and the big model checks all four in the time it takes to write one. The answers come out exactly as the big model would write them.

LESSON OVERVIEW13 min lesson

Lesson overview

A small model guesses the next four tokens, and the big model checks all four in the time it takes to write one. The answers come out exactly as the big model would write them.

What you’ll explore

  • Speculative decoding proposes several tokens and verifies them with a target model; distribution-preserving variants require an exact acceptance/correction rule, while speed depends on acceptance and execution cost.
Suggest a correction

A precise note can make an explanation better.

Choose the scene and describe what needs attention. Download a feedback file to share through a channel you already use. This page does not send feedback or connect you with a reviewer.

The file includes this note, the scene title, and lesson metadata. Your saved progress and quiz responses are excluded. Download before leaving or reloading to keep your note.