LangDiT:为连续扩散语言模型重新设计的 Transformer 架构
Designing Transformers for Continuous Diffusion Language Models
扩散语言模型一直借用图像那套 DiT 架构,这篇论文专门为文本重设计了 LangDiT,GenPPL 降到 11.33,做生成模型方向的可以看看架构细节。
论文针对连续扩散语言模型(CDLM)大多直接沿用因果 LLM 或图像 DiT 架构的问题,提出专用架构 Language Diffusion Transformer(LangDiT),整合特征与 query-key 归一化、likelihood-shortcut 梯度路由等设计。以 LangFlow 为代表模型时,LangDiT 在 OpenWebText 上 1024 token 无条件生成达到 GenPPL 21.72(1024 NFE);适配 Plaid 式 CDLM 后 GenPPL 进一步降到 11.33。改进在保留原模型训练目标与推理采样器的前提下取得,将架构本身确立为性能提升的关键来源。
Designing Transformers for Continuous Diffusion Language Models
Continuous diffusion language models (CDLMs) offer an alternative approach to parallel language generation; however, most existing studies directly use transformer architectures from either causal large language models (LLMs) or Diffusion Transformers (DiTs) for image generation, which were not optimized for CDLMs. In this paper, we conduct a systematic study on Transformer architectures for CDLMs and introduce Language Diffusion Transformer (LangDiT), combining feature and query-key normalization, wider noise conditioning, likelihood-shortcut gradient routing and calibration, and confidence-gated training self-conditioning. LangDiT significantly reduces generation perplexity in matched LangFlow comparisons, establishing a new state of the art in continuous language generation across different model formulations. Using LangFlow as a representative CDLM, LangDiT as a plug-and-play backbone leads to a new state-of-the-art model with a generation perplexity (GenPPL) of 21.72 using 1024 NFEs and 44.72 GenPPL using 128 NFEs on the unconditional generation of 1024-token sequences on the OpenWebText dataset. When adapted to Plaid-style CDLM formulations, LangDiT results in a new leading GenPPL of 11.33 using 1024 denoising NFEs, and 27.51 GenPPL using 128 denoising NFEs. These gains are achieved while retaining each model's underlying representation, training objective, and inference sampler, isolating transformer architecture as a fundamental source of improvement. Our study identifies architectural design as an important source of improvement in continuous diffusion language models.
- Stanford AI Lab10-14 23:45原文