LiLiCorr: Lightweight Likelihood Correlation of Parallel Drafts for Speculative Decoding

📅 2026-08-20
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
为解决推测解码中生成的令牌联合不一致问题,提出LiLiCorr模型,通过轻量级似然相关方法处理每个位置的候选令牌,提高了接受序列长度和吞吐量。
📝 Abstract
Speculative decoding accelerates language-model inference by drafting future tokens that the target model verifies in parallel. A diffusion-style block head such as DFlash is an attractive drafter, predicting an entire block of future tokens in one forward pass. However, it is trained on per-position marginals rather than the joint block distribution, so the tokens it emits are individually plausible yet jointly incoherent. We introduce LiLiCorr, a Lightweight Likelihood-based model that Correlates the per-position marginal distributions a drafter already produces. It keeps the top-k tokens at each position as candidates and processes them jointly, producing for each an in and an out vector. A pair of adjacent candidates matches when the earlier one's out vector has high cosine similarity with the later one's in vector. These matches capture the block's joint structure without ever materializing the full joint distribution. One lightweight network pass produces all the vectors, and the pairwise scores are then computed in parallel as batched matrix operations, leaving only a cheap greedy walk sequential. We further co-train the drafter with LiLiCorr, so it learns to propose candidates that correlate into longer accepted sequences. Over the vanilla DFlash drafter, LiLiCorr raises acceptance length on every benchmark by 9 to 19%, while its scoring head accounts for about 2.8% of the per-block latency. Against DFlash and two concurrent methods that also restore coherence at draft time, LiLiCorr delivers the highest throughput in 70 of 72 settings: nine benchmarks at two target sizes under greedy and temperature-one decoding, and a throughput sweep over six concurrencies, two input lengths and three entropy tiers, with all systems equally optimized on a common serving stack. Extending LiLiCorr to inputs an order of magnitude longer than it was trained on preserves that lead.
Problem

Research questions and friction points this paper is trying to address.

speculative decoding
language-model inference
joint coherence
marginal distributions
Innovation

Methods, ideas, or system contributions that make the work stand out.

Lightweight Likelihood-based model
Correlates per-position marginal distributions
Parallel speculative decoding
Cosine similarity matching
Co-training with drafter
🔎 Similar Papers
2023-12-18Neural Information Processing SystemsCitations: 52