Feedgarden

Browse

DLoop: Looped Speculative Decoding

https://www.reddit.com/r/LocalLLaMA/comments/1x1eu7o/paper_dloop_looped_speculative_decoding/

A new paper, DLoop, targets wasted computation in speculative decoding for large language models.

Speculative decoding accelerates autoregressive generation by having a lightweight draft model propose tokens in a drafting stage, which the target model then verifies. As draft models become more capable, the authors observe that the target model often accepts every token produced in a drafting stage, yet a verification still follows each stage, producing unnecessary target-model forward passes even when drafting could have continued.

Adaptive draft-length methods decide during decoding how many draft tokens precede a verification, but the authors say these raise speedup only for autoregressive draft models. For a parallel draft model, drafting further requires target-model hidden states for draft tokens that have not yet been verified.

DLoop addresses this as a looped form of speculative decoding that performs multiple drafting stages before verification. It keeps drafting while the draft model remains confident and then verifies all accumulated draft tokens together. Loop-aware training keeps the draft model reliable in the additional stages by exposing it to its own hidden states for unverified draft tokens. The approach trades extra draft-model forward passes for fewer target-model forward passes.

Across speculative decoding methods including EAGLE-3, DFlash, Domino, DSpark and multi-token prediction modules, DLoop is reported to improve wall-clock speedup by 5 to 41 percent while preserving lossless decoding. The code is under internal review and will be released soon.

Media

Image: [Paper] DLoop: Looped Speculative Decoding

Image: [Paper] DLoop: Looped Speculative Decoding

Search this site

The index loads when search opens.

    On this page

    Image