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

如何与潜在空间联合训练潜在扩散语言模型

How to Train Your Latent Diffusion Language Model Jointly With the Latent Space

Constructor University(Constructor大学);HSE University(莫斯科国立高等经济大学);Applied AI Institute(应用人工智能研究所);AXXX;Independent researcher(独立研究者)

Viacheslav Meshchaninov, Alexander Shabalin, Egor Chimbulatov, Nikita Gushchin, Ilya Koziev, Alexander Korotin, Dmitry Vetrov

AI总结:

本文提出联合训练潜在扩散语言模型,通过重塑预训练语言模型的表示构建潜在空间,提升生成性能并加快速度。

摘要:

潜在扩散模型通过在连续文本表示上操作,为非自回归文本生成提供替代方案。本文提出潜在扩散语言模型(LDLM),通过联合训练潜在编码器、扩散模型和解码器构建潜在空间。LDLM通过可训练编码器重塑预训练语言模型的表示,生成易于去噪和解码的潜在表示。实验表明,简单联合训练会产生低质量的扩散模型,本文提出包含MSE解码器损失、扩散到编码器预热、自适应时间步采样和解码器输入噪声的训练方法。消融研究显示各组件显著影响生成性能。在OpenWebText和LM1B上,LDLM在生成性能上优于现有离散和连续扩散语言模型,且速度提升2-13倍,表明联合学习潜在空间是使潜在扩散在文本生成中具有竞争力的关键步骤。

英文摘要:

Latent diffusion models offer an attractive alternative to discrete diffusion for non-autoregressive text generation by operating on continuous text representations and denoising entire sequences in parallel. The major challenge in latent diffusion modeling is constructing a suitable latent space. In this work, we present the Latent Diffusion Language Model (LDLM), in which the latent encoder, diffusion model, and decoder are trained jointly. LDLM builds its latent space by reshaping the representations of a pre-trained language model with a trainable encoder, yielding latents that are easy to both denoise and decode into tokens. We show that naive joint training produces a low-quality diffusion model, and propose a simple training recipe consisting of an MSE decoder loss, diffusion-to-encoder warmup, adaptive timestep sampling, and decoder-input noise. Ablations show that each component substantially impacts generation performance. On OpenWebText and LM1B, LDLM achieves better generation performance than existing discrete and continuous diffusion language models while being $2{\text -}13\times$ faster, indicating that jointly learning the latent space is a key step toward making latent diffusion competitive for text generation.

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

↑