Representation-Space MMD for Diffusion Language Models

Ilya Drobyshevskiy, Ilia Sudakov, Maksim Semenov, Denis Kuznedelev, Maksim Ignatov +5 more
10/5/2026
cs.CLcs.LG

No official code found. Best implementation: yandex-research/dlm-mmd (10 stars, Apache-2.0, last commit 2026-10-06).

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.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Official code of "Representation-Space MMD for Diffusion Language Models"

100Oct 6, 20262 weeks agoApache-2.0

Similar Papers

Cite this paper

@article{drobyshevskiy2026representationspace,
  title  = {Representation-Space MMD for Diffusion Language Models},
  author = {Ilya Drobyshevskiy and Ilia Sudakov and Maksim Semenov and Denis Kuznedelev and Maksim Ignatov and Pavel Temirchev and Nikita Balagansky and Viacheslav Meshchaninov and Nikita Gushchin and Dmitry Baranchuk},
  year   = {2026},
  eprint = {2610.06648},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.06648v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.06648.svg)](https://codeofpaper.com/paper/2610.06648)

Discussion