Manuscript Offprint
arXiv:2610.06513SOL: Measuring Gaps between Text Distributions by Double Sliced Wasserstein Metrics
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
ABSTRACT
Evaluating text generation requires measuring how well the generated distribution matches the data distribution. For autoregressive models, this is done by the perplexity. Diffusion and flow-based language models can only provide a likelihood bound, whose tightness differs between model families. Sample-based substitutes such as generative perplexity with entropy do not consider the distribution fit. We propose SOL, a distance between text distributions. Each sequence is represented by the empirical measure of its hidden states under a fixed transformer and the distributions of these measures are compared by the double sliced Wasserstein distance. We prove that SOL is a metric if the transformer is injective. Experiments show that SOL detects distributional failures, recovers expected model trends, and provides stable sample-based estimates. We put forward SOL to fill the gap in the current evaluation protocol used for non-autoregressive models. As a first step we use SOL to re-evaluate a variety of models trained on OpenWebText.
1 INTRODUCTION
Large language models based on autoregressive decoding are the prevailing approach to text generation. Recently, diffusion and flow-based models, which generate the whole sequence iteratively by reversing a noising process, have become a serious alternative. Discrete diffusion models corrupt tokens by masking or uniform replacement (Austin et al., 2021; Lou et al., 2024; Sahoo et al., 2024; 2025), while continuous models embed tokens into a continuous space and define the noise process there (Li et al., 2022; Dieleman et al., 2022; Gulrajani & Hashimoto, 2023; Hu et al., 2026; Chen et al., 2026; Chemseddine et al., 2026). This raises the question of how well the generated distribution matches the data distribution .
For autoregressive models, the standard answer is the perplexity of held-out data, which is computed from the exact likelihood . For diffusion models, the likelihood is intractable. Instead, an upper bound of the perplexity is reported, based on an evidence lower bound (ELBO). This causes two problems. First, an ELBO is often not available. For continuous models, the bound holds only in expectation over the noise, requires the change-of-variables formula along the flow and has only been derived for selected models (Gulrajani & Hashimoto, 2023; Chen et al., 2026). Moreover, most recent models use self-conditioning, where the network receives its own previous prediction as input. This input arises along the sampling trajectory and cannot be recovered for a given data sequence. Second, even when an ELBO exists, it is not comparable across model families. Sahoo et al. (2026) observe that perplexity ranks models correctly within one family of diffusion models but not between families. The reason is that the gap between ELBO and likelihood is a property of the noise process and its parameterization, not of the model alone. For masked diffusion, the bound is tight (Sahoo et al., 2024; Shi et al., 2025), whereas for uniform diffusion it is looser and not even optimized by the training objective (Gourevitch et al., 2026). A better perplexity may thus reflect a tighter bound rather than a better model.
Since every model can be sampled, the generative perplexity (Gen. PPL) together with the token entropy has become the common substitute (Zheng et al., 2025; Franca & Tong, 2026; Hu et al.,
Corresponding author.
2026; Chen et al., 2026; Chemseddine et al., 2026). Here, Gen. PPL is the perplexity of the generated texts under a fixed reference model such as GPT-2 Large, and the entropy is computed from token frequencies within sequences. Since both are averaged over sequences, they do not reward variety in generated outputs, see Figure 4 for an example of mode collapse. Moreover, Gen. PPL measures agreement with the reference model and not with . Hence, it rewards imitation of the reference model instead of actual data. In short, neither quantity measures the distance between and .
For image generation, the dominant evaluation method is FID (Heusel et al., 2017). It maps samples of both distributions into the feature space of a fixed network and compares the two feature distributions there. We therefore seek an analogous score for text distributions that
(1) requires only samples from and ,
(2) is a distance, i.e., it is zero if and only if the two distributions agree,
(3) reflects both the quality of the generated texts and their coverage of ,
(4) has an estimator which is stable in the number of samples, and
(5) is cheap to compute.
The most popular alternative to Gen. PPL is MAUVE (Pillutla et al., 2021; 2023). It embeds each text by a single latent representation, quantizes both samples by K-means clustering, and compares the resulting histograms through a KL-divergence frontier. However, MAUVE is not a distance, its value depends on the number of samples and clusters, and its behavior depends strongly on the chosen representation. The standard last hidden state of a causal transformer is insensitive to changes near the beginning of a sequence (He et al., 2023), while mean pooling can map distinct token clouds to the same representation (Hara et al., 2026).
Instead, we represent each text by the empirical distribution of all its contextual hidden states. A text distribution therefore becomes a distribution over token clouds. Comparing these distributions naturally leads to a Wasserstein-on-Wasserstein problem. Since solving this nested transport problem directly is expensive, we use the double-sliced Wasserstein distance (Piening & Beinert, 2026b). It first projects the hidden states onto one-dimensional directions, represents the resulting measures by their quantile functions, and then slices these functions again in . This sorting-based construction gives sliced optimal transport for language (SOL), illustrated in Figure 1.
-
We establish the empirical behavior of SOL through controlled structural perturbations, mode collapse, sampling changes, and human judgments. SOL detects failures missed by Gen. PPL and token entropy, has a stable finite-sample estimator, and correlates better with the evaluated human rankings than MAUVE (Table 2).
-
We use SOL to evaluate a broad range of autoregressive, discrete and continuous diffusion language models on OpenWebText (Table 24).
A Python implementation of SOL is provided at GitHub.
2 PRELIMINARIES
Let be a finite vocabulary of tokens, and let be the set of token sequences of length . By , we denote the set of probability measures on . Given a sequence of tokens of length , we write for its partial sequence consisting of the first tokens. Since all evaluation methods between text distributions in this paper use transformers in a certain way, we give a brief description for fixing the notation.
Causal transformers. A causal decoder-only transformer computes a hidden state at each position, which depends only on the preceding states, resulting in

Figure 1: Illustration of one SOL slice for fixed directions and using a causal transformer. A sequence is represented by the point cloud of its contextual hidden states, and a corpus becomes a collection of such clouds. The first slice projects each cloud along ; its one-dimensional empirical distribution is then represented by a quantile function and sliced again along . This maps the corpus to , where the final Wasserstein distance is computed. SOL integrates this quantity over and .
From the output layer, we get the probabilities of the next token recursively by . A transformer is used as an autoregressive generative model by factorizing the probability of a sequence as
and generating a new sequence is done by iteratively evaluating the model and sampling from it.
Bidirectional transformers. Alternatively, a bidirectional transformer computes hidden states at each position using the complete input sequence. In particular, for masked diffusion models, the input is a corrupted sequence at diffusion time without time conditioning, resulting in
where may contain additional corruption tokens such as [MASK].
3 CURRENT EVALUATION METHODS FOR LANGUAGE MODELS
We want to measure how well a generative text distribution matches the data distribution . We consider two common approaches to quantitative text-generation evaluation: perplexity-based scores and latent token comparisons in the Euclidean space.
3.1 PERPLEXITY-BASED METHODS
Perplexity. For an autoregressive learned model in (2), the perplexity
is the exponential of the token-length normalized cross-entropy between the data distribution and the model distribution. It measures how well the model assigns probability to samples from the data distribution . Lower perplexity indicates that the model assigns higher likelihood to the observed data.
Evidence Lower Bound Perplexity. For many diffusion and latent-variable models, computing the exact log-likelihood is intractable. Instead, we can evaluate - if available - an evidence lower bound (ELBO) on the log-likelihood, . This gives rise to the ELBO-based perplexity
which upper-bounds the perplexity obtained from the exact model likelihood. However, comparisons based on the ELBO should be interpreted with care, since its value depends not only on the model likelihood, but also on the tightness of the variational bound. As an example, the ELBOs of masked and uniform diffusion language models seem to differ Sahoo et al. (2026). Moreover, for many generative language models no valid ELBOs are available.
Generative Perplexity. An alternative is therefore to evaluate generated samples under a fixed reference model . Specifically, we choose a pretrained autoregressive causal transformer as the reference model and define the generative perplexity (Gen. PPL) as
Ignoring the sequence-length normalization, the corresponding cross-entropy decomposes as with the Kullback-Leibler divergence KL and the distribution entropy H. Thus a generator can lower its Gen. PPL by lowering its entropy instead of moving closer to the reference model. For this reason, Gen. PPL is usually reported together with the token entropy , where denotes the empirical distribution of the tokens in (Hu et al., 2026; Chen et al., 2026; Chemseddine et al., 2026). Both quantities are expectations of a score of a single sequence, the log-likelihood under the reference model and the entropy within the sequence. Neither of them looks at the distribution of the sequences, and does not enter at all. In Figure 4, we replace a growing fraction of a text sample by copies of a single sequence, the token entropy remains unchanged and Gen. PPL even improves. Table 1 shows that Gen. PPL also favors the reference model itself, as GPT-2 Large scores better than the more powerful GPT-2 XL under a GPT-2 Large reference.
| GPT-2 | Gen. PPL (↓) |
|---|---|
| Small | 12.5 |
| Medium | 11.4 |
| Large | 7.5 |
| XL | 8.5 |
Table 1: Gen. PPL across GPT-2 sizes for unconditional generation prefers GPT-2 Large.
3.2 EUCLIDEAN LATENT SPACE METHODS
Standard methods for comparing language distributions, such as MAUVE (Pillutla et al., 2021) and BERT-FID (Alihosseini et al., 2019), rely on a single latent token representation obtained from the final hidden layer of a transformer. Alternatively, the hidden states across positions can be aggregated by mean pooling. We briefly introduce both representations before turning to MAUVE.
3.2.1 TEXT REPRESENTATION IN THE EUCLIDEAN SPACE
Last hidden-token representation. The last hidden-token map of a causal transformer in (1) reads as
where, in contrast to the whole sequence generator , we use for the last-token representation. It allows to push the text distribution to a distribution in Euclidean space . Under the assumption that language models are invertible, which is validated in the next remark, this distribution uniquely characterizes the language distribution.
Remark 3.1 (Language models are almost surely invertible). In (Nikolaou et al., 2026), it was proved that the last-token map is almost surely invertible. Empirically, the authors found no collisions across several autoregressive language models and large prompt collections. They further showed that, under certain assumptions, causal transformers are injective after gradient-based training.
Mean-pooling. In contrast to the above representation, mean-pooling takes into account the tokens at all positions:
The associated distribution allows for standard methods such as MAUVE or FBD (BERT-FID). Mean pooling retains only the first moment of the token-cloud distribution and discards higher-order structure, so token clouds with the same mean but different spread or shape become indistinguishable, see Hara et al. (2026) and Appendix A.3. Moreover, MAUVE on mean-pooled features saturates under token pollution: it is already close to zero at 10% [CLS] insertion and no longer distinguishes moderate from severe corruption, see Appendix E.2.1.
3.2.2 MAUVE
MAUVE (Pillutla et al., 2021; 2023) is a sample-based score for comparing generated and reference text distributions. It embeds each text by a single latent representation, jointly quantizes both samples using k-means, and represents them by the resulting empirical cluster frequencies. MAUVE then summarizes the trade-off between KL( ) and KL( ), where , by the area under their so-called divergence frontier, see Appendix B.1 for a detailed algorithmic description.

Figure 2: For a fixed diffusion language model and dataset, the reported MAUVE score depends on the number of evaluation samples n and clusters K. In particular, for the standard choice (red boxes), even after 5k samples it is not stable. Generation details are given in Appendix E.2.2.
The method has two drawbacks relevant to our goal. First, MAUVE is sensitive to the finite-sample quantization and can be unstable with respect to both the number of samples and clusters, see Figure 2. Second, its behavior depends strongly on the chosen text representation. In particular, MAUVE based on the last hidden state of a causal transformer is insensitive to perturbations at the beginning or middle of a sequence (He et al., 2023), which we reproduce in Figure 3. Mean pooling alleviates this particular problem, but the resulting score saturates at low corruption levels, see Appendix E.2.1.

Figure 3: Replacing random tokens in the sequence beginning is not detected by MAUVE, but by SOL.
4 EVALUATION OF LANGUAGE MODELS BY WASSERSTEIN DISTANCES
We represent each sequence by the empirical measure of its hidden states. This turns a text distribution into a distribution over measures in . Direct optimal transport between these distributions leads to an expensive Wasserstein-on-Wasserstein problem (Piening & Beinert, 2026b). We therefore introduce the sliced Wasserstein construction underlying double slicing and then define SOL in Section 4.3, where we show that it satisfies the requirements (1)–(5) from the introduction.
4.1 LIFTING A SEQUENCE TO A PROBABILITY MEASURE
A text distribution is a distribution over token sequences. The canonical lift would represent each sequence as a Dirac measure, but has no natural semantic ground metric. Instead, we propose to use the learned causal transformer , and introduce the associated token-cloud distribution by
This allows us to push forward to . This representation has two advantages. First, it compares sequences and of different lengths, . Second, it allows reordered sentences such as ‘cat on a mat’ and ‘mat under a cat’ to remain close without imposing an artificial ordering. As shown in Section A.1, the map remains injective due to the injectivity of the last hidden-state representation, where token representations encode their context. For a bidirectional encoder, we replace by .
4.2 DOUBLE-SLICED WASSERSTEIN DISTANCE
We write for the Borel probability measures on a metric space and for those with finite second moment. Below, is either or the Hilbert space of (equivalence classes of) quadratic integrable functions .
Wasserstein distance. The Wasserstein-2 distance W on is defined by
where denotes set of measure with marginals and . For measures on the real line , using the isometric embedding
which maps a measure to its quantile function, the Wasserstein distance becomes
In one dimension, for empirical measures , the computation of W reduces to the sorting of real numbers, which can be done in operations.
Sliced Wasserstein distance. The idea behind sliced Wasserstein distances arises from the simple access to the problem in 1D. It is based on a slicing operator and its push-forward
where . The sliced Wasserstein-2 distance reads as
where we integrate with respect to the uniform distribution on and the Wasserstein distance on is given by (7). Similar to the Wasserstein distance, SW metrizes the weak convergence, see (Bonnotte, 2013; Nadjahi et al., 2020). The spherical integral is usually approximated by Monte Carlo schemes, see (Bonneel et al., 2015; Nguyen et al., 2024; Hertrich et al., 2025).
Double-Sliced Wasserstein distance. Having lifted the data distribution from to , we follow (Piening & Beinert, 2026b) to construct the double-sliced Wasserstein distance for meta-measures . Since is not a Euclidean space, but, together with the Wasserstein distance W, an infinite-dimensional metric space, we have to define an appropriate slicing procedure.
First, using the slicing operation from (8), we map measures in to measures in using its push-forward operator .
Second, we apply the isometry in (6) to map
Third, we define a second slicing on . Since this is a space of probability measures on the infinite dimensional Hilbert space , such slicing can no longer rely on the uniform distributions on . Instead, we slice functions on with functions by
Then, instead of the uniform measure on the sphere, we choose a Gaussian reference measure , see Bogachev (1998), and define the sliced Wasserstein distance on by
To realize this sliced distance, i.e., the integral, we use the fact that there exists a one-to-one correspondence between Gaussian measures on and Gaussian processes, see (Rajput & Cambanis, 1972, Thm 2). For details see (Piening & Beinert, 2026b).
Fourth, to combine the three steps, we introduce, for and , the operator
Now we can define the double sliced Wasserstein distance on meta-measures by
For empirical measures over empirical measures, DSW is a metric, see Piening & Beinert (2026b).
Proposition 4.1. Let the assumptions of Propositions A.3 and A.5 hold, and assume in addition that the samples are independent of the slices. Then
The proof of the sample complexity is given in Appendix A.2.
4.3 SOL - SLICED OPTIMAL TRANSPORT FOR LANGUAGE
We propose to apply the double sliced Wasserstein distance for text comparison after applying a reference causal transformer and the resulting token-cloud distributions (5) of the data distribution and the generated distribution , resulting in
SOL is scaled by the dimension of the hidden dimension. Based on the injectivity of the last hidden-token representation in Remark 3.1, we obtain the following proposition, where the proof is given in Appendix A.1.
Proposition 4.2. Assume that is injective and has full support. For empirical distributions with uniform weights, we have if and only if .
5 NUMERICAL EXPERIMENTS
We evaluate SOL on small- to medium-scale language models, with a particular focus on diffusion-based generation. Following Pillutla et al. (2021), we first test whether SOL reflects expected changes in generation quality, including sequence length, decoding strategy, and model size. We then study the numerical stability and sample efficiency of the estimator. Finally, we evaluate SOL on failure cases of existing metrics, in particular MAUVE, and use it to compare autoregressive, discrete-diffusion, and continuous-diffusion language models on OpenWebText. A detailed comparison with MAUVE is given in Section E.2.3.
Setup. We are mostly interested in unconditional text generation and text continuations. As generative models can only approximate the distributions that they have seen in training, for the reference distribution, a holdout set of the data distribution is used. The preprocessing of the reference distribution follows the one during training. The SOL metric is approximated with a finite number of inner , outer slices and a Gaussian process to sample , see Appendix F.1. By default, we use and samples. For Dream, we increase to 8192 to reduce estimator variance in its higher-dimensional hidden space ( , compared with for GPT-2 Large).
Embedding Models We evaluate different embedding backbones in for (5). Unless stated otherwise, we use GPT-2 Large as backbone embedding, matching the standard MAUVE setup and

