用于扩散语言模型的表示空间MMD
研究论文 · 2026/10/06
我们提出了一种针对扩散语言模型(DLM)的后训练方法,该方法在冻结的预训练 DLM 的特征空间中最小化生成分布与参考分布之间的最大均值差异(MMD)。为了估计 MMD,我们在单个 token 位置保留上下文特征,从而通过一次提取器前向传播获得每个序列的多个观测。我们使用策略梯度优化离散模型的目标,并通过生成的潜变量直接微分优化连续模型。在这两种情况下,直接从这些特征计算损失使得高效的后训练成为可能,而无需完整的采样轨迹或联合训练的辅助模型。实验表明,在 OpenWebText 上,在相当熵的情况下生成困惑度更低;在 GSM8K 上,精度与计算量的权衡更好。在具有混合掩码-均匀扩散的 16B DMax-LLaDA2.0 模型上,我们在数学和代码基准上以相似或更高的精度提高了解码并行性。
该工作提出了一种高效的后训练方法,无需完整采样或辅助模型,即可提升扩散语言模型的生成质量和计算效率,在多个基准上验证了有效性,对扩散语言模型的实际应用有重要价值。
We introduce a post-training method for diffusion language models (DLMs) that minimizes Maximum Mean Discrepancy (MMD) between generated and reference distributions in the feature space of a frozen pretrained DLM. To estimate MMD, we retain contextual features at individual token positions, obtaining multiple observations per sequence from a single extractor pass. We optimize this objective using policy gradients for discrete models and direct differentiation through generated latents for continuous models. In both cases, computing the loss directly from these features enables efficient post-training without full sampling trajectories or jointly trained auxiliary models. Experiments show lower generative perplexity at comparable entropy on OpenWebText and better accuracy-computation trade-offs on GSM8K. On 16B DMax-LLaDA2.0 models with hybrid masked-uniform diffusion, we increase decoding parallelism with similar or higher accuracy on math and code benchmarks.