arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.15927cs.LGcs.AI
收藏

DiffuMamba:基于Mamba架构的高吞吐量扩散语言模型

DiffuMamba: High-Throughput Diffusion LMs with Mamba Backbone

ServiceNow Research, Montreal, Canada(ServiceNow研究机构,加拿大蒙特利尔);Concordia University(Concordia大学)

Vaibhav Singh, Oleksiy Ostapenko, Pierre-André Noël, Eugene Belilovsky, Torsten Scholak

AI总结:

DiffuMamba基于Mamba架构,通过结合扩散目标与线性序列建模,实现了高吞吐量的扩散语言模型,在长序列任务中表现出色。

摘要:

扩散语言模型(DLMs)作为一种有前景的替代自回归(AR)生成方法已崭露头角,然而其依赖于Transformer架构的瓶颈限制了推理效率,因为二次注意力或KV缓存开销。我们引入了DiffuMamba,一种基于双向Mamba架构的掩码扩散语言模型,将扩散目标与线性时间序列建模相结合,并引入DiffuMamba-H,一种具有交错注意力的混合变体。在高达13亿参数的规模上,我们的模型在下游任务性能上与基于Transformer的扩散模型相当,同时在长序列上分别实现了高达8.2倍和4.3倍的推理吞吐量。我们进一步系统分析了现代DLM变体的推理效率,结合渐近复杂度与实证测量。值得注意的是,缓存高效的块扩散与Mamba混合器成为唯一能够与序列长度线性增长并实现所有基线最强性能的策略,这表明了未来基于扩散的生成系统的一个有前景的方向。

英文摘要:

Diffusion language models (DLMs) have emerged as a promising alternative to autoregressive (AR) generation, yet their reliance on Transformer backbones limits inference efficiency due to quadratic attention or KV-cache overhead. We introduce DiffuMamba, a masked diffusion language model built on a bidirectional Mamba backbone that combines the diffusion objective with linear-time sequence modeling, and DiffuMamba-H, a hybrid variant with interleaved attention. Across scales up to 1.3B parameters, our models match Transformer-based diffusion in downstream performance while achieving up to 8.2x and 4.3x higher inference throughput, respectively, on long sequences. We further present a systematic analysis of inference efficiency across modern DLM variants combining asymptotic complexity with empirical measurements. Notably, cache-efficient block diffusion with Mamba mixers emerges as the only strategy that scales linearly with sequence length and achieves the strongest performance across all baselines, suggesting a promising direction for future diffusion-based generation systems.

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

↑