Number of tokens
Target share (%)
Corruption rate
Figure 5: Left: increasing the sequence length diminishes the generation quality as expected. Middle: behavior under mode-collapse, i.e. going from to (blue), and if we introduce additional modes, i.e. going from to (orange). Right: SOL under word shuffling for different embeddings.
enabling direct comparison. We also evaluate more recent models such as OLMo2-1B (OLMo et al., 2025) and Qwen3-0.6B Base (Yang et al., 2025). Moreover, we consider Dream (Ye et al., 2025) which uses a bidirectional transformer. For further comparisons with contrastive embedding models see Appendix D.10
5.1 GENERATIVE PERPLEXITY AND ENTROPY ARE BLIND TO MODE COLLAPSE
Generative perplexity (Gen. PPL) and average token entropy can fail to detect mode collapse. We split OpenWebText into two disjoint sets of 3000 sequences of 1024 tokens, using one as reference and progressively replacing samples in the other with copies of a single sequence. Throughout this collapse, token entropy remains nearly constant , while Gen. PPL improves from 14.1 to 8.9. Thus, even when all samples are identical, these metrics suggest improved quality without reduced diversity. In contrast, SOL rises sharply (Figure 4).

Figure 4: Mode collapse is invisible to Gen.PPL, while SOL rises sharply, see Sub-section 5.1.
5.2 Does the SOL BEHAVE AS EXPECTED?
To validate SOL, we first consider settings where the expected behavior is known.
Generation length and model size. Increasing the generation length of GPT-2 degrades the generated text, and SOL reflects this deterioration, see Figure 5 (left). The same experiment also recovers the expected ordering across model sizes, from GPT-2 XL to GPT-2 Small.
Mode collapse and support expansion. Following Bronnec et al. (2024), we evaluate SOL under mode collapse and support expansion on AG News (Zhang et al., 2015). Starting from a mixture of WORLD and SPORTS articles ( ), we progressively remove SPORTS articles ( ) or add articles from two additional topics ( ). Both changes move the candidate distribution away from the original mixture, and SOL increases accordingly in both directions, see Figure 5 (middle).
Structural corruption. We progressively shuffle tokens or pollute the text with a fixed token. In both cases, stronger corruption leads to a larger SOL value, see Figure 5 (right) and Figure 11. Further corruption experiments are given in Appendix D.6. Appendix E.4 additionally compares greedy, ancestral, and nucleus sampling in conditional and unconditional generation, while Section D.5 shows that reducing token entropy alone does not improve SOL.
Sampling behavior. SOL also recovers the expected dependence on sampling temperature: across the evaluated encoders, moderate temperatures around 0.9–1.0 give the smallest distance to the data distribution, while both lower and higher temperatures increase SOL; see Section D.5. Appendix E.4 further compares greedy, ancestral, and nucleus sampling in conditional and unconditional generation.
Positional sensitivity. Causal transformers are known to exhibit positional biases (He et al., 2023; Springer et al., 2025), so we perturb different regions of the sequence in Appendix D.7 and Appendix D.9. Bidirectional attention produces a substantially more balanced response across token positions than the causal encoders. This positional balance is one of the main reasons we use Dream as the reference encoder in our OpenWebText evaluation.
| Criterion ↑ | MAUVE | SOL | ||||
|---|---|---|---|---|---|---|
| GPT-2 Large | OLMo2 1B | Dream 7B | GPT-2 Large | OLMo2 1B | Dream 7B | |
| Human-like | 0.857 | 0.881 | 0.881 | 0.881 | 0.929 | 0.952 |
| Interesting | 0.714 | 0.762 | 0.762 | 0.762 | 0.786 | 0.762 |
| Sensible | 0.762 | 0.786 | 0.786 | 0.786 | 0.881 | 0.905 |
Table 2: Human judgement comparison at sequence length 1024 for different embedding models. Worst-case Spearman rank correlation between metric-induced model rankings and the Bradley-Terry (BT) human ranking. Results are shown for MAUVE and SOL for a full setup see Section C.4.
5.3 CORRELATION WITH HUMAN JUDGES
We follow the human-evaluation setup of MAUVE (Pillutla et al., 2021). The study compares eight GPT-2 model-decoding configurations using pairwise human judgments of whether continuations are human-like, interesting, and sensible. For each criterion, the pairwise preferences are converted into system scores by fitting a Bradley-Terry model (Bradley & Terry, 1952). We reuse these human judgments and recompute the automatic metrics on fresh samples from the same eight configurations. We report the worst-case Spearman rank correlation of SOL with the Bradley-Terry scores for different embeddings as well as MAUVE. Full experimental details are given in Appendix C.4.
The comparison in Table 2 serves two purposes. First, we compare SOL and MAUVE using the same GPT-2 Large representation. Under this controlled setting, SOL achieves slightly higher correlation with the human ranking than MAUVE. Second, we investigate whether stronger embedding models further improve SOL. Replacing GPT-2 Large with more recent models leads to substantially higher correlations, indicating that the choice of embedding model has a strong impact on SOL's agreement with human judgments. Because the original human study displayed at most 256 tokens, we additionally evaluate a sequence length of 256 in Table 16, where SOL again outperforms MAUVE.
5.4 APPROXIMATION IN SOL
Numerical stability. We study the approximation error with respect to the number of slices and samples n. Using autoregressive OpenWebText generations (Sahoo et al., 2024), we vary and separately and jointly. Figure 6 shows that the estimator is already stable around . Increasing the number of corpus samples further reduces variability (Figure 7); up to roughly 5,000 samples, the variation from the corpus subsampling dominates the variation from the random slices. In this experiment, SOL is substantially more stable with respect to sample size than MAUVE (Figure 2). The corresponding Dream experiment is given in Section D.1, where we use 8192 slices due to the larger hidden dimension.
Computational Cost. The main computational cost comes from sample and hidden-state generation. On an NVIDIA GeForce RTX 5090, computing the hidden states takes 71s for GPT-2 Large and 376s for Dream. Computing the DSW for 5000 samples takes about 1s with slices, see Table 5 for the runtime sweep.
5.5 DIFFUSION LANGUAGE MODELS ON OWT

Figure 6: Increasing the number of slices stabilizes SOL.

