Manuscript Offprint
arXiv:2610.20743Vertical Sliced Wasserstein Distances for Meta-Measures
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Many modern learning problems require comparing probability distributions whose individual observations are themselves probability measures, naturally giving rise to meta-measures in . However, optimal transport distances on this space can be prohibitively expensive to evaluate. We introduce the vertical sliced Wasserstein (VSW) distance, a scalable metric on . Rather than slicing along the transport geometry of , VSW projects each inner measure using continuous test functions and compares the resulting one-dimensional distributions with one-dimensional Wasserstein distance. We prove that VSW is a valid metric on , metrizes weak convergence, and admits dimension-independent statistical convergence guarantees. Empirically, VSW provides high accuracy and efficiency compared with existing distances for meta-measures. We further derive a practical particle gradient for the empirical VSW objective and demonstrate its use for gradient-based transport of meta-measures. VSW provides a simple and scalable alternative for comparing and optimizing distributions of distributions.
1 Introduction and Related Work
Many learning problems naturally involve distributions of distributions (DoDs): a dataset can be viewed as a distribution over class-conditional distributions (Alvarez-Melis and Fusi, 2020), a collection of shapes as a distribution over point clouds where each point cloud is itself an empirical distribution (Haviv et al., 2025), and documents, cell populations, or mixture models can similarly be represented as collections of probability measures (Yurochkin et al., 2019; Nguyen and Mueller, 2026). Formally, these objects are meta-measures , i.e., probability measures whose observations are themselves probability measures on . Comparing such objects requires accounting for variation both within each inner distribution and across the population of distributions.
Wasserstein distances on meta-measures. A natural metric for this setting is Wasserstein-over-Wasserstein (WoW), which solves an outer optimal transport (OT) problem using Wasserstein distance between inner measures as its ground cost. Related constructions appear in hierarchical OT (Yurochkin et al., 2019), generative modeling (Dukler et al., 2019), and the optimal transport dataset distance (OTDD) (Alvarez-Melis and Fusi, 2020). While geometrically appealing, WoW is expensive: comparing empirical meta-measures requires many inner OT problems and inherits the statistical and computational difficulties of Wasserstein distance at both levels (Dukler et al., 2019; Bonet et al., 2025b). Additionally, Bonet et al. (2025b) develop WoW gradient flows and introduce tractable MMD objectives with Sliced-Wasserstein kernels.
Sliced and scalable meta-measure distances. Recent methods therefore seek scalable alternatives through slicing. Double-Sliced Wasserstein (DSW) (Piening and Beinert, 2026) uses one-dimensional Wasserstein projections and quantile representations, Busemann-based approaches slice along geodesic directions of Wasserstein space (Bonet et al., 2025a), and s-OTDD uses moment-based projections for dataset comparison (Nguyen et al., 2025). Although substantially cheaper than exact WoW, these approaches still construct their projections from the transport geometry of the inner measures or surrogates thereof.
We introduce Vertical Sliced Wasserstein (VSW), a complementary approach that slices a measure through its action on continuous test functions. For a test function , an inner measure is represented by the scalar . Applying this projection to every inner measure converts a meta-measure into a one-dimensional distribution. Then, one can compare efficiently and in using the one-dimensional -Wasserstein distance by , where is the law of a Gaussian process with universal covariance kernel . We call this construction vertical because it acts through the dual representation of each measure, in contrast to methods that slice along its transport geometry.
This simple change has important practical consequences. Each slice compresses an entire inner distribution to one scalar, requiring only test-function evaluation and averaging before a single one-dimensional OT computation across the outer distributions. VSW therefore avoids inner OT, per-distribution quantile representations, and Gaussian surrogates. At the same time, the family of test-function projections is rich enough to distinguish meta-measures: we prove that is a metric and metrizes weak convergence. For , VSW is additionally Hilbertian and closely connected to kernel mean embeddings, while retaining the outer Wasserstein comparison that distinguishes distributions beyond their mean measures.
Empirically, this combination yields an accurate and efficient meta-measure distance. Across dataset comparison, point-cloud and image-patch distributions, and shape classification, VSW closely tracks transport-based reference distances while consistently reducing runtime. We further derive an explicit gradient formulation for the empirical objective, supporting parametric generative modeling. Our main contributions are:
-
We introduce Vertical Sliced Wasserstein (VSW), a new sliced distance for meta-measures based on test-function projections, and prove that it defines a metric that metrizes weak convergence.
-
We establish statistical and computational scalability, including dimension-independent two-stage convergence rates and efficient Monte Carlo estimation without inner OT.
-
We show that is Hilbertian, induces universal characteristic kernels on meta-measures, and admits, under discretization, an explicit gradient for optimization and generative modeling.
-
We provide broad empirical validation across dataset comparison, point clouds, image patches, shape classification, discrete particle gradient flows, and hierarchical generation, where VSW is fast while maintaining strong agreement with transport-based baselines.
The closest computational baseline is DSW (Piening and Beinert, 2026), which first projects multivariate inner measures to one dimension, represents the resulting measures through quantile functions in , and then applies functional slicing with Gaussian-process directions. VSW instead applies test functions directly to the original inner measures, reducing each to a single scalar per slice and avoiding both inner quantile construction and an additional Euclidean slicing stage. A related test-functional approach is the hierarchical IPM of Catalano and Lavenant (2024), which, unlike VSW, requires optimization over a class of test functions.
By Prokhorov's theorem, is weakly compact and it is metrizable because is separable. Its Borel -algebra, , is generated by the maps
(Kallenberg, 2017, Lem. 4.5 and Thm. 4.2). Since is itself a compact metric space, the same reasoning applies one level up: , the space of Borel probability measures on , is compact and metrizable in its weak topology. For we write for a random inner measure.
Note the two elementary but crucial algebraic properties of vertical projections defined by (1):
Lemma 2.1. For all , , , and ,
Thus, is linear in and affine in along mixtures.
Optimal transport between one-dimensional measures. For and , with finite p-moment, , let denote their corresponding Cumulative Distribution Functions (CDFs), and be their quantile functions. The optimal transport cost is:
We use for compactly supported , and the empirical rate: if is supported in an interval of length and is the empirical measure of i.i.d. samples, then
where the first inequality follows from Bobkov and Ledoux (2019, Thm 3.2).
Gaussian slicing measure. We write for a Borel probability measure on . A slicing direction is a realization , and iid slices are . This is akin to the sliced-Wasserstein distance with Gaussian projections introduced by Nadjahi et al. (2021), but for meta-measures.
Assumption 1. We consider a continuous, symmetric, positive definite kernel and universal “slicing kernel” , where universal means that the reproducing kernel Hilbert space (RKHS) associated to is dense in , and such that the centered Gaussian process with covariance kernel , , admits a version with almost surely continuous sample paths.
Under the above assumption, we consider the model where . For every finite collection , the random vector has law , where . See extra details in Appendix A.
Wasserstein-over-Wasserstein. For a Borel metric on ,
with the set of couplings between . When , it recovers the standard WoW distance, which we simply denote by . Additional details of this section are available in Appendix A.
3 Our method: The Vertical Sliced Wasserstein distance
Definition 3.1. For , and the Gaussian slicing measure under Assumption 1, we define the Vertical Sliced Wasserstein discrepancy by
where, for each fixed , the pushforward is the law of the scalar vertical slice when defined precisely by for all , which is supported on (similarly for ).
The “vertical” viewpoint reflects the affine structure of the space of measures: the slicers (1) are affine along mixtures , as stated in Lemma 2.1. In contrast, “horizontal” or transport geometry describes the movement of mass within , e.g., through displacement (McCann) interpolation , for an optimal Monge map for the quadratic-cost. A related distinction between spatial transport and local mass variation appears in unbalanced OT (Chizat et al., 2018; Liero et al., 2018); here “vertical” specifically refers to affinity along probability mixtures.
3.1 Well-posedness, metricity, and topology of VSW
We show regularity of the slicing procedure to ensure that in (4) is well-defined (Lemma 3.2). Moreover, defines a true metric on (Theorem 3.3) which metrizes weak convergence (Proposition 3.5), and embeds isometrically into a Hilbert space (Theorem 3.6).
Lemma 3.2. (i) The map , , is jointly continuous. (ii) For fixed , the map is 2-Lipschitz from to ; in particular it is continuous, and the integral in (4) is well defined and finite.
Theorem 3.3. VSW_p is a metric on for every .
Remark 3.4 (Comparison with horizontal slicing). Busemann projections are not yet known to distinguish meta-measures in general (Bonet et al., 2025a), while moment projections need additional assumptions ensuring that moments determine the measures (Nguyen et al., 2025). In our setting, vertical slicing distinguishes meta-measures whenever the kernel is universal, with no extra assumptions on the meta-measures themselves.
Proposition 3.5. For every , the metric induces the weak topology on . In particular is a compact metric space.
Theorem 3.6. Let be Lebesgue measure on . The map
is well defined and satisfies
Hence embeds isometrically into a separable Hilbert space. Moreover, is conditionally negative definite for , so is positive definite for all .
Further details are provided in Appendices B and D, and all proofs of this section are in Appendix C.
3.2 Computation
Sampling slices: For translation-invariant on with spectral measure (Bochner), an -feature slice is
where we normalize so that the spectral measure is a probability distribution. Conditionally on , is a Gaussian process whose covariance converges uniformly to as (Rahimi and Recht, 2007). Alternatively, a truncated Karhunen–Loève expansion may be used (see uniform approximation guarantees in Proposition D.2 and Lemma D.3). Gradients have the closed form .
Cost: The full VSW algorithm is shown in Algorithm 1. Let denote the maximum number of inner measures in either empirical meta-measure, and the maximum number of points per inner measure. Evaluating independent feature slices costs . In practice, we share the Fourier basis across slices and resample only the Gaussian coefficients (conditional on the basis, this estimates Gaussian-sliced Wasserstein between RFF mean embeddings in ; see Appendix C for the scaling identity and pseudometric caveat). Computing and averaging the basis features once for each inner measure, and reusing them across slices, reduces the cost to . Unlike prior sliced WoW constructions, VSW requires no per inner-measure sorting or quantile representation. Its runtime advantages are verified empirically in Section 4.
3.3 Statistical properties
We consider the two-stage observation model of Szabó et al. (2016): inner measures ; for each , points (conditionally independent given ), empirical inner measures , and the plug-in meta-measures , .
Theorem 3.7. For every , there exists , depending only on (with for ), such that
where . The rate exponents are dimension-free. Dependence on enters only through the sup-norm moment, which is finite but may grow with the size of relative to the kernel bandwidth.

