arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.22661cs.CLcs.AIcs.LG
收藏

dLLM:简单的扩散语言建模

dLLM: Simple Diffusion Language Modeling

UC Berkeley(伯克利大学);UIUC(伊利诺伊大学香槟分校)

Zhanhui Zhou, Lingjie Chen, Hanghang Tong, Dawn Song

AI总结:

dLLM提供了一个统一的开源框架,用于标准化和灵活扩展扩散语言建模的核心组件,同时提供可重现的食谱以加速小型DLMs的研究与开发。

摘要:

尽管扩散语言模型(DLMs)正在快速演变,但许多最近的模型却收敛到一组共享的组件。然而,这些组件却分散在随意的研究代码库中或缺乏透明的实现,使得它们难以重现或扩展。随着该领域加速发展,存在明显的需求,即需要一个统一的框架,以标准化这些共同组件,同时保持足够的灵活性,以支持新的方法和架构。为了解决这一差距,我们引入了dLLM,一个开源框架,它统一了扩散语言建模的核心组件——训练、推理和评估,并使其易于定制以适应新的设计。通过dLLM,用户可以重现、微调、部署和评估开源大型DLMs,如LLaDA和Dream,通过标准化的流程。该框架还提供了最小、可重现的食谱,用于从可访问的计算资源中构建小型DLMs,包括将任何BERT风格的编码器或自回归语言模型转换为DLM。我们还发布了这些小型DLMs的检查点,以使DLMs更加可访问,并加速未来的研究。

英文摘要:

Although diffusion language models (DLMs) are evolving quickly, many recent models converge on a set of shared components. These components, however, are distributed across ad-hoc research codebases or lack transparent implementations, making them difficult to reproduce or extend. As the field accelerates, there is a clear need for a unified framework that standardizes these common components while remaining flexible enough to support new methods and architectures. To address this gap, we introduce dLLM, an open-source framework that unifies the core components of diffusion language modeling -- training, inference, and evaluation -- and makes them easy to customize for new designs. With dLLM, users can reproduce, finetune, deploy, and evaluate open-source large DLMs such as LLaDA and Dream through a standardized pipeline. The framework also provides minimal, reproducible recipes for building small DLMs from scratch with accessible compute, including converting any BERT-style encoder or autoregressive LM into a DLM. We also release the checkpoints of these small DLMs to make DLMs more accessible and accelerate future research.

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

↑