flâneur — a map of the web's best reading

The economics of speculative decoding | Doubleword

blog.doubleword.ai · 5,338 words · saved by 1 readers

Two underexplored axes: what MoE routing does to the decode roofline, and how compressed attention takes away the slack that used to make speculated tokens free.

Speculative decoding is one of the cleanest performance wins in inference optimisation: it's lossless, it hits decode latency when not much else does, and in its standard formulation it's simple and elegant. It works by looking forwards: speculative decoding takes a position on what tokens will come next. For dense transformers the bet is riskless: accepted tokens pay off, rejected tokens cost nothing, a clean arbitrage on spare memory bandwidth. A burst of research activity has recently pushed the envelope on how far forwards we can take that bet, for example Eagle 3.1 , DFlash , SSD . This p

Explore this link on the map →

saved by

related reading