Figure 1: Statistical complexity analysis for empirical meta-measures X, Y. Setup in Appendix F. The outer law has three atoms, so the reference for VSW corresponds to the atomic-outer rate (Remark C.2). Left: distance error against a -slice reference. Right: X, Y share component labels to isolate inner sampling error.
Algorithm 1 between empirical meta-measures
Require: clouds ; kernel ; slices ; features ; order
1: for do
2: sample via (5) (or KL truncation)
3: for all ; for all
4:
▷ sort + quantile matching, closed form (2)
5: end for
6: return
Remark 3.8. Unlike , which inherits the dimensional dependence of Wasserstein estimation at both levels (Fournier and Guillin, 2015; Catalano and Lavenant, 2024), Theorem 3.7, by Jensen, gives dimension-free rate exponents for : at the outer level and at the inner level, consistent with sliced-Wasserstein and two-stage sampling rates (Nadjahi et al., 2020; Szabó et al., 2016). For , the worst-case outer distance rate is sharp and slower than HIPM's parametric rate; it improves to under the projected-density condition in Remark C.2.
Finally, the Monte Carlo slice complexity reads as follows:
Proposition 3.9. Let and . Then
Following Nadjahi et al. (2020), we examine empirical scaling on Gaussian-mixture meta-measures for using finite Fourier features. Figure 1 shows an trend for Monte Carlo distance error against a finite-slice reference, and VSW trends of and at the outer and inner levels, with nearly unchanged slopes across dimensions. This is an empirical scaling study: Theorem 3.7 assumes a compact domain, and Proposition 3.9 bounds the powered-distance estimator.
3.4 Gradient flows: Practical implementation
We optimize the empirical VSW objective by moving the support points of its inner measures, thereby obtaining a finite-dimensional particle-level gradient flow. Throughout this calculation, the target and the slicing law are fixed. Fix a target and define by .
The discretization used in practice is as follows: Let , , and , , with . For simplicity we take equal outer sizes. The quantile formulation also handles . Define
where , , and denotes increasing rearrangement. Here the projected laws and are atomic, so transport is determined by the sorting permutation rather than a continuous monotone map. Lemma C.5 ensures the required uniqueness.
Proposition 3.10. Assume Assumptions 1–2, with the smoothness and moment conditions holding on a compact neighborhood of the particle configurations. If the source clouds and the target clouds are each pairwise distinct as measures, as in Lemma C.5, then F is differentiable at X, and
Consequently, the associated Euclidean particle gradient flow is , with the right-hand side given by (7). The proof and corresponding algorithm are given in Appendix C. In the ideal setting, replacing the expectation in Proposition 3.10 by an average over independent slices gives a Monte Carlo estimate of the particle gradient. In practice, we represent the slices using finitely many random Fourier features, yielding the corresponding finite-feature approximation of this gradient. When the particles are produced by a differentiable generator, the particle gradients can be backpropagated through the generator by the chain rule.
4 Experiments
We evaluate VSW across several tasks, demonstrating both performance and runtime advantages. For each experiment, we also optimize the baseline hyperparameters and implementations to ensure a fair comparison. Additional ablations and implementation details are provided in Appendices E and F.
Optimal Transport Dataset Distance. Dataset distances provide a model-agnostic way to quantify similarity between datasets, with applications such as transfer learning and dataset selection (Alvarez-Melis and Fusi, 2020; Liu et al., 2025). Following previous work (Nguyen et al., 2025; Piening and Beinert, 2026), we evaluate VSW as an efficient approximation to the optimal transport dataset distance (OTDD), comparing against s-OTDD (Nguyen et al., 2025) and DSW (Piening and Beinert, 2026), using OTDD (Alvarez-Melis and Fusi, 2020) as the reference. We construct random pairs of sub-datasets from MNIST (LeCun et al., 1998), FashionMNIST (Xiao et al., 2017), and CIFAR-10 (Krizhevsky and Hinton, 2009) and represent each dataset through its class-conditional empirical distributions. Following Piening and Beinert (2026), we use identical dataset pairs and feature representations across methods, remove the feature cost from OTDD so

Figure 2: Pearson and Spearman correlations with exact OTDD versus the number of slices, computed over 30 pairs per dataset. Both sub-datasets in a pair are drawn from the same training set and have equal size (5,000–10,000 samples); sizes vary across pairs.
that it reduces to a Wasserstein-over-Wasserstein distance between class-conditional distributions, and use s-OTDD with its default implementation.
We report Pearson and Spearman correlations with OTDD while varying the number of slices. For DSW, the total projection budget is , where P and K denote the numbers of outer and inner projections, respectively. For each dataset, we use 30 pairs of disjoint sub-datasets drawn from the same training set. The two sub-datasets in each pair have equal size, with that size varying from 5,000 to 10,000 across pairs. Figure 2 shows that VSW achieves substantially stronger correlation in the low-slice regime across all three datasets and remains competitive at larger slice budgets under this protocol. Figure 3 compares runtime as the dataset size increases for matched budgets of 1k, 5k, and 10k slices. VSW is consistently the fastest method across all three datasets and projection budgets under this resampling protocol.
Comparing Distributions of Point Clouds. Following the point-cloud distribution experiment of DSW (Piening and Beinert, 2026), we evaluate whether VSW captures changes in distributions of 3D point clouds from ModelNet-10 (Wu et al., 2015). Starting from a fixed reference distribution, we independently vary (i) the number of shapes in the target distribution, (ii) the amount of Gaussian noise applied to the target points, and (iii) the number of points per target shape. We compare VSW with OT-NNA, exact WoW, and DSW. To facilitate direct comparison between methods with different scales, we report the normalized metrics together in Figure 4, with the reference configuration indicated by the dashed line.
VSW exhibits trends consistent with the OT-based baselines across all three perturbations. In particular, the distance decreases as the target contains more shapes, increases with stronger Gaussian perturbations, and remains comparatively stable once the point-cloud resolution is sufficiently high. These results indicate that VSW preserves the behavior of established distribution-comparison metrics while being substantially more efficient. We additionally report the wall-clock time in a realistic point cloud evaluation setting, comparing 662 ground-truth and 662 generated ShapeNet chairs (Chang et al., 2015) from PVD (Zhou et al., 2021), each containing 2048 points. The results are shown in Table 1. VSW requires only 0.0125 s per distance evaluation, compared with 0.0709 s for DSW, corresponding to approximately a reduction in runtime. OT-NNA and WoW are both substantially slower.