Figure 7: SOL converges with sample size, with std over slices and samples.
Diffusion language models, particularly continuous ones, remain difficult to evaluate. ELBO-based perplexities are unavailable for most continuous models, are not comparable across noise processes, and do not distinguish different samplers of the same discrete model. Gen. PPL is also problematic, as it can be improved by reducing the sample entropy (Franca & Tong, 2026). Since SOL only requires samples, it applies to all models and samplers alike. We evaluate the discrete diffusion models MDLM (Sahoo et al., 2024), DUO (Sahoo et al., 2025), LDDM (Jo et al., 2026), BD3-LM (Arriola et al., 2025), ADLM (Rout et al., 2025) and Soft-Masked (Hersche et al., 2026), and the continuous models vMF and VP (Chemseddine et al., 2026), LangFlow (Chen et al., 2026), FLM (Lee et al., 2026), FMLM* (Yoo et al., 2026) and ELF (Hu et al., 2026), together with an autoregressive baseline (Sahoo et al., 2024). ELF is trained on a corpus that is differently tokenized and compared with its own reference (E). Full experimental details are given in Appendix C.5.
Table 3 shows that sampling strategy has a substantial effect on distributional quality. ReMDM sampling strongly improves the discrete Soft-Masked model, which attains a lower SOL than the autoregressive baseline, while stochastic sampling also improves the continuous models relative to their ODE samplers. Self-conditioning has a similarly large effect in the controlled vMF comparison; see Appendix E.3.3.
Gen. PPL and SOL can nevertheless disagree. For example, LangFlow achieves a much lower Gen. PPL than vMF with predictor-corrector sampling (36.9 versus 56.3, see Table 24), while their SOL values are much closer. Thus, improvements in Gen. PPL need not correspond to comparable improvements in distributional fit. Results for three encoders, additional sampler settings, and a diagnosis of MAUVE's last-token bias are given in Appendix E.3.
6 CONCLUSION
Current evaluation methods are insufficient for comparing modern language models. We propose SOL, a sample-based distance between text distributions that represents each sequence by the empirical measure of its hidden states and compares the resulting distributions using the double sliced Wasserstein distance. SOL is a metric for injective reference transformers and admits a stable estimator dominated by a single reference-model forward pass. Unlike Gen. PPL and entropy, SOL detects mode collapse, unlike MAUVE, it is less biased toward the end of the sequence and correlates better with human judg- ments. Because SOL only requires samples, it compares autoregressive, discrete, and continuous diffusion models on equal footing. On OpenWebText, we find that better Gen. PPL does not necessarily imply a better fit to the data distribution. We recommend the bidirectional Dream backbone, since it weights all token positions similarly and achieves the strongest overall agreement with human judgments, together with slices and 5,000 samples per distribution, at which the estimator stabilizes.
| Model | Setting | H | Gen. ppl. | SOL ↓ |
|---|---|---|---|---|
| Real OWT | — | 5.449 | 14.9 | 2.066 |
| Real ELF OWT | — | 5.402 | 17.0 | 2.649 |
| Autoregressive | ||||
| AR | Temperature 1.0 | 5.582 | 34.9 | 22.207 |
| Discrete diffusion | ||||
| DUO-base | Ancestral, T = 1024 | 5.537 | 76.9 | 32.642 |
| DUO-distilled | Ancestral, T = 32 | 5.518 | 62.3 | 30.595 |
| MDLM | Exact, T = 1000 | 5.445 | 59.4 | 36.394 |
| LDDM-M | T = 1024 | 5.536 | 48.2 | 24.601 |
| Soft-Masked | ReMDM, T = 1024 | 5.341 | 16.7 | 18.966 |
| ADLM-large | ReMDM, T = 1024 | 5.352 | 28.9 | 23.601 |
| BD3-LM, block 4 | First-hitting, T = 5000 | 5.336 | 24.4 | 26.070 |
| Continuous diffusion and flow | ||||
| vMF | ODE, steps= 1024 | 5.456 | 75.4 | 33.832 |
| vMF | SDE, steps= 128 | 5.348 | 43.6 | 30.375 |
| VP | ODE, steps= 1024 | 5.435 | 66.1 | 33.275 |
| VP | SDE, steps= 128 | 5.355 | 50.9 | 31.972 |
| LangFlow | ODE, steps= 1024 | 5.257 | 36.9 | 30.541 |
| ELF-B | SDE, steps= 128 | 5.123 | 21.9 | 32.878 |
| ELF-B | ODE, steps= 1024 | 5.090 | 24.0 | 33.320 |
| Few-step models | ||||
| FMLM | 2 steps | 5.295 | 135.1 | 71.134 |
| FLM | Euler, steps= 1024 | 5.345 | 63.1 | 48.387 |
| ELF*G | CDEQ, steps= 128, CFG= 5 | 5.384 | 60.8 | 35.950 |
| FMLM*G | 2 steps, CFG= 5 | 5.458 | 97.4 | 41.120 |
| FMLM*G | 128 steps, CFG= 5 | 5.456 | 79.0 | 38.482 |
Table 3: OpenWebText baselines using 5,000 samples per distribution and a 1,024-token evaluation horizon. SOL uses Dream-7B as the reference encoder. The complete benchmark is reported in Table 24.
Acknowledgement. G.K. acknowledges funding by the BMBF VIScreenPRO (ID: 100715327). J. Ch. acknowledges funding of the DFG project STE 571/17-2 within the SPP 2298 “Theoretical Foundations of Deep Learning”. G.S. thanks CNRS for support within the CNRS Ambassador Fellowship.
REFERENCES
Danial Alihosseini, Ehsan Montahaei, and Mahdieh Soleymani Baghshah. Jointly measuring diversity and quality in text generation models. In Proceedings of the Workshop on Methods for Optimizing and Evaluating Neural Language Generation, pp. 90–98. Association for Computational Linguistics, 2019.
David Alvarez-Melis and Nicolo Fusi. Geometric dataset distances via optimal transport. In Advances in Neural Information Processing Systems, volume 33, pp. 21428–21439. Curran Associates, 2020.
Marianne Arriola, Aaron Gokaslan, Justin T Chiu, Zhihan Yang, Zhixuan Qi, Jiaqi Han, Subham Sekhar Sahoo, and Volodymyr Kuleshov. Block diffusion: Interpolating between autore-gressive and diffusion language models. In The Thirteenth International Conference on Learning Representations, 2025. URL https://arxiv.org/abs/2503.09573.
Jacob Austin, Daniel D Johnson, Jonathan Ho, Daniel Tarlow, and Rianne Van Den Berg. Structured denoising diffusion models in discrete state-spaces. Advances in Neural Information Processing Systems, 34:17981–17993, 2021.
Quentin Berthet, Yu-Han Wu, Clement Crepy, Romuald Elie, Klaus Greff, and Michael Eli Sander. MIND: Monge Inception Distance for generative models evaluation. arXiv preprint arXiv:2605.06797, 2026.
Vladimir Igorevich Bogachev. Gaussian measures. Number 62. American Mathematical Soc., 1998.
Clément Bonet, Christophe Vauthier, and Anna Korba. Flowing datasets with Wasserstein over Wasserstein gradient flows. In Proceedings of ICML'25. OpenReview.net, 2025.
Clément Bonet, Elsa Cazelles, Lucas Drumetz, and Nicolas Courty. Busemann functions in the Wasserstein space: Existence, closed-forms, and applications to slicing. 300:1972–1980, 2026.
Nicolas Bonneel, Julien Rabin, Gabriel Peyré, and Hanspeter Pfister. Sliced and Radon Wasserstein barycenters of measures. Journal of Mathematical Imaging and Vision, 51:22–45, 2015.
Nicolas Bonnotte. Unidimensional and Evolution Methods for Optimal Transportation. PhD thesis, Université Paris Sud–Paris XI, Orsay, France, 2013. PhD Thesis.
Ralph Allan Bradley and Milton E. Terry. Rank analysis of incomplete block designs: I. the method of paired comparisons. Biometrika, 39(3/4):324–345, 1952. ISSN 00063444, 14643510. URL http://www.jstor.org/stable/2334029.
Lola Le Breton, Quentin Fournier, Mariam El Mezouar, John X. Morris, and Sarath Chandar. Neobert: A next-generation bert, 2025. URL https://arxiv.org/abs/2502.19587.
Florian Le Bronnec, Alexandre Verine, Benjamin Negrevergne, Yann Chevaleyre, and Alexandre Allauzen. Exploring precision and recall to assess the quality and diversity of llms, 2024. URL https://arxiv.org/abs/2402.10693.
Ciprian Chelba, Tomás Mikolov, Mike Schuster, Qi Ge, Thorsten Brants, and Phillipp Koehn. One billion word benchmark for measuring progress in statistical language modeling. CoRR, abs/1312.3005, 2013. URL http://arxiv.org/abs/1312.3005.
J Chemseddine, G Kornhardt, and G Steidl. Spherical flows for sampling categorical data. arXiv preprint arXiv:2605.05629, 2026.
Jianlv Chen, Shitao Xiao, Peitian Zhang, Kun Luo, Defu Lian, and Zheng Liu. Bge m3-embedding: Multi-lingual, multi-functionality, multi-granularity text embeddings through self-knowledge distillation, 2024.
Yuxin Chen, Chumeng Liang, Hangke Sui, Ruihan Guo, Chaoran Cheng, Jiaxuan You, and Ge Liu. Langflow: Continuous diffusion rivals discrete in language modeling, 2026. URL https://arxiv.org/abs/2604.11748.
Min Jin Chong and David Forsyth. Effectively unbiased FID and inception score and where to find them. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 6070–6079. IEEE, 2020.
Antonin Clerc, Michael Quellmalz, Moritz Piening, Philipp Flotho, Gregor Kornhardt, and Gabriele Steidl. Hot-pot: Optimal transport for sparse stereo matching. Journal of Mathematical Imaging and Vision, 68(4):53, Aug 2026. ISSN 1573-7683. doi: 10.1007/s10851-026-01336-3. URL https://doi.org/10.1007/s10851-026-01336-3.
Sander Dieleman, Laurent Sartran, Arman Roshannai, Nikolay Savinov, Yaroslav Ganin, Pierre H. Richemond, Arnaud Doucet, Robin Strudel, Chris Dyer, Conor Durkan, Curtis Hawthorne, Rémi Leblond, Will Grathwohl, and Jonas Adler. Continuous diffusion for categorical data, 2022. URL https://arxiv.org/abs/2211.15089.
Yonatan Dukler, Wuchen Li, Alex Lin, and Guido Montufar. Wasserstein of Wasserstein loss for learning generative models. In Kamalika Chaudhuri and Ruslan Salakhutdinov (eds.), Proceedings of the 36th International Conference on Machine Learning, volume 97 of Proceedings of Machine Learning Research, pp. 1716–1725. PMLR, 09–15 Jun 2019. URL https://proceedings.mlr.press/v97/dukler19a.html.
Ahmed Ewais, Ahmed Hashish, and Amr Ali. Just pass twice: Efficient token classification with llms for zero-shot ner. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 11480–11497. Association for Computational Linguistics, 2026. doi: 10.18653/v1/2026.acl-long.526. URL http://dx.doi.org/10.18653/v1/2026.acl-long.526.
Antonio Franca and Alexander Tong. Hacking generative perplexity: Why unconditional text evaluation needs distributional metrics. arXiv preprint arXiv:2606.08417, 2026.
Jonathan Geuter, Gregor Kornhardt, Ingimar Tomasson, and Vaios Laschos. Universal neural optimal transport. In Aarti Singh, Maryam Fazel, Daniel Hsu, Simon Lacoste-Julien, Felix Berkenkamp, Tegan Maharaj, Kiri Wagstaff, and Jerry Zhu (eds.), Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pp. 19196–19232. PMLR, 13–19 Jul 2025. URL https://proceedings.mlr.press/v267/geuter25a.html.
Aaron Gokaslan, Vanya Cohen, Ellie Pavlick, and Stefanie Tellex. Openwebtext corpus. http://Skylion007.github.io/OpenWebTextCorpus, 2019.
Samson Gourevitch, Yazid Janati, Dario Shariatian, Umut Simsekli, Eric Moulines, Eric P. Xing, and Alain Durmus. Uniform diffusion models revisited: Leave-one-out denoiser and absorbing state reformulation, 2026. URL https://arxiv.org/abs/2605.22765.
Ishaan Gulrajani and Tatsunori B. Hashimoto. Likelihood-based diffusion language models, 2023. URL https://arxiv.org/abs/2305.18619.
Tomomasa Hara, Hiroto Kurita, Masaaki Imaizumi, Kentaro Inui, and Sho Yokoi. Why mean pooling works: Quantifying second-order collapse in text embeddings. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics, pp. 47180–47201. Association for Computational Linguistics, 2026.
Doron Haviv, Aram-Alexandre Pooladian, Dana Pe'er, and Brandon Amos. Wasserstein flow matching: Generative modeling over families of distributions. In Forty-second International Conference on Machine Learning, 2025. URL https://openreview.net/forum?id=MRmI68k3gd.
Tianxing He, Jingyu Zhang, Tianle Wang, Sachin Kumar, Kyunghyun Cho, James Glass, and Yulia Tsvetkov. On the blind spots of model-based evaluation metrics for text generation. In Anna Rogers, Jordan Boyd-Graber, and Naoaki Okazaki (eds.), Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 12067–12097, Toronto, Canada, July 2023. Association for Computational Linguistics. doi: 10.18653/v1/2023.acl-long.674. URL https://aclanthology.org/2023.acl-long.674/.
Michael Hersche, Samuel Moor-Smith, Thomas Hofmann, and Abbas Rahimi. Soft-masked diffusion language models. In The Fourteenth International Conference on Learning Representations, 2026. URL https://openreview.net/forum?id=Gba02UMvrG.
Johannes Hertrich, Tim Jahn, and Michael Quellmalz. Fast summation of radial kernels via QMC slicing. In Proceedings of the ICLR'25. OpenReview.net, 2025.
Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, and Sepp Hochreiter. GANs trained by a two time-scale update rule converge to a local nash equilibrium. In Advances in Neural Information Processing Systems, volume 30. Curran Associates, 2017.
Ari Holtzman, Jan Buys, Li Du, Maxwell Forbes, and Yejin Choi. The curious case of neural text degeneration. In International Conference on Learning Representations, 2020. URL https://openreview.net/forum?id=rygGQyrFvH.
Keya Hu, Linlu Qiu, Yiyang Lu, Hanhong Zhao, Tianhong Li, Yoon Kim, Jacob Andreas, and Kaiming He. Elf: Embedded language flows, 2026. URL https://arxiv.org/abs/2605.10938.
Mingyu Jo, Jaesik Yoon, Justin Deschenaux, Caglar Gulcehre, and Sungjin Ahn. Loopholing discrete diffusion: Deterministic bypass of the sampling wall. In The Fourteenth International Conference on Learning Representations, 2026. URL https://openreview.net/forum?id=wM3Mdk2Pa5.
Wolfgang Kreitmeier. Optimal vector quantization in terms of Wasserstein distance. Journal of Multivariate Analysis, 102(8):1225–1239, 2011. doi: 10.1016/j.jmva.2011.04.005.
Matt Kusner, Yu Sun, Nicholas Kolkin, and Kilian Weinberger. From word embeddings to document distances. In Proceedings of the 32nd International Conference on Machine Learning, volume 37, pp. 957–966. PMLR, 2015.
Chanhyuk Lee, Jaehoon Yoo, Manan Agarwal, Sheel Shah, Jerry Huang, Aditi Raghunathan, Seunghoon Hong, Nicholas M. Boffi, and Jinwoo Kim. Flow map language models: One-step language modeling via continuous denoising, 2026. URL https://arxiv.org/abs/2602.16813.
Xiang Lisa Li, John Thickstun, Ishaan Gulrajani, Percy Liang, and Tatsunori B. Hashimoto. Diffusion-lm improves controllable text generation, 2022. URL https://arxiv.org/abs/2205.14217.
Zehan Li, Xin Zhang, Yanzhao Zhang, Dingkun Long, Pengjun Xie, and Meishan Zhang. Towards general text embeddings with multi-stage contrastive learning, 2023. URL https://arxiv.org/abs/2308.03281.
Aaron Lou, Chenlin Meng, and Stefano Ermon. Discrete diffusion modeling by estimating the ratios of the data distribution, 2024. URL https://arxiv.org/abs/2310.16834.
Kimia Nadjahi, Alain Durmus, Lénaïc Chizat, Soheil Kolouri, Shahin Shahrampour, and Umut Simsekli. Statistical and topological properties of sliced probability divergences. In Advances in Neural Information Processing Systems, volume 33, pp. 15657–15669. Curran Associates, 2020.
Muhammad Ferjad Naeem, Seong Joon Oh, Youngjung Uh, Yunjey Choi, and Jaejun Yoo. Reliable fidelity and diversity metrics for generative models. In Hal Daumé III and Aarti Singh (eds.), Proceedings of the 37th International Conference on Machine Learning, volume 119 of Proceedings of Machine Learning Research, pp. 7176–7185. PMLR, 13–18 Jul 2020. URL https://proceedings.mlr.press/v119/naeem20a.html.
Khai Nguyen and Peter Mueller. Summarizing nonparametric Bayesian mixture posteriors—sliced optimal transport metrics for Gaussian mixtures. Journal of Computational and Graphical Statistics, 2026. doi: 10.1080/10618600.2026.2634831.
Khai Nguyen, Nicola Bariletto, and Nhat Ho. Quasi-Monte Carlo for 3d sliced Wasserstein. In Proceedings of the ICLR'24. OpenReview.net, 2024.
Khai Nguyen, Hai Nguyen, Tuan Pham, and Nhat Ho. Lightspeed geometric dataset distance via sliced optimal transport. In Proceedings of ICML'25. OpenReview.net, 2025.
Giorgos Nikolaou, Tommaso Mencattini, Donato Crisostomi, Andrea Santilli, Yannis Panagakis, and Emanuele Rodolà. Language models are injective and hence invertible. In The Fourteenth International Conference on Learning Representations, 2026. URL https://openreview.net/forum?id=0kHbD6ad07.
Team OLMo, Pete Walsh, Luca Soldaini, Dirk Groeneveld, Kyle Lo, Shane Arora, Akshita Bhagia, Yuling Gu, Shengyi Huang, Matt Jordan, Nathan Lambert, Dustin Schwenk, Oyvind Tafjord, Taira Anderson, David Atkinson, Faeze Brahman, Christopher Clark, Pradeep Dasigi, Nouha Dziri, Allyson Ettinger, Michal Guerquin, David Heineman, Hamish Ivison, Pang Wei Koh, Jiacheng Liu, Saumya Malik, William Merrill, Lester James V. Miranda, Jacob Morrison, Tyler Murray, Crystal Nam, Jake Poznanski, Valentina Pyatkin, Aman Rangapur, Michael Schmitz,
Sam Skjonsberg, David Wadden, Christopher Wilhelm, Michael Wilson, Luke Zettlemoyer, Ali Farhadi, Noah A. Smith, and Hannaneh Hajishirzi. 2 olmo 2 furious, 2025. URL https://arxiv.org/abs/2501.00656.
OpenAI. GPT-2 Output Dataset. https://github.com/openai/gpt-2-output-dataset, 2019. GitHub repository.
M Piening, R Duong, and G Steidl. Generalized Wasserstein flow matching: Transport plans, everywhere, all at once. arXiv preprint arXiv:2605.08424, 2026.
Moritz Piening and Robert Beinert. Slicing the Gaussian mixture Wasserstein distance. Transactions on Machine Learning Research, 2025.
Moritz Piening and Robert Beinert. A novel sliced fused gromov-wasserstein distance. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 40, pp. 24828–24836, 2026a.
Moritz Piening and Robert Beinert. Slicing Wasserstein over Wasserstein via functional optimal transport. In The Fourteenth International Conference on Learning Representations, 2026b. URL https://openreview.net/forum?id=13KtyVZde3.
Krishna Pillutla, Swabha Swayamdipta, Rowan Zellers, John Thickstun, Sean Welleck, Yejin Choi, and Zaid Harchaoui. MAUVE: Measuring the gap between neural text and human text using divergence frontiers. In A. Beygelzimer, Y. Dauphin, P. Liang, and J. Wortman Vaughan (eds.), Advances in Neural Information Processing Systems, 2021. URL https://openreview.net/forum?id=Tqx7nJp7PR.
Krishna Pillutla, Lang Liu, John Thickstun, Sean Welleck, Swabha Swayamdipta, Rowan Zellers, Sewoong Oh, Yejin Choi, and Zaid Harchaoui. MAUVE scores for generative models: Theory and practice. Journal of Machine Learning Research, 24(356):1–92, 2023.
Alec Radford, Jeff Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. Language models are unsupervised multitask learners. 2019.
Balram S Rajput and Stamatis Cambanis. Gaussian processes and Gaussian measures. The Annals of Mathematical Statistics, pp. 1944–1952, 1972.
Litu Rout, Constantine Caramanis, and Sanjay Shakkottai. Anchored diffusion language model. In The Thirty-ninth Annual Conference on Neural Information Processing Systems, 2025. URL https://openreview.net/forum?id=E8adS5srds.
Subham Sekhar Sahoo, Marianne Arriola, Yair Schiff, Aaron Gokaslan, Edgar Marroquin, Justin T Chiu, Alexander Rush, and Volodymyr Kuleshov. Simple and effective masked diffusion language models, 2024. URL https://arxiv.org/abs/2406.07524.
Subham Sekhar Sahoo, Justin Deschenaux, Aaron Gokaslan, Guanghan Wang, Justin T Chiu, and Volodymyr Kuleshov. The diffusion duality. In Forty-second International Conference on Machine Learning, 2025. URL https://openreview.net/forum?id=9P9Y8FOSOk.
Subham Sekhar Sahoo, Jean-Marie Lemercier, Zhihan Yang, Justin Deschenaux, Jingyu Liu, John Thickstun, and Ante Jukić. Scaling beyond masked diffusion language models. In Forty-third International Conference on Machine Learning, 2026. URL https://openreview.net/forum?id=xKJG1CNtQM.
Mehdi S. M. Sajjadi, Olivier Bachem, Mario Lucic, Olivier Bousquet, and Sylvain Gelly. Assessing generative models via precision and recall. In Advances in Neural Information Processing Systems, volume 31, pp. 5228–5237. Curran Associates, 2018.
Jiaxin Shi, Kehang Han, Zhe Wang, Arnaud Doucet, and Michalis K. Titsias. Simplified and generalized masked diffusion for discrete data, 2025. URL https://arxiv.org/abs/2406.04329.
Jacob Mitchell Springer, Suhas Kotha, Daniel Fried, Graham Neubig, and Aditi Raghunathan. Repetition improves language model embeddings. In The Thirteenth International Conference on Learning Representations, 2025. URL https://openreview.net/forum?id=Ahlrf2HGJR.
Liang Wang, Nan Yang, Xiaolong Huang, Binxing Jiao, Linjun Yang, Daxin Jiang, Rangan Majumder, and Furu Wei. Text embeddings by weakly-supervised contrastive pre-training, 2024. URL https://arxiv.org/abs/2212.03533.
Jiannan Xiang, Yahui Liu, Deng Cai, Huayang Li, Defu Lian, and Lemao Liu. Assessing dialogue systems with distribution distances. In Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021, pp. 2192–2198. Association for Computational Linguistics, 2021.
Toshiaki Yachimura, Hanbo Wang, Yusuke Imoto, Momoko Yoshida, Sohei Tasaki, Yoji Kojima, Yukihiro Yabuta, Mitinori Saitou, and Yasuaki Hiraoka. scegot: single-cell trajectory inference framework based on entropic Gaussian mixture optimal transport. BMC bioinformatics, 25(1):388, 2024.
An Yang, Anfeng Li, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chang Gao, Chengen Huang, Chenxu Lv, Chujie Zheng, Dayiheng Liu, Fan Zhou, Fei Huang, Feng Hu, Hao Ge, Haoran Wei, Huan Lin, Jialong Tang, Jian Yang, Jianhong Tu, Jianwei Zhang, Jianxin Yang, Jiaxi Yang, Jing Zhou, Jingren Zhou, Junyang Lin, Kai Dang, Keqin Bao, Kexin Yang, Le Yu, Lianghao Deng, Mei Li, Mingfeng Xue, Mingze Li, Pei Zhang, Peng Wang, Qin Zhu, Rui Men, Ruize Gao, Shixuan Liu, Shuang Luo, Tianhao Li, Tianyi Tang, Wenbiao Yin, Xingzhang Ren, Xinyu Wang, Xinyu Zhang, Xuancheng Ren, Yang Fan, Yang Su, Yichang Zhang, Yinger Zhang, Yu Wan, Yuqiong Liu, Zekun Wang, Zeyu Cui, Zhenru Zhang, Zhipeng Zhou, and Zihan Qiu. Qwen3 technical report, 2025. URL https://arxiv.org/abs/2505.09388.
Jiacheng Ye, Zhihui Xie, Lin Zheng, Jiahui Gao, Zirui Wu, Xin Jiang, Zhenguo Li, and Lingpeng Kong. Dream 7b: Diffusion large language models, 2025. URL https://arxiv.org/abs/2508.15487.
Jaehoon Yoo, Wonjung Kim, Floor Eijkelboom, Chanhyuk Lee, Nicholas M. Boffi, Seunghoon Hong, and Jinwoo Kim. Self-conditioned flow map language models via fixed-point flows, 2026. URL https://arxiv.org/abs/2607.00714.
Mikhail Yurochkin, Sebastian Claici, Edward Chien, Farzaneh Mirzazadeh, and Justin M. Solomon. Hierarchical optimal transport for document representation. In Advances in Neural Information Processing Systems, volume 32. Curran Associates, 2019.
Tianyi Zhang, Varsha Kishore, Felix Wu, Kilian Q. Weinberger, and Yoav Artzi. BERTScore: Evaluating text generation with BERT. In Proceedings of the ICLR'20. OpenReview.net, 2020.
Xiang Zhang, Junbo Zhao, and Yann LeCun. Character-level convolutional networks for text classification. In C. Cortes, N. Lawrence, D. Lee, M. Sugiyama, and R. Garnett (eds.), Advances in Neural Information Processing Systems, volume 28. Curran Associates, Inc., 2015. URL https://proceedings.neurips.cc/paper_files/paper/2015/file/250cf8b51c773f3f8dc8b4be867a9a02-Paper.pdf.
Wei Zhao, Maxime Peyrard, Fei Liu, Yang Gao, Christian M. Meyer, and Steffen Eger. MoverScore: Text generation evaluating with contextualized embeddings and earth mover distance. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing, pp. 563–578. Association for Computational Linguistics, 2019.
Kaiwen Zheng, Yongxin Chen, Hanzi Mao, Ming-Yu Liu, Jun Zhu, and Qinsheng Zhang. Masked diffusion models are secretly time-agnostic masked models and exploit inaccurate categorical sampling. In Proceedings of the ICLR'25. OpenReview.net, 2025.
CONTENTS
1 Introduction 1
2 Preliminaries 2
3 Current Evaluation Methods for Language Models 3
3.1 Perplexity-Based Methods 3
3.2 Euclidean Latent Space Methods 4
3.2.1 Text Representation in the Euclidean Space 4
3.2.2 MAUVE 5
4 Evaluation of Language Models by Wasserstein Distances 5
4.1 Lifting a Sequence to a Probability Measure 5
4.2 Double-Sliced Wasserstein Distance 6
4.3 SOL - Sliced Optimal Transport for Language 7
5 Numerical Experiments 7
5.1 Generative Perplexity and Entropy are Blind to Mode Collapse 8
5.2 Does the SOL behave as expected? 8
5.3 Correlation with Human Judges 9
5.4 Approximation in SOL 9
5.5 Diffusion Language Models on OWT 9
6 Conclusion 10
A Proofs and Theoretical Details 18
A.1 SOL is a Metric 18
A.2 Approximation of the Double-Sliced Wasserstein Distance 18
A.3 Double-Sliced Wasserstein compared vs Mean Hidden Token Sliced Wasserstein 23
A.4 Approximation of SOL 23
B Extended Related Work 25
B.1 Detailed Description of MAUVE 25
B.2 Overview of Related Work 25
B.2.1 Comparing Text Representations via Latent Geometries 25
B.2.2 Optimal Transport 26
C Experimental Setup and Implementation 27
C.1 Datasets and Preprocessing 27
C.2 Encoding Models 27
C.3 SOL Estimator and Hyperparameters 27
C.4 Correlation with Human Judgments ..... 27
C.5 OpenWebText Benchmark Configurations ..... 28
C.6 Runtime ..... 31
D Additional Ablations ..... 32
D.1 Number of Slices and Samples ..... 32
D.2 Quantile Resolution ..... 32
D.3 Gaussian Process Bandwidth ..... 32
D.4 Mean-SW versus SOL under Structural Perturbations ..... 33
D.5 Sensitivity to Sampling Temperature ..... 33
D.6 Pollution and Corruption ..... 34
D.7 Positional Sensitivity ..... 35
D.7.1 Positional bias of last-token SW ..... 35
D.8 Mode Coverage ..... 35
D.9 Alternative to Bidirectional Attention ..... 36
D.10 Text Embedding Models ..... 37
E Additional Evaluation Results ..... 38
E.1 Human-Judgment Results ..... 38
E.2 MAUVE Comparison ..... 38
E.2.1 Mean Hidden Representation ..... 38
E.2.2 LM1B Experiment ..... 38
E.2.3 Comparing MAUVE with SOL ..... 39
E.3 OpenWebText complete Model Table ..... 39
E.3.1 MAUVE Depends on Last Hidden Tokens ..... 39
E.3.2 Precision, Recall, and Coverage ..... 40
E.3.3 Extended Table ..... 41
E.4 Additional Sampler ..... 42
F Implementation Details ..... 43
F.1 Numerical implementation of SOL ..... 43
A PROOFS AND THEORETICAL DETAILS
A.1 SOL IS A METRIC
Proposition A.1. Assume that is injective and has full support. For empirical distributions with uniform weights, we have if and only if .
Proof. We will show that the injectivity of the last hidden-token representation implies injectivity of . Then its push forward is injective as well and the assertion follows from the fact that DSW is a metric on empirical meta-measures, see Piening & Beinert (2026b).
It remains to prove that is indeed injective. Let satisfy . By the injectivity of the last hidden-token representation it follows that the components of are pairwise distinct and similarly for . By , we thus have that . Further, it follows that there exists such that . By injectivity of the last hidden-token representation this implies that , so that and we are done.
A.2 APPROXIMATION OF THE DOUBLE-SLICED WASSERSTEIN DISTANCE
Throughout this section, let be nonempty and Borel for some . We equip with the Wasserstein distance W. On the sphere, we use the uniform measure . On , we fix a measure and denote its moments by
The second moment is finite by assumption, while is allowed.
Recall from the main text that each pair of slices defines the map
where is the projection of under . For , the corresponding one-dimensional cost is
and the double-sliced Wasserstein distance reads
In practice, the slicing measures are replaced by empirical measures. For and slices and , we set
The finite-slice approximation is then given by
We bound the error that arises when both the slicing measures and the measures , are replaced by empirical measures. This is done in two steps. Proposition A.3 treats the slicing error for fixed measures, and Proposition A.5 treats the sampling error for fixed slices. Proposition A.6 combines both. All three results rely on the regularity properties collected in the following lemma.
Lemma A.2. Let , , and . Then
In particular, the map is jointly continuous, and it holds . Moreover, for every , the pushforwards satisfy
Finally, the function is continuous with
Proof. Estimates for the quantile functions. Set . The quantile representation of W on and the triangle inequality in give
We bound the two terms separately. Since is 1-Lipschitz, pushing an optimal coupling of and forward under yields
For the second term, we use the coupling . Since on , this gives
In the same way, the norm of each quantile function is bounded by
Continuity of M. We decompose
Applying Cauchy–Schwarz to both terms and inserting the estimates above proves (11). The joint continuity and the bound on follow directly.
Continuity of the pushforwards. Let . Since and are continuous, the measure is a coupling of the two pushforwards. Using this coupling in the definition of W gives
By (11) with , the integrand is bounded by the square of the right-hand side of (12). This proves (12).
Properties of c. The triangle inequality for W gives
for all . Together with (12) for and , this shows that is continuous, and hence so is . Finally, both slice laws in the definition of are supported in the interval . Their squared Wasserstein distance is therefore at most the squared length of this interval, which proves (13).
Approximation of the integrals. We first keep fixed and approximate only the slicing measures and .
Proposition A.3. Let and assume . Let the slices be iid with law , let be iid with law , and let both families be independent. Then
where denotes the expectation over the slices.
Proof. Decomposition. Write and denote the exact and the approximate integral by
We replace the two slicing measures one after the other and split , where
The term A replaces by . The term B then replaces by .
A variance identity. Let be a probability measure, and let be its empirical approximation based on iid samples. For every , expanding the square gives
Bounding A and B. For A, we apply (15) to with the function
By (13), this function is bounded by . Hence
For , we fix and apply (15) to with the function
By (13), this function is bounded by . Taking the expectation over the afterwards gives
This is the only place where the fourth moment enters.
The cross term. For every fixed collection of , the expectation of with respect to vanishes. Since depends only on the , it follows that . Hence
Taking square roots. For , it holds . Together with Jensen's inequality for the concave map , we obtain
Inserting the previous bound proves the assertion.
Approximation of the measures. We next keep the slices fixed and approximate the measures . The key ingredient is the following estimate on .
Lemma A.4. Let be supported in for some , and let be its empirical measure based on iid samples. Then
Proof. Let and denote the distribution functions of and . Both quantile functions take values in , so that . Using the quantile representation of W, we obtain
The last identity is the representation of the one-dimensional 1-Wasserstein distance by distribution functions. For fixed t, the random variable is binomially distributed with parameters n and . By Cauchy–Schwarz,
Taking expectations in the first estimate and using Tonelli's theorem, we conclude
Proposition A.5. Let . Let be iid with law , let be iid with law , and consider the empirical measures
Then, for arbitrary fixed slices in (10), it holds
where denotes the expectation over the samples. The same bound holds for DSW if the empirical second moment on the right-hand side is replaced by .
Proof. Reduction to one measure. By the triangle inequality for W and Minkowski's inequality, is a pseudometric on . Hence
It suffices to bound the expectation of the first term. The second term is treated in the same way.
Reduction to one dimension. Fix . The pushforward of is
Since the are iid with law , this is the empirical measure of . By Lemma A.2, both measures are supported in . Lemma A.4 with therefore gives
Conclusion. By Jensen's inequality for the square root, we obtain
Adding the same bound for proves (16).
The case of DSW. Here we replace by in the argument above. The exchange of and the integral is then justified by Tonelli's theorem. Indeed, by Lemma A.2, the atoms and the measure depend continuously on . Hence the map
is continuous on a product of separable metric spaces and thus jointly Borel measurable.
Combined approximation. Finally, we approximate the slicing measures and the measures simultaneously.
Proposition A.6. Let the assumptions of Propositions A.3 and A.5 hold, and assume in addition that the samples are independent of the slices. Then
where E denotes the expectation over samples and slices.
Proof. We insert the intermediate quantity and apply the triangle inequality. This gives
The second term is bounded by Proposition A.3.
For the first term, joint measurability in slices and samples follows as at the end of the proof of Proposition A.5. Since the samples are independent of the slices, Fubini's theorem allows us to first take the expectation over the samples with the slices fixed. Proposition A.5 then bounds the first term by
By Jensen's inequality and since the have law ,
Combining both bounds proves the assertion.
Remarks. Sample sizes. The proofs of Propositions A.5 and A.6 use neither independence between the and the nor equal sample sizes. With samples of , the factor in (16) and (17) becomes
Slice rates. The slice rates and in (14) stem from the estimate . This estimate is only tight when is close to zero. For the squared distance, the proof of Proposition A.3 yields the Monte Carlo rate
If , the estimate transfers this rate to DSW itself. More precisely,
Sample rate. In contrast, the rate in Lemma A.4 cannot be improved in general. Consider . Then
and the expectation of the right-hand side is of order .
A.3 DOUBLE-SLICED WASSERSTEIN COMPARED VS MEAN HIDDEN TOKEN SLICED WASSERSTEIN
The relation between DSW and mean-SW follows directly from the quantile representation of the inner Wasserstein distance. Let denote the token cloud of a document and define its mean by
For , decompose the quantile function of the projected token cloud as
Hence, for a second slicing function , the corresponding DSW feature satisfies
The first term depends only on the centroid of the token cloud, whereas the second term captures its centered projected shape.
In particular, for the constant function ,
so restricting the second slicing stage to constant functions recovers mean-SW, up to the chosen normalization. Conversely, if two token clouds satisfy , mean-SW cannot distinguish them, while
can be nonzero. Thus, DSW adds information precisely through nonconstant test functions that detect differences in the projected quantile shapes. This also motivates the ablation between constant g, nonconstant centered g, and the full family of cutting functions. We note that the degeneration to constant test functions is already discussed in the original DSW construction.
A.4 APPROXIMATION OF SOL
Proposition 4.2 concerns the exact SOL distance. In practice, we approximate it from finitely many text samples, finitely many slicing directions, and a finite representation of the second-level slicing functions. We separate these approximation effects below.
Finite samples and slices. Let denote empirical meta-measures based on independent samples, and let denote the estimator obtained by replacing the two slicing measures by and Monte Carlo samples. Under the assumptions of Propositions A.3 and A.5, the sample and slicing approximations converge independently as .
Finite resolution of the second slicing functions. The exact second-level feature is
For , partition into , , and define the piecewise-constant approximation . We keep the empirical quantile itself exact and only replace by . If the token clouds are supported in the ball , then
Consequently, if DSW denotes the corresponding distance with g replaced by , then
For the RBF Gaussian process used in our experiments, , we have
and hence
Thus the finite grid introduces an approximation error for the RBF second-level slicing measure.
The numerical implementation in Appendix F.1 realizes by integrating the empirical quantile exactly over each bin. In particular, the finite- approximation acts only on the second-level slicing function and not on the empirical quantile itself. The finite estimator need not itself satisfy identity of indiscernibles, the metric statement in Proposition 4.2 concerns the exact SOL distance.
B EXTENDED RELATED WORK
B.1 DETAILED DESCRIPTION OF MAUVE
MAUVE (Pillutla et al., 2021; 2023) compares two text distributions after quantization in a Euclidean latent space. Given samples and , it proceeds as follows:
-
Embedding. Map the texts to , classically using the last-token representation .
-
Quantization. Jointly cluster the embedded real and generated samples by K-means into cells .
-
Histograms. Form cluster weights
- KL divergence frontier. For , define
- Aggregation. MAUVE is the area under the divergence frontier, completed by the endpoints and and approximated from finitely many . Its optimal value is 1.
MAUVE (Pillutla et al., 2023) uses the same procedure, but replaces the empirical histograms by their Krichevsky–Trofimov smoothed versions,
before computing the divergence frontier. Interestingly, the K-means step itself is an optimal K-point quantization problem and can equivalently be formulated as approximation in the Wasserstein distance (Kreitmeier, 2011).
B.2 OVERVIEW OF RELATED WORK
B.2.1 COMPARING TEXT REPRESENTATIONS VIA LATENT GEOMETRIES
Latent Text Representations. Classical bag-of-words representations describe a document through its token frequencies (Kusner et al., 2015). Modern transformers instead provide context-dependent representations. In a causal transformer, the final hidden state depends on the complete preceding sequence and can, under suitable assumptions, even uniquely determine it (Nikolaou et al., 2026). In contrast, dedicated text encoders such as BGE, GTE, and E5 (Chen et al., 2024; Li et al., 2023; Wang et al., 2024) are primarily optimized by contrastive objectives for semantic similarity, retrieval, or classification and commonly compress a text into a single dense vector. This is advantageous for semantic retrieval but less suited to our goal of detecting arbitrary distributional changes: such representations are designed to be invariant to semantically minor variations and necessarily discard part of the token-level distributional structure. In contrast, we use the complete collection of contextual states of a causal or bidirectional encoder.
Text-generation evaluation metrics. Reference-based metrics such as BERTScore (Zhang et al., 2020) and MoverScore (Zhao et al., 2019) compare individual generated texts with paired references using contextual token similarities or optimal transport, and therefore do not directly measure the fit between two unpaired text distributions. Distributional metrics address this explicitly. Fréchet BERT Distance (FBD) (Alihosseini et al., 2019; Xiang et al., 2021) fits Gaussian distributions to pretrained text representations and compares them by the Fréchet distance. This restricts the comparison to first and second moments and inherits the statistical difficulties of estimating high-dimensional covariances. Indeed, the analogous FID estimator in vision is known to be finite-sample biased and typically requires large sample sizes (Heusel et al., 2017; Chong & Forsyth, 2020; Berthet et al.,
2026). PRD (Sajjadi et al., 2018; Xiang et al., 2021) separates quality and coverage, but its practical estimator quantizes the latent distributions by K-means. MAUVE (Pillutla et al., 2021; 2023) similarly quantizes pretrained language-model representations before comparing them through divergence frontiers, introducing dependence on both sample and cluster size. Moreover, its standard last-token representation can be insensitive to perturbations earlier in the sequence (He et al., 2023). Finally, Gen. PPL and token entropy are sequence-wise averages rather than discrepancies between distributions and can remain favorable even under complete corpus-level mode collapse.
B.2.2 OPTIMAL TRANSPORT
Relation to document optimal transport. Previous work has been done on evaluating text via optimal transport. The Word Mover's Distance (WMD) (Kusner et al., 2015) represents each document as a bag of pretrained word embeddings and compares two documents by optimal transport between their words. Hierarchical Optimal Topic Transport (HOTT) (Yurochkin et al., 2019) is closer in spirit to our approach: documents are distributions over LDA topics, themselves distributions over words, and are compared by OT on the topic space with WMD as ground distance. Our goal is different: we compare distributions of documents for generative-model evaluation, represent each document directly by its distribution of contextual transformer states rather than static word embeddings or learned topics, and use Double Sliced Wasserstein to avoid solving the resulting nested OT problem directly. Thus, while HOTT introduces a closely related hierarchical representation, our hierarchy operates at the corpus level and exploits contextual sequence representations together with slicing for efficient computation.
Optimal transport dataset distances. A related line of work compares entire datasets by optimal transport. OTDD (Alvarez-Melis & Fusi, 2020) represents each label by its class-conditional feature distribution and uses the Wasserstein distance between these distributions inside an outer OT problem. To reduce the cost of the inner transports, the practical Bures-OTDD variant approximates each class-conditional distribution by a Gaussian, yielding closed-form distances between labels. More recently, s-OTDD (Nguyen et al., 2025) replaces this nested computation by a sliced construction based on one-dimensional projections. Unlike the moment-based Gaussian approximation in Bures-OTDD, DSW retains the full class-conditional distributions and has been observed to yield stronger agreement with exact nested transport distances. Note that DSW avoids such moment approximations and produces a stronger correlation with the exact nested transport distance than both Gaussian OTDD and s-OTDD (Piening & Beinert, 2026b).
Further work on nested optimal transport. More generally, several works develop tractable approximations for Wasserstein-type distances between distributions of distributions. For Gaussian mixtures, slicing has been developed from different geometric viewpoints (Piening & Beinert, 2025; Nguyen & Mueller, 2026; Bonet et al., 2026). Piening et al. (2026) further study sliced and linearized Wasserstein surrogates inside Wasserstein-over-Wasserstein constructions, while Bonet et al. (2025) combine Wasserstein-over-Wasserstein geometry with tractable MMD objectives based on Sliced-Wasserstein kernels. Applications of hierarchical optimal transport beyond text and dataset comparison include stereo vision (Clerc et al., 2026), graph comparison (Piening & Beinert, 2026a) and generative modeling in imaging (Dukler et al., 2019; Geuter et al., 2025) and biology (Yachimura et al., 2024; Haviv et al., 2025).
C EXPERIMENTAL SETUP AND IMPLEMENTATION
C.1 DATASETS AND PREPROCESSING
We use four English text datasets, with preprocessing adapted to each experiment and the training format of the evaluated generators.
OpenWebText (OWT). OpenWebText (Gokaslan et al., 2019) is a webtext corpus used for the diffusion-model benchmark, numerical-stability experiments, and controlled corruption tests. The main benchmark uses held-out GPT-2-tokenized sequences packed into blocks of 1,024 tokens, retaining end-of-text boundaries. ELF is evaluated separately against a uniform sample from its released T5-tokenized OWT training corpus, decoded with native special tokens removed. This reference is training-derived rather than held out. Real–real controls compare disjoint subsets.
WebText. We used the released WebText test OpenAI (2019) split for the GPT-2 model-size, generation-length, temperature, and decoding experiments. For human-judgment comparison, we reuse MAUVE's released pairwise annotations (Pillutla et al., 2021) and regenerate continuations from the first 5,000 test documents. Each prompt contains the first 35 GPT-2 tokens, these are removed from both reference and generated texts before continuation-only evaluation, and empty generated continuations are discarded.
AG News. AG News (Zhang et al., 2015) contains news texts labeled WORLD, SPORTS, BUSINESS, or SCI/TECH. We sample class-controlled mixtures to test mode removal and support expansion. Each candidate set contains 5,000 unique examples and is disjoint from the reference set, we repeat sampling over five seeds.
LM1B. The One Billion Word Benchmark Chelba et al. (2013) provides the reference for the MAUVE sample-size and cluster-count study. We construct 25,000 sequences from its held-out test split using the generator's BERT tokenizer and 128-token packing scheme, preserving the same special-token formatting as in generated samples.
For metric evaluation, decoded texts are tokenized with the embedding model's native tokenizer and truncated to the experiment-specific horizon, padding positions are excluded. Word-level corruptions are applied before tokenization, whereas token-level positional perturbations operate on tokenized sequences.
C.2 ENCODING MODELS
We evaluate SOL using several frozen transformer backbones. GPT-2 Large Radford et al. (2019) is our default encoder and also serves as the reference model for generative perplexity. We additionally consider the causal models Qwen3-0.6B-Base Yang et al. (2025) and OLMo-2-0425-1B OLMo et al. (2025), as well as Dream-v0-Base-7B Ye et al. (2025), which uses bidirectional attention. Each model is used to generate the hidden states of the last-layer on the evaluated text, using its native tokenizer. Since the representation spaces differ across the backbones, absolute SOL values are only compared within the same encoder. Additional comparisons with dedicated text encoders BGE-base Chen et al. (2024), GTE-base Li et al. (2023), E5-base Wang et al. (2024), and NeoBERT Breton et al. (2025) are provided in the appendix.
C.3 SOL ESTIMATOR AND HYPERPARAMETERS
Unless stated otherwise, we use the estimator described in Appendix F.1 with the settings in Table 4. The same first- and second-level slicing directions are used for all corpora within a comparison. We report the ordinary SOL distance, i.e., the square root of the squared estimator.
C.4 CORRELATION WITH HUMAN JUDGMENTS
We evaluate agreement with the released human judgments from MAUVE (Pillutla et al., 2021), using its WebText test data, eight model–sampling configurations, and raw pairwise Amazon Mechanical Turk annotations for human-like, interesting, and sensible text. Following the released analysis notebook, we exclude responses with an estimated annotation time (Answer.te) of at most 25 seconds, retaining 1,698 of 3,240 annotation rows.
| Parameter | Dream-7B | All other encoders | Description |
|---|---|---|---|
| 8192 | 1024 | First-level projection directions | |
| 8192 | 1024 | Second-level GP directions | |
| 64 | Resolution of second-level functions | ||
| 0.1 | RBF-GP length scale | ||
| Dimension correction factor | |||
| Projection seeds | 3 | Independent draws | |
| GP seeds | 3 | Independent second-level draws |
Table 4: Default SOL estimator parameters by encoder. Here, denotes the encoder's hidden dimension. We evaluate all combinations of projection and GP seeds. Experiment-specific deviations are stated in the corresponding sections.
Human preference scores. For each criterion, we fit a Bradley–Terry model to the pairwise human judgments. Each configuration is assigned a latent score , and the probability that configuration is preferred over configuration is modeled as
The released pairwise annotations are treated as observed preference outcomes under this model, and the scores are estimated by maximum likelihood. Higher scores therefore correspond to stronger estimated human preference.
Models and sampling. We evaluate four model sizes, each with two sampling methods: GPT-2 and GPT-2 Medium with nucleus sampling at and ancestral sampling, and GPT-2 Large and GPT-2 XL with nucleus sampling at and ancestral sampling.
While the annotations are still publicly available, the set of continuations seemed to be incomplete. Therefore, we resample all GPT-2 models with the corresponding sampling strategies. For each of the eight configurations, we regenerate continuations for the first 5,000 WebText test documents using five generation seeds. Generation uses the first 35 GPT-2 tokens as the prompt and a maximum total length of 1,024 tokens, including the prompt. In particular, we regenerate all configurations because the available released archive contains only GPT-2 and GPT-2 Large samples, whose metadata records 10-token prompts, not 35. Our rerun follows the paper's stated 35-token prompt protocol.
Text evaluation methods. For each generation seed, we average the full-corpus score over all nine combinations of three token-projection seeds and three GP seeds.
Rank correlation. We measure agreement using Spearman rank correlation between the automatic metric scores and the Bradley–Terry scores across the eight configurations. We negate SOL scores, using , so that higher values indicate stronger human preference for every metric.
We report the worst-case correlation , following Pillutla et al. (2023). For each configuration, we compute the mean and standard deviation of its metric score across the five generation seeds. We then independently shift each mean by either plus or minus one standard deviation and report the lowest Spearman correlation among the resulting combinations.
C.5 OPENWEBTEXT BENCHMARK CONFIGURATIONS
Data preprocessing. We use two reference families. The GPT-2 reference family (G) follows the OpenWebText preprocessing of Sahoo et al. (2024) and uses the final 100,000 OpenWebText documents as a held-out split. Documents are GPT-2-tokenized, terminated with an end-of-text (EOT) token, concatenated within preprocessing batches, and divided into 1,022-token chunks. Adding an EOT at each end gives 1,024-token blocks, incomplete remainders are discarded. The ELF family (E) (Hu et al., 2026) uses a uniform sample without replacement from the released T5-tokenized OpenWebText training corpus. ELF text decoding removes native special tokens, including EOS, PAD, and UNK, and retains the release's whitespace cleanup. For the algorithm see Alg. 1.
For G, GPT-2-large consumes native IDs where available and retokenized archived text otherwise, OLMo and Dream consume decoded text. Decoding from available GPT-2 IDs preserves EOT markers and disables whitespace cleanup. ELF text is retokenized for every evaluator. Evaluator inputs are truncated to 1,024 tokens, with padding excluded, this horizon need not equal 1,024 native generator tokens. Each model comparison uses 5,000 generated sequences and 5,000 rows selected from a 10,000-row reference pool, real–real controls use disjoint subsets. SOL comparisons are made within the same reference family and encoder. LDDM uses the same OWT source and split with different packing-worker boundaries, LangFlow’s historical training split is not independently verified.
Algorithm 1 OpenWebText reference preprocessing
Require: Generator configuration G, SOL encoder E, evaluation horizon H Ensure: Reference corpus matched to the generator's training distribution 1: Identify the OpenWebText source and preprocessing used to train G 2: Reproduce the corresponding tokenization, packing, and special-token conventions 3: Select held-out examples from the same data distribution whenever available 4: if the SOL encoder E does not consume the generator's native representation then 5: Decode the reference sequences to text using the generator-specific convention 6: Retokenize the decoded text with the native tokenizer of E 7: end if 8: Exclude padding positions from the token cloud 9: Use the same preprocessing pipeline for the generated and reference corpora
Evaluation and sampling budgets. We denote discrete-diffusion sampling steps by T and continuous predictor, integration, or flow-map steps by S. For BD3-LM, T is the maximum number of updates per block. NFE counts neural-network evaluations, including correction, initialization, cache-update, guidance, and final-decoding calls; hence S and T need not equal NFE. PC denotes predictor-corrector, ODE ordinary differential equation, and SDE stochastic differential equation. EMA denotes exponential moving-average weights, and KV denotes key-value caching. In the ELF and starred-model rows, CFG denotes self-conditioning guidance, called w or c in the original notation; CFG = 1 means no guidance amplification. External-conditioning guidance is fixed to 1. The parameter denotes CTM noise mixing or ELF SDE churn, according to the sampler. We cross three direction seeds with three Gaussian-process seeds and report the mean and population standard deviation of the nine SOL estimates. Auxiliary entropy and perplexity retain the evaluator conventions specified in the table. Training data, model sizes, guidance, and sampling budgets differ across configurations.
AR Sahoo et al. (2024). The autoregressive model samples token by token at temperature 1.0, requiring one next-token evaluation per decoding step. For the fixed 1,024-token output with an initial BOS token, this gives 1,023 next-token evaluations. The initial BOS token is not sampled.
MDLM Sahoo et al. (2024). The masked diffusion language model uses the cached denoising diffusion probabilistic model (DDPM) sampler (ddpm_cache) with T = 1000. We compare the released FP32 Gumbel sampling implementation with exact multinomial categorical sampling under the same sampler configuration. Both include final noise removal. Cached predictions can skip model calls, so T = 1000 is not a fixed NFE count.
DUO Sahoo et al. (2025). The base model uses ancestral sampling with T = 1024. The distilled model uses T = 32, with separate configurations for ancestral and greedy final noise removal.
LDDM Jo et al. (2026). The loopholing discrete diffusion models LDDM-M and LDDM-U use the released samplers with T = 1024, EMA weights, FP64 categorical probabilities, and nucleus threshold p = 1.0. A final denoising call gives 1,025 actual model evaluations.
Soft-Masked Hersche et al. (2026). The released scratch-trained checkpoint uses top-3 soft feedback and nucleus threshold p = 0.9. We evaluate the MDLM sampler and the loop sampler of the remasking diffusion model (ReMDM-loop), both with and final noise removal. ReMDM-loop uses , , , and . Caching can skip model calls, so actual NFE is sample dependent.
ADLM Rout et al. (2025). The anchored diffusion language model uses the released large checkpoint with EMA weights. We generate 1,024 native GPT-2 tokens using ReMDM-loop with , nucleus threshold , , , , and , followed by final argmax noise removal. The sampler caches predictions when its token state is unchanged; with generation batch size four, the number of model calls can depend on the batch. The evaluation uses reference family G.
BD3-LM Arriola et al. (2025). Block discrete denoising diffusion language models generate blocks autoregressively and denoise within each block. We evaluate the released OWT checkpoints with block sizes , denoted BD3-LM block 4 and block 16. Each output has 1,024 native GPT-2 tokens, including the sampler's initial BOS token. We use the released first-hitting sampler with , nucleus threshold , KV caching, and generation batch size one. First-hitting updates unmask one token at a time and stop when the current block is complete; is therefore not 5,000 evaluations per block. The implementation additionally makes a model call to store the KV cache after completing each block. We retain the release's rejection rule: after the generated prefix exceeds 256 tokens, reject an attempt if the unigram entropy of its last 256 tokens is below 4 nats, then retry. Thus, total generation cost also includes rejected attempts. There is no separate final decoder call. These checkpoints use reference family B, which retains document EOT separators but omits artificial special tokens at the boundaries of training chunks.
vMF and VP Chemseddine et al. (2026). The three von Mises–Fisher (vMF) PC configurations with use the warped predictor–corrector sampler (pc_softmax_warp), with one corrector update every two predictor steps. The non-self-conditioned and base self-conditioned configurations use corrector step size ; the additional self-conditioned configuration uses . Predictor and corrector temperatures are both 1.0.
For both vMF and variance-preserving (VP) models, we additionally report warped ODE sampling with and warped predictor–corrector sampling with , using one corrector update after every predictor step. The latter therefore uses 512 predictor and 512 corrector evaluations; its corrector step size is for vMF and for VP. These larger-budget ODE and PC runs use self-conditioning onset 0.5. Finally, the self-conditioned SDE configurations use 128 warped Euler–Maruyama steps, with noise amplitude for vMF and for VP, decay exponent , and self-conditioning onset 0. Predictor steps exclude final readout.
LangFlow Chen et al. (2026). The released OWT checkpoint uses its native Euler–EDM solver, learned Gumbel schedule, and self-conditioning. We evaluate NFE budgets of 128 and 1,024, each including the final model call used for argmax decoding.
FLM and FMLM Lee et al. (2026). The flow language model (FLM) uses the Euler sampler (flm_euler) with and 1,024 recorded NFE, temperature 1.0, nucleus threshold , attention softcap 50, and logit cap 30, without an additional noise-removal step. The flow map language model (FMLM) uses the released flow-map sampler with , temperature 1.0, and ; the measured NFE equals the respective step count.
FMLM* Yoo et al. (2026). The released flow-map model distilled through the ELF* teacher uses consistency trajectory model (CTM) -sampling with , each evaluated at CFG . We use for two steps and for one or five steps. We also report deterministic flow-map sampling with , CFG = 5, and . The guidance scale is supplied as model conditioning. The released student uses a zero self-conditioning input at every step, without carrying predictions between steps. Sampling uses one model call per step and a separate final decoding call, giving NFE = . All configurations use reference family G for SOL evaluation.
ELF* Yoo et al. (2026). The released fixed-point denoiser uses consistency deep equilibrium (CDEQ) distillation. We report its deterministic CDEQ sampler with , CFG , and , corresponding to Euler integration without stochastic churn. Each step uses one student forward pass with zero self-conditioning input at the cold-start phase , without an inner fixed-point iteration or cross-step self-conditioning. Final decoding requires one additional model call, giving NFE=129. The starred ELF and FMLM checkpoints use a GPT-2 tokenizer and GPT-2-large latent encoder; both are evaluated against reference G. Our starred-model runs use a deterministic logit-normal quantile grid, with location and scale .
ELF Hu et al. (2026). The original T5-based embedded language flows (ELF), with checkpoints ELF-B/M/L, are evaluated against reference family E. The 32-step ELF-B configurations use SDE sampling with and . Additional ELF-B settings use ODE sampling with and , and SDE sampling with and , all at .
We also evaluate ELF-B, ELF-M, and ELF-L with 64 integration steps. The shared configuration uses SDE sampling with for all three sizes. The calibrated configurations use SDE (0.5, 0.5) for B, ODE (0, 1.25) for M, and SDE (0.75, 1) for L. These were selected in a 256-sample pilot by minimizing generative perplexity among settings within 0.02 nats of the reference token entropy.
These original ELF runs use randomly sampled, sorted logit-normal time grids with location and scale 0.8, and a separate final decoding call. The reported guidance scales are self-conditioning guidance; the external-conditioning guidance scale is fixed to 1. Integration steps exclude any additional guidance and final-decoding evaluations.
The separately retrained GPT-2 ELF-B teacher from the ELF* release uses reference family G. Its additional run uses ODE sampling with , , , and the deterministic logit-normal quantile grid, giving 128 denoising calls plus one final decoder call.
C.6 RUNTIME
| 8 | 16 | 32 | 64 | 128 | 256 | 512 | 1024 | 2048 | 4096 | 8192 | 16384 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Time [s] | 0.38 | 0.39 | 0.38 | 0.39 | 0.41 | 0.47 | 0.63 | 1.02 | 2.16 | 5.87 | 18.95 | 61.16 |
Table 5: Median post-hidden DSW runtime across three repeats on a single NVIDIA GeForce RTX 5090, with 5,000 texts per arm and . Hidden states remain on GPU across direction blocks, the initial CPU-to-GPU transfer is included.
We tested the runtime on a single NVIDIA GeForce RTX 5090 using 5,000 samples and report the median over three runs. The DSW runtime is given in Table 5. Computing the hidden states takes 71 s for GPT-2 Large, 65 s for Qwen3-0.6B, 89 s for OLMo-2-1B, and 375.8 s for Dream-7B.
D ADDITIONAL ABLATIONS
Because the reference models operate in hidden spaces of different dimensionality, absolute score values are not directly comparable across models, only relative comparisons within each reference model are meaningful.
D.1 NUMBER OF SLICES AND SAMPLES
As we have compared the GPT-2 model in Section 5.4. We use Dream-v0-Base-7B as the embedding model and compare held-out OpenWebText (OWT) texts with autoregressive generations. For the slice-count experiment, we fix 5000 texts per corpus, using generations from MDLM's autoregressive baseline and a maximum length of 1024 Dream tokens. SOL stabilizes after a few hundred slices see Figure 8, while variability across projection seeds decreases with increasing slice count. Varying the inner and outer slice counts separately or jointly yields consistent limiting values.
For the sample-size experiment, we compared OWT texts with the same AR model, using the same Dream embedding model with a maximum length of 256 tokens. We fix and vary the number of texts per corpus from 100 to 25,000. We separate uncertainty due to random projections from uncertainty due to data subsampling, reporting both contributions alongside the total standard deviation, see Figure 9.
D.2 QUANTILE RESOLUTION
We vary while fixing and using the same 5,000 samples per distribution. We use GPT-2-large token embeddings with a 256-token cap and cross three direction seeds with eight GP seeds, coupling the draws across resolutions. Increasing has only a small effect once the resolution is sufficiently large: the plotted SOL values vary by less than 0.1% for , see Figure 10.
The shaded bands reflect variability across the 24 projection-seed pairs, rather than sample resampling. They show the mean squared SOL one standard deviation, followed by a square-root transformation. Since L and K remain fixed, increasing M improves quantile resolution without increasing the number of random slices, so this variability need not decrease.

