Is Your Diffusion Sampler Actually Correct? A Sampler-Centric Evaluation of Discrete Diffusion Language Models
Organizations: University of California, Riverside
Abstract
Discrete diffusion language models (dLLMs) provide a fast and flexible alternative to autoregressive models (ARMs) via iterative denoising with parallel updates. However, their evaluation is challenging: existing metrics conflate denoiser approximation error with sampler-induced error from the sampling dynamics, a problem that does not arise for ARMs whose autoregressive sampling exactly reflects the learned probability model. We introduce a sampler-centric oracle framework that replaces learned denoisers with an exact Hidden Markov Model posterior derived from a ground-truth Markov chain, isolating sampler-induced error in a controlled setting. We show that few-step discrete diffusion samplers are not distributionally correct even under an oracle denoiser, with transition-level mismatch that vanishes only as the number of steps approaches the sequence length. Moreover, improvements in negative log-likelihood (NLL), generative perplexity (GenPPL), or MAUVE do not imply correct sampling. Code is available at https://luhantang.github.io/dllm_sampler
Figures & tables
Appendix figures & tables9 assets
Supplementary material from the paper’s appendix.
Appendix
| Dataset | Type | Model | Steps | Seed | NLL | KL rate | TV rate | Ent rate | Unigram L1 | 2-gram Diversity | 3-gram Diversity | Duplicate | Other mass | Support frac |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| OpenWebText (BPE-4096) | Baseline | AR | — | — | 4.1179 | 0.2454 | 0.2012 | 3.8724 | 0.0489 | 0.9459 | 0.9975 | 0.0000 | 0.0001 | 0.2380 |
| OpenWebText (BPE-4096) | Diffusion | LLaDA | 8 | 123 | 4.3019 | 1.3182 | 0.4458 | 2.9837 | 0.9113 | 0.6351 | 0.9092 | 0.0000 | 0.0855 | 0.1070 |
| OpenWebText (BPE-4096) | Diffusion | LLaDA | 16 | 123 | 3.5183 | 1.1849 | 0.5342 | 2.3334 | 1.1441 | 0.4561 | 0.7321 | 0.0000 | 0.0442 | 0.0654 |
| OpenWebText (BPE-4096) | Diffusion | LLaDA | 32 | 123 | 3.1247 | 1.1996 | 0.5947 | 1.9251 | 1.2824 | 0.3548 | 0.5941 | 0.0000 | 0.0251 | 0.0414 |
| OpenWebText (BPE-4096) | Diffusion | LLaDA | 64 | 123 | 2.9198 | 1.2414 | 0.6294 | 1.6784 | 1.3543 | 0.2940 | 0.5054 | 0.0000 | 0.0154 | 0.0265 |
| OpenWebText (BPE-4096) | Diffusion | LLaDA | 128 | 123 | 2.8082 | 1.2840 | 0.6507 | 1.5243 | 1.3959 | 0.2555 | 0.4484 | 0.0000 | 0.0104 | 0.0172 |
| Dataset | Type | Model | Steps | Seed | NLL | KL rate | TV rate | Ent rate | Unigram L1 | 2-gram Diversity | 3-gram Diversity | Duplicate | Other mass | Support frac |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Text8 (Char) | Baseline | AR | — | — | 2.3780 | 0.0026 | 0.0181 | 2.3754 | 0.0119 | 0.2394 | 0.6949 | 0.0000 | 0.0000 | 0.0042 |
| Text8 (Char) | Diffusion | LLaDA | 8 | 123 | 3.4649 | 1.9778 | 0.4448 | 1.4871 | 0.7657 | 0.1018 | 0.2489 | 0.0000 | 0.0000 | 0.0038 |
| Text8 (Char) | Diffusion | LLaDA | 16 | 123 | 2.8683 | 1.7279 | 0.5148 | 1.1404 | 0.8939 | 0.0720 | 0.1588 | 0.0000 | 0.0000 | 0.0027 |
| Text8 (Char) | Diffusion | LLaDA | 32 | 123 | 2.6452 | 1.7054 | 0.5551 | 0.9398 | 0.9411 | 0.0540 | 0.1105 | 0.0000 | 0.0000 | 0.0018 |
| Text8 (Char) | Diffusion | LLaDA | 64 | 123 | 2.4194 | 1.6167 | 0.5883 | 0.8028 | 0.9664 | 0.0395 | 0.0784 | 0.0000 | 0.0000 | 0.0010 |
| Text8 (Char) | Diffusion | LLaDA | 128 | 123 | 2.1635 | 1.4670 | 0.6071 | 0.6966 | 0.9836 | 0.0307 | 0.0596 | 0.0000 | 0.0000 | 0.0007 |
| Diffusion Step | ReMDM sample (same seed, index = 7) |
|---|---|
| GT | elroidified ... They talked until a Carl React. She was hub executive chap, Mr McGs, making his personal read the past rather than the hrey. ... According to gy on Gresist “In acknowled” expressive information, community ... Ver at 10 minutes [...] |
| 32 | , although I am ... The two countries restrictions about fakeholds a Improducue group led us staying a big city of the work Prime ... It would get behind by the GOP nomination. Even though the year which facts for grinalsced worsteep survey [...] |
| 128 | seasons of them out on the Duckabb ... firing individual’s on how much work very nice Jews is greatest to put in front of the NBooking ... No. I do one million in any unatticestercig is to make a public opinion [...] |
| 1024 | or even at least the world of good rockets every room last ... The Early as expected surround contained modific. Pennyard. Proble, he’s not that when I can be said ... the Rick of the New York Times [...] |
| Diffusion Step | LLADA sample (same seed, index = 7) |
|---|---|
| 32 | to the last season. The government’s ... the same time, the first half of the team in the city ... one of the same time, but the same way, and the rest of the world, in the most of the number of the time, in the same time, in the country [...] |
| 128 | one of the same time, in the back in the same time, the country’s of the most of the same time to the U. ... the same amount of the same value of the government’s, the world, and the world. That’s, the University of the same time [...] |
| 1024 | the same time, and the same time, and the same time, in the first time of the same time ... the country’s of the same time, in the world’s of the rest of the time in the same way, in the world’s, the first time in the first appeared [...] |