LiLiCorr 的核心思路是:不直接建模昂贵的完整联合分布,而是让草稿头已经产出的逐位置边缘分布"事后相关"起来。具体做法:在每个位置保留 top-k 候选 token 作为候选集合,用一个轻量网络对所有候选做一次前向,为每个候选同时产出一个 in 向量和一个 out 向量。当前一个候选的 out 向量与后一个候选的 in 向量余弦相似度高时,判定这两个候选"匹配",即可以承接成一条连贯路径。这些两两匹配分数捕捉了区块内部的联合结构,却始终没有真正构造出完整的联合分布表。
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 DecodingInferenceDiffusion LM推理加速
来源:arXiv:2608.20530(摘要与元数据),arXiv 摘要页未提供完整方法/实验细节,本文未解析 PDF 全文,具体数值均引自摘要原文。