Figure 8: Increasing the number of slices stabilizes SOL, using Dream as embedding model.

Figure 9: SOL converges with sample size, with std over slices and samples, using Dream as embedding model.

Figure 10: Increasing M for the quantile resolution has a small impact beyond M = 32.
D.3 GAUSSIAN PROCESS BANDWIDTH
The RBF length scale controls the smoothness of the second-level slicing functions. For fixed grid resolution , small approaches independent Gaussian noise across quantile bins, whereas large approaches a constant function and hence mean-SW. For and , adjacent bins have correlation 0.30, which already drops to 0.008 at a separation of two bins. At the opposite extreme, for , even the two endpoints of have correlation 0.95, so the sampled functions are nearly constant. Our default lies between these regimes: one correlation length spans approximately bins.
D.4 MEAN-SW VERSUS SOL UNDER STRUCTURAL PERTURBATIONS
As discussed in Appendix A.3, restricting the second slicing function to recovers mean-SW at the level of exact quantile integrals. Mean-SW therefore depends only on the centroid of each token cloud, whereas nonconstant second-stage functions additionally probe the centered shape of its projected token distribution. Since mean-SW is already a strong baseline, we ask whether retaining this additional token-cloud information increases the separation from the finite-sample real-text baseline under controlled structural changes.
For each perturbation , we normalize both metrics by their respective clean real–real distance,
We use the ordinary distance, i.e. take the square root of the squared estimator before forming the ratio, and use the same projections in the numerator and denominator. For the passage-reorganization experiments, denotes the corresponding unperturbed passage construction.
We repeat the experiment on five disjoint pairs of 5,000 reference and 5,000 candidate documents, using GPT-2 Large, a horizon of 128 tokens, and . We use three first-level projection seeds and three GP seeds for SOL. To compare the relative responses, we report
Thus, is the geometric-mean relative response of SOL compared with mean-SW.
SOL has the larger clean-normalized response for nine of the ten perturbations, see Table 6. The difference is strongest for changes in word order and larger-scale passage organization. For selected-word shuffling, , corresponding to , i.e., a larger geometric-mean relative response for SOL. In contrast, duplicate/delete repetition produces a slightly larger relative response for mean-SW. Hence, the additional token-cloud information does not uniformly amplify all perturbations, but primarily increases the response to changes in within-document contextual structure.
Since SOL is generally more sensitive to structural perturbations while adding little runtime beyond hidden-state computation, we use SOL in the main experiments
| Perturbation | mean-SW | SOL | Δ |
|---|---|---|---|
| Selected-word shuffle | 10.66 | 15.75 | 0.390 |
| Adjacent word swaps | 7.09 | 9.63 | 0.305 |
| Short-window shuffle | 5.63 | 7.61 | 0.301 |
| Reverse short spans | 7.77 | 10.81 | 0.329 |
| Clause permutation | 2.61 | 3.36 | 0.252 |
| Sentence permutation | 2.12 | 2.60 | 0.203 |
| Move a phrase | 2.14 | 2.83 | 0.277 |
| Duplicate/delete repetition | 8.83 | 8.62 | -0.024 |
| Reorganize passage mixtures | 5.82 | 8.79 | 0.413 |
| Reorganize repetitions | 9.12 | 10.47 | 0.139 |
Table 6: Clean-normalized ordinary-distance responses of mean-SW and SOL under structural perturbations. Response columns are arithmetic means of paired ratios. is the mean paired log-response contrast.
D.5 SENSITIVITY TO SAMPLING TEMPERATURE
We evaluate GPT-2-large samples generated at five sampling temperatures against WebText, see Table 7. All encoders behave as expected, assigning lower SOL scores to intermediate temperatures, with slightly different optima: GPT-2-large and Dream prefer , while Qwen3-0.6B and OLMo-2-1B prefer .
| Encoder | Length | t = 0.7 | t = 0.9 | t = 1.0 | t = 1.1 | t = 1.3 |
|---|---|---|---|---|---|---|
| GPT-2-large | 512 | 2.901 | 1.066 | 0.994 | 1.038 | 1.355 |
| 1024 | 2.872 | 1.091 | 1.014 | 1.070 | 1.434 | |
| Qwen3-0.6B | 512 | 6.755 | 5.085 | 5.204 | 5.440 | 6.332 |
| 1024 | 6.779 | 5.179 | 5.257 | 5.565 | 6.538 | |
| OLMo-2-1B | 512 | 7.719 | 4.051 | 4.864 | 5.947 | 8.211 |
| 1024 | 8.562 | 4.103 | 4.758 | 6.051 | 8.561 | |
| Dream-7B | 512 | 27.769 | 21.576 | 21.090 | 22.066 | 25.889 |
| 1024 | 27.229 | 21.495 | 21.091 | 21.980 | 25.790 |
Table 7: SOL evaluating generated text by GPT-2 Large at different decoding temperatures using differnet embedding models.
Sampling temperature for diffusion models. Table 8 compare temperature scaling for vMF (Chemseddine et al., 2026), Soft-
(a) Dream-7B
| Temp. | Metric | vMF | Soft-Masked + ReMDM | MDLM |
|---|---|---|---|---|
| 0.7 | SOL | |||
| Gen. PPL () | ||||
| 0.8 | SOL | |||
| Gen. PPL () | ||||
| 0.9 | SOL | |||
| Gen. PPL () | ||||
| 1.0 | SOL | |||
| Gen. PPL () | ||||
| 1.1 | SOL | |||
| Gen. PPL () | ||||
| 1.2 | SOL | |||
| Gen. PPL () | ||||
| 1.3 | SOL | |||
| Gen. PPL () |
(b) GPT-2 Large
| Temp. | Metric | vMF | Soft-Masked + ReMDM | MDLM |
|---|---|---|---|---|
| 0.7 | SOL | |||
| Gen. PPL () | ||||
| 0.8 | SOL | |||
| Gen. PPL () | ||||
| 0.9 | SOL | |||
| Gen. PPL () | ||||
| 1.0 | SOL | |||
| Gen. PPL () | ||||
| 1.1 | SOL | |||
| Gen. PPL () | ||||
| 1.2 | SOL | |||
| Gen. PPL () | ||||
| 1.3 | SOL | |||
| Gen. PPL () |
Table 8: Temperature sweep on OpenWebText for vMF, Soft-Masked with ReMDM-loop, and MDLM. Panels (a) and (b) report SOL using Dream-7B and GPT-2 Large, respectively. Gen. PPL is evaluated with GPT-2 Large and denotes mean per-sequence token-frequency entropy in nats; these quantities are independent of the SOL encoder. SOL uses 5,000 samples per side and a 1,024-token horizon, with mean population SD over nine seed pairs. Lower SOL is better and bold marks its column minimum.
Masked with ReMDM-loop (Hersche et al., 2026), and MDLM (Sahoo et al., 2024). We evaluate SOL using both Dream-7B (Ye et al., 2025) and GPT-2 Large (Radford et al., 2019). For all three generators, both encoders favor temperature 1.0. Importantly, lower temperatures substantially reduce token entropy and can strongly improve Gen. PPL, while producing samples that are farther from the data distribution according to SOL. Increasing the temperature from this low-entropy regime therefore improves distributional fit, until excessive temperature again degrades SOL. This illustrates that improvements in Gen. PPL obtained by reducing sample entropy need not correspond to better generation.
D.6 POLLUTION AND CORRUPTION

