arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.17917cs.CL
收藏

Batch-Paced:离散扩散语言模型中的固定预算批量解码

Batch-Paced: Fixed-Budget Batch Decoding in Discrete Diffusion Language Models

Zhejiang University(浙江大学);Westlake University(西湖大学)

Shuai Zhang, Zhanchao Zhou, Huachuan Qiu, Anqi Li, Zhenzhong Lan

AI总结:

针对离散扩散语言模型单序列解码效率的局限,提出无训练的 Batch-Paced 方法,通过联合优化批量请求的解码计算分配,在固定预算下提升批量性能,且解码时间具竞争力。

摘要:

随着生成式语言模型能力不断增强且应用愈发广泛,推理需求随之增长,高效服务的重要性日益凸显。离散扩散语言模型(dLLMs)通过并行生成 token 为实现更高效的推理提供了可行路径。然而,现有的 dLLM 解码方法主要聚焦于提升单条序列的推理效率。我们提出了固定预算 dLLM 批量解码问题,并引入了 Batch-Paced 这一无需训练的方法,该方法会联合优化各请求间的解码计算分配,以提升整体批量质量。在两种 dLLM 主干模型、五个基准及其代表性混合数据集上,Batch-Paced 在匹配预算下提升了批量性能;增益通常随批量大小增大而提升,且在各类解码配置下基本保持稳定。对请求解码轨迹的分析表明,这些增益主要源于提高了低置信度请求的已提交 token 置信度。我们进一步证明,Batch-Paced 的批量解码时间仍具竞争力,且在 Batch-Paced 解码过程中添加解码深度余量可在性能损失较小的情况下进一步缩短解码时间。

英文摘要:

As generative language models become more capable and widely used, inference demand grows, making efficient serving increasingly important. Discrete diffusion language models (dLLMs) offer a promising path to more efficient inference through parallel token generation. Prior dLLM decoding methods, however, focus on improving inference efficiency for individual sequences. We formulate fixed-budget dLLM batch decoding and introduce Batch-Paced, a training-free method that jointly optimizes the allocation of decoding compute across requests to improve overall batch quality. Across two dLLM backbones, five benchmarks and their representative mixtures, Batch-Paced improves batch performance under matched budgets; gains generally grow with batch size and largely persist across decoding configurations. Analysis of requests' decoding trajectories suggests that these gains arise largely by raising the committed-token confidence of lower-confidence requests. We further show that Batch-Paced's batch decode time remains competitive and that adding a decoding-depth allowance during Batch-Paced decoding can shorten it further at a modest performance cost.

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

↑