Open CDLM: A Benchmark and Library for Continuous Diffusion Language Models
Authors: Hao Jiang, Ruixi Chen, Jiayi Han, Yulei Sun, Yujian Chen, Gen Li, Brian. K Chen, Guang Cheng, Weijian Luo, Tianyang Hu
Organizations: Polyadic Research Group · SAGA Lab, The Chinese University of Hong Kong, Shenzhen · School of Computer Science, Peking University · The Chinese University of Hong Kong · National University of Singapore · University of California, Los Angeles · Dots Studio, Xiaohongshu
Reliable comparisons of continuous diffusion language models (CDLMs) require evaluating both model fit and the distribution of generated text. Two common practices leave this goal only partially addressed. Likelihood-based evaluation often reports a variational upper bound on discrete negative log-likelihood, whose slack can confound comparisons. Generated-sample-based evaluation commonly combines generative perplexity with within-sequence unigram entropy; both scores can remain favorable even when a sampler produces the same text on every draw. We introduce Open CDLM, a benchmark for evaluating CDLMs and their samplers, and describe the design of an accompanying open-source library to support reproducible comparisons. For likelihood-based evaluation, we clarify which comparisons of model fit are supported by reported perplexity bounds and how those conclusions depend on the evaluation procedure. For sample-based evaluation, we use Kernel Text Discrepancy (KTD) to compare collections of generated and real texts, alongside diagnostics for diversity, validity, and coverage. In controlled OpenWebText experiments, replacing a collection of texts with copies of a single selected passage improves both conventional generation scores. MAUVE detects the resulting collapse, and its response to other perturbations depends on the text representation and the type of perturbation. This work marks the beginning of Open CDLM as an open-source project for CDLM research. We will maintain and extend the library over time and welcome contributions from the community.
Figures & tables
Figure 1: Exact duplication across outputs. From 512 candidate texts, we selected the passage with the lowest Gen PPL among those with above-reference entropy. Copies 1, 2, and 512 show the same excerpt.
Figure 2: Repetition within a text. For each of two source texts, the excerpts show the opening and the point where it repeats.
Figure 3: Stitching unrelated passages. Vertical bars mark joins between fragments of roughly 256 tokens. The donor texts come from the 5% with the lowest judge NLL.
Figure 4: Template collapse. Bold text marks the names and numbers that change across three variants of the same article.
Figure 5: Mixing two degradations. The repetitive subset has lower mean unigram entropy than the reference, while the randomly stitched subset has higher mean entropy.
Figure 6: A scale curve cannot recover its missing offset. Left: analytic per-token gaps with d=768 and three chosen mean-mismatch offsets. These are constructed examples, not checkpoint measurements. Right: the archived LangFlow calibration experiment, showing the change relative to ρ=1 and the analytic scale term. Error bars are paired row-bootstrap intervals. Similar relative curvature does not identify the total posterior gap.
ρ
Uρ/L
Bound PPL
Δρ
95% interval for Δρ
1
3.5477301
34.7344
0
—
0.99
3.6229472
37.4478
−0.0752171
[−0.0759432,−0.0744884]
0.9998
3.5478568
34.7388
−0.0001267
[−0.0002759,+0.0000222]
Table 1: Held-out reference-scale evaluation. Δρ=(Ur1−Urρ)/L is positive for tightening, where r1 is the reference at ρ=1 . Bounds and differences are in nats/token. The intervals are paired row-bootstrap 95% intervals; they do not account for unknown numerical bias. PPL is the exponentiated estimated bound.
Construction
Gen PPL
Hrow
MAUVE
Real control
25.960
4.275
0.96026±0.00221
Selected text ×512
2.461
4.419
0.00407±0.00000
256 texts ×2
25.944
4.274
0.88665±0.02012
64 texts ×8
25.693
4.273
0.05743±0.01755
Judge-easiest quartile
13.427
4.178
0.93391±0.01353
Middle splice, all rows
44.248
4.312
0.95813±0.00421
Table 2: Controlled text constructions, 512 outputs per set. Entries are means over three folds. For MAUVE, ± gives the standard deviation across folds. Within each fold, Gen PPL aggregates NLL over scored tokens. A low Gen PPL or high Hrow alone does not imply a better generator.
Figure 7: Fixed output count, shrinking text support. The control and repeated subsets all contain 512 rows. Points show fold means with fold standard deviations. The ordinary one-text subset uses the first control text; the star separately marks the low-NLL, high-entropy selection. The conventional pair does not consistently indicate loss of support. These deterministic constructions are descriptive stress tests, not additional independent draws.
Condition
Gen PPL
Hrow
JSDrows
MAUVE
KTD
Real OWT control
14.91
5.436
2.078
0.962±0.005
0.000
Exact duplication
6.43
5.735
0.000
0.004±0.000
1.020
Within-text repetition
4.62
5.263
2.444
0.052±0.006
0.246
Low-NLL stitching
11.42
5.584
1.927
0.826±0.013
0.043
Template collapse
5.54
5.242
0.209
0.004±0.000
0.939
Mixed degradations
11.37
5.441
2.087
0.639±0.040
0.029
Table 3: Generation metrics for the OpenWebText constructions illustrated in Section 1 . Each condition contains 1,024 texts of 1,024 GPT-2 tokens. MAUVE and KTD use a common, disjoint reference set of 1,024 OpenWebText texts. GPT-2-large supplies Gen PPL and the features for KTD and MAUVE. MAUVE uses FP32 last-token features and 102 clusters, reporting mean ± SD across three clustering seeds. Hrow (sample entropy) and JSDrows are in nats.
Source
Contexts
Word occurrences
Types
Lemmas
Vn
C1k
Cfull
OWT (full)
110,473
82,075,702
713,028
695,324
50,732
100.00
100.00
OWT (1,024)
1,024
758,171
44,019
37,450
42,590
100.00
6.17
AR (DUO)
1,024
766,321
49,477
42,845
47,381
54.25
5.69
MDLM
1,024
796,466
29,405
24,707
27,687
40.36
3.40
SEDD
1,024
802,562
29,153
24,430
27,345
39.90
3.32
DUO
1,024
763,542
48,998
42,576
46,842
51.33
4.95
Table 5: Vocabulary statistics for OWT and model-generated text. Each model row and OWT (1,024) use 1,024 contexts sampled uniformly without replacement with seed 20261120. OWT (full) contains all 110,473 validation contexts. Exported texts retain their available lengths. Words contain at least one letter, exclude URLs and email addresses, and use NFKC normalization and case folding. Special-token markers delimit paragraphs. Types are distinct word forms and lemmas are spaCy base forms. Vn is the expected type count in a uniform draw of n=705,115 word occurrences without replacement. C1k and Cfull give the percentages of the sampled and full OWT vocabularies covered by each row.
A. Word-occurrence shares
POS
OWT full
OWT 1,024
AR
MDLM
SEDD
DUO
ELF
FLM
LangFlow
RePlaid SDE
RePlaid ODE
Common nouns
20.75
20.82
20.72
17.76
17.69
20.90
20.98
17.59
20.10
19.42
19.50
Proper nouns
10.94
10.92
11.24
6.42
6.00
10.10
12.86
5.52
12.17
14.53
14.85
Verbs
12.43
12.41
12.25
13.88
13.88
12.62
12.68
13.71
12.42
10.90
10.87
Auxiliaries
5.73
5.71
5.44
7.17
7.22
5.85
5.31
6.98
5.82
5.63
5.49
Adjectives
7.44
7.48
7.60
6.42
6.53
7.40
7.01
6.29
7.10
7.06
7.01
Table 6: Part-of-speech distributions for OWT and model-generated text. Panel A reports percentages of word occurrences and Panel B percentages of distinct (word form, POS) pairs, using the contexts and word rules of Table 5 . Tags and lemmas use spaCy 3.7.5 with en_core_web_sm 3.7.1. A form used with multiple POS tags contributes one type to each corresponding category. Articles comprise a , an , and the tagged as determiners, and the determiners row contains the remaining determiners. Other combines the remaining X, SYM, PUNCT, and SPACE tags. All entries are percentages.
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
Steps / probes
ρ
Baseline Δ
New Δ
Change ± SE
128 / 4
0.99
−0.077967
−0.077911
+0.000056±0.001056
128 / 4
0.9998
−0.000246
−0.000208
+0.000038±0.000651
256 / 1
0.99
−0.077967
−0.079265
−0.001298±0.001770
256 / 1
0.9998
−0.000246
−0.000942
−0.000696±0.000525
Appendix
Table 7: Matched numerical controls. Eight rows and two shared draws per row. The change is the new setting’s Δ minus the 128-step/one-probe Δ on those same draws. Errors are standard errors across eight row means, not 95% intervals. Units are nats/token.
Construction
Mean pooling
Last-token pooling
Real control
0.98740
0.98441
Judge-easiest quartile
0.88069
0.95798
Feature-neighbor quartile
0.42981
0.95648
Middle splice
0.97886
0.98480
Appendix
Table 8: MAUVE under matched FP32 preprocessing, fold 0. The same text sets are compared at 32 clusters; entries average three clustering seeds. Feature-neighbor selection is defined using mean features and is therefore a directed diagnostic.