Figure 11: SOL under increasing [CLS] insertion (left) and word-position shuffling (right) for four encoders. For all four language-model encoders, SOL increases monotonically with the corruption rate, and the two corruptions produce responses of similar magnitude. In contrast to the text encoders in Figure 12, no encoder is markedly less sensitive to shuffling than to insertion.
We further investigate whether the response of DSW to textual perturbations is specific to a particular language-model representation. To this end, we repeat the corruption experiment using four substantially different backbone models: GPT-2-large, Qwen3-0.6B-Base, OLMo-2-1B, and Dream-v0-Base-7B. For all encoders, we use the same split of OpenWebText consisting of 5,000 clean reference documents and 5,000 disjoint candidate documents. Thus, differences between the resulting curves arise from the representa-
| Corruption | [CLS] pollution | Word shuffling |
|---|---|---|
| 0% | 0.9702 | 0.9702 |
| 1% | 0.9367 | 0.9701 |
| 2% | 0.9009 | 0.9667 |
| 5% | 0.7888 | 0.9527 |
| 10% | 0.6559 | 0.8423 |
| 20% | 0.4558 | 0.3555 |
| 50% | 0.1977 | 0.0353 |
| 100% | 0.0545 | 0.0180 |
Table 9: MAUVE under [CLS] pollution and word shuffling using last hidden representation.
tion induced by the encoder rather than from different underlying documents.
We consider two types of corruption. For the insertion experiment, literal [CLS] strings are inserted at randomly chosen whitespace-word boundaries, where the corruption rate denotes the number of insertions relative to the original number of words. For the shuffle experiment, the prescribed fraction of whitespace-word positions is selected and the corresponding words are randomly permuted. Hence, shuffling preserves the word multiset while increasingly disrupting local and global word order. In both cases, we use corruption rates
Importantly, the corruption is applied to the raw text before tokenization. Each corrupted document is subsequently processed using the respective model's own tokenizer and truncated to a horizon of 256 tokens. We construct the token cloud from the final hidden-state representations without pooling. Consequently, the textual corruption is identical across backbones, whereas differences induced by tokenization, hidden dimension, and truncation remain part of the encoder comparison.
This experiment therefore shows that the continuous corruption response of DSW is not specific to a single representation space. We emphasize that the four-backbone comparison itself is DSW-only, the MAUVE results in Table 9 serve as a separate metric comparison and were not recomputed for each of the four encoder backbones.
D.7 POSITIONAL SENSITIVITY
We shuffle of the tokens within either the first or last of each sequence. Table 10 shows a pronounced prefix sensitivity for the three causal encoders: prefix shuffling raises their scores substantially, while suffix shuffling leaves them close to the clean baseline.
In contrast, the bidirectional Dream encoder responds similarly at both locations, with a slightly larger suffix response. This is consistent with causal contextualization that amplifies early edits through subsequent token states. The comparison concerns positional balance within each encoder, since absolute score scales differ across encoders.
| Encoder | Clean | Prefix | Suffix |
|---|---|---|---|
| OLMo-2-1B | 0.870 | 2.048 | 0.913 |
| Dream-7B | 2.493 | 4.496 | 4.621 |
| Qwen3-0.6B | 0.914 | 1.937 | 0.946 |
| GPT-2-large | 0.224 | 0.340 | 0.226 |
Table 10: Shuffle of the tokens the first or last of the text.
D.7.1 POSITIONAL BIAS OF LAST-TOKEN SW
We evaluate sliced Wasserstein distance on GPT-2-large's final-token hidden states using 5,000 disjoint reference and 5,000 candidate, a 256-token horizon, and 1,024 projection directions. We replace or shuffle ten tokens at the beginning, middle, or end, averaging over five data/transformation seeds and three projection seeds. For random replacement, the dimension-scaled SW distance increases from a clean baseline of 0.97 to 2.55, 3.75, and 23.92 for beginning, middle, and end corruption, respectively. For shuffling, the corresponding scores are 3.50, 2.65, and 23.56. After subtracting the clean baseline, end corruption produces approximately and the beginning-corruption response for replacement and shuffling, respectively, demonstrating a strong positional bias toward the final tokens. This means it suffers the same problem as MAUVE, see Figure 3.
D.8 MODE COVERAGE
AG News (Zhang et al., 2015) contains four classes: WORLD, SPORTS, BUSINESS, and SCI/TECH. We define the reference distribution as . The three candidate distributions are , representing missing diversity, , which matches the class distribution of but contains disjoint examples, and , representing additional mass outside the reference support.
| Metric | ||
|---|---|---|
| SOL | 1.000 | 1.000 |
| mean-SW | 1.000 | 0.9995 |
Table 11: Spearman correlations with the target share along the and interpolation paths.
Holding fixed, we interpolate independently from toward and :
We evaluate . Each arm contains 5,000 unique examples and is disjoint from the 5,000-example reference set. Results are averaged over five independently sampled dataset seeds.
SOL increase monotonically away from the matched distribution . The two paths represent distinct errors: removes the SPORTS mode, whereas introduces the previously absent BUSINESS and SCI/TECH modes. For mean-sliced Wasserstein, the rank correlation are not always monotone in this test, see Table 11.
D.9 ALTERNATIVE TO BIDIRECTIONAL ATTENTION
As seen in Section D.7, causal transformers prefer changes in the beginning. Bi-directional attention circumvents this problem, but we also test two alternative proposed methods. As proposed in Springer et al. (2025) (also used in Ewais et al. (2026)), one can also repeat the whole sequence x and pass to make each token conditioned on the whole sequence.
| Encoder | Length | t = 0.7 | t = 0.9 | t = 1.0 | t = 1.1 | t = 1.3 |
|---|---|---|---|---|---|---|
| GPT-2-large | 512 | 2.141 | 1.299 | 1.138 | 1.035 | 1.032 |
| 1024 | - | - | - | - | - | |
| Qwen3-0.6B | 512 | 6.083 | 4.310 | 4.288 | 4.347 | 4.847 |
| 1024 | 6.695 | 4.513 | 4.470 | 4.645 | 5.311 | |
| OLMo-2-1B | 512 | 7.822 | 5.452 | 5.016 | 4.808 | 5.203 |
| 1024 | 9.413 | 6.440 | 5.421 | 4.916 | 4.884 |
Table 12: SOL scores using the [x, x] second-pass representation across sampling temperatures.
Repeat the sequence. We compare
normal encoding [x] with repetition [x, x] and EOS-separated repetition [x, <sep>, x] in Table 14, using OLMo-2-1B. Repeated inputs are encoded in one causal forward pass, and only second-copy final-layer states enter the uniform token measure. The EOS remains visible to attention, but is not scored and does not reset attention. All scores average three projection seeds crossed with three GP seeds. For regional corruption, we use disjoint 5,000-document reference and candidate sets and match the corrupted tokens across representations.
Table 13 compares identical corruption strengths applied to the prefix, middle, or suffix. With standard encoding, prefix corruption increases the score by relative to the clean baseline, compared with only for suffix corruption. Repetition without a separator makes these responses more similar but reverses their ordering: prefix corruption increases the score by , whereas suffix corruption increases it by , roughly twice as much. EOS-separated repetition retains a strong imbalance, with increases of for prefix corruption and for suffix corruption. The same reversal without a separator occurs at a sequence length of 256. All three methods respond monotonically to increasing replacement strength within these regions. Thus, repetition without a separator reduces positional imbalance but does not eliminate it.
The temperature sweep also reveals a change in ranking (Table 14). We score unconditional, natural-length GPT-2-large generations against WebText at a maximum sequence length of 1,024. Standard encoding and EOS-separated repetition both favor temperature 0.9, whereas repetition without a separator favors 1.3. This preference for a higher temperature runs counter to the expectation that moderate sampling temperatures provide a better balance between coherence and diversity. Repetition also changes the score scale, so lower raw scores across methods do not by themselves indicate improvement. Injection of EOS [x, <sep>, x] restores normal temperature ranking, but sensitivity is not the same as for [x, x].
| Region | [x] | [x, x] | [x, <sep>, x] |
|---|---|---|---|
| Clean | 0.910 | 0.732 | 0.853 |
| Prefix | 1.710 | 1.167 | 1.926 |
| Middle | 1.335 | 1.347 | 1.375 |
| Suffix | 0.942 | 1.599 | 0.958 |
Table 13: OLMo regional corruption, cap 1,024. Mean SOL for replacement within a region, taking the square root per seed before averaging, clean scores use uncorrupted candidate text.
| Temp. | [x] | [x, x] | [x, <sep>, x] |
|---|---|---|---|
| 0.7 | 8.562 | 9.413 | 8.152 |
| 0.9 | 4.103 | 6.440 | 4.060 |
| 1.0 | 4.758 | 5.421 | 4.703 |
| 1.1 | 6.051 | 4.916 | 5.931 |
| 1.3 | 8.561 | 4.884 | 8.205 |
Table 14: SOL: GPT-2-large generations scored with OLMo at cap 1,024. Square root of the mean squared score across seeds. Bold marks the minimum within each method.
D.10 TEXT EMBEDDING MODELS

