TextLDM:基于连续潜在扩散的语言建模
TextLDM: Language Modeling with Continuous Latent Diffusion
AI总结:
TextLDM将视觉潜在扩散框架应用于文本生成,通过Representation Alignment提升文本表示质量,在OpenWebText2上训练后优于现有扩散语言模型,匹配GPT-2性能。
摘要:
扩散变换器(DiT)在VAE潜在空间中通过流匹配实现了图像和视频的统一生成。将此框架应用于语言建模是实现生成与理解统一架构的自然延伸。我们提出TextLDM,通过最小的架构修改将视觉潜在扩散方法迁移到文本生成。基于Transformer的VAE将离散标记映射到连续潜在空间,通过冻结的预训练语言模型进行Representation Alignment以生成适用于条件去噪的表示。标准DiT在该潜在空间中执行流匹配,与视觉对应物具有相同的架构。我们解决的核心挑战是获得高质量的连续文本表示:我们发现重建保真度本身不足,通过REPA对潜在特征与预训练语言模型对齐对于下游生成质量至关重要。在OpenWebText2上从头训练后,TextLDM显著优于现有扩散语言模型,并在相同条件下匹配GPT-2性能。我们的结果证明了视觉DiT配方可以有效迁移到语言领域,为多模态生成与理解的统一扩散架构迈出了实质性的一步。
英文摘要:
Diffusion Transformers (DiT) trained with flow matching in a VAE latent space have unified visual generation across images and videos. A natural next step toward a single architecture for both generation (visual synthesis) and understanding (text generation) is to apply this framework to language modeling. We propose TextLDM, which transfers the visual latent diffusion recipe to text generation with minimal architectural modification. A Transformer-based VAE maps discrete tokens to continuous latents, enhanced by Representation Alignment (REPA) with a frozen pretrained language model to produce representations effective for conditional denoising. A standard DiT then performs flow matching in this latent space, identical in architecture to its visual counterpart. The central challenge we address is obtaining high-quality continuous text representations: we find that reconstruction fidelity alone is insufficient, and that aligning latent features with a pretrained language model via REPA is critical for downstream generation quality. Trained from scratch on OpenWebText2, TextLDM substantially outperforms prior diffusion language models and matches GPT-2 under the same settings. Our results establish that the visual DiT recipe transfers effectively to language, taking a concrete step toward unified diffusion architectures for multimodal generation and understanding.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。