Representation-Space MMD for Diffusion Language Models
cs.CL, cs.LG
Submitted: 2026-10-05
Updated: 2026-10-05
Comments: Tech Report. Code: https://github.com/yandex-research/mmd-dlm
Code: https://github.com/yandex-research/mmd-dlm
License: http://creativecommons.org/licenses/by/4.0/
The gist: 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
Abstract
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.
Sources
- Posterior Refinement: Fast Language Generation via Any-Order Flow Maps
- Program Synthesis with Large Language Models
- LLaDA2.0: Scaling Up Diffusion Language Models to 100B
- Evaluating Large Language Models Trained on Code
- DLM-One: Diffusion Language Models for One-Step Sequence Generation
- LangFlow: Continuous Diffusion Rivals Discrete in Language Modeling
- DMax: Aggressive Parallel Decoding for dLLMs
- Training Verifiers to Solve Math Word Problems
- Generative Modeling via Drifting
- Language Modeling with Hyperspherical Flows
- Beyond Single Tokens: Distilling Discrete Diffusion Models via Discrete MMD
- ELF: Embedded Language Flows
- Matching Features, Not Tokens: Energy-Based Fine-Tuning of Language Models
- Train for the Worst, Plan for the Best: Understanding Token Ordering in Masked Diffusions
- CDLM: Consistency Diffusion Language Models For Faster Sampling
- IDLM: Inverse-distilled Diffusion Language Models
- TinyGSM: achieving >80% on GSM8k with small language models
- Knowledge Distillation in Iterative Generative Models for Improved Sampling Speed
- dInfer: An Efficient Inference Framework for Diffusion Language Models
- How to Train Your Latent Diffusion Language Model Jointly With the Latent Space
Related papers
- Exploring Solution Divergence and Its Effect on Large Language Model Problem Solving
- Ishigaki-IDS-Bench: A Benchmark for Generating Information Delivery Specification from BIM Information Requirements
- Subliminal Steering: Stronger Encoding of Hidden Signals
- MedStruct-S: A Benchmark for Key Discovery, Key-Conditioned QA and Semi-Structured Extraction from OCR Clinical Reports
- The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architectures
- Untangling the Mechanisms of Misleading Context in Medical Question Answering