Figure 12: SOL under increasing shuffling of tokens (left) and inserting a CLS token (right). Compared to GPT2-Large, the text encoders are less sensitive to shuffling than GPT-2 Large.
As an alternative to the causal GPT-2 representation, we evaluate modern text encoders, including BGE-base Chen et al. (2024), GTE-base Li et al. (2023), and E5-base Wang et al. (2024). For this experiment, we split OpenWebText into two disjoint sets of 5,000 documents, using one as a clean fixed reference and the other as the candidate distribution. Candidate documents are increasingly corrupted either by shuffling a fraction of their words or by inserting the literal string [CLS] into a fraction of word boundaries. Each corruption level is generated independently of the original clean candidate set. The resulting texts are retokenized with the native tokenizer of each encoder and truncated to the first 256 tokens, and DSW is computed from all final-layer token representations.
As shown in Figure 12, the text encoders are substantially less sensitive to small perturbations than GPT-2 Large. For example, at only word shuffling, increases by a factor of 1.459 over the clean-clean floor for GPT-2 Large, compared with only 1.022, 1.064, and 1.026 for GTE, E5, and BGE, respectively. Thus, the text encoders do detect sufficiently strong corruption, but resolve small local perturbations much less clearly. This is undesirable for our purpose, since differences in the underlying text distribution should already be reflected at low corruption rates. A useful distributional metric should therefore respond at low corruption rates without saturating at high ones. The text encoders fail the first requirement, while mean-pooled MAUVE fails the second (Appendix E.2.1).
NeoBERT Breton et al. (2025) exhibits an even stronger failure mode under [CLS] insertion. As shown in Table 15, increasing the corruption rate from to decreases from 2321.64 to 2060.10, although the candidate texts are more heavily corrupted. These results suggest that representations optimized primarily for text embedding can be comparatively invariant to precisely the local token-level perturbations that a distributional text metric should detect.
| Insertion rate | SOL (↓) |
|---|---|
| 20% | 1 |
| 50% | 0.942 |
Table 15: NeoBERT SOL under increasing [CLS] insertion, normalized to the value.
E ADDITIONAL EVALUATION RESULTS
E.1 HUMAN-JUDGMENT RESULTS
| Criterion ↑ | MAUVE | SOL | ||||
|---|---|---|---|---|---|---|
| GPT-2 Large | OLMo2 1B | Dream 7B | GPT-2 Large | OLMo2 1B | Dream 7B | |
| Human-like | 0.881 | 0.929 | 0.905 | 0.952 | 0.952 | 0.976 |
| Interesting | 0.643 | 0.786 | 0.690 | 0.762 | 0.762 | 0.857 |
| Sensible | 0.833 | 0.881 | 0.881 | 0.929 | 0.929 | 0.976 |
Table 16: Human judgement comparison at sequence length 256. Worst-case Spearman rank correlation between metric-induced model rankings and the Bradley–Terry (BT) human ranking. Results are shown for MAUVE and SOL using GPT-2 Large, OLMo2 1B, and Dream 7B embeddings. Reported are the minimum correlations across the evaluated settings at sequence length 256.
Table 16 reports agreement with the Bradley–Terry human rankings at a sequence length of 256 tokens, matching the maximum amount of text shown in the original human study. Across all three criteria, SOL attains higher worst-case rank correlation than MAUVE for each evaluated backbone. The strongest correlations are obtained with Dream for all three criteria in this setting.
E.2 MAUVE COMPARISON
E.2.1 MEAN HIDDEN REPRESENTATION
MAUVE can also be computed on the mean-pooled representation (4) instead of the last-token representation (3), as in Franca & Tong (2026). With mean pooling, however, the score saturates quickly under corruption (Table 17). Under [CLS] pollution, MAUVE drops from 0.97 to 0.47 at 5% and to 0.06 at 10%, after which it stays near zero (0.018 at 20%, 0.012 at 100%). Word shuffling shows the same pattern between 10% and 20%. Responding to small corruption is desirable in itself. The problem is that the score has used up its range by 10%, so it cannot distinguish 10% from 100% corrupted text. Once the two samples fall into largely disjoint clusters, the divergence frontier collapses and MAUVE stays at its floor however much worse the text becomes. With the last-token representation, MAUVE degrades more gradually (Table 9), but it is insensitive to where in the sequence the corruption occurs (Figure 3). SOL increases monotonically over the full range of corruption rates (Figure 11).
| Corruption | [CLS] pollution | Word shuffling |
|---|---|---|
| 0% | 0.9725 | 0.9725 |
| 1% | 0.9590 | 0.9710 |
| 2% | 0.9183 | 0.9697 |
| 5% | 0.4709 | 0.9597 |
| 10% | 0.0624 | 0.8236 |
| 20% | 0.0181 | 0.1208 |
| 50% | 0.0127 | 0.0191 |
| 100% | 0.0118 | 0.0162 |
Table 17: MAUVE under [CLS] pollution and word shuffling using mean pooling.
E.2.2 LM1B EXPERIMENT
We evaluated 25,000 samples generated by the vMF model from (Chemseddine et al., 2026) using 64 predictor steps and one Langevin corrector step per predictor step, corresponding to 128 function evaluations. We constructed 25,000 reference sequences from the held-out LM1B test split using the model's BERT tokenizer and 128-token packing scheme, while retaining the same special-token formatting in both corpora. We extracted GPT-2-large features in FP32 from the final hidden state at the last non-padding token, using a maximum sequence length of 256 tokens.
We computed MAUVE on nested subsets of samples per corpus. We varied the number of clusters over and additionally considered the automatic setting , omitting fixed- configurations for which . We report means and standard deviations over three clustering seeds, using five -means restarts and at most 500 iterations per restart.
E.2.3 COMPARING MAUVE WITH SOL
We recap the different drawbacks with the use of the MAUVE score. Throughout the paper, we have seen the affects of different design choices on MAUVE.
Cluster stability. MAUVE appears to be heavily dependent on the number of clusters chosen. As shown in Figure 2, keeping a fixed ratio of clusters to samples decreases the MAUVE score as the sample size increases. In contrast when comparing true data in Figure 13, keeping the number of clusters fixed while increasing the number of samples causes the score to converge to 1. This raises the question of which score to report and makes it hard to compare MAUVE scores. SOL, however, converges as we increase the number of samples (GPT-2 Large: Figure 7, Dream: Figure 9), the number of slices (GPT-2 Large: Figure 6, Dream: Figure 8), or the number of integration points (Figure 10). SOL is therefore numerically much more stable. In particular, inexpensive SOL estimates based on only a few samples and slices already provide relatively reliable approximations to the full evaluation, making them suitable for monitoring during training.
Effects of the hidden representation. MAUVE with the (standard) last-token hidden representation has a strong bias towards the end of a sequence. As shown in Figure 2, replacing the beginning with random tokens has little effect on the score. This is also visible in Section E.3.1 (Diff-
LM1B: data vs data

Figure 13: For two disjoint LM1B corpora, the reported MAUVE score depends on the number of evaluation samples n and clusters K. In comparison to generated vs true data the ratio is stable, but increasing n converges to 1.
fusion Language Model comparison), where the collapse of the last-token entropy leads to a significantly worse MAUVE score, even when the middle remains comparable. With a mean-pooled representation, repeating tokens 10% of the time produces a MAUVE score of almost 0, indicating a very poor match, see Table 17. For the last-token hidden representation, the same test yields a MAUVE score of 0 at repetition rates above 50% (Table 9). In the same experiment, SOL shows an almost linear degradation (Figure 11).
Human evaluation. We use the human evaluation experiment from Pillutla et al. (2021), see Section C.4. At sequence lengths of 256 and 1024 tokens (Tables 16 and 2), SOL outperforms MAUVE for almost all embedding models. This indicates that SOL correlates better with human judgments than MAUVE.
E.3 OPENWEBTEXT COMPLETE MODEL TABLE
We denote discrete-diffusion sampling steps by T and continuous predictor steps by S. NFE counts actual neural-network evaluations, including calls for correction, initialization, final decoding, and guidance. Consequently, S and T need not equal NFE. The SOL parameters , , and M specify metric estimation and are independent of generation cost.
E.3.1 MAUVE DEPENDS ON LAST HIDDEN TOKENS
Duo. Comparing MAUVE and SOL on OWT reveals a substantial disagreement for DUO's greedy-tail sampler. To investigate, we measure token entropy across documents at a selected position:
where and denotes the token at the selected position in document . For the endpoint measurement, we select each document's last valid token. This differs from the main table's entropy, which averages token-frequency entropy computed within each document.
Greedy DUO's positional entropy falls from 6.32 nats at the middle position to 5.01 at the endpoint, whereas real OWT remains near 6.58 at both positions, see Table 18.
To test whether the final-token distribution drives MAUVE, we reweight the generated documents by their last token. Overrepresented final tokens get less weight, underrepresented ones get more. This makes the weighted final-token frequencies match real OWT without changing the texts. After this correction, MAUVE rises from 0.492 to 0.591 for greedy DUO, but only from 0.836 to 0.843 for ancestral DUO. SOL changes by only and , respectively. This shows that MAUVE is much more sensitive to the final-token distribution than SOL.
| Model | Middle | Final |
|---|---|---|
| Real OWT | 6.578 | 6.572 |
| DUO ancestral | 6.455 | 6.441 |
| DUO greedy | 6.317 | 5.011 |
Table 18: Across-document token entropy in nats (), measured at position 512 and the last valid token.
For the implementation of our reweighting, we group documents by their final token. We treat each final-token ID that appears at least five times in both corpora as a separate category. All remaining tokens are pooled into an “other” category. Each generated document i gets weight , where and are the final-token frequencies in the reference and generated corpora. We keep all features and cluster assignments fixed. We then recompute MAUVE with weighted generated-cluster counts and the original reference histogram. This changes only the document weights, not the texts.
| Model | MAUVE (↑) | SOL (↓) | ||
|---|---|---|---|---|
| Base | Reweighted | Base | Reweighted | |
| DUO ancestral | 0.836 | 0.843 | 1.670 | 1.7418 |
| DUO greedy | 0.492 | 0.591 | 1.748 | 1.8538 |
Table 19: Final-token reweighting on matched corrected inputs (N = 5000). GPT-2-large SOL values average nine projection-seed combinations.
After matching the final-token frequencies to real OWT, MAUVE improves from 0.492 to 0.591 for greedy DUO. For ancestral DUO, it changes only from 0.836 to 0.843, see Table 19. This shows that MAUVE's positional bias toward the last token directly affects its evaluation of generative models. SOL is much less affected because it uses hidden states from all token positions.
ELF. We evaluate ELF-M and ELF-L with shared sampling settings (SDE, 64 steps, ), using 5,000 texts per distribution and GPT-2-large MAUVE features at a 1,024-token cap. We remove the final eight tokens from each generated and reference sequence, retaining one token for the three references shorter than nine tokens. MAUVE uses the hidden state at the resulting endpoint. This reduces the M-L score gap from 0.168 to 0.024, while the real-real control remains similar (0.962 versus 0.965).
| Model | Original | Remove final 8 |
|---|---|---|
| ELF-M | ||
| ELF-L |
Table 20: MAUVE ( ) for shared ELF sampling. Truncation removes eight tokens from both generated and reference texts. Mean SD over three clustering seeds.
The tokens at the ends of the texts change much more. For example, the fraction of L texts ending with the period token falls from to . MAUVE extracts each text's representation at this final position. Its large score change therefore demonstrates sensitivity to where the text ends, despite almost unchanged token frequencies overall, see Table 20.
E.3.2 PRECISION, RECALL, AND COVERAGE
Setup. We complement SOL with the embedding-based precision and recall evaluation of Bronnec et al. (2024) and coverage from Naeem et al. (2020). We compare MDLM and ReMDM-loop using the same Soft-Masked checkpoint, 1,024-token generations, , final noise removal, and . For each of three independent repetitions, we generate 5,000 samples per sampler and draw disjoint sets of 10,000 calibration and 5,000 reference examples from held-out OpenWebText. Within each repetition, both samplers are evaluated against the same reference set and under the same embedding transformation, yielding a paired comparison.
We use GPT-2-large final-layer last-token embeddings, L2 normalization, unwhitened PCA, and Euclidean distances. Whereas Bronnec et al. (2024) fit PCA jointly to reference and generated samples and retain of the variance, we fit PCA exclusively on the independent real calibration set. We fix the representation to 350 dimensions, corresponding to 89.32–89.52% explained variance across the three calibration sets. This avoids adapting the representation to either sampler.
Metrics. For , the radius associated with each point is its distance to its fourth nearest neighbor within the same corpus. Precision is the fraction of generated samples contained in the union of reference neighborhoods, whereas recall is the fraction of reference samples contained in the union of generated neighborhoods. Coverage is the fraction of reference points whose reference-defined neighborhood contains at least one generated sample (Naeem et al., 2020). Thus recall depends on generated-sample neighborhood radii, while coverage uses only reference-sample radii.
Results. ReMDM-loop improves precision, recall, and coverage in every repetition (Table 21). Averaged across repetitions, precision increases from to , recall from to , and coverage from to . Hence the SOL improvement is accompanied by both higher fidelity and greater coverage under this latent-space diagnostic. The coverage gain decreases to percentage points at , indicating some sensitivity to the neighborhood scale. ReMDM-loop uses approximately more forward evaluations, so these results compare the samplers at the same scheduled-step budget rather than at matched compute.
E.3.3 EXTENDED TABLE
The complete OWT table is given in Table 24.
| Rep. | ΔP | ΔR | ΔC |
|---|---|---|---|
| 1 | +2.14 | +6.70 | +3.10 |
| 2 | +3.22 | +4.88 | +1.80 |
| 3 | +2.10 | +8.32 | +0.84 |
| Mean | +2.49 | +6.63 | +1.91 |
| SD | 0.64 | 1.72 | 1.13 |
Table 21: ReMDM-loop minus MDLM at , in percentage points. SD is across three independent repetitions.
Increasing the number of steps. Increasing the sampling budget generally improves SOL, but the changes in Gen. PPL and entropy can be much larger. For LangFlow, increasing NFE from 128 to 1024 improves Dream SOL from 32.488 to 30.541 and Gen. PPL from 59.0 to 36.9, while entropy moves away from the data value, from 5.425 to 5.257. Similarly, ELF-B with ODE sampling improves Dream SOL only from 33.677 to 33.320 between 128 and 1024 steps, despite Gen. PPL falling from 45.4 to 24.0 and entropy moving from 5.308 to 5.090.
Changing the sampler and guidance. Sampler choice substantially affects distributional quality. For Soft-Masked, replacing MDLM sampling with ReMDM-loop reduces Dream SOL from 21.643 to 18.966 and Gen. PPL from 23.6 to 16.7, despite a small increase in the entropy gap to the data. For vMF at 1024 steps, switching from ODE to predictor-corrector sampling improves Dream SOL from 33.832 to 30.583 and Gen. PPL from 75.4 to 56.3, while entropy remains close to the data value (5.456 versus 5.432). Guidance similarly improves ELF-B at 32 SDE steps, reducing Dream SOL from 39.144 to 37.584 and Gen. PPL from 29.4 to 24.0.
Self-conditioning. The vMF comparison provides direct evidence for the benefit of self-conditioning. At the same 128-step predictor-corrector setting, the base self-conditioned model improves Dream SOL from 45.900 to 31.379 and Gen. PPL from 141.9 to 45.1. This improvement is not explained by entropy matching, which changes from 5.533 to 5.315 and therefore moves slightly farther from the data entropy. The distilled ELF* model still exhibits a gap to ELF-B, although this comparison does not isolate self-conditioning from other model and training differences.
Comparison with autoregressive generation. Soft-Masked with ReMDM-loop improves over the AR baseline on all three SOL encoders, from (1.064, 7.450, 22.207) to (0.6101, 3.526, 18.966). It also has lower Gen. PPL (16.7 versus 34.9) and entropy closer to the data (5.341 versus 5.582). LDDM-U, however, illustrates that these criteria need not agree: it has both lower Gen. PPL (28.2) and entropy closer to the data (5.409), but improves over AR only under GPT-2-large and OLMo, while Dream SOL is higher (24.209 versus 22.207). Among the evaluated continuous models, self-conditioned vMF with predictor-corrector sampling achieves the lowest SOL, but remains above AR on all three encoders.
Few-step language generation. Within FMLM*, additional CTM steps substantially improve generation while keeping entropy close to that of the data. At , increasing from one to five steps lowers Gen. PPL from 116.0 to 70.8 and Dream SOL from 46.273 to 40.177, with entropy remaining near the reference value (5.368 and 5.415, versus 5.449). Further computation gives diminishing returns: increasing flow-map sampling from 8 to 128 steps changes Gen. PPL only from 82.8 to 79.0 and leaves Dream SOL essentially unchanged (38.233 versus 38.482).
Perplexity, entropy, and distributional quality can disagree. Gen. PPL and entropy should be interpreted jointly: Gen. PPL should be small, while entropy should remain close to that of the data. Even together, however, they do not determine distributional quality. For distilled DUO, ancestral and greedy-tail sampling have almost identical entropy deviations from the data ( and ). Greedy-tail sampling nevertheless lowers Gen. PPL substantially, from 62.3 to 46.5, while worsening SOL on all three encoders, including Dream from 30.595 to 31.802. More strongly, exact MDLM has both lower Gen. PPL than VP with ODE sampling (59.4 versus 66.1) and entropy closer to the data (5.445 versus 5.435), yet has worse SOL on all three encoders: (2.185, 14.119, 36.394) versus (1.775, 11.997, 33.275). Thus, even favorable Gen. PPL and entropy do not guarantee a better match to the text distribution.
E.4 ADDITIONAL SAMPLER
We investigate how sampling strategies affect GPT-2-XL's agreement with the WebText distribution. We compare ancestral sampling, which draws directly from the model's next-token distribution, and nucleus sampling with (Holtzman et al., 2020), which restricts sampling to the smallest set of highest-probability tokens with cumulative probability at least , renormalizing their probabilities. We also evaluate greedy decoding, which deterministically selects the most likely token, in the conditional setting.
Conditional generation. We use 5,000 WebText documents, providing the first 35 GPT-2 tokens of each document as context. Generation stops at the first token or when the total sequence length, including the prefix, reaches 256 tokens. All three samplers receive identical prefixes and are evaluated against WebText at the same horizon.
| Sampler | MAUVE (↑) | SOL (↓) |
|---|---|---|
| Greedy | 0.0697 ± 0.0012 | 3.7755 ± 0.1190 |
| Ancestral | 0.9407 ± 0.0028 | 0.5083 ± 0.0113 |
| Nucleus (p = 0.95) | 0.9607 ± 0.0017 | 0.2712 ± 0.0065 |
Table 22: GPT-2-XL conditional completion on 5,000 WebText documents, using shared 35-token prefixes and a maximum total sequence length of 256 tokens. SOL uses GPT-2-large.
Both metrics favor nucleus sampling (Table 22): SOL decreases from 0.5083 to 0.2712, while MAUVE increases from 0.9407 to 0.9607. Thus, nucleus truncation improves agreement with WebText in this conditional setting. Greedy decoding performs substantially worse than both stochastic samplers, with MAUVE of 0.0697 and SOL of 3.7755.
Unconditional generation. We initialize GPT-2-XL with and generate until the first subsequently generated token or a maximum of 256 generated tokens. With this fixed initial context, greedy decoding always produces the same continuation, yielding a fully collapsed generated distribution.
The ordering reverses in the unconditional setting (Table 23). Ancestral sampling achieves lower SOL (0.8358 versus 0.9072) and higher MAUVE (0.8832 versus 0.8740) than nucleus sampling.
Overall, SOL and MAUVE agree on the sampling-strategy ordering in both settings. Nucleus sampling improves conditional completion, whereas ancestral sampling achieves better unconditional agreement with WebText in this experiment.
| Sampler | MAUVE (↑) | SOL (↓) |
|---|---|---|
| Ancestral | ||
| Nucleus () |
Table 23: GPT-2-XL unconditional generation evaluated against 5,000 WebText documents. Each of the 5,000 samples starts from the end-of-text token and stops at EOS or 256 generated tokens, the initial seed token is excluded from evaluation. SOL uses GPT-2-large.
F IMPLEMENTATION DETAILS
F.1 NUMERICAL IMPLEMENTATION OF SOL
Let and denote two corpora with empirical text distributions
Following Section 4.3, every sequence is mapped by a frozen reference transformer to its token cloud .
We write for a causal reference transformer and for a bidirectional reference transformer. We retain all non-padding token positions up to the encoder horizon and denote their number by .
The exact distance
is approximated using first-level directions, second-level directions, and resolution for the second-level slicing functions. The same sampled directions are used for both corpora.
First slicing. We sample and set for , such that . For each sequence ,
Let denote the corresponding order statistics.
Bin-averaged empirical quantiles. We partition into with midpoint for . For every projected token cloud, we compute the exact average of its empirical inverse-CDF quantile within each bin,
The bin averages are computed efficiently from the sorted projected values using cumulative sums. This construction preserves the mean exactly, since
Second slicing. We draw the second-level slicing functions from an RBF Gaussian process with covariance . On the midpoint grid, we define for and compute by Cholesky factorization, with a small diagonal jitter for numerical stability.
For , we sample and set . Thus follows the finite-dimensional Gaussian-process distribution on the grid. We interpret it as the piecewise-constant function for .
The directions are sampled independently of and reused for all first-level directions. Hence, we evaluate all pairs .
For every sequence and pair of directions, we compute
Thus the empirical quantile is integrated exactly against the piecewise-constant second-level slicing function.
One-dimensional Wasserstein distance. For fixed , define
Let and denote their order statistics. If , then
All main experiments use equal numbers of reference and generated samples.
For completeness, the implementation also supports unequal corpus sizes. Let and for . We use
which reduces to (21) when .
Monte Carlo estimator. Combining the two slicing levels gives
where is a fixed scaling factor. We use , which compensates for
Since is fixed for a given reference model, it does not affect the ranking of generated corpora.
Precision and memory. The reference transformer is evaluated in batches. Hidden states are cast to FP32 before projection. Token projections, bin-average computation, second-level projections, sorting, and Wasserstein reductions are performed in FP32. The Gaussian-process covariance and Cholesky factorization are computed in FP64, after which the sampled GP values are cast to FP32.
For each first-level projection seed, the bin-average tensors of shape are stored as FP32 memory-mapped arrays. The second-level computation is performed in blocks of first-level directions and reuses the reference tensors across generated corpora. Thus neither all document scalars nor a pairwise document cost matrix need to be stored simultaneously. Changing only the GP seed requires no additional transformer evaluation.
Algorithm 2 Numerical approximation of SOL
Require: Corpora , frozen reference transformer , horizon
Require: Number of slices , resolution , GP length scale , scale
Ensure:
1: Construct bins and midpoints
2: Sample
3: Sample RBF-GP directions on
4: for all do
5: Compute the retained hidden states of up to horizon
6: for do
7: Project and sort the token states using (18)
8: Compute using (19)
9: for do
10: Compute using (20)
11: end for
12: end for
13: end for
14: for and do
15: Sort the document scalars in and
16: Compute the one-dimensional Wasserstein term
17: end for
18: return (22)
| Model | Setting | H@1024 | Gen. ppl. | SOL () | ||
|---|---|---|---|---|---|---|
| GPT-2-large | OLMo-2-1B | Dream-7B | ||||
| — | 5.449 | 14.9 | ||||
| — | 5.402 | 17.0 | ||||
| Autoregressive model Sahoo et al. (2024) | ||||||
| Temperature 1.0 | 5.582 | 34.9 | ||||
| Discrete diffusion | ||||||
| DUO Sahoo et al. (2025) | ||||||
| DUO-distilled, | Ancestral | 5.518 | 62.3 | |||
| DUO-distilled, | Greedy tail | 5.378 | 46.5 | |||
| DUO-base | Ancestral, | 5.537 | 76.9 | |||
| MDLM Sahoo et al. (2024) | ||||||
| MDLM, exact sampling | DDPM-cache, | 5.445 | 59.4 | |||
| MDLM, as released | FP32 Gumbel, | 5.292 | 42.8 | |||
| LDDM Jo et al. (2026) | ||||||
| Loopholing, | 5.536 | 48.2 | ||||
| Loopholing, | 5.409 | 28.2 | ||||
| Soft-Masked Hersche et al. (2026) | ||||||
| Soft-Masked | MDLM, , | 5.364 | 23.6 | |||
| Soft-Masked | ReMDM-loop, , | 5.341 | 16.7 | |||
| ADLM Rout et al. (2025) | ||||||
| ReMDM-loop, , | 5.352 | 28.9 | ||||
| BD3-LM Arriola et al. (2025) | ||||||
| BD3-LM, block | First-hitting, , | 5.336 | 24.4 | |||
| BD3-LM, block | First-hitting, , | 5.344 | 32.9 | |||
| Continuous diffusion | ||||||
| vMF Chemseddine et al. (2026) | ||||||
| vMF, self-cond. | PC-warp, | 5.222 | 30.2 | |||
| vMF, self-cond. (base) | PC-warp, | 5.315 | 45.1 | |||
| vMF, self-cond. | SDE-warp, , , | 5.348 | 43.6 | |||
| vMF, no self-cond. | PC-warp, | 5.533 | 141.9 | |||
| ODE-warp, | 5.456 | 75.4 | ||||
| PC-warp, | 5.432 | 56.3 | ||||
| VP Chemseddine et al. (2026) | ||||||
| VP, self-cond. | SDE-warp, , , | 5.355 | 50.9 | |||
| ODE-warp, | 5.435 | 66.1 | ||||
| PC-warp, | 5.430 | 59.0 | ||||
| LangFlow Chen et al. (2026) | ||||||
| NFE=128 | 5.425 | 59.0 | ||||
| NFE=1024 | 5.257 | 36.9 | ||||
| ELF Hu et al. (2026) | ||||||
| SDE, 32 steps, CFG=3 | 5.156 | 24.0 | ||||
| SDE, 32 steps, CFG=1 | 5.219 | 29.4 | ||||
| ODE, 128 steps, CFG=1 | 5.308 | 45.4 | ||||
| ODE, 1024 steps, CFG=1 | 5.090 | 24.0 | ||||
| SDE, 128 steps, CFG=1 | 5.123 | 21.9 | ||||
| SDE, 64 steps, CFG=0.5, | 5.385 | 56.3 | ||||
| ODE, 64 steps, CFG=1.25, | 5.399 | 53.0 | ||||
| SDE, 64 steps, CFG=1, | 5.398 | 35.7 | ||||
| SDE, 64 steps, CFG=1, | 5.216 | 28.5 | ||||
| SDE, 64 steps, CFG=1, | 5.309 | 33.4 | ||||
| SDE, 64 steps, CFG=1, | 5.378 | 32.9 | ||||
| Few-Step Models | ||||||
| FLM Lee et al. (2026) | ||||||
| Euler, 1024 steps | 5.345 | 63.1 | ||||
| 1 step | 5.168 | 167.8 | ||||
| 2 steps | 5.295 | 135.1 | ||||
| 4 steps | 5.361 | 111.0 | ||||
| Yoo et al. (2026) | ||||||
| CTM, 1 step, CFG=1, | 5.319 | 120.3 | ||||
| CTM, 1 step, CFG=5, | 5.368 | 116.0 | ||||
| CTM, 2 steps, CFG=1, | 5.411 | 99.5 | ||||
| CTM, 2 steps, CFG=5, | 5.458 | 97.4 | ||||
| CTM, 5 steps, CFG=1, | 5.294 | 66.5 | ||||
| CTM, 5 steps, CFG=5, | 5.415 | 70.8 | ||||
| Flow map, 8 steps, CFG=5, | 5.464 | 82.8 | ||||
| Flow map, 128 steps, CFG=5, | 5.456 | 79.0 | ||||
| CDEQ, 128 steps, CFG=1, | 5.414 | 73.8 | ||||
| CDEQ, 128 steps, CFG=5, | 5.384 | 60.8 | ||||
Table 24: OpenWebText baselines using 5,000 samples per distribution and a 1,024-token horizon. The standard SOL hyperparameters are used; see Section C.3. Superscripts G, E and B identify the evaluation reference family. SOL is reported as mean ± population std over nine crossed direction/GP seed pairs.