Figure 3: Runtime (s) vs the dataset size (each of 2 sets). VSW remains fastest among all methods.
Table 1: Wall-clock time of a single distance evaluation between the 662 ground-truth ShapeNet chairs and 662 generated samples (2048 points per cloud). denotes a single run.
| OT-NNA | WoW | DSW | VSW (Ours) | |
|---|---|---|---|---|
| runtime (s) |

Figure 4: Point cloud comparison metric trends.

Figure 5: Comparing image distributions via patch distributions. VSW remains the fastest method, while achieving the same trend as baselines.
Comparing Image Distributions via Patch Distributions. Following DSW (Piening and Beinert, 2026), we evaluate VSW for comparing image distributions through their patch distributions. We use synthetic Perlin-noise textures and independently vary the lacunarity and persistence of the target distribution relative to a fixed reference. We compare VSW against DSW and exact Wasserstein-over-Wasserstein (WoW), and normalize each metric for visualization.

Figure 6: Particle optimization toward fixed ImageNet targets in pixel space (Left), and in a 2D PCA projection of CLIP ViT-L/14 embeddings (Right).
As shown in Figure 5, all three methods correctly attain their minimum near the reference parameters, while increasing as the target distribution deviates from the reference. VSW closely follows the trends of DSW and WoW, indicating that it preserves meaningful sensitivity to changes in image-patch distributions. At the same time, VSW requires only 67 ms per comparison, compared with 298 ms for DSW and 669 s for exact WoW, making it approximately faster than DSW and nearly four orders of magnitude faster than exact WoW.
Gradient Flow on Natural Images. We use ImageNet (Deng et al., 2009) to evaluate the VSW particle gradient on a high-dimensional dataset. We optimize five clouds of twenty noise-initialized particles against a fixed target containing twenty training images from each of five classes. Figure 6 shows the particle trajectories in pixel space and in a two-dimensional PCA projection of CLIP ViT-L/14 embeddings (Radford et al., 2021), fitted to the target images. The particles progressively resemble target images, with projected trajectories moving toward the target clusters. Nearest-neighbor ground-truth images provide a qualitative reference for the final particles. These visualizations illustrate optimization toward the fixed empirical target.
Parametric Generative Modeling. We next evaluate VSW in a parametric generative modeling setting on two 2D hierarchical datasets: a checkerboard distribution and an eight-component Gaussian mixture. Each dataset is represented as a distribution of inner distributions, with an outer latent variable selecting the component and inner noise generating samples within it. We train a lightweight MLP using the corresponding objective. We compare VSW with DSW (Piening and Beinert, 2026) and MMDSW (Bonet et al., 2025b). As shown in Figure 7, VSW and MMDSW recover the main structure of both targets, and VSW closely matches the held-out distributions. VSW also reduces the Wasserstein error substantially faster in wall-clock time, reaching a low error earlier than DSW and MMDSW on both datasets.
Shape Classification. Following the protocol of DSW (Piening and Beinert, 2026), we evaluate VSW on 2D Shapes (Beier et al., 2022), Animals (Sumner and Popović, 2004), FAUST-500/1000 (Bogo et al., 2014) (500 and 1000 vertices per shape), and MNIST-2000 (Piening and Beinert, 2026) using local distance distributions. For each distance, we precompute the pairwise distance matrix and perform 3-NN classification over 1000 random 25%/75% train/test splits, reporting mean accuracy and CPU time per distance. VSW, SQW, and STLB share one random projection basis across the distance matrix, while AE caches its per-shape energy self-terms. TLB and GW are deterministic and do not include such amortization.
Table 2 shows competitive mean accuracies across these datasets, with VSW consistently faster than the other sliced baselines. Compared with SQW, VSW is approximately faster across all datasets.

