‹ Field GuideLetter 13 · The bun that failed inspection
Koko drafts three flavors before Michi finishes checking the first. The first bun passes. The second fails. The third was chosen after an ingredient that will never reach the counter. Set it aside and start again from the tray that was actually served.
Two ways to check a bun
In greedy decoding, compare the draft token with the target model’s top choice at the same prefix. Sampling follows a different rule. If the target puts probability 0.3 on pear and the draft puts 0.4 on pear, a proposed pear passes with probability 0.3 / 0.4 = 0.75. With a uniform acceptance draw of 0.8, it fails.
What goes in the correction jar?
In flavor order mint, pear, plum, the target weights are [5, 3, 2] and the draft weights are [4, 4, 2], each out of ten. The positive differences are [1, 0, 0]. After a rejection, sampling the normalized correction jar yields mint. On an entirely accepted draft block, there is an extra next-token distribution from the target. Use that for the bonus.
- Keep a contiguous prefix of accepted proposals.
- At the first rejection, emit one corrected token and end the block.
- Compare wall time for the same output length when deciding whether drafting pays off.
Try the probability oven · Leviathan and colleagues · Chen and colleagues