PackLoop
An efficient self-speculative decoding scheme for concurrent decoding in recurrent language models. It aligns computation by accumulating speculative positions inline as required, maintaining speedup while guaranteeing exactness.
Timeline (last 90 days)
The core principle of PackLoop is: speculate only within rows that would be read anyway.
PackLoop achieves efficient speculation through three mechanisms: deep loops accumulating positions and advancing them within one row in blocks; context-copy proposals joining the row already read by the first loop; and a closed-form admission rule based on economic order quantity (EOQ).
Under FP32, PackLoop outputs tokens identical to autoregressive decoding, including in sampling and early-exit scenarios.
Across 164 load points spanning three GPUs, four Ouro models, six benchmarks, and contexts up to 32K tokens, a single PackLoop configuration outperforms the best existing schedule selected per point on 161 points, with a median speedup of 1.25x, a maximum of 1.76x, and never being significantly slower.
PackLoop's advantage grows with concurrency and context length, which are precisely the scenarios where existing self-speculation methods yield the smallest gains.
PackLoop's cost model only needs to be calibrated once per engine, and the admission rule can decide at runtime with low overhead when to accumulate and how much to accumulate.
All Facts (6)
The core principle of PackLoop is: speculate only within rows that would be read anyway.
50%UnverifiedPackLoop achieves efficient speculation through three mechanisms: deep loops accumulating positions and advancing them within one row in blocks; context-copy proposals joining the row already read by the first loop; and a closed-form admission rule based on economic order quantity (EOQ).
50%UnverifiedUnder FP32, PackLoop outputs tokens identical to autoregressive decoding, including in sampling and early-exit scenarios.
50%UnverifiedAcross 164 load points spanning three GPUs, four Ouro models, six benchmarks, and contexts up to 32K tokens, a single PackLoop configuration outperforms the best existing schedule selected per point on 161 points, with a median speedup of 1.25x, a maximum of 1.76x, and never being significantly slower.
50%UnverifiedPackLoop's advantage grows with concurrency and context length, which are precisely the scenarios where existing self-speculation methods yield the smallest gains.
50%UnverifiedPackLoop's cost model only needs to be calibrated once per engine, and the admission rule can decide at runtime with low overhead when to accumulate and how much to accumulate.
50%