← 首页|学术|LiLiCorr: Lightweight Likelihood Correlation of Parallel Drafts for Speculative Decoding
cs.CL · arXiv:2608.20530 · 20 Aug 2026

LiLiCorr: Lightweight Likelihood Correlation of Parallel Drafts for Speculative Decoding

Matan Rusanovsky, Yoav Miron, Roy Uziel, Omer Belhasin, Ran Zilberstein, Maor Ashkenazi, Michael Elad
💬 一句话:DFlash 这类扩散式区块草稿头一次前向就能吐出一整段候选 token,但训练目标只是逐位置边缘分布,导致同一区块内的 token 各自看着都合理、拼在一起却不连贯。LiLiCorr 不去建模完整联合分布这种昂贵的事,而是给每个候选 token 算一对 in/out 向量,用余弦相似度给相邻候选"连边",一次轻量网络前向 + 并行矩阵运算就能低成本地把区块内部的联合结构找回来,草稿头因此接受长度提升 9%-19%,而这套打分只占单区块延迟的约 2.8%。

🎯 问题:并行草稿头的"各自合理,合在一起不连贯"

扩散式区块草稿头的训练-推理错位
像 DFlash 这样的扩散式(diffusion-style)区块头,一次前向就并行预测未来一整块 token,这是它相比自回归草稿头(如传统 speculative decoding 的小模型)最大的速度优势。但代价是:它的训练目标是逐位置的边缘分布(per-position marginals),而不是整个区块 token 联合分布(joint block distribution)。结果是区块内每个位置单独看预测都"像话",但多个位置拼接起来经常互相矛盾或不通顺——目标模型验证时因为联合不连贯而拒绝整段草稿,接受长度(acceptance length)打折扣,投机解码的加速收益就被削弱了。
投机解码(speculative decoding)用一个便宜的"草稿模型"提前生成多个候选 token,再由目标大模型一次前向并行验证,只要接受率够高就能省掉多步自回归解码的开销。区块草稿头能一次吐出整段候选,天然比逐 token 自回归的草稿模型快,但联合分布建模的缺失是这类方法共同的软肋。

🔬 方法:in/out 向量 + 余弦相似度连边,绕开完整联合分布建模

轻量似然相关性打分头
LiLiCorr 的核心思路是:不直接建模昂贵的完整联合分布,而是让草稿头已经产出的逐位置边缘分布"事后相关"起来。具体做法:在每个位置保留 top-k 候选 token 作为候选集合,用一个轻量网络对所有候选做一次前向,为每个候选同时产出一个 in 向量和一个 out 向量。当前一个候选的 out 向量与后一个候选的 in 向量余弦相似度高时,判定这两个候选"匹配",即可以承接成一条连贯路径。这些两两匹配分数捕捉了区块内部的联合结构,却始终没有真正构造出完整的联合分布表。
工程上的关键是并行化:一次轻量网络前向就能产出所有候选的 in/out 向量;两两打分是批量矩阵乘法,可以完全并行;只有最后从候选图里挑出最优路径的贪心游走(greedy walk)是串行的,但这一步本身很便宜。草稿头还与 LiLiCorr 联合训练(co-train),让草稿头逐渐学会主动提出"更容易被相关起来、能拼成更长可接受序列"的候选,而不只是逐位置边缘概率最高的候选。
▶ 与"完整联合分布建模"路线的对比
如果要严格建模区块 token 的联合分布,代价随区块长度和候选数指数增长,不现实。LiLiCorr 用"轻量网络产出向量 + 成对余弦相似度打分"这一低秩近似,把联合结构的捕捉压缩成一个可并行的图匹配问题,是一种在准确性和推理开销之间做权衡的设计。

📊 结果:9-19% 接受长度提升,2.8% 延迟开销,72 个设置中 70 个吞吐量最优

接受长度提升
+9~19%
相对 vanilla DFlash
打分头延迟开销
~2.8%
占单区块延迟
吞吐量最优设置数
70/72
对比 DFlash + 两个同期方法
评测覆盖范围
论文摘要与 arXiv 页面透露的实验维度包括:九个基准(benchmark)、两种目标模型规模、贪心解码与温度为一的采样解码,外加对六种并发数(concurrency)、两种输入长度、三档熵(entropy tier)的扫描,合计构成 72 个设置的评测网格。在几乎所有设置下 LiLiCorr 都取得最高吞吐量,说明其收益不是某个特定条件下的偶然结果,而是较为稳健的系统性提升。
对比对象是原始 DFlash,以及"另外两个同期也在草稿阶段尝试恢复联合连贯性"的方法(论文摘要未点名具体是谁)。这说明"区块草稿头联合分布缺失"这一问题在 2026 年 8 月这个时间点上已经成为投机解码领域的一个共识痛点,多个团队几乎同时在攻关。

🔗 与同批论文的呼应:GRAFT 的另一条路径

同一个问题,两种不同的解法
值得注意的是,同一天/同一批次的 arXiv 提交中还有一篇 GRAFT(2608.20375),同样是针对扩散式区块草稿头(DLM drafter)在投机解码中的联合不连贯问题给出解法。LiLiCorr 和 GRAFT 相互独立地瞄准了完全相同的痛点——草稿头逐位置边缘分布与区块联合分布之间的错位——但给出了不同的修复思路:LiLiCorr 走的是"轻量打分头 + 图匹配式候选相关"路线,尽量把额外开销压到接近零(约 2.8%);这两篇论文几乎同时出现,说明"如何低成本地把并行草稿的联合结构找回来"正在成为投机解码研究的一个新兴子方向,值得放在一起对照读,看两条路径谁在准确性/延迟权衡上更优、能否互相借鉴或融合。
Speculative DecodingDiffusion DrafterGRAFT
▶ 原文摘要 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.
Speculative Decoding Inference Diffusion LM 推理加速
来源:arXiv:2608.20530(摘要与元数据),arXiv 摘要页未提供完整方法/实验细节,本文未解析 PDF 全文,具体数值均引自摘要原文。