arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2601.23278cs.LGcs.ARcs.CL
收藏

FOCUS: DLLMs 知道如何驯服它们的计算瓶颈

FOCUS: DLLMs Know How to Tame Their Compute Bound

University of California, Berkeley(加州大学伯克利分校);University of Toronto(多伦多大学)

Kaihua Liang, Xin Tan, An Zhong, Hong Xu, Marco Canini

AI总结:

针对扩散大语言模型解码中大部分计算浪费在不可解码令牌上的问题,提出 FOCUS 推理系统,通过动态聚焦可解码令牌并驱逐不可解码令牌,提升有效批大小,实现高达 3.52 倍的吞吐量提升。

摘要:

扩散大语言模型(DLLMs)为自回归模型提供了一种引人注目的替代方案,但其部署受到高解码成本的制约。在这项工作中,我们识别出 DLLM 解码中的一个关键低效问题:虽然计算在令牌块上并行化,但每个扩散步骤中只有一小部分令牌是可解码的,导致大部分计算浪费在不可解码的令牌上。我们进一步观察到注意力导出的令牌重要性与逐令牌解码概率之间存在强相关性。基于这一洞察,我们提出了 FOCUS,一个专为 DLLMs 设计的推理系统。通过动态地将计算聚焦于可解码令牌并实时驱逐不可解码令牌,FOCUS 增加了有效批大小,缓解了计算限制并实现了可扩展的吞吐量。实验评估表明,在大批量设置下,FOCUS 相比生产级引擎 LMDeploy 实现了高达 3.52 倍的吞吐量提升,同时在多个基准测试中保持或提升了生成质量。

英文摘要:

Diffusion Large Language Models (DLLMs) offer a compelling alternative to Auto-Regressive models, but their deployment is constrained by high decoding cost. In this work, we identify a key inefficiency in DLLM decoding: while computation is parallelized over token blocks, only a small subset of tokens is decodable at each diffusion step, causing most compute to be wasted on non-decodable tokens. We further observe a strong correlation between attention-derived token importance and token-wise decoding probability. Based on this insight, we propose FOCUS, an inference system designed for DLLMs. By dynamically focusing computation on decodable tokens and evicting non-decodable ones on-the-fly, FOCUS increases the effective batch size, alleviating compute limitations and enabling scalable throughput. Empirical evaluations demonstrate that FOCUS achieves up to 3.52$\times$ throughput improvement over the production-grade engine LMDeploy in large-batch settings, while preserving or improving generation quality across multiple benchmarks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