Interpret the likelihood.
Separate exact text likelihood, variational slack, and numerical error. A tighter bound and a better model are different improvements.
Understand the comparisonCONTINUOUS DIFFUSION LANGUAGE MODELS
CDLM-Bench: A Unified Library and Benchmark
for Continuous Diffusion Language Models
1 Polyadic Research Group · 2 SAGA Lab, CUHK-Shenzhen
3 School of Computer Science, Peking University · 4 Dots Studio, Xiaohongshu
THE EVALUATION BLIND SPOT
Same output count. A different distribution.
Point positions are schematic; scores come from the experiments below.
An independent real sample provides a reference for finite-sample variation.
OWT · 128-token source windows · 512 outputs per set · means over 3 folds
The benchmark
A score is useful when we know what it measures, what it misses, and how to reproduce it.
Separate exact text likelihood, variational slack, and numerical error. A tighter bound and a better model are different improvements.
Understand the comparisonCompare generated sets with real text. Track diversity, coverage, repetition, and rare failures alongside a fixed kernel discrepancy.
Explore the stress testsConnect model definitions, sampling settings, saved outputs, and evaluation protocols through a common experimental interface.
See the library designLikelihood matters. So does its meaning.
Keep the model’s probability, a computable bound, and an external judge’s score distinct.
Autoregressive token conditionals give a directly computable discrete likelihood under a specified tokenizer and scoring convention.
A latent CDLM’s bound includes posterior mismatch. Its ranking combines model fit with the tightness of the inference reference.
An external language model scores generated texts. Concentrating on easy texts can improve this score while reducing output diversity.
Under matched scoring, a valid CDLM NLL bound below exact AR NLL certifies a likelihood improvement. A bound above AR NLL does not establish the reverse ranking. A reference-scale optimum also does not certify a small total gap.
Controlled experiments
Constructed output sets isolate collapse, local corruption, and formatting sensitivity. Explore what each measurement sees.
Swipe to see all metrics
| Output construction | Gen PPL ↓ | Hrow | MMD display ↓ | MAUVE ↑ |
|---|---|---|---|---|
| Independent real control | 25.960 | 4.275 | 0.01549 ± 0.00748 | 0.96026 ± 0.00221 |
| One selected text × 512 | 2.461 | 4.419 | 0.68248 ± 0.05884 | 0.00407 ± 0.00000 |
| 256 texts × 2 | 25.944 | 4.274 | 0.03130 ± 0.00608 | 0.88665 ± 0.02012 |
| 64 texts × 8 | 25.693 | 4.273 | 0.07308 ± 0.00134 | 0.05743 ± 0.01755 |
| Judge-easiest quartile | 13.427 | 4.178 | 0.08610 ± 0.00662 | 0.93391 ± 0.01353 |
Repeating one selected text improves both conventional scores, while MMD and MAUVE reveal the collapsed output distribution.
OWT validation pilot: 128-token source windows, 512 outputs per set, and 3 folds from one available shard. Gen PPL is scored by GPT-2 Large. Hrow is mean within-text unigram entropy.
“MMD display” is sign(MMD²)√|MMD²|, using BF16 mean-pooled GPT-2 Large features and a reference-median RBF bandwidth. MAUVE uses FP32 last-token features, 51 clusters, and 3 clustering seeds per fold. Their default pipelines differ; the table does not isolate the discrepancy formula.
± denotes fold standard deviation, not a confidence interval. Controlled repetitions are descriptive stress tests. The selected single text minimizes judge NLL subject to entropy at least the control mean; it was not selected by human ratings. Feature-neighbor selection uses the same mean-feature space and is a directed diagnostic.
The scoring protocol uses independent kernel calibration for statistical inference and keeps it distinct from these historical default-pipeline results. No model leaderboard is implied by constructed output sets.
Within-text entropy can stay high when every output is identical. Measure variation across outputs as well as inside each text.
Mean and last-token features respond differently to edit location. Formatting can move a score more than structural corruption.
Rare errors can be diluted in global measurements. Pair the distribution score with explicit event rates, coverage, and real-versus-real controls.
A common experimental foundation
A shared evaluation core, model-specific interfaces, and explicit protocols for model and sampler studies.
Weights, decoder,
and likelihood target.
Solver, temperature,
steps, and seeds.
Sample records,
hashes, and metadata.
Fixed measurements,
controls, and uncertainty.
CDLM-BENCH LIBRARY
Use a common sample interface for Gen PPL, entropy decomposition, MMD, MAUVE, and diagnostic metrics. Evaluate saved outputs with the same preprocessing and reference budget.
The benchmark design separates original-recipe reproduction from standardized comparison. Sampler studies hold the checkpoint fixed.
View code & documentationfrom dlm_metrics import evaluate
report = evaluate(
{"ours": "samples.pt"},
reference="owt_ref.pt",
preset="owt",
n=512,
)
print(report.table())
report.save("results.json")Build on the benchmark
Find the implementation, follow the research, and cite the project.
@unpublished{jiang2026cdlmbench,
title = {CDLM-Bench: A Unified Library
and Benchmark for Continuous
Diffusion Language Models},
author = {Hao Jiang and Yujian Chen and
Weijian Luo and Tianyang Hu},
year = {2026},
note = {Research manuscript},
url = {https://hojawn.github.io/CDLM-Bench/}
}