TeCoP:通过试探性上下文流水线加速扩散大语言模型解码 TeCoP: Accelerating Diffusion Large Language Model Decoding via Tentative Context Pipelining 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-10-20
⬇️ 1 次下载
👁️ 预览文献
💡 AI 中文简介
扩散大语言模型(dLLM)一次前向能预测多个位置,但现有分块解码器串行生成、反复重算稳定预测,效率低。作者指出问题在于把“预测是否可提交”和“预测能否当上下文”绑在一起。TeCoP是一种免训练解码器,用错位块并行流水线和“草稿-验证”机制,把稳定但未提交的预测当作临时跨块上下文,提交则由置信度和稳定性检查决定。在四种LLaDA和Dream模型、GSM8K等三个基准上,前向次数最多减少87%,吞吐最高提升7.50倍(无KV缓存)和11.77倍(有缓存),12个设置全面超过Fast-dLLM和DSB,缓存精度平均仅降不到1个百分点。
领域自然语言处理/大语言模型推理加速
适合谁读需要一定专业背景(了解扩散语言模型与解码机制)
核心贡献1. 揭示dLLM低效的根源:将“预测可提交”与“预测可作上下文”耦合;2. 提出免训练的TeCoP解码器,用错位块并行流水线加草稿-验证,把稳定未提交预测复用为临时跨块上下文,显著减少前向次数并提升吞吐。
关键数据前向评估次数最多减少87%;无KV缓存吞吐提升最高7.50倍,有缓存最高11.77倍;在12个模型-基准设置上吞吐均超Fast-dLLM和DSB;缓存精度平均与原始解码器相差不到1个百分点。
推荐理由如果你关心大模型推理加速,这篇免训练、即插即用、吞吐最高翻十倍的解码方案值得一读。
关键词["扩散大语言模型", "解码加速", "上下文流水线", "免训练解码器", "草稿-验证", "推理吞吐"]

原文摘要

查看英文原文摘要

Diffusion large language models (dLLMs) predict multiple token positions per forward pass, yet block-wise decoders serialize generation and repeatedly recompute stable predictions. We attribute this inefficiency to coupling a prediction's readiness for irreversible commitment with its utility as context. We introduce Tentative Context Pipelining (TeCoP), a training-free decoder that decouples these roles through staggered block-parallel pipelining and draft-and-verify. TeCoP reuses stable but uncommitted predictions as provisional cross-block context, with commitment governed by confidence and stability checks. Across four LLaDA and Dream dLLMs on GSM8K, Minerva MATH, and MBPP, TeCoP reduces number of forward evaluations by up to 87% and achieves up to 7.50-fold throughput without KV caching and 11.77-fold with caching over the uncached original decoder. It outperforms Fast-dLLM and DSB in throughput across all 12 model-benchmark settings, with and without caching, while keeping average cached accuracy within one percentage point of the original decoder.