Real (held-out)
MMDSW
DSW
VSW
Wall-clock (s)
Real (held-out)
MMDSW
DSW
VSW
Figure 7: Parametric generation on Checkerboard and 8-Gaussians datasets.
Table 2: Shape classification with KNN (Acc., ↑) and runtime per distance computation (Time).
| Distance | 2D Shapes | Animals | FAUST-500 | FAUST-1000 | MNIST-2000 | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| Acc. (%) | Time (ms) | Acc. (%) | Time (ms) | Acc. (%) | Time (ms) | Acc. (%) | Time (ms) | Acc. (%) | Time (ms) | |
| VSW | 97.7 ± 2.6 | 0.35 | 99.0 ± 1.3 | 0.34 | 39.0 ± 5.5 | 2.80 | 41.2 ± 6.0 | 3.76 | 96.5 ± 3.4 | 7.48 |
| SQW | 99.4 ± 1.2 | 0.93 | 99.3 ± 1.0 | 0.95 | 37.5 ± 5.5 | 6.51 | 40.8 ± 6.0 | 10.15 | 86.0 ± 4.3 | 18.46 |
| TLB | 100.0 ± 0.2 | 0.91 | 100.0 ± 0.0 | 0.97 | 36.7 ± 5.6 | 40.96 | 40.2 ± 6.0 | 163.06 | 95.5 ± 3.3 | 653.84 |
| STLB | 98.5 ± 2.0 | 0.99 | 99.0 ± 1.3 | 1.00 | 35.2 ± 5.5 | 10.01 | 38.4 ± 5.9 | 10.65 | 82.2 ± 3.8 | 18.36 |
| AE | 99.7 ± 0.8 | 0.13 | 97.9 ± 1.8 | 0.13 | 37.5 ± 5.7 | 2.63 | 42.0 ± 5.9 | 4.46 | 93.2 ± 4.0 | 19.79 |
| GW | 99.7 ± 0.6 | 3.1 | 100.0 ± 0.0 | 6.2 | 29.2 ± 4.4 | 346.3 | 33.0 ± 5.3 | 1824.7 | —timeout — | |
The advantage is especially clear for larger shapes, requiring only 3.76 ms on FAUST-1000 and 7.48 ms on MNIST-2000. VSW provides a favorable accuracy–runtime trade-off for this task.
5 Conclusion and Future work
We introduced Vertical Sliced Wasserstein (VSW), a scalable distance for meta-measures based on slicing through continuous test-function projections rather than the transport geometry of the inner measures. We showed that VSW is a valid metric that metrizes weak convergence, and that admits a Hilbertian embedding, yielding characteristic kernels on meta-measures. We further established dimension-independent two-stage convergence rates and derived a practical particle gradient for optimization. Across dataset comparison, shape classification, point-cloud and image-distribution comparison, gradient flow and parametric generation, VSW provides competitive agreement with transport-based distances while substantially reducing computation.
Our analysis also leaves several limitations and open directions. Promising directions include extending parametric generative modeling beyond low-dimensional examples to higher-dimensional and structured domains, such as point cloud and image generation. For instance, a continuum WoW-flow interpretation (where, based on the differential geometry of Bonet et al. (2025b), VSW defines the objective, while defines the geometry of the descent) together with a convergence of the discrete optimization schemes requires a separate theoretical analysis.
Acknowledgments
This work was supported in part by NSF CAREER Award No. 233989, NSF DMS Award No. 2603773, and a generous gift from Toyota Infotech Lab. The authors also gratefully acknowledge the computing resources provided by the NVIDIA Academic Grant Program.
References
Robert J Adler and Jonathan E Taylor. Random fields and geometry. Springer, 2007.
David Alvarez-Melis and Nicolo Fusi. Geometric dataset distances via optimal transport. Advances in Neural Information Processing Systems, 33:21428–21439, 2020.
Florian Beier, Robert Beinert, and Gabriele Steidl. On a linear Gromov–Wasserstein distance. IEEE Transactions on Image Processing, 31:7292–7305, 2022. doi: 10.1109/TIP.2022.3221286.
Christian Berg, Jens Peter Reus Christensen, and Paul Ressel. Harmonic analysis on semigroups: theory of positive definite and related functions, volume 100. Springer, 1984.
Sergey G. Bobkov and Michel Ledoux. One-dimensional empirical measures, order statistics, and Kantorovich transport distances. Memoirs of the American Mathematical Society, 2019. URL https://api.semanticscholar.org/CorpusID:209912842.
Vladimir I. Bogachev. Gaussian Measures. American Mathematical Society, 1998.
Federica Bogo, Javier Romero, Matthew Loper, and Michael J. Black. FAUST: Dataset and evaluation for 3D mesh registration. In 2014 IEEE Conference on Computer Vision and Pattern Recognition, pages 3794–3801, 2014. doi: 10.1109/CVPR.2014.491.
Clément Bonet, Elsa Cazelles, Lucas Drumetz, and Nicolas Courty. Busemann functions in the wasserstein space: existence, closed-forms, and applications to slicing. arXiv preprint arXiv:2510.04579, 2025a.
Clément Bonet, Christophe Vauthier, and Anna Korba. Flowing datasets with wasserstein over wasserstein gradient flows. In Forty-second International Conference on Machine Learning, 2025b. URL https://openreview.net/forum?id=I10HPb4zWo.
Marta Catalano and Hugo Lavenant. Hierarchical integral probability metrics: A distance on random probability measures with low sample complexity. In Forty-first International Conference on Machine Learning, 2024. URL https://openreview.net/forum?id=cmy38XZlJu.
Angel X. Chang, Thomas A. Funkhouser, Leonidas J. Guibas, Pat Hanrahan, Qi-Xing Huang, Zimo Li, Silvio Savarese, Manolis Savva, Shuran Song, Hao Su, Jianxiong Xiao, L. Yi, and Fisher Yu. ShapeNet: An information-rich 3D model repository. ArXiv, abs/1512.03012, 2015. URL https://api.semanticscholar.org/CorpusID:2554264.
Lénaïc Chizat, Gabriel Peyré, Bernhard Schmitzer, and François-Xavier Vialard. An interpolating distance between optimal transport and Fisher–Rao metrics. Foundations of Computational Mathematics, 18(1):1–44, 2018. doi: 10.1007/s10208-016-9331-y. URL https://doi.org/10.1007/s10208-016-9331-y.
Andreas Christmann and Ingo Steinwart. Universal kernels on non-standard input spaces. In J. Lafferty, C. Williams, J. Shawe-Taylor, R. Zemel, and A. Culotta, editors, Advances in Neural Information Processing Systems, volume 23. Curran Associates, Inc., 2010. URL https://proceedings.neurips.cc/paper_files/paper/2010/file/4e0cb6fb5fb446d1c92ede2ed8780188-Paper.pdf.
Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. ImageNet: A large-scale hierarchical image database. In 2009 IEEE Conference on Computer Vision and Pattern Recognition, pages 248–255, 2009. doi: 10.1109/CVPR.2009.5206848.
Richard M Dudley. The sizes of compact subsets of Hilbert space and continuity of Gaussian processes. Journal of Functional Analysis, 1(3):290–330, 1967.
Yonatan Dukler, Wuchen Li, Alex Lin, and Guido Montufar. Wasserstein of Wasserstein loss for learning generative models. In Kamalika Chaudhuri and Ruslan Salakhutdinov, editors, Proceedings of the 36th International Conference on Machine Learning, volume 97 of Proceedings of Machine Learning Research, pages 1716–1725. PMLR, 09–15 Jun 2019. URL https://proceedings.mlr.press/v97/dukler19a.html.
Xavier Fernique. Intégrabilité des vecteurs gaussiens. CR Acad. Sci. Paris Sér. AB, 270:A1698–A1699, 1970.
Rémi Flamary, Nicolas Courty, Alexandre Gramfort, Mokhtar Z. Alaya, Aurélie Boisbunon, Stanislas Chambon, Laetitia Chapel, Adrien Corenflos, Kilian Fatras, Nemo Fournier, Léo Gautheron, Nathalie T.H. Gayraud, Hicham Janati, Alain Rakotomamonjy, Ievgen Redko, Antoine Rolet, Antony Schutz, Vivien Seguy, Danica J. Sutherland, Romain Tavenard, Alexander Tong, and Titouan Vayer. POT: Python optimal transport. J. Mach. Learn. Res., 22(1), January 2021. ISSN 1532-4435.
Nicolas Fournier and Arnaud Guillin. On the rate of convergence in Wasserstein distance of the empirical measure. Probability theory and related fields, 162(3):707–738, 2015.
Arthur Gretton, Karsten M. Borgwardt, Malte J. Rasch, Bernhard Schölkopf, and Alexander Smola. A kernel two-sample test. Journal of Machine Learning Research, 13(25):723–773, 2012. URL http://jmlr.org/papers/v13/gretton12a.html.
Ruiyu Han. Sliced wasserstein distance between probability measures on hilbert spaces. arXiv preprint arXiv:2307.05802, 2023.
Doron Haviv, Aram-Alexandre Pooladian, Dana Pe'er, and Brandon Amos. Wasserstein flow matching: Generative modeling over families of distributions, 2025. URL https://openreview.net/forum?id=HB41r0ykTi.
Olav Kallenberg. Random Measures, Theory and Applications. Springer, 2017.
Alex Krizhevsky and Geoffrey Hinton. Learning multiple layers of features from tiny images. Technical report, University of Toronto, 2009.
Yann LeCun, Léon Bottou, Yoshua Bengio, and Patrick Haffner. Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998.
Michel Ledoux and Michel Talagrand. Probability in Banach Spaces: isoperimetry and processes, volume 23. Springer, 1991.
Matthias Liero, Alexander Mielke, and Giuseppe Savaré. Optimal entropy-transport problems and a new Hellinger–Kantorovich distance between positive measures. Inventions mathematicae, 211(3):969–1117, 2018. doi: 10.1007/s00222-017-0759-8. URL https://doi.org/10.1007/s00222-017-0759-8.
Xinran Liu, Yikun Bai, Yuzhe Lu, Andrea Soltoggio, and Soheil Kolouri. Wasserstein task embedding for measuring task similarities. Neural Networks, 181:106796, 2025.
Charles A. Micchelli, Yuesheng Xu, and Haizhang Zhang. Universal kernels. Journal of Machine Learning Research, 7(95):2651–2667, 2006. URL http://jmlr.org/papers/v7/micchelli06a.html.
Kimia Nadjahi, Alain Durmus, Lénaïc Chizat, Soheil Kolouri, Shahin Shahrampour, and Umut Simsekli. Statistical and topological properties of sliced probability divergences. In H. Larochelle, M. Ranzato, R. Hadsell, M.F. Balcan, and H. Lin, editors, Advances in Neural Information Processing Systems, volume 33, pages 20802–20812. Curran Associates, Inc., 2020. URL https://proceedings.neurips.cc/paper_files/paper/2020/file/eefc9e10ebdc4a2333b42b2dbb8f27b6-Paper.pdf.
Kimia Nadjahi, Alain Durmus, Pierre E Jacob, Roland Badeau, and Umut Simsekli. Fast approximation of the sliced-Wasserstein distance using concentration of random projections. Advances in Neural Information Processing Systems, 34:12411–12424, 2021.
Masha Naslidnyk, Siu Lun Chau, Francois-Xavier Briol, and Krikamol Muandet. Kernel quantile embeddings and associated probability metrics. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 45770–45800. PMLR, 2025. URL https://proceedings.mlr.press/v267/naslidnyk25a.html.
Khai Nguyen and Peter Mueller. Summarizing nonparametric bayesian mixture posteriors—sliced optimal transport metrics for gaussian mixtures. Journal of Computational and Graphical Statistics, 0(0):1–12, 2026. doi: 10.1080/10618600.2026.2634831.
Khai Nguyen, Hai Nguyen, Tuan Pham, and Nhat Ho. Lightspeed geometric dataset distance via sliced optimal transport. In Proceedings of the 42nd International Conference on Machine Learning, ICML'25. JMLR.org, 2025.
Moritz Piening and Robert Beinert. Slicing Wasserstein over Wasserstein via functional optimal transport. In International Conference on Learning Representations, volume 2026, pages 84708–84740, 2026. URL https://proceedings.iclr.cc/paper_files/paper/2026/hash/88549904b871acbd676fb7c81581b0c2-Abstract-Conference.html.
Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, et al. Learning transferable visual models from natural language supervision. In International conference on machine learning, pages 8748–8763. PmLR, 2021.
Ali Rahimi and Benjamin Recht. Random features for large-scale kernel machines. Advances in neural information processing systems, 20, 2007.
Raif M. Rustamov and Subhabrata Majumdar. Intrinsic sliced Wasserstein distances for comparing collections of probability distributions on manifolds and graphs. In Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pages 29388–29415. PMLR, 2023. URL https://proceedings.mlr.press/v202/rustamov23a.html.
Isaac J Schoenberg. Metric spaces and positive definite functions. Transactions of the American Mathematical Society, 44(3):522–536, 1938.
Bharath K. Sriperumbudur, Kenji Fukumizu, and Gert R.G. Lanckriet. Universality, characteristic kernels and rkhs embedding of measures. Journal of Machine Learning Research, 12(70):2389–2410, 2011. URL http://jmlr.org/papers/v12/sriperumbudur11a.html.
Ingo Steinwart. On the influence of the kernel on the consistency of support vector machines. Journal of machine learning research, 2(Nov):67–93, 2001.
Robert W. Sumner and Jovan Popović. Deformation transfer for triangle meshes. ACM Trans. Graph., 23(3):399–405, August 2004. ISSN 0730-0301. doi: 10.1145/1015706.1015736. URL https://doi.org/10.1145/1015706.1015736.
Zoltán Szabó, Bharath K. Sriperumbudur, Barnabás Póczos, and Arthur Gretton. Learning theory for distribution regression. Journal of Machine Learning Research, 17(152):1–40, 2016. URL http://jmlr.org/papers/v17/14-510.html.
Aad W. van der Vaart and J. Harry van Zanten. Reproducing kernel Hilbert spaces of Gaussian priors. In Pushing the Limits of Contemporary Statistics: Contributions in Honor of Jayanta K. Ghosh, pages 200–222. Institute of Mathematical Statistics, 2008.
Zhirong Wu, Shuran Song, Aditya Khosla, Fisher Yu, Linguang Zhang, Xiaoou Tang, and Jianxiong Xiao. 3D ShapeNets: A deep representation for volumetric shapes. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 1912–1920, 2015.
Han Xiao, Kashif Rasul, and Roland Vollgraf. Fashion-MNIST: a novel image dataset for benchmarking machine learning algorithms. arXiv preprint arXiv:1708.07747, 2017.
Guandao Yang, Xun Huang, Zekun Hao, Ming-Yu Liu, Serge Belongie, and Bharath Hariharan. PointFlow: 3D point cloud generation with continuous normalizing flows. In 2019 IEEE/CVF International Conference on Computer Vision (ICCV), pages 4540–4549, 2019. doi: 10.1109/ICCV.2019.00464.
Mikhail Yurochkin, Sebastian Claici, Edward Chien, Farzaneh Mirzazadeh, and Justin Solomon. Hierarchical optimal transport for document representation. In Proceedings of the 33rd International Conference on Neural Information Processing Systems, Red Hook, NY, USA, 2019. Curran Associates Inc.
Linqi Zhou, Yilun Du, and Jiajun Wu. 3D shape generation and completion through point-voxel diffusion. In 2021 IEEE/CVF International Conference on Computer Vision (ICCV), pages 5806–5815. IEEE, 2021.
A Background
Proof of Lemma 2.1. Both identities follow from linearity of the integral, in the integrand and in the measure respectively. For the first, and
For the second, , and for every Borel we have ; the identity therefore holds for simple and extends to all by uniform approximation and boundedness of on the compact . Hence .
Details on the Slicing Kernel Assumption
We provide additional details for Assumption 1. Let , where is continuous and universal on the compact space , i.e., its RKHS is dense in . A standard example is the Gaussian radial basis function (RBF) kernel on compact (Steinwart, 2001; Micchelli et al., 2006).
The canonical metric induced by the Gaussian process is
For a metric , the covering number is defined as
The sample-path continuity required by Assumption 1 is guaranteed by Dudley’s entropy condition
where N denotes the covering number. Under this condition, the Gaussian process admits a version with almost surely continuous sample paths (Dudley, 1967; Adler and Taylor, 2007). Universality remains a separate requirement on .
Lemma A.1. Under Assumption 1, (i) there is with ; in particular for all (Fernique, 1970; Ledoux and Talagrand, 1991); (ii) (Bogachev, 1998, Thm. 3.6.1), see also (van der Vaart and van Zanten, 2008).
Remark A.2. More specifically, from (ii), we have that for any , , there exists finitely many , , with .
Assumption 2. We assume that the underlying space is compact and that . Then the derivative process is a centered Gaussian field with covariance
and we assume that its canonical metric
satisfies Dudley’s entropy condition . Under these hypotheses for -a.e. , i.e. , and the Borell–TIS inequality (Adler and Taylor, 2007) gives
For instance, the Gaussian RBF kernel is and satisfies these conditions, with sample paths.
Schoenberg theory. A metric on a set is Hilbertian if it is realized by an isometric feature map: there exist a Hilbert space and a map with
A symmetric function with is conditionally negative definite (CND) if
that is, negative semi-definiteness restricted to the hyperplane of zero-sum coefficient vectors. Schoenberg’s theorem states that is Hilbertian if and only if is CND, and that a nonnegative CND function stays CND under fractional powers: CND implies CND for every . Applying this with and gives that is CND for every , and by the CND–PD correspondence
is CND is positive definite for every ,
we conclude that
is a positive definite kernel on for all and (Schoenberg, 1938; Berg et al., 1984).
B Our method: Position between kernel and transport lifts
Writing , the Gaussian field has covariance . Thus VSW uses Gaussian linear probes of the embedded meta-measures, in the sense of an isonormal Gaussian process on . This connects the construction to Hilbert-space slicing (Han, 2023) and kernel expected sliced Wasserstein (Naslidnyk et al., 2025). It does not identify their slicing laws: our GP is -valued and need not be -valued, whereas a Hilbert-valued Gaussian requires trace-class covariance. Intrinsic sliced Wasserstein (Rustamov and Majumdar, 2023) instead pushes each inner measure through Laplacian eigenfunctions to one-dimensional laws; VSW takes scalar expectations and then compares their outer distributions.
Define , which satisfies
Write for (so , ).
Proposition B.1 (Exact restriction to Diracs: VSW extends MMD). For all and ,
In particular the embedding is, up to the constant , an isometry from into .
Proof of Proposition B.1. Under the projected law is the point mass at , so the slice value is . The scalar is centered Gaussian with variance by (8); taking -th absolute moments and -th roots gives the claim.
Proposition B.2 (Upper bound: Wasserstein over MMD, tight on Diracs). For all and ,
with equality when , are Dirac meta-measures. If in addition Assumption 2 holds and , then also .
Proof of Proposition B.2. Let be arbitrary. For each , couples the projected laws, so . Integrate in and use Fubini:
Taking the infimum over proves the bound.
Proposition B.3 (Lower bound: intensities in MMD). For all and all ,
where are the intensity measures, in particular, , .
Proof of Proposition B.3. For laws on , any coupling satisfies, by Jensen, ; hence . The mean of is by Fubini. Therefore . The scalar is centered Gaussian with variance by (8).
Example B.4 (Strictness: identical intensities, positive VSW). Let and consider
Both have intensity , so every comparison based on intensities—in particular the level-2 MMD of mean embeddings—vanishes, and Proposition B.3 is uninformative. Fix . Under the projected law is the point mass at ; under it is . The only coupling of a Dirac with another law is the product, and , so
Since , integrating in gives
the strict positivity because whenever is strictly positive definite and . Thus VSW sees the outer (transport) structure that intensity comparisons cannot; every slice with separates the two meta-measures.
Remark B.5 (Interpretation). Propositions B.1–B.3 identify VSW as the sliced Wassersteinization of MMD at the meta level: its inner geometry is exactly MMD (tight on Diracs), while its outer geometry is transport—strictly finer than the mean-embedding (intensity) comparison, as Example B.4 shows, yet never exceeding the full outer OT cost over the MMD ground metric.
Corollary B.6 (Universal characteristic kernels on meta-measures). For every and , the kernel
is positive definite on . Moreover, it is continuous and universal on the compact metric space , hence characteristic. Consequently, the MMD induced by is a metric on the space of Borel probability measures over .
Proof of Corollary B.6. Positive definiteness. By Theorem 3.6, there is an isometric embedding into a Hilbert space with . Hence is conditionally negative definite (CND). For every , we have , so is a Bernstein function on . Applying it to the nonnegative CND function shows that is CND. Schoenberg's theorem then yields that is positive definite for all and .
Continuity. By Proposition 3.5, VSW₂ induces the weak topology on , hence is continuous for the weak topology. Composing with gives continuity of .
Universality and characteristicness. The space is compact. For , is the restriction of a Gaussian kernel on the Hilbert space to the compact set . Such a Gaussian kernel is universal on compact subsets of a separable Hilbert space (e.g. Christmann and Steinwart, 2010); therefore is universal on .
For , the function is completely monotone on , so by Bernstein's theorem there exists a probability measure on such that and . Substituting gives
If a finite signed Borel measure on satisfies , Fubini applies because the kernels are bounded and has finite total variation. The nonnegative Gaussian-kernel quadratic forms therefore vanish for -a.e. , hence for some . Universality of forces by the equivalence between universality and integral strict positive definiteness on compact spaces (Sriperumbudur et al., 2011, Prop. 4). The same equivalence proves universality of ; universal continuous kernels on compact metric spaces are characteristic.
Remark B.7 (Uses). Corollary B.6 yields kernel two-sample tests between collections of datasets, distribution regression whose inputs are meta-measures (one level above Szabó et al., 2016), and Gaussian-process priors over functionals of meta-measures.
C Proofs of the Statements in Section 3
Proof of Lemma 3.2. (i) Let in . In particular:
• in , i.e. , which is uniform convergence on ;
• in , i.e. weakly: for every .
Then
The first term tends to zero by uniform convergence, while the second tends to zero by weak convergence, since the fixed function is bounded and continuous. Hence is jointly continuous.
(ii) Choose fixed , the deterministic map pushes to a coupling between and . We have:
hence , and similarly for . The triangle inequality for on then gives . Thus is 2-Lipschitz.
Finiteness. Fix . As noted after Definition 3.1, both and are supported in the interval , of length . Consequently every coupling is supported in , on which , so
Integrating this bound against and using Lemma A.1(i),
The integral in (4) is therefore well defined.
Proof of Theorem 3.3. We first show that is a pseudometric on : it is finite, symmetric, vanishes on the diagonal, and satisfies the triangle inequality.
Finiteness was established in Lemma 3.2(ii): for all .
Symmetry is inherited slicewise: is symmetric on .
Vanishing on the diagonal: if then for every .
Triangle inequality. Let and write , so that by (4). For each fixed , the triangle inequality for on gives the pointwise bound
Taking norms and applying Minkowski's inequality gives the result.
The only property left to verify is identity of indiscernibles. Assume .
Define
The two descriptions agree because both projected laws are compactly supported, hence lie in , the subspace of of measures with finite p-moment, on which is a metric.
Step 0 ( ). By assumption and (4),
The integrand is nonnegative and Borel (Lemma 3.2(ii)), so it vanishes -a.e., i.e. .
Step 1 ( ). The map is continuous by Lemma 3.2(ii), hence is closed. Since , closedness implies . By Lemma A.1(ii) and universality (Assumption 1), , hence . Therefore
Step 2 (finite-dimensional distributions agree). Fix and . Consider , . For any , Lemma 2.1 gives
Applying (9) to shows that has the same law under and under . By the Cramér–Wold theorem, the laws of under and coincide, i.e.
Step 3 ( ). Let
Then is a -system (closed under finite intersections). Moreover because the weak Borel -algebra is generated by the maps (Section 2).
Define . This is a -system. By (10), we have . Dynkin's theorem yields , hence and therefore .
Remark C.1. Only Step 1 uses universality, and it does so through the support theorem: the closed agreement set A must contain suppσ. If κ is not universal, Steps 0–3 still yield for every , hence on . Thus VSW_p remains a pseudometric on whose null relation is exactly agreement on , and it is a metric on the corresponding quotient; when , distinct meta-measures can be at VSW_p-distance zero. Conversely, any slicing measure with full support in (not necessarily Gaussian) and finite yields a metric by the same proof; the Gaussian choice is what later gives exact MMD compatibility (Propositions B.1–B.3) and Borell–TIS moment control.
Proof of Proposition 3.5. Weak convergence implies . Let in the weak topology on , and fix . Since is continuous (Lemma 3.2(i)), for every the composition belongs to ; hence
i.e. in . Moreover on , so all these laws are supported in the fixed compact interval . On probability measures supported in a common compact interval, metrizes weak convergence, so
The integrand is dominated by , which lies in by Lemma A.1(i). Dominated convergence therefore yields .
implies weak convergence. Consider the identity map
which is a bijection. The previous paragraph shows it is continuous. Since is compact and is Hausdorff (being metric), a continuous bijection from a compact space onto a Hausdorff space is a homeomorphism. Hence induces the weak topology.
Proof of Theorem 3.6. Measurability. The evaluation map is jointly continuous (Lemma 3.2(i)). Hence, for fixed , the function
is jointly Borel in : the set is closed in , so its indicator is jointly Borel, and Tonelli (integrating out against ) yields joint measurability of . Define the quantile
Since the infimum runs over a countable set and each subgraph is Borel, is jointly Borel in .
Integrability. Since is supported in , we have for all . By Lemma A.1(i), , so .
Isometry. For p = 2, the one-dimensional OT formula (2) gives, for each f,
Integrating in f and applying Tonelli yields
This proves the claimed isometric embedding.
Proof of Theorem 3.7. By the triangle inequality (Theorem 3.3) and ,
Outer term. Fix and let , . Then is exactly the empirical measure of the i.i.d. scalars . Using on and (3),
Integrating in (Tonelli; joint measurability as before) gives
Inner term. Pair with : the coupling of and that matches index to index yields
Conditionally on , is a centered average of i.i.d. variables bounded by . For , Jensen and the variance bound give ; for , the Marcinkiewicz–Zygmund inequality gives . Taking expectations, then the -integral (Tonelli), yields
Combining the outer and inner bounds proves the theorem. The distance rates in Remark 3.8 follow by Jensen and subadditivity of .
Remark C.2. For , Theorem 3.7 gives , whereas the hierarchical IPM of Catalano and Lavenant (2024) attains the parametric outer rate. The outer exponent is sharp in the worst case, as a two-atom meta-measure shows. For distinct , set , and let be the proportion of among the outer samples. Matching the common mass in each projected law gives
Since , its centered absolute moments satisfy and . Thus, for this fixed , the expected squared distance has order and the expected distance has order . These are worst-case rates; faster outer convergence is possible under additional regularity of the projected laws. Specifically, if for -a.e. the law admits a density with
then (Bobkov and Ledoux, 2019, Thm. 5.1). Integrating in yields , hence . Combining this with the unchanged inner-sampling bound gives under this additional regularity condition. In the definition of , we use the conventions and for .
Proof of Proposition 3.9. The summands are i.i.d. with mean and second moment at most ; apply to the empirical mean. (Cf. the analogous bound for sliced divergences in Nadjahi et al., 2020.)
Remark C.3 (Finite truncations are pseudometrics). For finite the support of is the finite-dimensional subspace span . When this subspace is proper, Step 1 of the proof of Theorem 3.3 does not apply; is in general only a pseudometric, with null relation given by agreement of the projected laws along that subspace (cf. Remark C.1). Lemma D.3 therefore describes a sequence of pseudometrics converging uniformly to the metric ; separation is guaranteed in the limit , and may already hold at finite when the feature map separates inner measures.
Remark C.4 (Random features are not covered by the coupling bound). Proposition D.2 requires a coupling of the two slicing measures. An independent random Fourier feature draw (5) is not naturally coupled to the limiting process , so Lemma D.3 does not apply to it; the covariance of (5) converges uniformly to (Rahimi and Recht, 2007), but a quantitative transfer from covariance convergence to convergence of the sliced distances is left open, and we treat the induced bias empirically.
The shared finite-feature implementation. Condition on the sampled Fourier basis, let be the conditional law of , and define and . Then for . Writing for classical slicing with uniform unit directions, Gaussian radial symmetry gives the exact identity
The distance itself has factor , equal to for . The finite-feature map can send distinct measures to the same vector, so this is generally a pseudometric on the original meta-measures. Conditional on the basis, Proposition 3.9's variance argument applies with and its sup-norm moments in place of . Increasing controls this conditional Monte Carlo error, while no quantitative feature-error bound is provided here (Remark C.4). For a direct finite-feature reference check, Proposition B.1 gives , whereas the conditional finite-feature value is .
Gradient Flow
Lemma C.5 (No ties, almost surely). Suppose is characteristic and the clouds are pairwise distinct as measures (and similarly for the targets). Then for -a.e. , the projected scalars are pairwise distinct (and similarly ), so the sorting permutation matching to is locally constant in around any configuration with distinct clouds.
Proof. For , is a centered Gaussian with variance , which is strictly positive because is characteristic and the clouds are distinct; a nondegenerate Gaussian hits 0 with probability zero. A union over the finitely many pairs concludes.
Remark C.6 (Parametric generators.). For a differentiable generator , the particle gradients can be backpropagated through the generator by the chain rule, wherever the empirical objective is differentiable. For a fixed kernel and empirical minibatch, independent Gaussian-process slices give unbiased Monte Carlo estimates of the empirical loss and, when differentiation and expectation can be interchanged, its gradient. With finite random Fourier features, the corresponding statement holds for the finite-feature
Algorithm 2 VSW flow for populations of point clouds (one step)
Require: particles , targets , kernel , slices , features , step
1: sample fresh slices via (5)
2: for do
3: compute ; sort both; obtain matching
4: end for
5:
6:
▷ or pass to Adam / reparametrized generator
objective conditional on the sampled basis. Under suitable differentiation and integrability assumptions, averaging over random minibatches targets the gradient of the expected empirical minibatch objective, which generally differs from the population VSW objective. Theorem 3.7 controls distance estimation error; it does not establish convergence of the corresponding gradients.
Finally, we prove Proposition 3.10 which holds under Assumptions 1–2 and the hypotheses of Lemma C.5.
Proof of Proposition 3.10. For write
so that by (2) (the increasing rearrangement realizes the minimum). Fix a coordinate and let be a fixed compact neighborhood containing all configurations under consideration. In this proof, denotes . We assume that the regularity and moment conditions of Assumption 2 hold on ; then the field is defined and Borell–TIS applies on (for the Gaussian RBF, extends to all of ). The interchange of one partial derivative with proceeds in three steps.
Step 1 (pointwise differentiability for -a.e. ). Let be the full-measure set of Lemma C.5. For the projected scalars (resp. ) are pairwise distinct, so the minimizing permutation is unique and remains optimal on a ball whose radius depends on , by continuity of . On this ball coincides with the smooth function , whence
Step 2 (uniform integrable envelope for the difference quotients). For every (not only ) and every fixed , the map is differentiable with partial gradient in bounded in norm by
since . A pointwise minimum of finitely many functions that are -Lipschitz along a segment is itself -Lipschitz along that segment; hence every difference quotient of in the coordinate is bounded by , uniformly in the step size. Moreover : by Cauchy–Schwarz,
by Lemma A.1(i) and Assumption 2.
Step 3 (dominated convergence). As , the difference quotients converge for -a.e. (Step 1) and are dominated by (Step 2); dominated convergence yields the partial derivative of and formula (7). Finally, the right-hand side of (7) is continuous at each configuration with pairwise distinct clouds. Indeed, if , then for the full-measure set of slices having no ties at , continuity of the projected scalars implies for all sufficiently large . Hence the integrand in (7) converges pointwise, and the same integrable envelope allows another application of dominated convergence. Thus, all partial derivatives of exist and are continuous near , and is differentiable at .
D Statistical Properties
Corollary D.1 (Error of the fully empirical estimator). Let be observed through the two-stage scheme with parameters and respectively, and let denote the L-slice Monte Carlo estimator of Proposition 3.9. Then
with .
Proof. By the triangle inequality for (Theorem 3.3), , and Theorem 3.7 bounds the expectation of each term after taking -th roots and applying Jensen. For the slicing error, Proposition 3.9 gives at the empirical meta-measures, and for converts this into a bound on the estimator itself. Combining the three contributions gives the claim.
Proposition D.2 (Stability in the slicing measure). Let be two slicing measures on with finite sup-norm moments of order , and let denote the corresponding distances. Then for any coupling of ,
In particular, if a sequence of finite-rank approximations can be coupled to so that and (both automatic from convergence when ), then uniformly on . Lemma D.3 verifies this hypothesis for truncated Karhunen–Loève expansions.
Proof. Write . By Lemma 3.2(ii), , and . Take expectations under and use ; the marginals reproduce the two sliced distances. The uniformity claim follows by Cauchy–Schwarz on the right-hand side.
Lemma D.3 (KL truncations satisfy the coupling hypothesis). Let satisfy Assumption 1, let be the Mercer eigenpairs of on for a fully supported finite Borel measure on , and set
Then is an orthonormal basis of the Cameron–Martin space of , the series converges almost surely in with limit distributed as , and . Consequently uniformly on by Proposition D.2.
Proof. By Mercer’s theorem on the compact space (with continuous and fully supported), the eigenfunctions are continuous and is an orthonormal basis of , which coincides with the Cameron–Martin space of the Gaussian measure on (Bogachev, 1998, Ch. 2–3). For any orthonormal basis of the Cameron–Martin space of a centered Radon Gaussian measure on a separable Banach space, the series with i.i.d. standard Gaussian coefficients converges almost surely in the Banach norm, with limit distributed as the measure (Bogachev, 1998, Thm. 3.5.1); this is an Itô–Nisio-type theorem. Finally, almost surely convergent Gaussian series in a separable Banach space converge in for every (Ledoux and Talagrand, 1991, Ch. 3), so ; the coupling in Proposition D.2 together with Cauchy–Schwarz gives the uniform convergence of the sliced distances.
E Ablation
Ablation on . The number of random Fourier features is specific to VSW. We therefore sweep in the dataset-distance setting of Figure 2 on FashionMNIST, at the two largest matched budgets and (Table 3), with the baseline configurations of Appendix F. Each entry is the mean standard deviation over 5 independent draws of the features and slices, for VSW and both baselines. Runtimes follow the protocol of Figure 3 and are given on the 30 pairs at their own sizes, which is the cost of the correlation beside them, and at fixed sizes and . Larger generally improves correlation at increased runtime, with limited gains beyond . For slicing budget , all tested give higher mean Pearson and Spearman correlations than DSW and s-OTDD; is below DSW. At , is competitive with DSW (Pearson versus ), with overlapping variability across random draws. We use for its balance of correlation and runtime.
F Implementation Details
Below, we provide experimental details for all of the reported experiments in the paper. All experiments are conducted on an AMD EPYC 7702P CPU, or NVIDIA RTX A5000 GPUs. Unless stated otherwise, VSW uses the Gaussian RBF kernel , whose spectral measure in (5) is . The bandwidth is set by the median heuristic (Gretton et al., 2012). We pool the points of all inner measures of the two meta-measures being compared, draw 2000 of them uniformly at random, and set to the median of their pairwise Euclidean distances. The bandwidth is computed once, before the slices are drawn.
Statistical Properties. Each meta-measure is a mixture of 3 Gaussian inner measures with uniform weights. The meta-measure is , a uniform distribution over three Gaussian inner measures whose means are equally spaced on a circle of radius 4 in the first two coordinates. To sample an empirical meta-measure, we draw labels independently and uniformly from , and observe each inner measure through i.i.d. points. Each empirical meta-measure has inner measures observed through points each. VSW uses , a median-heuristic bandwidth, and every curve in Figure 1 is the mean over 200 runs. For the Monte Carlo rate, we compare two independent samples with
Table 3: Ablation on the number of random Fourier features on FashionMNIST, at the two matched slicing budgets (top) and (bottom). Each entry is the mean standard deviation over 5 independent draws of the features and slices. Times are per distance evaluation: on the 30 pairs at their own sizes, at a fixed size of , and on the full training set of .
| Method | Correlation with OTDD (↑) | Time per evaluation (ms, ↓) | |||
|---|---|---|---|---|---|
| Pearson | Spearman | 5-10k | |||
| Matched slicing budget | |||||
| VSW, | 3.4 | 3.2 | 12.8 | ||
| VSW, | 3.6 | 3.8 | 17.7 | ||
| VSW, | 4.6 | 4.8 | 25.3 | ||
| VSW, | 5.6 | 6.5 | 36.4 | ||
| VSW, | 8.2 | 10.4 | 61.4 | ||
| VSW, | 12.7 | 15.0 | 130.2 | ||
| VSW, | 22.1 | 25.9 | 224.3 | ||
| VSW, | 54.9 | 75.5 | 401.0 | ||
| DSW | 46.9 | 47.7 | 141.9 | ||
| s-OTDD | 291.7 | 388.6 | 2403.4 | ||
| Matched slicing budget | |||||
| VSW, | 4.5 | 4.9 | 13.6 | ||
| VSW, | 5.8 | 6.3 | 21.0 | ||
| VSW, | 8.6 | 9.4 | 29.5 | ||
| VSW, | 14.2 | 15.2 | 44.5 | ||
| VSW, | 25.8 | 27.2 | 79.0 | ||
| VSW, | 45.3 | 43.8 | 158.8 | ||
| VSW, | 84.3 | 82.3 | 289.0 | ||
| VSW, | 158.9 | 175.2 | 527.5 | ||
| DSW | 90.6 | 104.4 | 438.2 | ||
| s-OTDD | 2955.9 | 3889.8 | 24193.5 | ||
and report for , where the reference uses the same slices. For the outer and inner rates, both meta-measures are drawn from the same distribution, and we use . The outer rate varies with . The inner rate varies with , and both meta-measures share the same component labels, so that only the inner sampling error remains.
Optimal Transport Dataset Distance. Following Nguyen et al. (2025), we draw 30 random pairs of disjoint sub-datasets from the training sets of MNIST, FashionMNIST, and CIFAR-10. For each pair, we sample a size uniformly from and take the first and the last that many indices of a random permutation of the training set. Each sub-dataset is a meta-measure whose inner measures are its class-conditional distributions of flattened images. As a reference, we compute the exact OTDD (Alvarez-Melis and Fusi, 2020) with its default implementation. Following Piening and Beinert (2026), we set the weight of its feature cost to zero, so that OTDD reduces to a Wasserstein-over-Wasserstein distance between the class-conditional distributions. s-OTDD (Nguyen et al., 2025) and DSW (Piening and Beinert, 2026) are used with their default hyper-parameters. We use a vectorized implementation of DSW that returns the same values as the released code under identical random draws, while being optimized so that the runtime comparison remains fair. VSW uses , with a bandwidth set once per pair of sub-datasets by the median heuristic.
The correlations in Figure 2 pool all 30 pairs across the sampled sizes. They are not conditioned on sample size, so shared sample-size dependence can contribute to the reported agreement. This protocol introduces no controlled class-proportion or domain shifts.
For Figure 3, we time one distance evaluation between two sub-datasets whose size ranges from 1000 to the full training set in steps of 5000, for . All methods run on CPU. We report the mean and standard deviation over 10 random draws of the sub-datasets.
Comparing Distributions of Point Clouds. We follow the protocol and released code of Piening and Beinert (2026, Sec. 5.3). The reference meta-measure contains training shapes of one class, and the target contains test shapes of the same class. We vary one factor at a time: (i) the number of target shapes (class bed, ); (ii) the standard deviation of Gaussian noise added to the target points (class sofa, , ); and (iii) the target resolution (class chair, , ). Each setting is repeated over 5 random draws of shapes. VSW uses slices with , and bandwidth is set by the median heuristic. For OT-NNA (Yang et al., 2019), WoW, and DSW, we use the implementations and hyperparameters of Piening and Beinert (2026). Our only change is a vectorized DSW implementation, which ensures optimal implementation of DSW and fair runtime comparison. Under identical random draws it returns the same values as the released code, so it reduces the runtime of DSW without changing its values. In Figure 4, each curve is divided by its mean over the sweep, and shaded regions show standard deviation over the repetitions.
For Table 1, every method compares the full sets of 662 ShapeNet test chairs (Chang et al., 2015) and 662 PVD samples (Zhou et al., 2021), with 2048 points per cloud. All methods use the settings above and run on one NVIDIA RTX A5000 GPU. For VSW and DSW, we report the mean ± standard deviation over 6 timed batches, while OT-NNA and WoW are timed once.
Comparing Image Distributions via Patch Distributions. We follow the protocol and released code of Piening and Beinert (2026, Sec. 5.4). Each meta-measure is a batch of 32 grayscale Perlin-noise images (scale 100, pixel values rescaled to ), and each image is represented by the uniform empirical measure of its 3249 overlapping patches in . In the persistence sweep, the reference batch has persistence 0.5 (lacunarity 2.5, 5 octaves) and the target persistence varies over . In the lacunarity sweep, the reference has lacunarity 1.5 (persistence 1, 6 octaves) and the target lacunarity varies over . Reference and target batches are generated from different random seeds, each sweep is repeated 5 times, and all methods are evaluated on the same pairs of batches. VSW uses slices with random Fourier features of a Gaussian RBF kernel, whose bandwidth is set by the median heuristic on the pooled patches. WoW and DSW are implemented as in the point-cloud experiment above. Following the released code, DSW uses slices, a 50-point quantile grid, and length scale 0.1, and we again use a vectorized implementation that returns the same values as the released code. In Figure 5, each curve is divided by its maximum within a run before averaging, which preserves the depth of its minimum at the reference parameter. Shaded regions show standard deviation over the 5 runs. The runtimes in Figure 5 are for one distance evaluation between two batches. For VSW and DSW, each evaluation is repeated 5 times, and the mean is averaged over all 50 pairs of batches. All runtimes are measured on the CPU.
Gradient Flow on Natural Images. The target meta-measure Q consists of ImageNet classes (Deng et al., 2009) (goose, koala, Persian cat, monarch, and macaw), each represented by the uniform empirical measure of its first 20 training images. Each image is resized and centre-cropped to , scaled to , and flattened, so that . The source meta-measure has the same shape, with clouds of particles drawn i.i.d. from . We run the particle scheme of Section 3.4 for 110,000 steps. At every step, we draw fresh slices ( slices, random Fourier features of a Gaussian RBF kernel) and a Monte Carlo estimate of the gradient in Eq. (7) by automatic differentiation. Since each particle carries mass , we multiply the gradient by so that the step size does not depend on the number of particles. The particles are updated by gradient descent with heavy-ball momentum 0.9, and the momentum is reset when the bandwidth changes. The bandwidth follows a two-phase schedule. The large bandwidth first moves each cloud towards a target cloud, and the smaller one then resolves individual images. The full run takes about 6 minutes on one GPU.
In Figure 6 (left), each row follows one particle of one class, and the last column shows its nearest ground-truth image of the matched class in Euclidean distance. For the right panel, we clip all snapshots to [0, 1], embed them with CLIP ViT-L/14 (Radford et al., 2021) using its standard preprocessing, and -normalize the embeddings. We then project them with a 2D PCA fitted on the 100 ground-truth embeddings only, so that all snapshots share the same axes. Each line traces one particle through the snapshots at steps 0, 1k, 2k, 3k, 5k, 8k, 15k, 25k, and 110k.
Parametric Generative Modeling. DSW (Piening and Beinert, 2026) uses slices and a 50-point quantile grid, with its GP length scale tuned per dataset (0.03 and 0.003). MMDSW (Bonet et al., 2025b) is the MMD with the sliced-Wasserstein Riesz kernel , with 128 projections and and , respectively. For DSW (Piening and Beinert, 2026), we again use a vectorized implementation that returns the same values as the reference one. We report the point-level between 4096 generated points, one from each of 4096 generated clouds, and 4096 points from the target, computed with POT (Flamary et al., 2021) and averaged over 2 draws. The ground-truth level is between two independent target samples of the same size. Curves show the mean and standard deviation over 3 seeds, and the scatter plots in Figure 7 show seed 1. The wall-clock is measured on GPU.
Shape Classification. We follow the protocol of Piening and Beinert (2026, Sec. 5.1) and use their released implementations of all baselines. Each shape is a metric-measure space given by its pairwise distance matrix, which we map to a meta-measure on : the outer measure is uniform over the points, and the inner measure of point i is the empirical distribution of its distances to all points, i.e., row i of the distance matrix. For every method, we compute the full matrix of distances between shapes and report the mean and standard deviation of the 3-NN accuracy over 1000 random stratified 25%/75% train/test splits. FAUST-500 and FAUST-1000 use the 100 MPI-FAUST training registrations (Bogo et al., 2014). For 2D Shapes (Beier et al., 2022) and Animals (Sumner and Popović, 2004), we use the preprocessed data released by Beier et al. (2022). For MNIST-2000, we follow the construction of Piening and Beinert (2026): for each digit 0–4, we build 20 shapes by sampling 2000 points from the mean training image proportionally to pixel intensity, adding Gaussian noise with standard deviation 3 pixels, and applying a random rotation, with Euclidean distances.
VSW uses L = 100 and R = 16. SQW and STLB use 100 projections and a 10-point quantile grid (length scale 0.01 for SQW), and TLB, AE, and GW are used as in the released code, without a feature term. To compare the methods fairly, VSW, SQW, and STLB each draw a single random basis for the whole distance matrix, so that every shape is projected once rather than once per pair. AE caches its per-shape energy self-terms, which changes its distances by less than 0.2%. TLB and GW are deterministic and admit no such amortization. Runtimes in Table 2 are the mean time per distance on CPU.