Speculative Decoding: Draft Proposals, Verification and Speedup Curve (2D)
Rows of draft proposals, verification marks and the output stream, with a live speedup-versus-draft-length curve and the best draft length marked. Same shared model as the 3D scene.
A cheap draft model guesses several tokens ahead and a large target model verifies them all in one pass. Tune the draft length, draft cost, draft sharpness and target temperature, and watch the rounds play out token by token: accepted guesses, a corrected token at the first rejection or a bonus token when everything passes. The measured tokens per pass converge to the closed form, and the output distribution stays exactly the target's. Blender-built machines with numerical checks of the acceptance rate, the exactness identity and the speedup formula.
Rows of draft proposals, verification marks and the output stream, with a live speedup-versus-draft-length curve and the best draft length marked. Same shared model as the 3D scene.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install