Blockwise and Semi-Autoregressive Generation › Summary
Michael BrenndoerferNovember 17, 20261 min read
Language AI HandbookAll chapters - Semi-autoregressive translation. The model generates groups in order. In the one-shot product, tokens within each group are conditionally independent given the input and earlier groups.
- Greedy block verification. The target scores the hypothetical prefix for each candidate. The longest agreeing prefix can be committed. The first mismatch can use the target's own score as a correction. Scores after that point refer to the discarded prefix.
- Stochastic speculative decoding. Acceptance retains overlapping probability mass from the proposal. Drawing from the residual after rejection restores the target's missing mass and preserves the intended sampling distribution.
- Block diffusion. Blocks are generated in order. Refinement within a block can condition on the current state of other positions in that block. The step schedule and block length are separate.
- Serving cost. Target passes, work and elapsed time per emitted token measure different quantities. Track the draft, verification, cache, and scheduling costs that intervene before output.
Comments
Add to the conversation
A question, a correction, or an example from your own work.
No comments yet. Be the first to share your thoughts!