Skip to content
DraconiticResearch
Search Sources API
197,688 studies31 sourcesUpdated 2 min ago
PreprintCC BY 4.0arXiv

SOL: Measuring Gaps between Text Distributions by Double Sliced Wasserstein Metrics

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 auto-regressive models. As a first step we use SOL to re-evaluate a variety of models trained on OpenWebText.

Related

  1. λ-geodesic convexity of the squared sliced-Wasserstein distance
    Giacomo Cozzi, Filippo Santambrogio
    arXivPreprintCC BY 4.0Full textAnalysis & PDEsOptimisation & controlarXiv
  2. Spherical Harmonic Sliced Wasserstein Displacement Interpolation for Acoustic Source and Reflection Density Modeling
    Yuancheng Luo
    arXivPreprintCC BY 4.0Full textOptimisation & controlProbabilityarXiv
  3. Fast rigid rotational alignment of voxelized 3-D density maps in sliced Wasserstein distance
    Oscar Mickelin, Yunpeng Shi, Amit Singer +1
    arXivPreprintarXiv licenceFull textNumerical analysis & scientific computingarXiv
  4. Sliced Wasserstein Barycenters: The Analysis Approach within the Barycentric Coding Model in the Wasserstein Space
    Rocío Díaz Martín, James M. Murphy
    arXivPreprintarXiv licenceFull textOptimisation & controlarXiv
  5. Minimax Rates for Estimating Powered Sliced Wasserstein Functionals
    Binh Thuan Tran
    arXivPreprintCC BY 4.0Full textStatisticsarXiv
BibTeX
@misc{kornhardt2026measuring,
  title = {{SOL: Measuring Gaps between Text Distributions by Double Sliced Wasserstein Metrics}},
  author = {Gregor Kornhardt and Moritz Piening and Jannis Chemseddine and Gabriele Steidl},
  howpublished = {arXiv},
  year = {2026},
  month = oct,
  doi = {10.48550/arxiv.2610.06513},
  eprint = {2610.06513},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.06513},
  note = {CC BY 4.0},
}
RIS
TY  - UNPB
TI  - SOL: Measuring Gaps between Text Distributions by Double Sliced Wasserstein Metrics
AU  - Gregor Kornhardt
AU  - Moritz Piening
AU  - Jannis Chemseddine
AU  - Gabriele Steidl
PY  - 2026
DA  - 2026/10/23
PB  - arXiv
DO  - 10.48550/arxiv.2610.06513
UR  - https://arxiv.org/abs/2610.06513
AB  - 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 auto-regressive models. As a first step we use SOL to re-evaluate a variety of models trained on OpenWebText.
ER  -