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 [2 ] , a collection of shapes as a distribution over point clouds where each point cloud is itself an empirical distribution [22 ] , and documents, cell populations, or mixture models can similarly be represented as collections of probability measures [48 , 33 ] . Formally, these objects are meta-measures P ∈ P ( P ( Ω ) ) \mathbb{P} \in\mathcal{P}(\mathcal{P}(\Omega)) P ∈ P ( P ( Ω )) , i.e., probability measures whose observations are themselves probability measures on Ω \Omega Ω . 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 [48 ] , generative modeling [16 ] , and the optimal transport dataset distance (OTDD) [2 ] . 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 ([16 , 9 ] ). Additionally, Bonet et al. [9 ] 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) ([35 ] ) uses one-dimensional Wasserstein projections and quantile representations, Busemann-based approaches slice along geodesic directions of Wasserstein space ([8 ] ), and s-OTDD uses moment-based projections for dataset comparison ([34 ] ). 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 f ∈ C ( Ω ) f \in C(\Omega) f ∈ C ( Ω ) , an inner measure μ \mu μ is represented by the scalar P f ( μ ) = ∫ Ω f d μ P_f(\mu) = \int_{\Omega} f\,\mathrm{d}\mu P f ( μ ) = ∫ Ω f d μ . Applying this projection to every inner measure converts a meta-measure into a one-dimensional distribution. Then, one can compare efficiently P \mathbb{P} P and Q \mathbb{Q} Q in P ( P ( Ω ) ) \mathcal{P}(\mathcal{P}(\Omega)) P ( P ( Ω )) using the one-dimensional p p p -Wasserstein distance W p W_p W p by V S W p p ( P , Q ) : = E f ∼ σ [ W p p ( ( P f ) # P , ( P f ) # Q ) ] \mathrm{VSW}_p^p(\mathbb{P}, \mathbb{Q}) := \mathbb{E}_{f\sim\sigma}[W_p^p((P_f)_\#\mathbb{P}, (P_f)_\#\mathbb{Q})] VSW p p ( P , Q ) := E f ∼ σ [ W p p (( P f ) # P , ( P f ) # Q )] , where σ \sigma σ is the law of a Gaussian process with universal covariance kernel κ \kappa κ . 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 V S W p \mathrm{VSW}_p VSW p is a metric and metrizes weak convergence. For p = 2 p = 2 p = 2 , 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 V S W 2 2 \mathrm{VSW}_2^2 VSW 2 2 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 V S W 2 \mathrm{VSW}_2 VSW 2 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 ([35 ] ), which first projects multivariate inner measures to one dimension, represents the resulting measures through quantile functions in L 2 ( [ 0 , 1 ] ) L^2([0,1]) L 2 ([ 0 , 1 ]) , 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 [10 ] , which, unlike VSW, requires optimization over a class of test functions.
Background and standing assumptions
Spaces. Throughout, ( Ω , ρ ) (\Omega,\rho) ( Ω , ρ ) is a compact metric space. When gradients on Ω \Omega Ω are needed (§ 3.2 –§ 3.4 ) we take Ω ⊂ R d \Omega\subset\mathbb{R}^{d} Ω ⊂ R d . C ( Ω ) C(\Omega) C ( Ω ) denotes the continuous real functions with the sup norm ∥ ⋅ ∥ ∞ \|\cdot\|_{\infty} ∥ ⋅ ∥ ∞ . Since Ω \Omega Ω is compact, ( C ( Ω ) , ∥ ⋅ ∥ ∞ ) (C(\Omega),\|\cdot\|_{\infty}) ( C ( Ω ) , ∥ ⋅ ∥ ∞ ) is a separable Banach space. By the Riesz–Markov representation theorem its dual is the space of finite signed Radon measures M ( Ω ) \mathcal{M}(\Omega) M ( Ω ) with the total variation norm, and P ( Ω ) \mathcal{P}(\Omega) P ( Ω ) is a convex subset of the unit ball of M ( Ω ) \mathcal{M}(\Omega) M ( Ω ) . The weak (narrow) topology on P ( Ω ) \mathcal{P}(\Omega) P ( Ω ) is the restriction of the weak∗ ^{*} ∗ topology of M ( Ω ) = C ( Ω ) ∗ \mathcal{M}(\Omega)=C(\Omega)^{*} M ( Ω ) = C ( Ω ) ∗ .
By Prokhorov’s theorem, P ( Ω ) \mathcal{P}(\Omega) P ( Ω ) is weakly compact and it is metrizable because C ( Ω ) C(\Omega) C ( Ω ) is separable. Its Borel σ \sigma σ -algebra, B ( P ( Ω ) ) \mathcal{B}(\mathcal{P}(\Omega)) B ( P ( Ω )) , is generated by the maps P f : P ( Ω ) → R P_f:\mathcal{P}(\Omega)\to\mathbb{R} P f : P ( Ω ) → R
P f : μ ↦ ⟨ f , μ ⟩ : = ∫ Ω f d μ , f ∈ C ( Ω ) , (1) P_f:\mu\mapsto\langle f,\mu\rangle:=\int_{\Omega}f\,\mathrm{d}\mu,\qquad f\in C(\Omega), \tag*{(1)} P f : μ ↦ ⟨ f , μ ⟩ := ∫ Ω f d μ , f ∈ C ( Ω ) , (1)
([23 Lem. 4.5 and Thm. 4.2] ). Since P ( Ω ) \mathcal{P}(\Omega) P ( Ω ) is itself a compact metric space, the same reasoning applies one level up: P ( P ( Ω ) ) \mathcal{P}(\mathcal{P}(\Omega)) P ( P ( Ω )) , the space of Borel probability measures on P ( Ω ) \mathcal{P}(\Omega) P ( Ω ) , is compact and metrizable in its weak topology. For P ∈ P ( P ( Ω ) ) \mathbb{P}\in\mathcal{P}(\mathcal{P}(\Omega)) P ∈ P ( P ( Ω )) we write μ ∼ P \mu\sim\mathbb{P} μ ∼ P for a random inner measure.
Note the two elementary but crucial algebraic properties of vertical projections defined by (1):
Lemma 2.1. For all f , g ∈ C ( Ω ) f,g\in C(\Omega) f , g ∈ C ( Ω ) , a , b ∈ R a,b\in\mathbb{R} a , b ∈ R , μ , μ 0 , μ 1 ∈ P ( Ω ) \mu,\mu_{0},\mu_{1}\in\mathcal{P}(\Omega) μ , μ 0 , μ 1 ∈ P ( Ω ) , and t ∈ [ 0 , 1 ] t\in[0,1] t ∈ [ 0 , 1 ] ,
P a f + b g ( μ ) = a P f ( μ ) + b P g ( μ ) , P f ( ( 1 − t ) μ 0 + t μ 1 ) = ( 1 − t ) P f ( μ 0 ) + t P f ( μ 1 ) . P_{af+bg}(\mu)=aP_f(\mu)+bP_g(\mu),\qquad P_f((1-t)\mu_{0}+t\mu_{1})=(1-t)P_f(\mu_{0})+tP_f(\mu_{1}). P a f + b g ( μ ) = a P f ( μ ) + b P g ( μ ) , P f (( 1 − t ) μ 0 + t μ 1 ) = ( 1 − t ) P f ( μ 0 ) + t P f ( μ 1 ) . Thus, P f ( μ ) P_f(\mu) P f ( μ ) is linear in f f f and affine in μ \mu μ along mixtures.
Optimal transport between one-dimensional measures. For p ≥ 1 p\geq1 p ≥ 1 and α , β ∈ P ( R ) \alpha,\beta\in\mathcal{P}(\mathbb{R}) α , β ∈ P ( R ) , with finite p p p -moment, 1 ≤ p < ∞ 1\leq p<\infty 1 ≤ p < ∞ , let F α , F β F_{\alpha},F_{\beta} F α , F β denote their corresponding Cumulative Distribution Functions (CDFs), and q α = F α − 1 q_{\alpha}=F_{\alpha}^{-1} q α = F α − 1 , q β = F β − 1 q_{\beta}=F_{\beta}^{-1} q β = F β − 1 be their quantile functions. The optimal transport cost is:
W p p ( α , β ) = ∫ 0 1 ∣ q α ( u ) − q β ( u ) ∣ p d u . (2) W_{p}^{p}(\alpha,\beta)=\int_{0}^{1}\lvert q_{\alpha}(u)-q_{\beta}(u)\rvert^{p}\,\mathrm{d}u. \tag*{(2)} W p p ( α , β ) = ∫ 0 1 ∣ q α ( u ) − q β ( u ) ∣ p d u . (2)
We use W p p ( α , β ) ≤ ( diam supp ) p − 1 W 1 ( α , β ) W_{p}^{p}(\alpha,\beta)\leq(\operatorname{diam}\operatorname{supp})^{p-1}W_{1}(\alpha,\beta) W p p ( α , β ) ≤ ( diam supp ) p − 1 W 1 ( α , β ) for compactly supported α , β \alpha,\beta α , β , and the empirical rate: if α \alpha α is supported in an interval of length ∣ I ∣ \lvert I\rvert ∣ I ∣ and α ^ N \widehat{\alpha}_{N} α N is the empirical measure of N N N i.i.d. samples, then
E W 1 ( α ^ N , α ) ≤ 1 N ∫ R F α ( 1 − F α ) ≤ ∣ I ∣ 2 N , (3) \mathbb{E}W_{1}(\widehat{\alpha}_{N},\alpha)\leq\frac{1}{\sqrt{N}}\int_{\mathbb{R}}\sqrt{F_{\alpha}(1-F_{\alpha})}\leq\frac{\lvert I\rvert}{2\sqrt{N}}, \tag*{(3)} E W 1 ( α N , α ) ≤ N 1 ∫ R F α ( 1 − F α ) ≤ 2 N ∣ I ∣ , (3)
where the first inequality follows from Bobkov and Ledoux [5 ] .
Gaussian slicing measure. We write σ \sigma σ for a Borel probability measure on C ( Ω ) C(\Omega) C ( Ω ) . A slicing direction is a realization f ∼ σ f\sim\sigma f ∼ σ , and L L L iid slices are f 1 , … , f L ∼ σ f_{1},\ldots,f_{L}\sim\sigma f 1 , … , f L ∼ σ . This is akin to the sliced-Wasserstein distance with Gaussian projections introduced by Nadjahi et al. [31 ] , but for meta-measures.
Assumption 1. We consider a continuous, symmetric, positive definite kernel and universal “slicing kernel” κ : Ω × Ω → R \kappa:\Omega\times\Omega\to\mathbb{R} κ : Ω × Ω → R , where universal means that the reproducing kernel Hilbert space (RKHS) H κ \mathcal{H}_{\kappa} H κ associated to κ \kappa κ is dense in ( C ( Ω ) , ∥ ⋅ ∥ ∞ ) (C(\Omega),\|\cdot\|_{\infty}) ( C ( Ω ) , ∥ ⋅ ∥ ∞ ) , and such that the centered Gaussian process with covariance kernel κ \kappa κ , GP ( 0 , κ ) \operatorname{GP}(0,\kappa) GP ( 0 , κ ) , admits a version with almost surely continuous sample paths.
Under the above assumption, we consider the model where f ∼ σ = GP ( 0 , κ ) f\sim\sigma=\operatorname{GP}(0,\kappa) f ∼ σ = GP ( 0 , κ ) . For every finite collection x 1 , … , x n ∈ Ω x_{1},\ldots,x_{n}\in\Omega x 1 , … , x n ∈ Ω , the random vector ( f ( x 1 ) , … , f ( x n ) ) (f(x_{1}),\ldots,f(x_{n})) ( f ( x 1 ) , … , f ( x n )) has law N ( 0 , K ) \mathcal{N}(0,K) N ( 0 , K ) , where K i j = E f ∼ GP ( 0 , κ ) [ f ( x i ) f ( x j ) ] = κ ( x i , x j ) K_{ij}=\mathbb{E}_{f\sim\operatorname{GP}(0,\kappa)}[f(x_{i})f(x_{j})]=\kappa(x_{i},x_{j}) K ij = E f ∼ GP ( 0 , κ ) [ f ( x i ) f ( x j )] = κ ( x i , x j ) . See extra details in Appendix § 8 .
Wasserstein-over-Wasserstein. For a Borel metric D D D on P ( Ω ) \mathcal{P}(\Omega) P ( Ω ) ,
W p , D p ( P , Q ) : = inf Γ ∈ Π ( P , Q ) ∫ D ( μ , ν ) p d Γ ( μ , ν ) , \mathsf{W}^{p}_{p,D}(\mathbb{P},\mathbb{Q}) := \inf_{\Gamma\in\Pi(\mathbb{P},\mathbb{Q})} \int D(\mu,\nu)^{p}\,\mathrm{d}\Gamma(\mu,\nu), W p , D p ( P , Q ) := Γ ∈ Π ( P , Q ) inf ∫ D ( μ , ν ) p d Γ ( μ , ν ) ,
with Π ( P , Q ) \Pi(\mathbb{P},\mathbb{Q}) Π ( P , Q ) the set of couplings between P , Q ∈ P ( P ( Ω ) ) \mathbb{P},\mathbb{Q} \in\mathcal{P}(\mathcal{P}(\Omega)) P , Q ∈ P ( P ( Ω )) . When D = W p D = W_p D = W p , it recovers the standard WoW distance, which we simply denote by W p \mathsf{W}_p W p . Additional details of this section are available in Appendix § 8 .
Our method: The Vertical Sliced Wasserstein distance
Definition 3.1. For P , Q ∈ P ( P ( Ω ) ) \mathbb{P},\mathbb{Q} \in\mathcal{P}(\mathcal{P}(\Omega)) P , Q ∈ P ( P ( Ω )) , p ∈ [ 1 , ∞ ) p \in[1,\infty) p ∈ [ 1 , ∞ ) , and σ = G P ( 0 , κ ) \sigma= \mathcal{GP}(0,\kappa) σ = G P ( 0 , κ ) the Gaussian slicing measure under Assumption 1, we define the Vertical Sliced Wasserstein discrepancy by
VSW p ( P , Q ) : = ( ∫ C ( Ω ) W p p ( ( P f ) # P , ( P f ) # Q ) d σ ( f ) ) 1 / p , (4) \operatorname{VSW}_{p}(\mathbb{P},\mathbb{Q}) := \left(\int_{\mathcal{C}(\Omega)} W_{p}^{p}\bigl((P_f)_{\#}\mathbb{P},(P_f)_{\#}\mathbb{Q}\bigr)\,\mathrm{d}\sigma(f)\right)^{1/p}, \tag*{(4)} VSW p ( P , Q ) := ( ∫ C ( Ω ) W p p ( ( P f ) # P , ( P f ) # Q ) d σ ( f ) ) 1/ p , (4) where, for each fixed f ∈ C ( Ω ) f \in C(\Omega) f ∈ C ( Ω ) , the pushforward ( P f ) # P ∈ P ( R ) (P_f)_{\#}\mathbb{P} \in\mathcal{P}(\mathbb{R}) ( P f ) # P ∈ P ( R ) is the law of the scalar vertical slice P f ( μ ) P_f(\mu) P f ( μ ) when μ ∼ P \mu\sim\mathbb{P} μ ∼ P defined precisely by ( P f ) # P ( B ) = P ( { μ ∈ P ( Ω ) : P f ( μ ) ∈ B } ) (P_f)_{\#}\mathbb{P}(B) = \mathbb{P}(\{\mu\in\mathcal{P}(\Omega) : P_f(\mu) \in B\}) ( P f ) # P ( B ) = P ({ μ ∈ P ( Ω ) : P f ( μ ) ∈ B }) for all B ∈ B ( R ) B \in\mathcal{B}(\mathbb{R}) B ∈ B ( R ) , which is supported on [ − ∥ f ∥ ∞ , ∥ f ∥ ∞ ] [-\lVert f\rVert_{\infty},\lVert f\rVert_{\infty}] [ − ∥ f ∥ ∞ , ∥ f ∥ ∞ ] (similarly for ( P f ) # Q (P_f)_{\#}\mathbb{Q} ( P f ) # Q ).
The “vertical” viewpoint reflects the affine structure of the space of measures: the slicers (1) are affine along mixtures ( 1 − t ) μ 0 + t μ 1 (1-t)\mu_0 + t\mu_1 ( 1 − t ) μ 0 + t μ 1 , as stated in Lemma 2.1 . In contrast, “horizontal” or transport geometry describes the movement of mass within Ω \Omega Ω , e.g., through displacement (McCann) interpolation μ t = ( ( 1 − t ) id + t T ) # μ 0 \mu_t = ((1-t)\operatorname{id}+tT)_{\#}\mu_0 μ t = (( 1 − t ) id + tT ) # μ 0 , for an optimal Monge map T T T for the quadratic-cost. A related distinction between spatial transport and local mass variation appears in unbalanced OT [12 , 27 ] ; here “vertical” specifically refers to affinity along probability mixtures.
Well-posedness, metricity, and topology of VSW
We show regularity of the slicing procedure to ensure that VSW p \operatorname{VSW}_p VSW p in (4) is well-defined (Lemma 3.2 ). Moreover, VSW p \operatorname{VSW}_p VSW p defines a true metric on P ( P ( Ω ) ) \mathcal{P}(\mathcal{P}(\Omega)) P ( P ( Ω )) (Theorem 3.3 ) which metrizes weak convergence (Proposition 3.5), and ( P ( P ( Ω ) ) , VSW 2 ) (\mathcal{P}(\mathcal{P}(\Omega)), \operatorname{VSW}_2) ( P ( P ( Ω )) , VSW 2 ) embeds isometrically into a Hilbert space (Theorem 3.6 ).
Lemma 3.2. (i) The map P : C ( Ω ) × P ( Ω ) → R P : C(\Omega) \times\mathcal{P}(\Omega) \to\mathbb{R} P : C ( Ω ) × P ( Ω ) → R , P ( f , μ ) : = ⟨ f , μ ⟩ P(f,\mu) := \langle f,\mu\rangle P ( f , μ ) := ⟨ f , μ ⟩ , is jointly continuous. (ii) For fixed P , Q ∈ P ( P ( Ω ) ) \mathbb{P},\mathbb{Q} \in\mathcal{P}(\mathcal{P}(\Omega)) P , Q ∈ P ( P ( Ω )) the map f ↦ W p ( ( P f ) # P , ( P f ) # Q ) f \mapsto W_p((P_f)_{\#}\mathbb{P},(P_f)_{\#}\mathbb{Q}) f ↦ W p (( P f ) # P , ( P f ) # Q ) is 2-Lipschitz from ( C ( Ω ) , ∥ ⋅ ∥ ∞ ) (C(\Omega),\lVert\cdot\rVert_{\infty}) ( C ( Ω ) , ∥ ⋅ ∥ ∞ ) to R \mathbb{R} R ; in particular it is continuous, and the integral in (4) is well defined and finite.
Theorem 3.3. VSW p \operatorname{VSW}_p VSW p is a metric on P ( P ( Ω ) ) \mathcal{P}(\mathcal{P}(\Omega)) P ( P ( Ω )) for every p ∈ [ 1 , ∞ ) p \in[1,\infty) p ∈ [ 1 , ∞ ) .
Remark 3.4 (Comparison with horizontal slicing). Busemann projections are not yet known to distinguish meta-measures in general [8 ] , while moment projections need additional assumptions ensuring that moments determine the measures [34 ] . 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 p ∈ [ 1 , ∞ ) p \in[1,\infty) p ∈ [ 1 , ∞ ) , the metric VSW p \operatorname{VSW}_p VSW p induces the weak topology on P ( P ( Ω ) ) \mathcal{P}(\mathcal{P}(\Omega)) P ( P ( Ω )) . In particular ( P ( P ( Ω ) ) , VSW p ) (\mathcal{P}(\mathcal{P}(\Omega)), \operatorname{VSW}_p) ( P ( P ( Ω )) , VSW p ) is a compact metric space.
Theorem 3.6. Let λ \lambda λ be Lebesgue measure on ( 0 , 1 ) (0,1) ( 0 , 1 ) . The map
T : P ( P ( Ω ) ) → L 2 ( C ( Ω ) × ( 0 , 1 ) , σ ⊗ λ ) , T ( P ) ( f , u ) : = q ( P f ) # P ( u ) , T : \mathcal{P}(\mathcal{P}(\Omega)) \to L^{2}(C(\Omega) \times(0,1), \sigma\otimes\lambda), \qquad T(\mathbb{P})(f,u) := q(\mathbb{P}_{f})_{\#}\mathbb{P}(u), T : P ( P ( Ω )) → L 2 ( C ( Ω ) × ( 0 , 1 ) , σ ⊗ λ ) , T ( P ) ( f , u ) := q ( P f ) # P ( u ) , is well defined and satisfies
∥ T ( P ) − T ( Q ) ∥ L 2 ( σ ⊗ λ ) = VSW 2 ( P , Q ) . \lVert T(\mathbb{P}) - T(\mathbb{Q}) \rVert_{L^{2}(\sigma\otimes\lambda)} = \operatorname{VSW}_{2}(\mathbb{P},\mathbb{Q}). ∥ T ( P ) − T ( Q ) ∥ L 2 ( σ ⊗ λ ) = VSW 2 ( P , Q ) . Hence ( P ( P ( Ω ) ) , VSW 2 ) (\mathcal{P}(\mathcal{P}(\Omega)),\operatorname{VSW}_{2}) ( P ( P ( Ω )) , VSW 2 ) embeds isometrically into a separable Hilbert space. Moreover, VSW 2 β \operatorname{VSW}_{2}^{\beta} VSW 2 β is conditionally negative definite for β ∈ ( 0 , 2 ] \beta\in(0,2] β ∈ ( 0 , 2 ] , so exp ( − γ VSW 2 β ) \exp(-\gamma\operatorname{VSW}_{2}^{\beta}) exp ( − γ VSW 2 β ) is positive definite for all γ > 0 \gamma> 0 γ > 0 .
Further details are provided in Appendices § 9 and § 12 , and all proofs of this section are in Appendix § 10 .
Computation
Sampling slices: For translation-invariant κ \kappa κ on Ω ⊂ R d \Omega\subset\mathbb{R}^{d} Ω ⊂ R d with spectral measure τ κ \tau_{\kappa} τ κ (Bochner), an R R R -feature slice is
f R ( x ) = 2 R ∑ r = 1 R a r cos ( ⟨ ω r , x ⟩ + b r ) , a r ∼ N ( 0 , 1 ) , ω r ∼ τ κ , b r ∼ Unif [ 0 , 2 π ] , (5) f_{R}(x) = \sqrt{\frac{2}{R}}\sum_{r=1}^{R} a_{r}\cos(\langle\omega_{r},x\rangle+ b_{r}), \qquad a_{r} \sim\mathcal{N}(0,1),\ \omega_{r} \sim\tau_{\kappa},\ b_{r} \sim\operatorname{Unif}[0,2\pi], \tag*{(5)} f R ( x ) = R 2 r = 1 ∑ R a r cos (⟨ ω r , x ⟩ + b r ) , a r ∼ N ( 0 , 1 ) , ω r ∼ τ κ , b r ∼ Unif [ 0 , 2 π ] , (5)
where we normalize κ ( x , x ) = κ ( 0 ) = 1 \kappa(x,x) = \kappa(0) = 1 κ ( x , x ) = κ ( 0 ) = 1 so that the spectral measure τ κ \tau_{\kappa} τ κ is a probability distribution. Conditionally on ( ω , b ) (\omega,b) ( ω , b ) , f R f_{R} f R is a Gaussian process whose covariance converges uniformly to κ \kappa κ as R → ∞ R \to\infty R → ∞ [37 ] . 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 ∇ f R ( x ) = 2 / R ∑ r a r sin ( ⟨ ω r , x ⟩ + b r ) ω r \nabla f_{R}(x) = \sqrt{2/R}\sum_{r} a_{r}\sin(\langle\omega_{r},x\rangle+ b_{r})\omega_{r} ∇ f R ( x ) = 2/ R ∑ r a r sin (⟨ ω r , x ⟩ + b r ) ω r .
Cost: The full VSW algorithm is shown in Algorithm 1 . Let N N N denote the maximum number of inner measures in either empirical meta-measure, and n n n the maximum number of points per inner measure. Evaluating L L L independent R R R feature slices costs O ( L N n R d + L N log N ) O(LNnRd + LN\log N) O ( L N n R d + L N log N ) . In practice, we share the Fourier basis ( ω r , b r ) r = 1 R (\omega_{r},b_{r})_{r=1}^{R} ( ω r , b r ) r = 1 R across slices and resample only the Gaussian coefficients (conditional on the basis, this estimates Gaussian-sliced Wasserstein between RFF mean embeddings in R R \mathbb{R}^{R} R R ; see Appendix § 10 for the scaling identity and pseudometric caveat). Computing and averaging the R R R basis features once for each inner measure, and reusing them across slices, reduces the cost to O ( N n R d + L N R + L N log N ) O(NnRd + LNR + LN\log N) O ( N n R d + L N R + L N log N ) . Unlike prior sliced WoW constructions, VSW requires no per inner-measure sorting or quantile representation. Its runtime advantages are verified empirically in § 4 .
Statistical properties
We consider the two-stage observation model of Szabó et al. [43 ] : inner measures μ 1 , … , μ N ∼ i i d P \mu_{1},\ldots,\mu_{N} \mathrel{\overset{\mathrm{iid}}{\sim}} \mathbb{P} μ 1 , … , μ N ∼ iid P ; for each i i i , points x i 1 , … , x i n ∼ i i d μ i x_{i1},\ldots,x_{in} \mathrel{\overset{\mathrm{iid}}{\sim}} \mu_{i} x i 1 , … , x in ∼ iid μ i (conditionally independent given μ i \mu_{i} μ i ), empirical inner measures μ ^ i = 1 n ∑ j δ x i j \hat{\mu}_{i} = \frac{1}{n}\sum_{j}\delta_{x_{ij}} μ ^ i = n 1 ∑ j δ x ij , and the plug-in meta-measures P ^ N = 1 N ∑ i = 1 N δ μ i \hat{\mathbb{P}}_{N} = \frac{1}{N}\sum_{i=1}^{N}\delta_{\mu_{i}} P ^ N = N 1 ∑ i = 1 N δ μ i , P ^ N , n = 1 N ∑ i = 1 N δ μ ^ i \hat{\mathbb{P}}_{N,n} = \frac{1}{N}\sum_{i=1}^{N}\delta_{\hat{\mu}_{i}} P ^ N , n = N 1 ∑ i = 1 N δ μ ^ i .
Theorem 3.7. For every p ∈ [ 1 , ∞ ) p \in[1,\infty) p ∈ [ 1 , ∞ ) , there exists C p < ∞ C_{p} < \infty C p < ∞ , depending only on p p p (with C p = 1 C_{p} = 1 C p = 1 for p ∈ [ 1 , 2 ] p \in[1,2] p ∈ [ 1 , 2 ] ), such that
E [ VSW p p ( P , P ^ N , n ) ] ≤ 2 p − 1 ( 1 2 2 p Λ p N − 1 / 2 + C p 2 p Λ p n − p / 2 ) , \mathbb{E}\left[\operatorname{VSW}_{p}^{p}(\mathbb{P},\hat{\mathbb{P}}_{N,n})\right] \le2^{p-1}\left(\frac{1}{2}2^{p}\Lambda_{p}N^{-1/2} + C_{p}2^{p}\Lambda_{p}n^{-p/2}\right), E [ VSW p p ( P , P ^ N , n ) ] ≤ 2 p − 1 ( 2 1 2 p Λ p N − 1/2 + C p 2 p Λ p n − p /2 ) , where Λ p = E σ ∥ f ∥ ∞ p < ∞ \Lambda_{p} = \mathbb{E}_{\sigma}\lVert f\rVert_{\infty}^{p} < \infty Λ p = E σ ∥ f ∥ ∞ p < ∞ . The rate exponents are dimension-free. Dependence on ( Ω , κ ) (\Omega,\kappa) ( Ω , κ ) enters only through the sup-norm moment, which is finite but may grow with the size of Ω \Omega Ω relative to the kernel bandwidth.
Algorithm 1 V S W ^ p \widehat{\mathrm{VSW}}_p VSW p between empirical meta-measures
Require: clouds { X i } i ≤ N \{X_i\}_{i\le N} { X i } i ≤ N , { Y k } k ≤ M \{Y_k\}_{k\le M} { Y k } k ≤ M ; kernel κ \kappa κ ; slices L L L ; features R R R ; order p p p
for l = 1 , … , L l=1,\ldots,L l = 1 , … , L do
sample f l f_l f l via (5) (or KL truncation)
s i ← 1 ∣ X i ∣ ∑ x ∈ X i f l ( x ) s_i \gets\frac{1}{|X_i|}\sum_{x\in X_i}f_l(x) s i ← ∣ X i ∣ 1 ∑ x ∈ X i f l ( x ) for all i i i ; t k ← 1 ∣ Y k ∣ ∑ y ∈ Y k f l ( y ) t_k \gets\frac{1}{|Y_k|}\sum_{y\in Y_k}f_l(y) t k ← ∣ Y k ∣ 1 ∑ y ∈ Y k f l ( y ) for all k k k
d l ← W p p ( 1 N ∑ i δ s i , 1 M ∑ k δ t k ) d_l \gets W_p^p\left(\frac{1}{N}\sum_i\delta_{s_i},\frac{1}{M}\sum_k\delta_{t_k}\right) d l ← W p p ( N 1 ∑ i δ s i , M 1 ∑ k δ t k ) ▷ sort + quantile matching, closed form (2)
end for
return 1 L ∑ l d l \frac{1}{L}\sum_l d_l L 1 ∑ l d l
Finally, the Monte Carlo slice complexity reads as follows:
Proposition 3.9. Let f 1 , … , f L ∼ i i d σ f_1,\ldots,f_L \overset{\mathrm{iid}}{\sim}\sigma f 1 , … , f L ∼ iid σ and V S W ^ L p ( P , Q ) : = 1 L ∑ l W p p ( ( P f l ) # P , ( P f l ) # Q ) \widehat{\mathrm{VSW}}_L^p(\mathbb{P},\mathbb{Q}) := \frac{1}{L}\sum_l W_p^p((P_{f_l})_\#\mathbb{P},(P_{f_l})_\#\mathbb{Q}) VSW L p ( P , Q ) := L 1 ∑ l W p p (( P f l ) # P , ( P f l ) # Q ) . Then
E ∣ V S W ^ L p − V S W p p ∣ ≤ Var σ [ W p p ] L ≤ 2 p Λ 2 p L . \mathbb{E}\left|\widehat{\mathrm{VSW}}_L^p-\mathrm{VSW}_p^p\right|\le\sqrt{\frac{\operatorname{Var}_{\sigma}\left[W_p^p\right]}{L}}\le2^p\sqrt{\frac{\Lambda_{2p}}{L}}. E VSW L p − VSW p p ≤ L Var σ [ W p p ] ≤ 2 p L Λ 2 p .
Following Nadjahi et al. [30 ] , we examine empirical scaling on Gaussian-mixture meta-measures for d ∈ { 2 , 10 , 20 , 50 , 100 } d\in\{2,10,20,50,100\} d ∈ { 2 , 10 , 20 , 50 , 100 } using finite Fourier features. Figure 1 shows an L − 1 / 2 L^{-1/2} L − 1/2 trend for Monte Carlo distance error against a finite-slice reference, and V S W 2 2 \mathrm{VSW}_2^2 VSW 2 2 trends of N − 1 / 2 N^{-1/2} N − 1/2 and n − 1 n^{-1} n − 1 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.
Figure 1. Statistical complexity analysis for empirical meta-measures X , Y X,Y X , Y . Setup in Appendix § 14 . The outer law has three atoms, so the N − 1 / 2 N^{-1/2} N − 1/2 reference for V S W 2 2 \mathrm{VSW}_2^2 VSW 2 2 corresponds to the atomic-outer rate (Remark C.2). Left: distance error against a 10 5 10^5 1 0 5 -slice reference. Right: X , Y X,Y X , Y share component labels to isolate inner sampling error.
Gradient flows: Practical implementation
We optimize the empirical V S W 2 2 \mathrm{VSW}_{2}^{2} VSW 2 2 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 Q ∈ P ( P ( Ω ) ) \mathbb{Q} \in\mathcal{P}(\mathcal{P}(\Omega)) Q ∈ P ( P ( Ω )) and define F : P ( P ( Ω ) ) → R F : \mathcal{P}(\mathcal{P}(\Omega)) \to\mathbb{R} F : P ( P ( Ω )) → R by F ( P ) : = V S W 2 2 ( P , Q ) = E f ∼ σ [ W 2 2 ( ( P f ) # P , ( P f ) # Q ) ] F(\mathbb{P}) := \mathrm{VSW}_{2}^{2}(\mathbb{P},\mathbb{Q}) = \mathbb{E}_{f \sim\sigma}[\mathrm{W}_{2}^{2}((P_f)_{\#}\mathbb{P},(P_f)_{\#}\mathbb{Q})] F ( P ) := VSW 2 2 ( P , Q ) = E f ∼ σ [ W 2 2 (( P f ) # P , ( P f ) # Q )] .
The discretization used in practice is as follows: Let Q = 1 N ∑ k = 1 N δ ν ^ k \mathbb{Q} = \frac{1}{N}\sum_{k=1}^{N}\delta_{\hat{\nu}_{k}} Q = N 1 ∑ k = 1 N δ ν ^ k , ν ^ k = 1 m ∑ l δ y k l \hat{\nu}_{k} = \frac{1}{m}\sum_l\delta_{y_{kl}} ν ^ k = m 1 ∑ l δ y k l , and P X = 1 N ∑ i = 1 N δ μ ^ i \mathbb{P}_{X} = \frac{1}{N}\sum_{i=1}^{N}\delta_{\hat{\mu}_{i}} P X = N 1 ∑ i = 1 N δ μ ^ i , μ ^ i = 1 n ∑ j δ x i j \hat{\mu}_{i} = \frac{1}{n}\sum_j\delta_{x_{ij}} μ ^ i = n 1 ∑ j δ x ij , with X = ( x i j ) ∈ ( R d ) N × n X = (x_{ij}) \in(\mathbb{R}^{d})^{N \times n} X = ( x ij ) ∈ ( R d ) N × n . For simplicity we take equal outer sizes. The quantile formulation also handles N ≠ M N \ne M N = M . Define
F ( X ) : = V S W 2 2 ( P X , Q ) = E f ∼ σ [ 1 N ∑ i = 1 N ( s ( i ) ( f ) − t ( i ) ( f ) ) 2 ] , (6) F(X) := \mathrm{VSW}_{2}^{2}(\mathbb{P}_{X},\mathbb{Q}) = \mathbb{E}_{f \sim\sigma}\left[\frac{1}{N}\sum_{i=1}^{N}\left(s_{(i)}(f)-t_{(i)}(f)\right)^{2}\right], \tag*{(6)} F ( X ) := VSW 2 2 ( P X , Q ) = E f ∼ σ [ N 1 i = 1 ∑ N ( s ( i ) ( f ) − t ( i ) ( f ) ) 2 ] , (6)
where s i ( f ) = 1 n ∑ j f ( x i j ) s_i(f) = \frac{1}{n}\sum_j f(x_{ij}) s i ( f ) = n 1 ∑ j f ( x ij ) , t k ( f ) = 1 m ∑ l f ( y k l ) t_k(f) = \frac{1}{m}\sum_l f(y_{kl}) t k ( f ) = m 1 ∑ l f ( y k l ) , and ( ⋅ ) ( i ) (\cdot)_{(i)} ( ⋅ ) ( i ) denotes increasing rearrangement. Here the projected laws α f = 1 N ∑ i δ s i ( f ) \alpha_f = \frac{1}{N}\sum_i\delta_{s_i(f)} α f = N 1 ∑ i δ s i ( f ) and β f = 1 N ∑ k δ t k ( f ) \beta_f = \frac{1}{N}\sum_k\delta_{t_k(f)} β f = N 1 ∑ k δ t k ( f ) 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 F F is differentiable at X X X , and
∇ x i j F ( X ) = 2 N n E f ∼ σ [ ( s ( i ) ( f ) − t π f ( i ) ( f ) ) ∇ f ( x i j ) ] . (7) \nabla_{x_{ij}}F(X) = \frac{2}{Nn}\mathbb{E}_{f \sim\sigma}\left[\left(s_{(i)}(f)-t_{\pi_f(i)}(f)\right)\nabla f(x_{ij})\right]. \tag*{(7)} ∇ x ij F ( X ) = N n 2 E f ∼ σ [ ( s ( i ) ( f ) − t π f ( i ) ( f ) ) ∇ f ( x ij ) ] . (7)
Consequently, the associated Euclidean particle gradient flow is x ˙ i j ( t ) = − ∇ x i j F ( X ( t ) ) \dot{x}_{ij}(t) = -\nabla_{x_{ij}}F(X(t)) x ˙ ij ( t ) = − ∇ x ij F ( X ( t )) , with the right-hand side given by (7) . The proof and corresponding algorithm are given in Appendix § 10 . In the ideal setting, replacing the expectation in Proposition 3.10 by an average over independent slices f 1 , … , f L ∼ σ f_1,\ldots,f_L \sim\sigma f 1 , … , f L ∼ σ 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.
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 § 13 and § 14 .
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 [2 , 28 ] . Following previous work [34 , 35 ] , we evaluate VSW as an efficient approximation to the optimal transport dataset distance (OTDD), comparing against s-OTDD [34 ] and DSW [35 ] , using OTDD [2 ] as the reference. We construct random pairs of sub-datasets from MNIST [25 ] , FashionMNIST [46 ] , and CIFAR-10 [24 ] and represent each dataset through its class-conditional empirical distributions. Following [35 ] , we use identical dataset pairs and feature representations across methods, remove the feature cost from OTDD so 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 S = P K S = PK S = P K , where P P P and K K 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.
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.
Figure 3. Runtime (s) vs the dataset size (each of 2 sets). VSW remains fastest among all methods.
Comparing Distributions of Point Clouds. Following the point-cloud distribution experiment of DSW (Piening and Beinert, [35 ] ), we evaluate whether VSW captures changes in distributions of 3D point clouds from ModelNet-10 (Wu et al., [45 ] ). 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.
Figure 4. Point cloud comparison metric trends.
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., [11 ] ) from PVD (Zhou et al., [49 ] ), 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 5.7 × 5.7 \times 5.7 × reduction in runtime. OT-NNA and WoW are both substantially slower.
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.
Comparing Image Distributions via Patch Distributions. Following DSW [35 ] , 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.
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 4.4× faster than DSW and nearly four orders of magnitude faster than exact WoW.
Figure 5. Comparing image distributions via patch distributions. VSW remains the fastest method, while achieving the same trend as baselines.
Gradient Flow on Natural Images. We use ImageNet (Deng et al., [14 ] ) 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., [36 ] ), 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.
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 ).
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, [35 ] ) and MMDSW (Bonet et al., [9 ] ). 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.
Figure 7. Parametric generation on Checkerboard and 8-Gaussians datasets.
Shape Classification. Following the protocol of DSW (Piening and Beinert, [35 ] ), we evaluate VSW on 2D Shapes (Beier et al., [3 ] ), Animals (Sumner and Popović, [42 ] ), FAUST-500/1000 (Bogo et al., [7 ] ) (500 and 1000 vertices per shape), and MNIST-2000 (Piening and Beinert, [35 ] ) 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 2.3–2.8× faster across all datasets.
Table 2. Shape classification with KNN (Acc., ↑) and runtime per distance computation (Time).
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.
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 V S W 2 \mathrm{VSW}_2 VSW 2 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. [9 ] , VSW defines the objective, while ( P ( P ( Ω ) ) , W 2 ) (\mathcal{P}(\mathcal{P}(\Omega)), \mathbb{W}_2) ( P ( P ( Ω )) , W 2 ) 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
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, a f + b g ∈ C ( Ω ) af+bg \in C(\Omega) a f + b g ∈ C ( Ω ) and
P a f + b g ( μ ) = ∫ Ω ( a f + b g ) d μ = a ∫ Ω f d μ + b ∫ Ω g d μ = a P f ( μ ) + b P g ( μ ) . P_{af+bg}(\mu)=\int_{\Omega}(af+bg)\,\mathrm{d}\mu=a\int_{\Omega}f\,\mathrm{d}\mu+b\int_{\Omega}g\,\mathrm{d}\mu=aP_f(\mu)+bP_g(\mu). P a f + b g ( μ ) = ∫ Ω ( a f + b g ) d μ = a ∫ Ω f d μ + b ∫ Ω g d μ = a P f ( μ ) + b P g ( μ ) .
For the second, μ t : = ( 1 − t ) μ 0 + t μ 1 ∈ P ( Ω ) \mu_t:=(1-t)\mu_0+t\mu_1\in\mathcal{P}(\Omega) μ t := ( 1 − t ) μ 0 + t μ 1 ∈ P ( Ω ) , and for every Borel B ⊂ Ω B\subset\Omega B ⊂ Ω we have μ t ( B ) = ( 1 − t ) μ 0 ( B ) + t μ 1 ( B ) \mu_t(B)=(1-t)\mu_0(B)+t\mu_1(B) μ t ( B ) = ( 1 − t ) μ 0 ( B ) + t μ 1 ( B ) ; the identity ∫ Ω f d μ t = ( 1 − t ) ∫ Ω f d μ 0 + t ∫ Ω f d μ 1 \int_{\Omega}f\,\mathrm{d}\mu_t=(1-t)\int_{\Omega}f\,\mathrm{d}\mu_0+t\int_{\Omega}f\,\mathrm{d}\mu_1 ∫ Ω f d μ t = ( 1 − t ) ∫ Ω f d μ 0 + t ∫ Ω f d μ 1 therefore holds for simple f f f and extends to all f ∈ C ( Ω ) f\in C(\Omega) f ∈ C ( Ω ) by uniform approximation and boundedness of f f f on the compact Ω \Omega Ω . Hence P f ( μ t ) = ( 1 − t ) P f ( μ 0 ) + t P f ( μ 1 ) P_f(\mu_t)=(1-t)P_f(\mu_0)+tP_f(\mu_1) P f ( μ t ) = ( 1 − t ) P f ( μ 0 ) + t P f ( μ 1 ) .
Details on the Slicing Kernel Assumption
We provide additional details for Assumption 1. Let f ∼ σ = GP ( 0 , κ ) f\sim\sigma=\operatorname{GP}(0,\kappa) f ∼ σ = GP ( 0 , κ ) , where κ \kappa κ is continuous and universal on the compact space Ω \Omega Ω , i.e., its RKHS H κ \mathcal{H}_{\kappa} H κ is dense in C ( Ω ) C(\Omega) C ( Ω ) . A standard example is the Gaussian radial basis function (RBF) kernel on compact Ω ⊂ R d \Omega\subset\mathbb{R}^{d} Ω ⊂ R d ([41 , 29 ] ).
The canonical metric induced by the Gaussian process is
d κ ( x , y ) : = ( E f ∼ σ [ ( f ( x ) − f ( y ) ) 2 ] ) 1 / 2 = ( κ ( x , x ) − 2 κ ( x , y ) + κ ( y , y ) ) 1 / 2 . d_{\kappa}(x,y):=\left(\mathbb{E}_{f\sim\sigma}\left[(f(x)-f(y))^{2}\right]\right)^{1/2}=\left(\kappa(x,x)-2\kappa(x,y)+\kappa(y,y)\right)^{1/2}. d κ ( x , y ) := ( E f ∼ σ [ ( f ( x ) − f ( y ) ) 2 ] ) 1/2 = ( κ ( x , x ) − 2 κ ( x , y ) + κ ( y , y ) ) 1/2 .
For a metric d d d , the covering number is defined as
N ( Ω , d , ε ) : = min { n ∈ N : ∃ x 1 , … , x n ∈ Ω such that Ω = ⋃ i = 1 n B d ( x i , ε ) } . N(\Omega,d,\varepsilon):=\min\left\{n\in\mathbb{N}:\exists x_1,\ldots,x_n\in\Omega\ \text{such that}\ \Omega=\bigcup_{i=1}^{n}B_d(x_i,\varepsilon)\right\}. N ( Ω , d , ε ) := min { n ∈ N : ∃ x 1 , … , x n ∈ Ω such that Ω = i = 1 ⋃ n B d ( x i , ε ) } .
The sample-path continuity required by Assumption 1 is guaranteed by Dudley’s entropy condition
∫ 0 1 log N ( Ω , d κ , ε ) d ε < ∞ , \int_{0}^{1}\sqrt{\log N(\Omega,d_{\kappa},\varepsilon)}\,\mathrm{d}\varepsilon<\infty, ∫ 0 1 log N ( Ω , d κ , ε ) d ε < ∞ ,
where N N N denotes the covering number. Under this condition, the Gaussian process admits a version with almost surely continuous sample paths ([15 , 1 ] ). Universality remains a separate requirement on κ \kappa κ .
Lemma A.1. Under Assumption 1, (i) there is ε > 0 \varepsilon>0 ε > 0 with E σ exp ( ε ∥ f ∥ ∞ 2 ) < ∞ \mathbb{E}_{\sigma}\exp(\varepsilon\|f\|_{\infty}^{2})<\infty E σ exp ( ε ∥ f ∥ ∞ 2 ) < ∞ ; in particular Λ r : = E σ ∥ f ∥ ∞ r < ∞ \Lambda_r:=\mathbb{E}_{\sigma}\|f\|_{\infty}^{r}<\infty Λ r := E σ ∥ f ∥ ∞ r < ∞ for all r ≥ 1 r\ge1 r ≥ 1 ([17 , 26 ] ); (ii) supp ( σ ) = H κ ∥ ⋅ ∥ ∞ = C ( Ω ) \operatorname{supp}(\sigma)=\mathcal{H}_{\kappa}^{\|\cdot\|_{\infty}}=C(\Omega) supp ( σ ) = H κ ∥ ⋅ ∥ ∞ = C ( Ω ) ([6 Thm. 3.6.1] ), see also ([44 ] ).
Remark A.2. More specifically, from (ii), we have that for any f ∈ C ( Ω ) f\in C(\Omega) f ∈ C ( Ω ) , ϵ > 0 \epsilon>0 ϵ > 0 , there exists finitely many x 1 , … , x n ∈ Ω x_1,\ldots,x_n\in\Omega x 1 , … , x n ∈ Ω , c 1 , … , c n ∈ R c_1,\ldots,c_n\in\mathbb{R} c 1 , … , c n ∈ R , with ∥ f − ∑ i = 1 n c i κ ( ⋅ , x i ) ∥ ∞ < ϵ \left\|f-\sum_{i=1}^{n}c_i\kappa(\cdot,x_i)\right\|_{\infty}<\epsilon ∥ f − ∑ i = 1 n c i κ ( ⋅ , x i ) ∥ ∞ < ϵ .
Assumption 2. We assume that the underlying space Ω ⊂ R d \Omega\subset\mathbb{R}^{d} Ω ⊂ R d is compact and that κ ∈ C 2 ( Ω × Ω ) \kappa\in C^{2}(\Omega\times\Omega) κ ∈ C 2 ( Ω × Ω ) . Then the derivative process ∇ f = ( ∂ 1 f , … , ∂ d f ) \nabla f=(\partial_1f,\ldots,\partial_df) ∇ f = ( ∂ 1 f , … , ∂ d f ) is a centered Gaussian field with covariance
E σ [ ∂ i f ( x ) ∂ j f ( y ) ] = ∂ 2 κ ( x , y ) ∂ x i ∂ y j , i , j = 1 , … , d , \mathbb{E}_{\sigma}\left[\partial_i f(x)\,\partial_j f(y)\right]=\frac{\partial^{2}\kappa(x,y)}{\partial x_i\,\partial y_j},\qquad i,j=1,\ldots,d, E σ [ ∂ i f ( x ) ∂ j f ( y ) ] = ∂ x i ∂ y j ∂ 2 κ ( x , y ) , i , j = 1 , … , d ,
and we assume that its canonical metric
d ∇ ( x , y ) : = ( E σ ∥ ∇ f ( x ) − ∇ f ( y ) ∥ 2 ) 1 / 2 d_{\nabla}(x,y):=\left(\mathbb{E}_{\sigma}\|\nabla f(x)-\nabla f(y)\|^{2}\right)^{1/2} d ∇ ( x , y ) := ( E σ ∥∇ f ( x ) − ∇ f ( y ) ∥ 2 ) 1/2
satisfies Dudley’s entropy condition ∫ 0 1 log N ( Ω , d ∇ , ε ) d ε < ∞ \int_{0}^{1}\sqrt{\log N(\Omega,d_{\nabla},\varepsilon)}\,\mathrm{d}\varepsilon<\infty ∫ 0 1 log N ( Ω , d ∇ , ε ) d ε < ∞ . Under these hypotheses f ∈ C 1 ( Ω ) f\in C^{1}(\Omega) f ∈ C 1 ( Ω ) for σ \sigma σ -a.e. f f f , i.e. σ ( C 1 ( Ω ) ) = 1 \sigma(C^{1}(\Omega))=1 σ ( C 1 ( Ω )) = 1 , and the Borell–TIS inequality (Adler and Taylor, [1 ] ) gives
E σ [ sup x ∈ Ω ∥ ∇ f ( x ) ∥ r ] < ∞ for all r ≥ 1. \mathbb{E}_{\sigma}\left[\sup_{x\in\Omega}\|\nabla f(x)\|^{r}\right]<\infty\qquad\text{for all }r\ge1. E σ [ x ∈ Ω sup ∥∇ f ( x ) ∥ r ] < ∞ for all r ≥ 1.
For instance, the Gaussian RBF kernel is C ∞ C^{\infty} C ∞ and satisfies these conditions, with C ∞ C^{\infty} C ∞ sample paths.
Schoenberg theory. A metric d d d on a set X X X is Hilbertian if it is realized by an isometric feature map: there exist a Hilbert space H \mathcal{H} H and a map ϕ : X → H \phi:X\to\mathcal{H} ϕ : X → H with
d ( x , y ) = ∥ ϕ ( x ) − ϕ ( y ) ∥ H for all x , y ∈ X . d(x,y)=\|\phi(x)-\phi(y)\|_{\mathcal{H}}\qquad\text{for all }x,y\in X. d ( x , y ) = ∥ ϕ ( x ) − ϕ ( y ) ∥ H for all x , y ∈ X .
A symmetric function ψ : X × X → R \psi:X\times X\to\mathbb{R} ψ : X × X → R with ψ ( x , x ) = 0 \psi(x,x)=0 ψ ( x , x ) = 0 is conditionally negative definite (CND) if
∑ i , j = 1 n c i c j ψ ( x i , x j ) ≤ 0 whenever n ∈ N , x 1 , … , x n ∈ X , c ∈ R n , ∑ i = 1 n c i = 0 , \sum_{i,j=1}^{n}c_{i}c_{j}\psi(x_{i},x_{j})\le0\qquad\text{whenever }n\in\mathbb{N},\ x_{1},\ldots,x_{n}\in X,\ c\in\mathbb{R}^{n},\ \sum_{i=1}^{n}c_{i}=0, i , j = 1 ∑ n c i c j ψ ( x i , x j ) ≤ 0 whenever n ∈ N , x 1 , … , x n ∈ X , c ∈ R n , i = 1 ∑ n c i = 0 ,
that is, negative semi-definiteness restricted to the hyperplane of zero-sum coefficient vectors. Schoenberg’s theorem states that d d d is Hilbertian if and only if d 2 d^{2} d 2 is CND, and that a nonnegative CND function stays CND under fractional powers: ψ \psi ψ CND implies ψ α \psi^{\alpha} ψ α CND for every α ∈ ( 0 , 1 ] \alpha\in(0,1] α ∈ ( 0 , 1 ] . Applying this with ψ = d 2 \psi=d^{2} ψ = d 2 and α = β / 2 \alpha=\beta/2 α = β /2 gives that d β d^{\beta} d β is CND for every β ∈ ( 0 , 2 ] \beta\in(0,2] β ∈ ( 0 , 2 ] , and by the CND–PD correspondence
d β is CND ⟺ exp ( − γ d β ) is positive definite for every γ > 0 , d^{\beta}\text{ is CND}\Longleftrightarrow\exp(-\gamma d^{\beta})\text{ is positive definite for every }\gamma>0, d β is CND ⟺ exp ( − γ d β ) is positive definite for every γ > 0 ,
we conclude that
K γ , β ( x , y ) = exp ( − γ d ( x , y ) β ) K_{\gamma,\beta}(x,y)=\exp\left(-\gamma d(x,y)^{\beta}\right) K γ , β ( x , y ) = exp ( − γ d ( x , y ) β )
is a positive definite kernel on X X X for all γ > 0 \gamma>0 γ > 0 and β ∈ ( 0 , 2 ] \beta\in(0,2] β ∈ ( 0 , 2 ] ([39 , 4 ] ).
Our method: Position between kernel and transport lifts
Writing m μ : = ∫ κ ( ⋅ , x ) d μ ( x ) ∈ H κ m_{\mu}:=\int\kappa(\cdot,x)\,\mathrm{d}\mu(x)\in\mathcal{H}_{\kappa} m μ := ∫ κ ( ⋅ , x ) d μ ( x ) ∈ H κ , the Gaussian field μ ↦ P f ( μ ) \mu\mapsto P_{f}(\mu) μ ↦ P f ( μ ) has covariance E σ [ P f ( μ ) P f ( ν ) ] = ⟨ m μ , m ν ⟩ H κ \mathbb{E}_{\sigma}[P_{f}(\mu)P_{f}(\nu)]=\langle m_{\mu},m_{\nu}\rangle_{\mathcal{H}_{\kappa}} E σ [ P f ( μ ) P f ( ν )] = ⟨ m μ , m ν ⟩ H κ . Thus VSW uses Gaussian linear probes of the embedded meta-measures, in the sense of an isonormal Gaussian process on H κ \mathcal{H}_{\kappa} H κ . This connects the construction to Hilbert-space slicing (Han, [21 ] ) and kernel expected sliced Wasserstein (Naslidnyk et al., [32 ] ). It does not identify their slicing laws: our GP is C ( Ω ) C(\Omega) C ( Ω ) -valued and need not be H κ \mathcal{H}_{\kappa} H κ -valued, whereas a Hilbert-valued Gaussian requires trace-class covariance. Intrinsic sliced Wasserstein (Rustamov and Majumdar, [38 ] ) instead pushes each inner measure through Laplacian eigenfunctions to one-dimensional laws; VSW takes scalar expectations and then compares their outer distributions.
Define MMD κ ( μ , ν ) = ∥ ∫ κ ( ⋅ , x ) d ( μ − ν ) ( x ) ∥ H κ \operatorname{MMD}_{\kappa}(\mu,\nu)=\left\|\int\kappa(\cdot,x)\,\mathrm{d}(\mu-\nu)(x)\right\|_{\mathcal{H}_{\kappa}} MMD κ ( μ , ν ) = ∫ κ ( ⋅ , x ) d ( μ − ν ) ( x ) H κ , which satisfies
MMD κ 2 ( μ , ν ) = ∬ κ d ( μ − ν ) ⊗ d ( μ − ν ) = E f ∼ σ [ ⟨ f , μ − ν ⟩ 2 ] . (8) \operatorname{MMD}_{\kappa}^{2}(\mu,\nu)=\iint\kappa\,\mathrm{d}(\mu-\nu)\otimes\mathrm{d}(\mu-\nu)=\mathbb{E}_{f\sim\sigma}\left[\langle f,\mu-\nu\rangle^{2}\right]. \tag*{(8)} MMD κ 2 ( μ , ν ) = ∬ κ d ( μ − ν ) ⊗ d ( μ − ν ) = E f ∼ σ [ ⟨ f , μ − ν ⟩ 2 ] . (8)
Write c p : = E ∣ Z ∣ p = 2 p / 2 Γ ( p + 1 2 ) / π c_{p}:=\mathbb{E}|Z|^{p}=2^{p/2}\Gamma\left(\frac{p+1}{2}\right)/\sqrt{\pi} c p := E ∣ Z ∣ p = 2 p /2 Γ ( 2 p + 1 ) / π for Z ∼ N ( 0 , 1 ) Z\sim\mathcal{N}(0,1) Z ∼ N ( 0 , 1 ) (so c 2 = 1 c_{2}=1 c 2 = 1 , c 1 = 2 / π c_{1}=\sqrt{2/\pi} c 1 = 2/ π ).
Proposition B.1 (Exact restriction to Diracs: VSW extends MMD). For all μ , ν ∈ P ( Ω ) \mu,\nu\in\mathcal{P}(\Omega) μ , ν ∈ P ( Ω ) and p ∈ [ 1 , ∞ ) p \in[1,\infty) p ∈ [ 1 , ∞ ) ,
VSW p ( δ μ , δ ν ) = c p 1 / p MMD κ ( μ , ν ) . \operatorname{VSW}_{p}(\delta_{\mu},\delta_{\nu}) = c_{p}^{1/p}\operatorname{MMD}_{\kappa}(\mu,\nu). VSW p ( δ μ , δ ν ) = c p 1/ p MMD κ ( μ , ν ) . In particular the embedding μ ↦ δ μ \mu\mapsto\delta_{\mu} μ ↦ δ μ is, up to the constant c p 1 / p c_{p}^{1/p} c p 1/ p , an isometry from ( P ( Ω ) , MMD κ ) (\mathcal{P}(\Omega),\operatorname{MMD}_{\kappa}) ( P ( Ω ) , MMD κ ) into ( P ( P ( Ω ) ) , VSW p ) (\mathcal{P}(\mathcal{P}(\Omega)),\operatorname{VSW}_{p}) ( P ( P ( Ω )) , VSW p ) .
Proof of Proposition B.1. Under δ μ \delta_{\mu} δ μ , the projected law is the point mass at ⟨ f , μ ⟩ \langle f,\mu\rangle ⟨ f , μ ⟩ , so the slice value is ∣ ⟨ f , μ − ν ⟩ ∣ |\langle f,\mu-\nu\rangle| ∣ ⟨ f , μ − ν ⟩ ∣ . The scalar ⟨ f , μ − ν ⟩ \langle f,\mu-\nu\rangle ⟨ f , μ − ν ⟩ is centered Gaussian with variance MMD κ 2 ( μ , ν ) \operatorname{MMD}_{\kappa}^{2}(\mu,\nu) MMD κ 2 ( μ , ν ) by (8) ; taking p p p -th absolute moments and p p p -th roots gives the claim.
Proposition B.2 (Upper bound: Wasserstein over MMD, tight on Diracs). For all P , Q ∈ P ( P ( Ω ) ) \mathbb{P},\mathbb{Q} \in\mathcal{P}(\mathcal{P}(\Omega)) P , Q ∈ P ( P ( Ω )) and p ∈ [ 1 , ∞ ) p \in[1,\infty) p ∈ [ 1 , ∞ ) ,
VSW p ( P , Q ) ≤ c p 1 / p W p , MMD κ ( P , Q ) . \operatorname{VSW}_{p}(\mathbb{P},\mathbb{Q}) \le c_{p}^{1/p}\mathcal{W}_{p,\operatorname{MMD}_{\kappa}}(\mathbb{P},\mathbb{Q}). VSW p ( P , Q ) ≤ c p 1/ p W p , MMD κ ( P , Q ) . with equality when P , Q \mathbb{P},\mathbb{Q} P , Q are Dirac meta-measures. If in addition Assumption 2 holds and L p : = E σ [ Lip ( f ) p ] 1 / p < ∞ L_{p}:=\mathbb{E}_{\sigma}[\operatorname{Lip}(f)^{p}]^{1/p}<\infty L p := E σ [ Lip ( f ) p ] 1/ p < ∞ , then also
VSW p ( P , Q ) ≤ L p W p , W 1 ( P , Q ) ≤ L p W p , W p ( P , Q ) . \operatorname{VSW}_{p}(\mathbb{P},\mathbb{Q}) \le L_{p}\mathcal{W}_{p,\mathcal{W}_{1}}(\mathbb{P},\mathbb{Q}) \le L_{p}\mathcal{W}_{p,\mathcal{W}_{p}}(\mathbb{P},\mathbb{Q}). VSW p ( P , Q ) ≤ L p W p , W 1 ( P , Q ) ≤ L p W p , W p ( P , Q ) .
Proof of Proposition B.2. Let Γ ∈ Π ( P , Q ) \Gamma\in\Pi(\mathbb{P},\mathbb{Q}) Γ ∈ Π ( P , Q ) be arbitrary. For each f f f , ( P f × P f ) # Γ (P_{f}\times P_{f})_{\#}\Gamma ( P f × P f ) # Γ couples the projected laws, so W p ( ( P f ) # P , ( P f ) # Q ) ≤ ∫ ∣ ⟨ f , μ − ν ⟩ ∣ p d Γ ( μ , ν ) \mathcal{W}_{p}((P_{f})_{\#}\mathbb{P},(P_{f})_{\#}\mathbb{Q}) \le\int|\langle f,\mu-\nu\rangle|^{p}\,\mathrm{d}\Gamma(\mu,\nu) W p (( P f ) # P , ( P f ) # Q ) ≤ ∫ ∣ ⟨ f , μ − ν ⟩ ∣ p d Γ ( μ , ν ) . Integrate in f f f and use Fubini:
VSW p p ( P , Q ) ≤ ∫ ( E σ ∣ ⟨ f , μ − ν ⟩ ∣ p ) d Γ ( μ , ν ) = c p ∫ MMD κ ( μ , ν ) p d Γ ( μ , ν ) . \operatorname{VSW}_{p}^{p}(\mathbb{P},\mathbb{Q}) \le\int\left(\mathbb{E}_{\sigma}|\langle f,\mu-\nu\rangle|^{p}\right)\,\mathrm{d}\Gamma(\mu,\nu) = c_{p}\int\operatorname{MMD}_{\kappa}(\mu,\nu)^{p}\,\mathrm{d}\Gamma(\mu,\nu). VSW p p ( P , Q ) ≤ ∫ ( E σ ∣ ⟨ f , μ − ν ⟩ ∣ p ) d Γ ( μ , ν ) = c p ∫ MMD κ ( μ , ν ) p d Γ ( μ , ν ) .
Taking the infimum over Γ \Gamma Γ proves the bound.
Proposition B.3 (Lower bound: intensities in MMD). For all P , Q ∈ P ( P ( Ω ) ) \mathbb{P},\mathbb{Q} \in\mathcal{P}(\mathcal{P}(\Omega)) P , Q ∈ P ( P ( Ω )) and all p ∈ [ 1 , ∞ ) p \in[1,\infty) p ∈ [ 1 , ∞ ) ,
VSW p ( P , Q ) ≥ c p 1 / p MMD κ ( m P , m Q ) , \operatorname{VSW}_{p}(\mathbb{P},\mathbb{Q}) \ge c_{p}^{1/p}\operatorname{MMD}_{\kappa}(m_{\mathbb{P}},m_{\mathbb{Q}}), VSW p ( P , Q ) ≥ c p 1/ p MMD κ ( m P , m Q ) , where m P , m Q m_{\mathbb{P}},m_{\mathbb{Q}} m P , m Q are the intensity measures, in particular, m P ( B ) = E μ ∼ P [ μ ( B ) ] m_{\mathbb{P}}(B)=\mathbb{E}_{\mu\sim\mathbb{P}}[\mu(B)] m P ( B ) = E μ ∼ P [ μ ( B )] , ∀ B ∈ B ( Ω ) \forall B\in\mathcal{B}(\Omega) ∀ B ∈ B ( Ω ) .
Proof of Proposition B.3. For laws α , β \alpha,\beta α , β on R \mathbb{R} R , any coupling ( X , Y ) (X,Y) ( X , Y ) satisfies, by Jensen, E ∣ X − Y ∣ p ≥ ∣ E X − E Y ∣ p \mathbb{E}|X-Y|^{p}\ge|\mathbb{E}X-\mathbb{E}Y|^{p} E ∣ X − Y ∣ p ≥ ∣ E X − E Y ∣ p ; hence W p ( α , β ) ≥ ∣ mean ( α ) − mean ( β ) ∣ \mathcal{W}_{p}(\alpha,\beta)\ge|\operatorname{mean}(\alpha)-\operatorname{mean}(\beta)| W p ( α , β ) ≥ ∣ mean ( α ) − mean ( β ) ∣ . The mean of ( P f ) # P (P_{f})_{\#}\mathbb{P} ( P f ) # P is E μ ∼ P ⟨ f , μ ⟩ = ⟨ f , m P ⟩ \mathbb{E}_{\mu\sim\mathbb{P}}\langle f,\mu\rangle=\langle f,m_{\mathbb{P}}\rangle E μ ∼ P ⟨ f , μ ⟩ = ⟨ f , m P ⟩ by Fubini. Therefore VSW p p ≥ E σ ∣ ⟨ f , m P − m Q ⟩ ∣ p \operatorname{VSW}_{p}^{p}\ge\mathbb{E}_{\sigma}|\langle f,m_{\mathbb{P}}-m_{\mathbb{Q}}\rangle|^{p} VSW p p ≥ E σ ∣ ⟨ f , m P − m Q ⟩ ∣ p . The scalar ⟨ f , m P − m Q ⟩ \langle f,m_{\mathbb{P}}-m_{\mathbb{Q}}\rangle ⟨ f , m P − m Q ⟩ is centered Gaussian with variance MMD κ 2 ( m P , m Q ) \operatorname{MMD}_{\kappa}^{2}(m_{\mathbb{P}},m_{\mathbb{Q}}) MMD κ 2 ( m P , m Q ) by (8) .
Example B.4 (Strictness: identical intensities, positive VSW). Let a ≠ b ∈ Ω a\ne b\in\Omega a = b ∈ Ω and consider
P = δ 1 2 ( δ a + δ b ) versus Q = 1 2 δ δ a + 1 2 δ δ b . \mathbb{P}=\delta_{\frac{1}{2}(\delta_{a}+\delta_{b})}
\qquad\textit{versus}\qquad
\mathbb{Q}=\frac{1}{2}\delta_{\delta_{a}}+\frac{1}{2}\delta_{\delta_{b}}. P = δ 2 1 ( δ a + δ b ) versus Q = 2 1 δ δ a + 2 1 δ δ b . Both have intensity m P = m Q = 1 2 ( δ a + δ b ) m_{\mathbb{P}}=m_{\mathbb{Q}}=\frac{1}{2}(\delta_{a}+\delta_{b}) m P = m Q = 2 1 ( δ a + δ b ) , so every comparison based on intensities—in particular the level-2 MMD of mean embeddings—vanishes, and Proposition B.3 is uninformative. Fix f ∈ C ( Ω ) f\in C(\Omega) f ∈ C ( Ω ) . Under P \mathbb{P} P the projected law is the point mass at s : = 1 2 ( f ( a ) + f ( b ) ) s:=\frac{1}{2}(f(a)+f(b)) s := 2 1 ( f ( a ) + f ( b )) ; under Q \mathbb{Q} Q it is 1 2 δ f ( a ) + 1 2 δ f ( b ) \frac{1}{2}\delta_{f(a)}+\frac{1}{2}\delta_{f(b)} 2 1 δ f ( a ) + 2 1 δ f ( b ) . The only coupling of a Dirac with another law is the product, and f ( a ) − s = s − f ( b ) = 1 2 ( f ( a ) − f ( b ) ) f(a)-s=s-f(b)=\frac{1}{2}(f(a)-f(b)) f ( a ) − s = s − f ( b ) = 2 1 ( f ( a ) − f ( b )) , so
W p p ( ( P f ) # P , ( P f ) # Q ) = 1 2 ∣ f ( a ) − s ∣ p + 1 2 ∣ f ( b ) − s ∣ p = 2 − p ∣ f ( a ) − f ( b ) ∣ p . \mathcal{W}_{p}^{p}((P_{f})_{\#}\mathbb{P},(P_{f})_{\#}\mathbb{Q})=\frac{1}{2}|f(a)-s|^{p}+\frac{1}{2}|f(b)-s|^{p}=2^{-p}|f(a)-f(b)|^{p}. W p p (( P f ) # P , ( P f ) # Q ) = 2 1 ∣ f ( a ) − s ∣ p + 2 1 ∣ f ( b ) − s ∣ p = 2 − p ∣ f ( a ) − f ( b ) ∣ p . Since f ( a ) − f ( b ) ∼ N ( 0 , d κ ( a , b ) 2 ) f(a)-f(b)\sim\mathcal{N}(0,d_{\kappa}(a,b)^{2}) f ( a ) − f ( b ) ∼ N ( 0 , d κ ( a , b ) 2 ) , integrating in f f f gives
VSW p p ( P , Q ) = 2 − p E σ ∣ f ( a ) − f ( b ) ∣ p = 2 − p c p d κ ( a , b ) p > 0 , \operatorname{VSW}_{p}^{p}(\mathbb{P},\mathbb{Q})=2^{-p}\mathbb{E}_{\sigma}|f(a)-f(b)|^{p}=2^{-p}c_{p}d_{\kappa}(a,b)^{p}>0, VSW p p ( P , Q ) = 2 − p E σ ∣ f ( a ) − f ( b ) ∣ p = 2 − p c p d κ ( a , b ) p > 0 , the strict positivity because d κ ( a , b ) > 0 d_{\kappa}(a,b)>0 d κ ( a , b ) > 0 whenever $\kappa is strictly positive definite and a ≠ b a\ne b a = b . Thus VSW sees the outer (transport) structure that intensity comparisons cannot; every slice with f ( a ) ≠ f ( b ) f(a)\ne f(b) f ( a ) = f ( b ) separates the two meta-measures.
Corollary B.6 (Universal characteristic kernels on meta-measures). For every γ > 0 \gamma> 0 γ > 0 and β ∈ ( 0 , 2 ] \beta\in(0, 2] β ∈ ( 0 , 2 ] , the kernel
K γ , β ( P , Q ) = exp ( − γ VSW 2 β ( P , Q ) ) K_{\gamma,\beta}(\mathbb{P},\mathbb{Q}) = \exp\left(-\gamma\operatorname{VSW}_{2}^{\beta}(\mathbb{P},\mathbb{Q})\right) K γ , β ( P , Q ) = exp ( − γ VSW 2 β ( P , Q ) ) is positive definite on P ( P ( Ω ) ) \mathcal{P}(\mathcal{P}(\Omega)) P ( P ( Ω )) . Moreover, it is continuous and universal on the compact metric space ( P ( P ( Ω ) ) , weak ) (\mathcal{P}(\mathcal{P}(\Omega)), \text{weak}) ( P ( P ( Ω )) , weak ) , hence characteristic. Consequently, the MMD induced by K γ , β K_{\gamma,\beta} K γ , β is a metric on the space of Borel probability measures over P ( P ( Ω ) ) \mathcal{P}(\mathcal{P}(\Omega)) P ( P ( Ω )) .
Proof of Corollary B.6. Positive definiteness. By Theorem 3.6 , there is an isometric embedding T : ( P ( P ( Ω ) ) , VSW 2 ) → H T : (\mathcal{P}(\mathcal{P}(\Omega)), \operatorname{VSW}_{2}) \to H T : ( P ( P ( Ω )) , VSW 2 ) → H into a Hilbert space H H H with VSW 2 ( P , Q ) = ∥ T ( P ) − T ( Q ) ∥ H \operatorname{VSW}_{2}(\mathbb{P},\mathbb{Q}) = \lVert T(\mathbb{P}) - T(\mathbb{Q}) \rVert_{H} VSW 2 ( P , Q ) = ∥ T ( P ) − T ( Q ) ∥ H . Hence VSW 2 2 \operatorname{VSW}_{2}^{2} VSW 2 2 is conditionally negative definite (CND). For every β ∈ ( 0 , 2 ] \beta\in(0, 2] β ∈ ( 0 , 2 ] , we have β / 2 ∈ ( 0 , 1 ] \beta/2 \in(0, 1] β /2 ∈ ( 0 , 1 ] , so r ↦ r β / 2 r \mapsto r^{\beta/2} r ↦ r β /2 is a Bernstein function on [ 0 , ∞ ) [0,\infty) [ 0 , ∞ ) . Applying it to the nonnegative CND function VSW 2 2 \operatorname{VSW}_{2}^{2} VSW 2 2 shows that ( VSW 2 2 ) β / 2 = VSW 2 β (\operatorname{VSW}_{2}^{2})^{\beta/2} = \operatorname{VSW}_{2}^{\beta} ( VSW 2 2 ) β /2 = VSW 2 β is CND. Schoenberg’s theorem then yields that K γ , β ( P , Q ) = exp ( − γ VSW 2 β ( P , Q ) ) K_{\gamma,\beta}(\mathbb{P},\mathbb{Q}) = \exp(-\gamma\operatorname{VSW}_{2}^{\beta}(\mathbb{P},\mathbb{Q})) K γ , β ( P , Q ) = exp ( − γ VSW 2 β ( P , Q )) is positive definite for all γ > 0 \gamma> 0 γ > 0 and β ∈ ( 0 , 2 ] \beta\in(0, 2] β ∈ ( 0 , 2 ] .
Continuity. By Proposition 3.5, VSW 2 \operatorname{VSW}_{2} VSW 2 induces the weak topology on P ( P ( Ω ) ) \mathcal{P}(\mathcal{P}(\Omega)) P ( P ( Ω )) , hence ( P , Q ) ↦ VSW 2 ( P , Q ) (\mathbb{P},\mathbb{Q}) \mapsto\operatorname{VSW}_{2}(\mathbb{P},\mathbb{Q}) ( P , Q ) ↦ VSW 2 ( P , Q ) is continuous for the weak topology. Composing with t ↦ exp ( − γ t β ) t \mapsto\exp(-\gamma t^{\beta}) t ↦ exp ( − γ t β ) gives continuity of K γ , β K_{\gamma,\beta} K γ , β .
Universality and characteristicness. The space ( P ( P ( Ω ) ) , weak ) (\mathcal{P}(\mathcal{P}(\Omega)), \text{weak}) ( P ( P ( Ω )) , weak ) is compact. For β = 2 \beta= 2 β = 2 , K γ , 2 ( P , Q ) = exp ( − γ ∥ T ( P ) − T ( Q ) ∥ H 2 ) K_{\gamma,2}(\mathbb{P},\mathbb{Q}) = \exp(-\gamma\lVert T(\mathbb{P}) - T(\mathbb{Q}) \rVert_{H}^{2}) K γ , 2 ( P , Q ) = exp ( − γ ∥ T ( P ) − T ( Q ) ∥ H 2 ) is the restriction of a Gaussian kernel on the Hilbert space H H H to the compact set T ( P ( P ( Ω ) ) ) T(\mathcal{P}(\mathcal{P}(\Omega))) T ( P ( P ( Ω ))) . Such a Gaussian kernel is universal on compact subsets of a separable Hilbert space (e.g. [13 ] ); therefore K γ , 2 K_{\gamma,2} K γ , 2 is universal on P ( P ( Ω ) ) \mathcal{P}(\mathcal{P}(\Omega)) P ( P ( Ω )) .
For β ∈ ( 0 , 2 ) \beta\in(0, 2) β ∈ ( 0 , 2 ) , the function ψ ( t ) : = exp ( − γ t β / 2 ) \psi(t) := \exp(-\gamma t^{\beta/2}) ψ ( t ) := exp ( − γ t β /2 ) is completely monotone on [ 0 , ∞ ) [0,\infty) [ 0 , ∞ ) , so by Bernstein’s theorem there exists a probability measure ν β \nu_{\beta} ν β on [ 0 , ∞ ) [0,\infty) [ 0 , ∞ ) such that ψ ( t ) = ∫ 0 ∞ e − s t d ν β ( s ) \psi(t) = \int_{0}^{\infty} e^{-st} \, \mathrm{d}\nu_{\beta}(s) ψ ( t ) = ∫ 0 ∞ e − s t d ν β ( s ) and ν β ( ( 0 , ∞ ) ) > 0 \nu_{\beta}((0,\infty)) > 0 ν β (( 0 , ∞ )) > 0 . Substituting t = VSW 2 2 ( P , Q ) t = \operatorname{VSW}_{2}^{2}(\mathbb{P},\mathbb{Q}) t = VSW 2 2 ( P , Q ) gives
K γ , β ( P , Q ) = ∫ 0 ∞ exp ( − s VSW 2 2 ( P , Q ) ) d ν β ( s ) . K_{\gamma,\beta}(\mathbb{P},\mathbb{Q}) = \int_{0}^{\infty} \exp\left(-s\operatorname{VSW}_{2}^{2}(\mathbb{P},\mathbb{Q})\right) \, \mathrm{d}\nu_{\beta}(s). K γ , β ( P , Q ) = ∫ 0 ∞ exp ( − s VSW 2 2 ( P , Q ) ) d ν β ( s ) .
If a finite signed Borel measure η \eta η on P ( P ( Ω ) ) \mathcal{P}(\mathcal{P}(\Omega)) P ( P ( Ω )) satisfies ∬ K γ , β d η ⊗ d η = 0 \iint K_{\gamma,\beta} \, \mathrm{d}\eta\otimes\mathrm{d}\eta= 0 ∬ K γ , β d η ⊗ d η = 0 , Fubini applies because the kernels are bounded and η \eta η has finite total variation. The nonnegative Gaussian-kernel quadratic forms therefore vanish for ν β \nu_{\beta} ν β -a.e. s s s , hence for some s > 0 s > 0 s > 0 . Universality of exp ( − s VSW 2 2 ) \exp(-s\operatorname{VSW}_{2}^{2}) exp ( − s VSW 2 2 ) forces η = 0 \eta= 0 η = 0 by the equivalence between universality and integral strict positive definiteness on compact spaces ([40 Prop. 4] ). The same equivalence proves universality of K γ , β K_{\gamma,\beta} K γ , β ; universal continuous kernels on compact metric spaces are characteristic.
Proofs of the Statements in Section 3
Proof of Lemma 3.2. (i) Let ( f n , μ n ) → ( f , μ ) (f_n,\mu_n) \to(f,\mu) ( f n , μ n ) → ( f , μ ) in C ( Ω ) × P ( Ω ) C(\Omega) \times\mathcal{P}(\Omega) C ( Ω ) × P ( Ω ) . In particular:
f n → f f_n \to f f n → f in ( C ( Ω ) , ∥ ⋅ ∥ ∞ ) (C(\Omega), \|\cdot\|_\infty) ( C ( Ω ) , ∥ ⋅ ∥ ∞ ) , i.e. ∥ f n − f ∥ ∞ = sup x ∈ Ω ∣ f n ( x ) − f ( x ) ∣ → 0 \|f_n-f\|_\infty=\sup_{x\in\Omega}|f_n(x)-f(x)|\to0 ∥ f n − f ∥ ∞ = sup x ∈ Ω ∣ f n ( x ) − f ( x ) ∣ → 0 , which is uniform convergence on Ω \Omega Ω ;
μ n → μ \mu_n \to\mu μ n → μ in P ( Ω ) \mathcal{P}(\Omega) P ( Ω ) , i.e. μ n ⇀ μ \mu_n \rightharpoonup\mu μ n ⇀ μ weakly: ∫ Ω g d μ n → ∫ Ω g d μ \int_\Omega g\,d\mu_n \to\int_\Omega g\,d\mu ∫ Ω g d μ n → ∫ Ω g d μ for every g ∈ C ( Ω ) g\in C(\Omega) g ∈ C ( Ω ) .
Then
∣ ⟨ f n , μ n ⟩ − ⟨ f , μ ⟩ ∣ ≤ ∣ ⟨ f n − f , μ n ⟩ ∣ + ∣ ⟨ f , μ n ⟩ − ⟨ f , μ ⟩ ∣ ≤ ∥ f n − f ∥ ∞ + ∣ ⟨ f , μ n ⟩ − ⟨ f , μ ⟩ ∣ . |\langle f_n,\mu_n\rangle-\langle f,\mu\rangle|\leq|\langle f_n-f,\mu_n\rangle|+|\langle f,\mu_n\rangle-\langle f,\mu\rangle|\leq\|f_n-f\|_\infty+|\langle f,\mu_n\rangle-\langle f,\mu\rangle|. ∣ ⟨ f n , μ n ⟩ − ⟨ f , μ ⟩ ∣ ≤ ∣ ⟨ f n − f , μ n ⟩ ∣ + ∣ ⟨ f , μ n ⟩ − ⟨ f , μ ⟩ ∣ ≤ ∥ f n − f ∥ ∞ + ∣ ⟨ f , μ n ⟩ − ⟨ f , μ ⟩ ∣.
The first term tends to zero by uniform convergence, while the second tends to zero by weak convergence, since the fixed function f ∈ C ( Ω ) f\in C(\Omega) f ∈ C ( Ω ) is bounded and continuous. Hence P P P is jointly continuous.
(ii) Choose fixed f , g ∈ C ( Ω ) f,g\in C(\Omega) f , g ∈ C ( Ω ) , the deterministic map μ ↦ ( P f ( μ ) , P g ( μ ) ) \mu\mapsto(P_f(\mu),P_g(\mu)) μ ↦ ( P f ( μ ) , P g ( μ )) pushes P P P to a coupling between ( P f ) # P (P_f)_\#P ( P f ) # P and ( P g ) # P (P_g)_\#P ( P g ) # P . We have:
E μ ∼ P ∣ P f ( μ ) − P g ( μ ) ∣ p = E μ ∼ P ∣ ∫ ( f − g ) d μ ∣ p ≤ E μ ∼ P ∫ ∣ f − g ∣ p d μ ≤ sup x ∈ Ω ∣ f ( x ) − g ( x ) ∣ p = ∥ f − g ∥ ∞ p . \begin{aligned}
\mathbb{E}_{\mu\sim P}|P_f(\mu)-P_g(\mu)|^p
&=\mathbb{E}_{\mu\sim P}\left|\int(f-g)d\mu\right|^p\\
&\leq\mathbb{E}_{\mu\sim P}\int|f-g|^p\,d\mu\\
&\leq\sup_{x\in\Omega}|f(x)-g(x)|^p\\
&=\|f-g\|_\infty^p.
\end{aligned} E μ ∼ P ∣ P f ( μ ) − P g ( μ ) ∣ p = E μ ∼ P ∫ ( f − g ) d μ p ≤ E μ ∼ P ∫ ∣ f − g ∣ p d μ ≤ x ∈ Ω sup ∣ f ( x ) − g ( x ) ∣ p = ∥ f − g ∥ ∞ p .
hence W p ( ( P f ) # P , ( P g ) # P ) ≤ ∥ f − g ∥ ∞ W_p((P_f)_\#P,(P_g)_\#P)\leq\|f-g\|_\infty W p (( P f ) # P , ( P g ) # P ) ≤ ∥ f − g ∥ ∞ , and similarly for Q Q Q . The triangle inequality for W p W_p W p on P p ( R ) \mathcal{P}_p(\mathbb{R}) P p ( R ) then gives ∣ W p ( ( P f ) # P , ( P f ) # Q ) − W p ( ( P g ) # P , ( P g ) # Q ) ∣ ≤ 2 ∥ f − g ∥ ∞ |W_p((P_f)_\#P,(P_f)_\#Q)-W_p((P_g)_\#P,(P_g)_\#Q)|\leq2\|f-g\|_\infty ∣ W p (( P f ) # P , ( P f ) # Q ) − W p (( P g ) # P , ( P g ) # Q ) ∣ ≤ 2∥ f − g ∥ ∞ . Thus f ↦ W p ( ( P f ) # P , ( P f ) # Q ) f\mapsto W_p((P_f)_\#P,(P_f)_\#Q) f ↦ W p (( P f ) # P , ( P f ) # Q ) is 2-Lipschitz.
Finiteness. Fix f ∈ C ( Ω ) f\in C(\Omega) f ∈ C ( Ω ) . As noted after Definition 3.1 , both ( P f ) # P (P_f)_\#P ( P f ) # P and ( P f ) # Q (P_f)_\#Q ( P f ) # Q are supported in the interval I f : = [ − ∥ f ∥ ∞ , ∥ f ∥ ∞ ] I_f:=[-\|f\|_\infty,\|f\|_\infty] I f := [ − ∥ f ∥ ∞ , ∥ f ∥ ∞ ] , of length ∣ I f ∣ = 2 ∥ f ∥ ∞ |I_f|=2\|f\|_\infty ∣ I f ∣ = 2∥ f ∥ ∞ . Consequently every coupling π ∈ Π ( ( P f ) # P , ( P f ) # Q ) \pi\in\Pi((P_f)_\#P,(P_f)_\#Q) π ∈ Π (( P f ) # P , ( P f ) # Q ) is supported in I f × I f I_f\times I_f I f × I f , on which ∣ x − y ∣ ≤ 2 ∥ f ∥ ∞ |x-y|\leq2\|f\|_\infty ∣ x − y ∣ ≤ 2∥ f ∥ ∞ , so
W p p ( ( P f ) # P , ( P f ) # Q ) = inf π ∈ Π ( ( P f ) # P , ( P f ) # Q ) ∫ R × R ∣ x − y ∣ p d π ( x , y ) ≤ ( 2 ∥ f ∥ ∞ ) p . W_p^p((P_f)_\#P,(P_f)_\#Q)=\inf_{\pi\in\Pi((P_f)_\#P,(P_f)_\#Q)}\int_{\mathbb{R}\times\mathbb{R}}|x-y|^p\,d\pi(x,y)\leq(2\|f\|_\infty)^p. W p p (( P f ) # P , ( P f ) # Q ) = π ∈ Π (( P f ) # P , ( P f ) # Q ) inf ∫ R × R ∣ x − y ∣ p d π ( x , y ) ≤ ( 2∥ f ∥ ∞ ) p .
Integrating this bound against σ \sigma σ and using Lemma A.1(i),
VSW p p ( P , Q ) = ∫ C ( Ω ) W p p ( ( P f ) # P , ( P f ) # Q ) d σ ( f ) ≤ 2 p ∫ C ( Ω ) ∥ f ∥ ∞ p d σ ( f ) = 2 p Λ p < ∞ . \operatorname{VSW}_p^p(P,Q)=\int_{C(\Omega)}W_p^p((P_f)_\#P,(P_f)_\#Q)\,d\sigma(f)\leq2^p\int_{C(\Omega)}\|f\|_\infty^p\,d\sigma(f)=2^p\Lambda_p<\infty. VSW p p ( P , Q ) = ∫ C ( Ω ) W p p (( P f ) # P , ( P f ) # Q ) d σ ( f ) ≤ 2 p ∫ C ( Ω ) ∥ f ∥ ∞ p d σ ( f ) = 2 p Λ p < ∞.
The integral in (4) is therefore well defined.
Proof of Theorem 3.3 . We first show that VSW p \operatorname{VSW}_p VSW p is a pseudometric on P ( P ( Ω ) ) \mathcal{P}(\mathcal{P}(\Omega)) P ( P ( Ω )) : it is finite, symmetric, vanishes on the diagonal, and satisfies the triangle inequality.
Finiteness was established in Lemma 3.2 (ii): VSW p p ( P , Q ) ≤ 2 p Λ p < ∞ \operatorname{VSW}_p^p(P,Q)\leq2^p\Lambda_p<\infty VSW p p ( P , Q ) ≤ 2 p Λ p < ∞ for all P , Q ∈ P ( P ( Ω ) ) P,Q\in\mathcal{P}(\mathcal{P}(\Omega)) P , Q ∈ P ( P ( Ω )) .
Symmetry is inherited slicewise: W p W_p W p is symmetric on P ( R ) \mathcal{P}(\mathbb{R}) P ( R ) .
Vanishing on the diagonal: if P = Q P=Q P = Q then ( P f ) # P = ( P f ) # Q (P_f)_\#P=(P_f)_\#Q ( P f ) # P = ( P f ) # Q for every f ∈ C ( Ω ) f\in C(\Omega) f ∈ C ( Ω ) .
Triangle inequality. Let P , Q , R ′ ∈ P ( P ( Ω ) ) P,Q,R'\in\mathcal{P}(\mathcal{P}(\Omega)) P , Q , R ′ ∈ P ( P ( Ω )) and write h P Q ( f ) : = W p ( ( P f ) # P , ( P f ) # Q ) h_{PQ}(f):=W_p((P_f)_\#P,(P_f)_\#Q) h P Q ( f ) := W p (( P f ) # P , ( P f ) # Q ) , so that VSW p ( P , Q ) = ∥ h P Q ∥ L p ( σ ) \operatorname{VSW}_p(P,Q)=\|h_{PQ}\|_{L^p(\sigma)} VSW p ( P , Q ) = ∥ h P Q ∥ L p ( σ ) by (4) . For each fixed f f f , the triangle inequality for W p W_p W p on P ( R ) \mathcal{P}(\mathbb{R}) P ( R ) gives the pointwise bound
h P Q ( f ) ≤ h P R ′ ( f ) + h R ′ Q ( f ) . h_{PQ}(f)\leq h_{PR'}(f)+h_{R'Q}(f). h P Q ( f ) ≤ h P R ′ ( f ) + h R ′ Q ( f ) .
Taking L p ( σ ) L^p(\sigma) L p ( σ ) norms and applying Minkowski’s inequality gives the result.
The only property left to verify is identity of indiscernibles. Assume VSW p ( P , Q ) = 0 \operatorname{VSW}_{p}(\mathbb{P},\mathbb{Q})=0 VSW p ( P , Q ) = 0 .
Define
A : = { f ∈ C ( Ω ) : ( P f ) # P = ( P f ) # Q } = { f ∈ C ( Ω ) : W p ( ( P f ) # P , ( P f ) # Q ) = 0 } . A := \{f \in C(\Omega) : (P_f)_{\#}\mathbb{P}=(P_f)_{\#}\mathbb{Q}\}=\{f \in C(\Omega) : W_p((P_f)_{\#}\mathbb{P},(P_f)_{\#}\mathbb{Q})=0\}. A := { f ∈ C ( Ω ) : ( P f ) # P = ( P f ) # Q } = { f ∈ C ( Ω ) : W p (( P f ) # P , ( P f ) # Q ) = 0 } .
The two descriptions agree because both projected laws are compactly supported, hence lie in P p ( R ) \mathcal{P}_p(\mathbb{R}) P p ( R ) , the subspace of P ( R ) \mathcal{P}(\mathbb{R}) P ( R ) of measures with finite p p p -moment, on which W p W_p W p is a metric.
Step 0 (σ ( A ) = 1 \sigma(A)=1 σ ( A ) = 1 ). By assumption and (4) ,
0 = VSW p ( P , Q ) = ∫ C ( Ω ) W p p ( ( P f ) # P , ( P f ) # Q ) d σ ( f ) . 0=\operatorname{VSW}_{p}(\mathbb{P},\mathbb{Q})=\int_{C(\Omega)}W_p^p((P_f)_{\#}\mathbb{P},(P_f)_{\#}\mathbb{Q})\,\mathrm{d}\sigma(f). 0 = VSW p ( P , Q ) = ∫ C ( Ω ) W p p (( P f ) # P , ( P f ) # Q ) d σ ( f ) .
The integrand is nonnegative and Borel (Lemma 3.2 (ii)), so it vanishes σ \sigma σ -a.e., i.e. σ ( A ) = 1 \sigma(A)=1 σ ( A ) = 1 .
Step 1 (A = C ( Ω ) A=C(\Omega) A = C ( Ω ) ). The map h ( f ) : = W p ( ( P f ) # P , ( P f ) # Q ) h(f):=W_p((P_f)_{\#}\mathbb{P},(P_f)_{\#}\mathbb{Q}) h ( f ) := W p (( P f ) # P , ( P f ) # Q ) is continuous by Lemma 3.2 (ii), hence A = h − 1 ( { 0 } ) A=h^{-1}(\{0\}) A = h − 1 ({ 0 }) is closed. Since σ ( A ) = 1 \sigma(A)=1 σ ( A ) = 1 , closedness implies supp σ ⊆ A \operatorname{supp}\sigma\subseteq A supp σ ⊆ A . By Lemma A.1(ii) and universality (Assumption 1), supp σ = C ( Ω ) \operatorname{supp}\sigma=C(\Omega) supp σ = C ( Ω ) , hence A = C ( Ω ) A=C(\Omega) A = C ( Ω ) . Therefore
( P f ) # P = ( P f ) # Q for every f ∈ C ( Ω ) . (9) (P_f)_{\#}\mathbb{P}=(P_f)_{\#}\mathbb{Q}\qquad\text{for every }f\in C(\Omega). \tag*{(9)} ( P f ) # P = ( P f ) # Q for every f ∈ C ( Ω ) . (9)
Step 2 (finite-dimensional distributions agree). Fix k ∈ N k\in\mathbb{N} k ∈ N and f 1 , … , f k ∈ C ( Ω ) f_1,\ldots,f_k\in C(\Omega) f 1 , … , f k ∈ C ( Ω ) . Consider X : P ( Ω ) → R k X:\mathcal{P}(\Omega)\to\mathbb{R}^k X : P ( Ω ) → R k , X ( μ ) = ( P f 1 ( μ ) , … , P f k ( μ ) ) X(\mu)=(P_{f_1}(\mu),\ldots,P_{f_k}(\mu)) X ( μ ) = ( P f 1 ( μ ) , … , P f k ( μ )) . For any t ∈ R k t\in\mathbb{R}^k t ∈ R k , Lemma 2.1 gives
⟨ t , X ( μ ) ⟩ = ∑ j = 1 k t j P f j ( μ ) = P g t ( μ ) , g t : = ∑ j = 1 k t j f j ∈ C ( Ω ) . \langle t,X(\mu)\rangle=\sum_{j=1}^{k}t_jP_{f_j}(\mu)=P_{g_t}(\mu),\qquad g_t:=\sum_{j=1}^{k}t_jf_j\in C(\Omega). ⟨ t , X ( μ )⟩ = j = 1 ∑ k t j P f j ( μ ) = P g t ( μ ) , g t := j = 1 ∑ k t j f j ∈ C ( Ω ) .
Applying (9) to g t g_t g t shows that ⟨ t , X ⟩ \langle t,X\rangle ⟨ t , X ⟩ has the same law under μ ∼ P \mu\sim\mathbb{P} μ ∼ P and under μ ∼ Q \mu\sim\mathbb{Q} μ ∼ Q . By the Cramér–Wold theorem, the laws of X X X under P \mathbb{P} P and Q \mathbb{Q} Q coincide, i.e.
( P f 1 , … , P f k ) # P = ( P f 1 , … , P f k ) # Q in P ( R k ) . (10) (P_{f_1},\ldots,P_{f_k})_{\#}\mathbb{P}=(P_{f_1},\ldots,P_{f_k})_{\#}\mathbb{Q}\qquad\text{in }\mathcal{P}(\mathbb{R}^k). \tag*{(10)} ( P f 1 , … , P f k ) # P = ( P f 1 , … , P f k ) # Q in P ( R k ) . (10)
Step 3 (P = Q \mathbb{P}=\mathbb{Q} P = Q ). Let
C : = { { μ ∈ P ( Ω ) : ( P f 1 ( μ ) , … , P f k ( μ ) ) ∈ B } : k ∈ N , f 1 , … , f k ∈ C ( Ω ) , B ∈ B ( R k ) } . \mathcal{C}:=\{\{\mu\in\mathcal{P}(\Omega):(P_{f_1}(\mu),\ldots,P_{f_k}(\mu))\in B\}:k\in\mathbb{N},\ f_1,\ldots,f_k\in C(\Omega),\ B\in\mathcal{B}(\mathbb{R}^k)\}. C := {{ μ ∈ P ( Ω ) : ( P f 1 ( μ ) , … , P f k ( μ )) ∈ B } : k ∈ N , f 1 , … , f k ∈ C ( Ω ) , B ∈ B ( R k )} .
Then C \mathcal{C} C is a π \pi π -system (closed under finite intersections). Moreover σ ( C ) = B ( P ( Ω ) ) \sigma(\mathcal{C})=\mathcal{B}(\mathcal{P}(\Omega)) σ ( C ) = B ( P ( Ω )) because the weak Borel σ \sigma σ -algebra is generated by the maps P f P_f P f (§ 2 ).
Define L : = { C ∈ B ( P ( Ω ) ) : P ( C ) = Q ( C ) } \mathcal{L}:=\{C\in\mathcal{B}(\mathcal{P}(\Omega)):\mathbb{P}(C)=\mathbb{Q}(C)\} L := { C ∈ B ( P ( Ω )) : P ( C ) = Q ( C )} . This is a λ \lambda λ -system. By (10) , we have C ⊆ L \mathcal{C}\subseteq\mathcal{L} C ⊆ L . Dynkin’s π \pi π –λ \lambda λ theorem yields σ ( C ) ⊆ L \sigma(\mathcal{C})\subseteq\mathcal{L} σ ( C ) ⊆ L , hence B ( P ( Ω ) ) ⊆ L \mathcal{B}(\mathcal{P}(\Omega))\subseteq\mathcal{L} B ( P ( Ω )) ⊆ L and therefore P = Q \mathbb{P}=\mathbb{Q} P = Q . □
Remark C.1. Only Step 1 uses universality, and it does so through the support theorem: the closed agreement set A A A must contain supp σ \operatorname{supp}\sigma supp σ . If κ \kappa κ is not universal, Steps 0–3 still yield ( P f ) # P = ( P f ) # Q (P_f)_{\#}\mathbb{P}=(P_f)_{\#}\mathbb{Q} ( P f ) # P = ( P f ) # Q for every f ∈ H κ f\in\mathcal{H}_{\kappa} f ∈ H κ , hence P = Q \mathbb{P}=\mathbb{Q} P = Q on F κ : = σ { P f : f ∈ H κ } ⊆ B ( P ( Ω ) ) \mathcal{F}_{\kappa}:=\sigma\{P_f:f\in\mathcal{H}_{\kappa}\}\subseteq\mathcal{B}(\mathcal{P}(\Omega)) F κ := σ { P f : f ∈ H κ } ⊆ B ( P ( Ω )) . Thus VSW p \operatorname{VSW}_p VSW p remains a pseudometric on P ( P ( Ω ) ) \mathcal{P}(\mathcal{P}(\Omega)) P ( P ( Ω )) whose null relation is exactly agreement on F κ \mathcal{F}_{\kappa} F κ , and it is a metric on the corresponding quotient; when F κ ⊊ B ( P ( Ω ) ) \mathcal{F}_{\kappa}\subsetneq\mathcal{B}(\mathcal{P}(\Omega)) F κ ⊊ B ( P ( Ω )) , distinct meta-measures can be at VSW p \operatorname{VSW}_p VSW p -distance zero. Conversely, any slicing measure with full support in C ( Ω ) C(\Omega) C ( Ω ) (not necessarily Gaussian) and finite Λ p \Lambda_p Λ p 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 V S W p → 0 \mathrm{VSW}_{p} \to0 VSW p → 0 . Let P m ⇀ P \mathbb{P}_{m} \rightharpoonup\mathbb{P} P m ⇀ P in the weak topology on P ( P ( Ω ) ) \mathcal{P}(\mathcal{P}(\Omega)) P ( P ( Ω )) , and fix f ∈ C ( Ω ) f \in C(\Omega) f ∈ C ( Ω ) . Since P f : P ( Ω ) → R P_{f} : \mathcal{P}(\Omega) \to\mathbb{R} P f : P ( Ω ) → R is continuous (Lemma 3.2 (i)), for every g ∈ C b ( R ) g \in C_{b}(\mathbb{R}) g ∈ C b ( R ) the composition g ∘ P f g \circ P_{f} g ∘ P f belongs to C ( P ( Ω ) ) C(\mathcal{P}(\Omega)) C ( P ( Ω )) ; hence
∫ R g d ( ( P f ) # P m ) = ∫ P ( Ω ) g ∘ P f d P m ⟶ ∫ P ( Ω ) g ∘ P f d P = ∫ R g d ( ( P f ) # P ) , \int_{\mathbb{R}} g \,\mathrm{d}\bigl((P_{f})_{\#}\mathbb{P}_{m}\bigr)=\int_{\mathcal{P}(\Omega)} g\circ P_{f}\,\mathrm{d}\mathbb{P}_{m}\longrightarrow\int_{\mathcal{P}(\Omega)}g\circ P_{f}\,\mathrm{d}\mathbb{P}=\int_{\mathbb{R}}g\,\mathrm{d}\bigl((P_{f})_{\#}\mathbb{P}\bigr), ∫ R g d ( ( P f ) # P m ) = ∫ P ( Ω ) g ∘ P f d P m ⟶ ∫ P ( Ω ) g ∘ P f d P = ∫ R g d ( ( P f ) # P ) ,
i.e. ( P f ) # P m ⇀ ( P f ) # P (P_{f})_{\#}\mathbb{P}_{m}\rightharpoonup(P_{f})_{\#}\mathbb{P} ( P f ) # P m ⇀ ( P f ) # P in P ( R ) \mathcal{P}(\mathbb{R}) P ( R ) . Moreover ∣ P f ∣ ≤ ∥ f ∥ ∞ |P_{f}|\leq\|f\|_{\infty} ∣ P f ∣ ≤ ∥ f ∥ ∞ on P ( Ω ) \mathcal{P}(\Omega) P ( Ω ) , so all these laws are supported in the fixed compact interval I f = [ − ∥ f ∥ ∞ , ∥ f ∥ ∞ ] I_{f}=[-\|f\|_{\infty},\|f\|_{\infty}] I f = [ − ∥ f ∥ ∞ , ∥ f ∥ ∞ ] . On probability measures supported in a common compact interval, W p W_{p} W p metrizes weak convergence, so
W p p ( ( P f ) # P m , ( P f ) # P ) ⟶ 0 W_{p}^{p}\bigl((P_{f})_{\#}\mathbb{P}_{m},(P_{f})_{\#}\mathbb{P}\bigr)\longrightarrow0 W p p ( ( P f ) # P m , ( P f ) # P ) ⟶ 0
for each fixed f ∈ C ( Ω ) f\in C(\Omega) f ∈ C ( Ω ) .
The integrand is dominated by ( 2 ∥ f ∥ ∞ ) p (2\|f\|_{\infty})^{p} ( 2∥ f ∥ ∞ ) p , which lies in L 1 ( σ ) L^{1}(\sigma) L 1 ( σ ) by Lemma A.1(i). Dominated convergence therefore yields V S W p ( P m , P ) → 0 \mathrm{VSW}_{p}(\mathbb{P}_{m},\mathbb{P})\to0 VSW p ( P m , P ) → 0 .
V S W p → 0 \mathrm{VSW}_{p}\to0 VSW p → 0 implies weak convergence. Consider the identity map
ι : ( P ( P ( Ω ) ) , weak ) ⟶ ( P ( P ( Ω ) ) , V S W p ) , \iota:(\mathcal{P}(\mathcal{P}(\Omega)),\text{ weak})\longrightarrow(\mathcal{P}(\mathcal{P}(\Omega)),\mathrm{VSW}_{p}), ι : ( P ( P ( Ω )) , weak ) ⟶ ( P ( P ( Ω )) , VSW p ) ,
which is a bijection. The previous paragraph shows it is continuous. Since ( P ( P ( Ω ) ) , weak ) (\mathcal{P}(\mathcal{P}(\Omega)),\text{ weak}) ( P ( P ( Ω )) , weak ) is compact and ( P ( P ( Ω ) ) , V S W p ) (\mathcal{P}(\mathcal{P}(\Omega)),\mathrm{VSW}_{p}) ( P ( P ( Ω )) , VSW p ) is Hausdorff (being metric), a continuous bijection from a compact space onto a Hausdorff space is a homeomorphism. Hence V S W p \mathrm{VSW}_{p} VSW p induces the weak topology. □
Proof of Theorem 3.6. Measurability. The evaluation map ( f , μ ) ↦ P f ( μ ) (f,\mu)\mapsto P_{f}(\mu) ( f , μ ) ↦ P f ( μ ) is jointly continuous (Lemma 3.2 (i)). Hence, for fixed P ∈ P ( P ( Ω ) ) \mathbb{P}\in\mathcal{P}(\mathcal{P}(\Omega)) P ∈ P ( P ( Ω )) , the function
G ( f , s ) : = P { μ ∈ P ( Ω ) : P f ( μ ) ≤ s } G(f,s):=\mathbb{P}\{\mu\in\mathcal{P}(\Omega):P_{f}(\mu)\leq s\} G ( f , s ) := P { μ ∈ P ( Ω ) : P f ( μ ) ≤ s }
is jointly Borel in ( f , s ) (f,s) ( f , s ) : the set { ( f , s , μ ) : P f ( μ ) − s ≤ 0 } \{(f,s,\mu):P_{f}(\mu)-s\leq0\} {( f , s , μ ) : P f ( μ ) − s ≤ 0 } is closed in C ( Ω ) × R × P ( Ω ) C(\Omega)\times\mathbb{R}\times\mathcal{P}(\Omega) C ( Ω ) × R × P ( Ω ) , so its indicator is jointly Borel, and Tonelli (integrating out μ \mu μ against P \mathbb{P} P ) yields joint measurability of G G G . Define the quantile
q ( f , u ) : = inf { s ∈ Q r a t : G ( f , s ) ≥ u } . q(f,u):=\inf\{s\in\mathbb{Q}_{\mathrm{rat}}:G(f,s)\geq u\}. q ( f , u ) := inf { s ∈ Q rat : G ( f , s ) ≥ u } .
Since the infimum runs over a countable set and each subgraph { ( f , u ) : u ≤ G ( f , s ) } \{(f,u):u\leq G(f,s)\} {( f , u ) : u ≤ G ( f , s )} is Borel, q q q is jointly Borel in ( f , u ) (f,u) ( f , u ) .
Integrability. Since ( P f ) # P (P_{f})_{\#}\mathbb{P} ( P f ) # P is supported in [ − ∥ f ∥ ∞ , ∥ f ∥ ∞ ] [-\|f\|_{\infty},\|f\|_{\infty}] [ − ∥ f ∥ ∞ , ∥ f ∥ ∞ ] , we have ∣ q ( f , u ) ∣ ≤ ∥ f ∥ ∞ |q(f,u)|\leq\|f\|_{\infty} ∣ q ( f , u ) ∣ ≤ ∥ f ∥ ∞ for all ( f , u ) (f,u) ( f , u ) . By Lemma A.1(i), E σ ∥ f ∥ ∞ 2 < ∞ \mathbb{E}_{\sigma}\|f\|_{\infty}^{2}<\infty E σ ∥ f ∥ ∞ 2 < ∞ , so T ( P ) ∈ L 2 ( σ ⊗ λ ) T(\mathbb{P})\in L^{2}(\sigma\otimes\lambda) T ( P ) ∈ L 2 ( σ ⊗ λ ) .
Isometry. For p = 2 p=2 p = 2 , the one-dimensional OT formula (2) gives, for each f f f ,
W 2 2 ( ( P f ) # P , ( P f ) # Q ) = ∫ 0 1 ∣ q ( P f ) # P ( u ) − q ( P f ) # Q ( u ) ∣ 2 d u . W_{2}^{2}\bigl((P_{f})_{\#}\mathbb{P},(P_{f})_{\#}\mathbb{Q}\bigr)=\int_{0}^{1}\left|q_{(P_{f})_{\#}\mathbb{P}}(u)-q_{(P_{f})_{\#}\mathbb{Q}}(u)\right|^{2}\,\mathrm{d}u. W 2 2 ( ( P f ) # P , ( P f ) # Q ) = ∫ 0 1 q ( P f ) # P ( u ) − q ( P f ) # Q ( u ) 2 d u .
Integrating in f f f and applying Tonelli yields
V S W 2 2 ( P , Q ) = ∫ C ( Ω ) ∫ 0 1 ∣ T ( P ) ( f , u ) − T ( Q ) ( f , u ) ∣ 2 d u d σ ( f ) = ∥ T ( P ) − T ( Q ) ∥ L 2 ( σ ⊗ λ ) 2 . \mathrm{VSW}_{2}^{2}(\mathbb{P},\mathbb{Q})=\int_{C(\Omega)}\int_{0}^{1}|T(\mathbb{P})(f,u)-T(\mathbb{Q})(f,u)|^{2}\,\mathrm{d}u\,\mathrm{d}\sigma(f)=\|T(\mathbb{P})-T(\mathbb{Q})\|_{L^{2}(\sigma\otimes\lambda)}^{2}. VSW 2 2 ( P , Q ) = ∫ C ( Ω ) ∫ 0 1 ∣ T ( P ) ( f , u ) − T ( Q ) ( f , u ) ∣ 2 d u d σ ( f ) = ∥ T ( P ) − T ( Q ) ∥ L 2 ( σ ⊗ λ ) 2 .
This proves the claimed isometric embedding. □
Proof of Theorem 3.7. By the triangle inequality (Theorem 3.3 ) and ( a + b ) p ≤ 2 p − 1 ( a p + b p ) (a+b)^p \le2^{p-1}(a^p+b^p) ( a + b ) p ≤ 2 p − 1 ( a p + b p ) ,
E VSW p p ( P , P ~ ) ≤ 2 p − 1 ( E VSW p p ( P , P ^ N ) + E VSW p p ( P ^ N , P ~ ) ) . \mathbb{E}\operatorname{VSW}_p^p(\mathbb{P},\widetilde{\mathbb{P}}) \le2^{p-1}\left(\mathbb{E}\operatorname{VSW}_p^p(\mathbb{P},\widehat{\mathbb{P}}_N)+\mathbb{E}\operatorname{VSW}_p^p(\widehat{\mathbb{P}}_N,\widetilde{\mathbb{P}})\right). E VSW p p ( P , P ) ≤ 2 p − 1 ( E VSW p p ( P , P N ) + E VSW p p ( P N , P ) ) .
Outer term. Fix f f f and let ν f : = ( P f ) # P ∈ P ( I f ) \nu_f := (P_f)_\#\mathbb{P} \in\mathcal{P}(I_f) ν f := ( P f ) # P ∈ P ( I f ) , I f = [ − ∥ f ∥ ∞ , ∥ f ∥ ∞ ] I_f=[-\|f\|_\infty,\|f\|_\infty] I f = [ − ∥ f ∥ ∞ , ∥ f ∥ ∞ ] . Then ( P f ) # P ^ N (P_f)_\#\widehat{\mathbb{P}}_N ( P f ) # P N is exactly the empirical measure of the N N N i.i.d. scalars P f ( μ i ) ∼ ν f P_f(\mu_i)\sim\nu_f P f ( μ i ) ∼ ν f . Using W p p ≤ ∣ I f ∣ p − 1 W 1 W_p^p\leq|I_f|^{p-1}W_1 W p p ≤ ∣ I f ∣ p − 1 W 1 on I f I_f I f and (3),
E W p p ( ( P f ) # P ^ N , ν f ) ≤ ( 2 ∥ f ∥ ∞ ) p − 1 ⋅ 2 ∥ f ∥ ∞ 2 N = ( 2 ∥ f ∥ ∞ ) p 2 N . \mathbb{E}W_p^p((P_f)_\#\widehat{\mathbb{P}}_N,\nu_f)\leq(2\|f\|_\infty)^{p-1}\cdot\frac{2\|f\|_\infty}{2\sqrt{N}}=\frac{(2\|f\|_\infty)^p}{2\sqrt{N}}. E W p p (( P f ) # P N , ν f ) ≤ ( 2∥ f ∥ ∞ ) p − 1 ⋅ 2 N 2∥ f ∥ ∞ = 2 N ( 2∥ f ∥ ∞ ) p .
Integrating in f f f (Tonelli; joint measurability as before) gives
E VSW p p ( P , P ^ N ) ≤ 1 2 ⋅ 2 p Λ p N − 1 / 2 . \mathbb{E}\operatorname{VSW}_p^p(\mathbb{P},\widehat{\mathbb{P}}_N)\leq\frac{1}{2}\cdot2^p\Lambda_pN^{-1/2}. E VSW p p ( P , P N ) ≤ 2 1 ⋅ 2 p Λ p N − 1/2 .
Inner term. Pair μ i \mu_i μ i with μ ^ i \widehat{\mu}_i μ i : the coupling of ( P f ) # P ^ N (P_f)_\#\widehat{\mathbb{P}}_N ( P f ) # P N and ( P f ) # P ~ (P_f)_\#\widetilde{\mathbb{P}} ( P f ) # P that matches index i i i to index i i i yields
W p p ( ( P f ) # P ^ N , ( P f ) # P ~ ) ≤ 1 N ∑ i = 1 N ∣ P f ( μ i ) − P f ( μ ^ i ) ∣ p . W_p^p((P_f)_\#\widehat{\mathbb{P}}_N,(P_f)_\#\widetilde{\mathbb{P}})\leq\frac{1}{N}\sum_{i=1}^N\lvert P_f(\mu_i)-P_f(\widehat{\mu}_i)\rvert^p. W p p (( P f ) # P N , ( P f ) # P ) ≤ N 1 i = 1 ∑ N ∣ P f ( μ i ) − P f ( μ i ) ∣ p .
Conditionally on μ i \mu_i μ i , P f ( μ ^ i ) − P f ( μ i ) = 1 n ∑ j ( f ( x i j ) − E f ( x i j ) ) P_f(\widehat{\mu}_i)-P_f(\mu_i)=\frac{1}{n}\sum_j(f(x_{ij})-\mathbb{E}f(x_{ij})) P f ( μ i ) − P f ( μ i ) = n 1 ∑ j ( f ( x ij ) − E f ( x ij )) is a centered average of i.i.d. variables bounded by 2 ∥ f ∥ ∞ 2\|f\|_\infty 2∥ f ∥ ∞ . For p ∈ [ 1 , 2 ] p\in[1,2] p ∈ [ 1 , 2 ] , Jensen and the variance bound give E ∣ ⋅ ∣ p ≤ ( ( 2 ∥ f ∥ ∞ ) 2 4 n ) p / 2 ≤ ( 2 ∥ f ∥ ∞ ) p n − p / 2 \mathbb{E}\lvert\cdot\rvert^p\leq\left(\frac{(2\|f\|_\infty)^2}{4n}\right)^{p/2}\leq(2\|f\|_\infty)^pn^{-p/2} E ∣ ⋅ ∣ p ≤ ( 4 n ( 2∥ f ∥ ∞ ) 2 ) p /2 ≤ ( 2∥ f ∥ ∞ ) p n − p /2 ; for p > 2 p>2 p > 2 , the Marcinkiewicz–Zygmund inequality gives E ∣ ⋅ ∣ p ≤ C p ( 2 ∥ f ∥ ∞ ) p n − p / 2 \mathbb{E}\lvert\cdot\rvert^p\leq C_p(2\|f\|_\infty)^pn^{-p/2} E ∣ ⋅ ∣ p ≤ C p ( 2∥ f ∥ ∞ ) p n − p /2 . Taking expectations, then the σ \sigma σ -integral (Tonelli), yields
E VSW p p ( P ^ N , P ~ ) ≤ C p 2 p Λ p n − p / 2 . \mathbb{E}\operatorname{VSW}_p^p(\widehat{\mathbb{P}}_N,\widetilde{\mathbb{P}})\leq C_p2^p\Lambda_p n^{-p/2}. E VSW p p ( P N , P ) ≤ C p 2 p Λ p n − p /2 .
Combining the outer and inner bounds proves the theorem. The distance rates in Remark 3.8 follow by Jensen ( E VSW p ≤ ( E VSW p p ) 1 / p ) (\mathbb{E}\operatorname{VSW}_p\leq(\mathbb{E}\operatorname{VSW}_p^p)^{1/p}) ( E VSW p ≤ ( E VSW p p ) 1/ p ) and subadditivity of x ↦ x 1 / p x\mapsto x^{1/p} x ↦ x 1/ p .
Remark C.2. For p = 2 p=2 p = 2 , Theorem 3.7 gives E VSW 2 ( P , P ~ N , n ) = O ( N − 1 / 4 + n − 1 / 2 ) \mathbb{E}\operatorname{VSW}_2(\mathbb{P},\widetilde{\mathbb{P}}_{N,n})=O(N^{-1/4}+n^{-1/2}) E VSW 2 ( P , P N , n ) = O ( N − 1/4 + n − 1/2 ) , whereas the hierarchical IPM of Catalano and Lavenant [10 ] attains the parametric outer rate. The outer exponent is sharp in the worst case, as a two-atom meta-measure shows. For distinct μ a , μ b ∈ P ( Ω ) \mu_a,\mu_b\in\mathcal{P}(\Omega) μ a , μ b ∈ P ( Ω ) , set P = 1 2 δ μ a + 1 2 δ μ b \mathbb{P}=\frac{1}{2}\delta_{\mu_a}+\frac{1}{2}\delta_{\mu_b} P = 2 1 δ μ a + 2 1 δ μ b , and let w ^ N \widehat{w}_N w N be the proportion of μ a \mu_a μ a among the N N N outer samples. Matching the common mass in each projected law gives
VSW 2 2 ( P , P ^ N ) = ∣ w ^ N − 1 2 ∣ MMD σ 2 ( μ a , μ b ) . \operatorname{VSW}_2^2(\mathbb{P},\widehat{\mathbb{P}}_N)=\left\lvert\widehat{w}_N-\frac{1}{2}\right\rvert\operatorname{MMD}_\sigma^2(\mu_a,\mu_b). VSW 2 2 ( P , P N ) = w N − 2 1 MMD σ 2 ( μ a , μ b ) .
Since N w ^ N ∼ Binomial ( N , 1 / 2 ) N\widehat{w}_N\sim\operatorname{Binomial}(N,1/2) N w N ∼ Binomial ( N , 1/2 ) , its centered absolute moments satisfy E ∣ w ^ N − 1 2 ∣ ≍ N − 1 / 2 \mathbb{E}\lvert\widehat{w}_N-\frac{1}{2}\rvert\asymp N^{-1/2} E ∣ w N − 2 1 ∣ ≍ N − 1/2 and E ∣ w ^ N − 1 2 ∣ 1 / 2 ≍ N − 1 / 4 \mathbb{E}\lvert\widehat{w}_N-\frac{1}{2}\rvert^{1/2}\asymp N^{-1/4} E ∣ w N − 2 1 ∣ 1/2 ≍ N − 1/4 . Thus, for this fixed P \mathbb{P} P , the expected squared distance has order N − 1 / 2 N^{-1/2} N − 1/2 and the expected distance has order N − 1 / 4 N^{-1/4} N − 1/4 . These are worst-case rates; faster outer convergence is possible under additional regularity of the projected laws. Specifically, if for σ \sigma σ -a.e. f f f the law ( P f ) # P (P_f)_\#\mathbb{P} ( P f ) # P admits a density ϱ f \varrho_f ϱ f with
J 2 ( f ) : = ∫ R F ( P f ) # P ( z ) ( 1 − F ( P f ) # P ( z ) ) ϱ f ( z ) d z , E σ [ J 2 ( f ) ] < ∞ , J_2(f):=\int_{\mathbb{R}}\frac{F_{(P_f)_\#\mathbb{P}}(z)(1-F_{(P_f)_\#\mathbb{P}}(z))}{\varrho_f(z)}\,\mathrm{d}z,\qquad\mathbb{E}_\sigma[J_2(f)]<\infty, J 2 ( f ) := ∫ R ϱ f ( z ) F ( P f ) # P ( z ) ( 1 − F ( P f ) # P ( z )) d z , E σ [ J 2 ( f )] < ∞ ,
then E W 2 2 ( ( P f ) # P , ( P f ) # P ^ N ) ≤ 2 J 2 ( f ) / ( N + 1 ) \mathbb{E}W_2^2((P_f)_\#\mathbb{P},(P_f)_\#\widehat{\mathbb{P}}_N)\leq2J_2(f)/(N+1) E W 2 2 (( P f ) # P , ( P f ) # P N ) ≤ 2 J 2 ( f ) / ( N + 1 ) (Bobkov and Ledoux, [5 ] , Thm. 5.1). Integrating in f f f yields E VSW 2 2 ( P , P ^ N ) ≤ 2 E σ [ J 2 ] / ( N + 1 ) \mathbb{E}\operatorname{VSW}_2^2(\mathbb{P},\widehat{\mathbb{P}}_N)\leq2\mathbb{E}_\sigma[J_2]/(N+1) E VSW 2 2 ( P , P N ) ≤ 2 E σ [ J 2 ] / ( N + 1 ) , hence E VSW 2 ( P , P ^ N ) = O ( N − 1 / 2 ) \mathbb{E}\operatorname{VSW}_2(\mathbb{P},\widehat{\mathbb{P}}_N)=O(N^{-1/2}) E VSW 2 ( P , P N ) = O ( N − 1/2 ) . Combining this with the unchanged inner-sampling bound gives E VSW 2 ( P , P ~ N , n ) = O ( N − 1 / 2 + n − 1 / 2 ) \mathbb{E}\operatorname{VSW}_2(\mathbb{P},\widetilde{\mathbb{P}}_{N,n})=O(N^{-1/2}+n^{-1/2}) E VSW 2 ( P , P N , n ) = O ( N − 1/2 + n − 1/2 ) under this additional regularity condition. In the definition of J 2 J_2 J 2 , we use the conventions 0 / 0 = 0 0/0=0 0/0 = 0 and c / 0 = + ∞ c/0=+\infty c /0 = + ∞ for c > 0 c>0 c > 0 .
Proof of Proposition 3.9. The summands are i.i.d. with mean VSW p p \operatorname{VSW}_{p}^{p} VSW p p and second moment at most E σ ( 2 ∥ f ∥ ∞ ) 2 p = 2 2 p Λ 2 p \mathbb{E}_{\sigma}(2\|f\|_{\infty})^{2p}=2^{2p}\Lambda_{2p} E σ ( 2∥ f ∥ ∞ ) 2 p = 2 2 p Λ 2 p ; apply E ∣ X − E X ∣ ≤ Var X \mathbb{E}|X-\mathbb{E}X|\le\sqrt{\operatorname{Var}X} E ∣ X − E X ∣ ≤ Var X to the empirical mean. (Cf. the analogous bound for sliced divergences in Nadjahi et al., [30 ] .) □
The shared finite-feature implementation. Condition on the sampled Fourier basis, let σ R \sigma_R σ R be the conditional law of f R f_R f R , and define φ R ( x ) = 2 / R ( cos ( ⟨ ω r , x ⟩ + b r ) ) r = 1 R \varphi_R(x)=\sqrt{2/R}\left(\cos(\langle\omega_r,x\rangle+b_r)\right)_{r=1}^{R} φ R ( x ) = 2/ R ( cos (⟨ ω r , x ⟩ + b r ) ) r = 1 R and z R ( μ ) = ∫ φ R ( x ) d μ ( x ) z_R(\mu)=\int\varphi_R(x)\,\mathrm{d}\mu(x) z R ( μ ) = ∫ φ R ( x ) d μ ( x ) . Then P f R ( μ ) = a T z R ( μ ) P_{f_R}(\mu)=a^{\mathsf T}z_R(\mu) P f R ( μ ) = a T z R ( μ ) for a ∼ N ( 0 , I R ) a\sim\mathcal{N}(0,I_R) a ∼ N ( 0 , I R ) . Writing SW p \operatorname{SW}_p SW p for classical slicing with uniform unit directions, Gaussian radial symmetry gives the exact identity
VSW p ( σ R ) ( P , Q ) p = E ∥ a ∥ p SW p p ( ( z R ) # P , ( z R ) # Q ) . \operatorname{VSW}_{p}^{(\sigma_R)}(\mathbb{P},\mathbb{Q})^p=\mathbb{E}\|a\|^p\operatorname{SW}_p^p\bigl((z_R)_\#\mathbb{P},(z_R)_\#\mathbb{Q}\bigr). VSW p ( σ R ) ( P , Q ) p = E ∥ a ∥ p SW p p ( ( z R ) # P , ( z R ) # Q ) .
The distance itself has factor ( E ∥ a ∥ p ) 1 / p (\mathbb{E}\|a\|^p)^{1/p} ( E ∥ a ∥ p ) 1/ p , equal to R \sqrt{R} R for p = 2 p=2 p = 2 . 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 σ R \sigma_R σ R and its sup-norm moments in place of σ \sigma σ . Increasing L L L 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 VSW 2 ( δ μ , δ ν ) = MMD κ ( μ , ν ) \operatorname{VSW}_2(\delta_\mu,\delta_\nu)=\operatorname{MMD}_{\kappa}(\mu,\nu) VSW 2 ( δ μ , δ ν ) = MMD κ ( μ , ν ) , whereas the conditional finite-feature value is ∥ z R ( μ ) − z R ( ν ) ∥ 2 \|z_R(\mu)-z_R(\nu)\|_2 ∥ z R ( μ ) − z R ( ν ) ∥ 2 .
Gradient Flow
Lemma C.5 (No ties, almost surely). Suppose κ \kappa κ is characteristic and the clouds μ ^ 1 , … , μ ^ N \hat{\mu}_1,\ldots,\hat{\mu}_N μ ^ 1 , … , μ ^ N are pairwise distinct as measures (and similarly for the targets). Then for σ \sigma σ -a.e. f f f , the projected scalars s 1 ( f ) , … , s N ( f ) s_1(f),\ldots,s_N(f) s 1 ( f ) , … , s N ( f ) are pairwise distinct (and similarly t 1 , … , t N t_1,\ldots,t_N t 1 , … , t N ), so the sorting permutation π f \pi_f π f matching s ( i ) s_{(i)} s ( i ) to t ( i ) t_{(i)} t ( i ) is locally constant in X X X around any configuration with distinct clouds.
Proof. For i ≠ i ′ i\ne i' i = i ′ , s i ( f ) − s i ′ ( f ) = ⟨ f , μ ^ i − μ ^ i ′ ⟩ s_i(f)-s_{i'}(f)=\langle f,\hat{\mu}_i-\hat{\mu}_{i'}\rangle s i ( f ) − s i ′ ( f ) = ⟨ f , μ ^ i − μ ^ i ′ ⟩ is a centered Gaussian with variance MMD κ 2 ( μ ^ i , μ ^ i ′ ) \operatorname{MMD}_{\kappa}^{2}(\hat{\mu}_i,\hat{\mu}_{i'}) MMD κ 2 ( μ ^ i , μ ^ i ′ ) , which is strictly positive because κ \kappa κ is characteristic and the clouds are distinct; a nondegenerate Gaussian hits 0 0 0 with probability zero. A union over the finitely many pairs concludes. □
Algorithm 2 VSW flow for populations of point clouds (one step)
Require: particles X = ( x i j ) X=(x_{ij}) X = ( x ij ) , targets { y k l } \{y_{kl}\} { y k l } , kernel κ \kappa κ , slices L L L , features R R R , step η \eta η
1: sample fresh slices f 1 , … , f L f_1,\ldots,f_L f 1 , … , f L via (5) 2: for l = 1 , … , L l=1,\ldots,L l = 1 , … , L do 3: compute s i ( l ) s_i^{(l)} s i ( l ) , t k ( l ) t_k^{(l)} t k ( l ) ; sort both; obtain matching π l \pi_l π l 4: end for 5: g i j ← 2 N n L ∑ l ( s i ( l ) − t π l ( i ) ( l ) ) ∇ f l ( x i j ) g_{ij}\leftarrow\frac{2}{NnL}\sum_l\left(s_i^{(l)}-t_{\pi_l(i)}^{(l)}\right)\nabla f_l(x_{ij}) g ij ← N n L 2 ∑ l ( s i ( l ) − t π l ( i ) ( l ) ) ∇ f l ( x ij ) 6: x i j ← x i j − η g i j x_{ij}\leftarrow x_{ij}-\eta g_{ij} x ij ← x ij − η g ij ▷ or pass g g g 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 VSW2 2 _2^2 2 2 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 f ∈ C 1 f\in C^1 f ∈ C 1 write
F f ( X ) : = min π ∈ S N 1 N ∑ i = 1 N ( s i ( f ) − t π ( i ) ( f ) ) 2 , F_f(X):=\min_{\pi\in S_N}\frac{1}{N}\sum_{i=1}^{N}\left(s_i(f)-t_{\pi(i)}(f)\right)^2, F f ( X ) := π ∈ S N min N 1 i = 1 ∑ N ( s i ( f ) − t π ( i ) ( f ) ) 2 ,
so that F = E σ [ F f ] \mathcal{F}=\mathbb{E}_{\sigma}[F_f] F = E σ [ F f ] by (2) (the increasing rearrangement realizes the minimum). Fix a coordinate x i j x_{ij} x ij and let Ω ′ ⊃ Ω \Omega'\supset\Omega Ω ′ ⊃ Ω be a fixed compact neighborhood containing all configurations under consideration. In this proof, ∥ f ∥ ∞ \|f\|_{\infty} ∥ f ∥ ∞ denotes sup x ∈ Ω ′ ∣ f ( x ) ∣ \sup_{x\in\Omega'}|f(x)| sup x ∈ Ω ′ ∣ f ( x ) ∣ . We assume that the regularity and moment conditions of Assumption 2 hold on Ω ′ \Omega' Ω ′ ; then the field ∇ f \nabla f ∇ f is defined and Borell–TIS applies on Ω ′ \Omega' Ω ′ (for the Gaussian RBF, f f f extends to all of R d \mathbb{R}^d R d ). The interchange of one partial derivative with E σ \mathbb{E}_{\sigma} E σ proceeds in three steps.
Step 1 (pointwise differentiability for σ \sigma σ -a.e. f f f ). Let A A A be the full-measure set of Lemma C.5. For f ∈ A f\in A f ∈ A the projected scalars s 1 ( f ) , … , s N ( f ) s_1(f),\ldots,s_N(f) s 1 ( f ) , … , s N ( f ) (resp. t 1 ( f ) , … , t N ( f ) t_1(f),\ldots,t_N(f) t 1 ( f ) , … , t N ( f ) ) are pairwise distinct, so the minimizing permutation π f \pi_f π f is unique and remains optimal on a ball B ( X , r f ) B(X,r_f) B ( X , r f ) whose radius r f > 0 r_f>0 r f > 0 depends on f f f , by continuity of X ↦ s i ( f ) X\mapsto s_i(f) X ↦ s i ( f ) . On this ball F f F_f F f coincides with the smooth function 1 N ∑ i ( s i − t π f ( i ) ) 2 \frac{1}{N}\sum_i(s_i-t_{\pi_f(i)})^2 N 1 ∑ i ( s i − t π f ( i ) ) 2 , whence
∂ x i j F f ( X ) = 2 N n ( s i ( f ) − t π f ( i ) ( f ) ) ∇ f ( x i j ) , ∂ s i ∂ x i j = 1 n ∇ f ( x i j ) . \partial_{x_{ij}}F_f(X)=\frac{2}{Nn}\left(s_i(f)-t_{\pi_f(i)}(f)\right)\nabla f(x_{ij}),\qquad\frac{\partial s_i}{\partial x_{ij}}=\frac{1}{n}\nabla f(x_{ij}). ∂ x ij F f ( X ) = N n 2 ( s i ( f ) − t π f ( i ) ( f ) ) ∇ f ( x ij ) , ∂ x ij ∂ s i = n 1 ∇ f ( x ij ) .
Step 2 (uniform integrable envelope for the difference quotients). For every f ∈ C 1 f\in C^1 f ∈ C 1 (not only f ∈ A f\in A f ∈ A ) and every fixed π ∈ S N \pi\in S_N π ∈ S N , the map X ↦ 1 N ∑ i ( s i − t π ( i ) ) 2 X\mapsto\frac{1}{N}\sum_i(s_i-t_{\pi(i)})^2 X ↦ N 1 ∑ i ( s i − t π ( i ) ) 2 is differentiable with partial gradient in x i j x_{ij} x ij bounded in norm by
E ( f ) : = 4 N n ∥ f ∥ ∞ sup Ω ′ ∥ ∇ f ∥ , E(f):=\frac{4}{Nn}\|f\|_{\infty}\sup_{\Omega'}\|\nabla f\|, E ( f ) := N n 4 ∥ f ∥ ∞ Ω ′ sup ∥∇ f ∥ ,
since ∣ s i − t π ( i ) ∣ ≤ 2 ∥ f ∥ ∞ |s_i-t_{\pi(i)}|\le2\|f\|_{\infty} ∣ s i − t π ( i ) ∣ ≤ 2∥ f ∥ ∞ . A pointwise minimum of finitely many functions that are M M M -Lipschitz along a segment is itself M M M -Lipschitz along that segment; hence every difference quotient of F f F_f F f in the coordinate x i j x_{ij} x ij is bounded by E ( f ) E(f) E ( f ) , uniformly in the step size. Moreover E ∈ L 1 ( σ ) E\in L^1(\sigma) E ∈ L 1 ( σ ) : by Cauchy–Schwarz,
E σ [ ∥ f ∥ ∞ sup Ω ′ ∥ ∇ f ∥ ] ≤ ( E σ ∥ f ∥ ∞ 2 ) 1 / 2 ( E σ sup Ω ′ ∥ ∇ f ∥ 2 ) 1 / 2 < ∞ \mathbb{E}_{\sigma}\left[\|f\|_{\infty}\sup_{\Omega'}\|\nabla f\|\right]\leq\left(\mathbb{E}_{\sigma}\|f\|_{\infty}^{2}\right)^{1/2}\left(\mathbb{E}_{\sigma}\sup_{\Omega'}\|\nabla f\|^{2}\right)^{1/2}<\infty E σ [ ∥ f ∥ ∞ Ω ′ sup ∥∇ f ∥ ] ≤ ( E σ ∥ f ∥ ∞ 2 ) 1/2 ( E σ Ω ′ sup ∥∇ f ∥ 2 ) 1/2 < ∞
by Lemma A.1(i) and Assumption 2.
Step 3 (dominated convergence). As h → 0 h\to0 h → 0 , the difference quotients h − 1 ( F f ( X + h e ) − F f ( X ) ) h^{-1}(F_f(X+he)-F_f(X)) h − 1 ( F f ( X + h e ) − F f ( X )) converge for σ \sigma σ -a.e. f f f (Step 1) and are dominated by E ∈ L 1 ( σ ) E\in L^1(\sigma) E ∈ L 1 ( σ ) (Step 2); dominated convergence yields the partial derivative of F \mathcal{F} F and formula (7) . Finally, the right-hand side of (7) is continuous at each configuration X X X with pairwise distinct clouds. Indeed, if X r → X X_r \to X X r → X , then for the full-measure set of slices having no ties at X X X , continuity of the projected scalars implies π f ( X r ) = π f ( X ) \pi_f(X_r)=\pi_f(X) π f ( X r ) = π f ( X ) for all sufficiently large r r r . Hence the integrand in (7) converges pointwise, and the same integrable envelope E E E allows another application of dominated convergence. Thus, all partial derivatives of F \mathcal{F} F exist and are continuous near X X X , and F \mathcal{F} F is differentiable at X X X .
Statistical Properties
Corollary D.1 (Error of the fully empirical estimator). Let P , Q ∈ P ( P ( Ω ) ) \mathbb{P},\mathbb{Q}\in\mathcal{P}(\mathcal{P}(\Omega)) P , Q ∈ P ( P ( Ω )) be observed through the two-stage scheme with parameters ( N , n ) (N,n) ( N , n ) and ( M , m ) (M,m) ( M , m ) respectively, and let V S W ^ p , L \widehat{\mathrm{VSW}}_{p,L} VSW p , L denote the L L L -slice Monte Carlo estimator of Proposition 3.9 . Then
E ∣ V S W ^ p , L ( P ~ N , n , Q ~ M , m ) − V S W p ( P , Q ) ∣ ≤ C ( N − 1 / ( 2 p ) + n − 1 / 2 + M − 1 / ( 2 p ) + m − 1 / 2 + L − 1 / ( 2 p ) ) . \mathbb{E}\left|\widehat{\mathrm{VSW}}_{p,L}(\widetilde{\mathbb{P}}_{N,n},\widetilde{\mathbb{Q}}_{M,m})-\mathrm{VSW}_p(\mathbb{P},\mathbb{Q})\right|
\le C\left(N^{-1/(2p)}+n^{-1/2}+M^{-1/(2p)}+m^{-1/2}+L^{-1/(2p)}\right). E VSW p , L ( P N , n , Q M , m ) − VSW p ( P , Q ) ≤ C ( N − 1/ ( 2 p ) + n − 1/2 + M − 1/ ( 2 p ) + m − 1/2 + L − 1/ ( 2 p ) ) . with C = C ( p , Λ 2 p ) C=C(p,\Lambda_{2p}) C = C ( p , Λ 2 p ) .
Proof. By the triangle inequality for V S W p \mathrm{VSW}_p VSW p (Theorem 3.3 ), ∣ V S W p ( P ~ N , n , Q ~ M , m ) − V S W p ( P , Q ) ∣ ≤ V S W p ( P , P ~ N , n ) + V S W p ( Q , Q ~ M , m ) \left|\mathrm{VSW}_p(\widetilde{\mathbb{P}}_{N,n},\widetilde{\mathbb{Q}}_{M,m})-\mathrm{VSW}_p(\mathbb{P},\mathbb{Q})\right|\le\mathrm{VSW}_p(\mathbb{P},\widetilde{\mathbb{P}}_{N,n})+\mathrm{VSW}_p(\mathbb{Q},\widetilde{\mathbb{Q}}_{M,m}) VSW p ( P N , n , Q M , m ) − VSW p ( P , Q ) ≤ VSW p ( P , P N , n ) + VSW p ( Q , Q M , m ) , and Theorem 3.7 bounds the expectation of each term after taking p p p -th roots and applying Jensen. For the slicing error, Proposition 3.9 gives E ∣ V S W ^ p , L p − V S W p p ∣ ≤ 2 p ( Λ 2 p / L ) 1 / 2 \mathbb{E}|\widehat{\mathrm{VSW}}_{p,L}^{p}-\mathrm{VSW}_p^{p}|\le2^{p}(\Lambda_{2p}/L)^{1/2} E ∣ VSW p , L p − VSW p p ∣ ≤ 2 p ( Λ 2 p / L ) 1/2 at the empirical meta-measures, and ∣ a 1 / p − b 1 / p ∣ ≤ ∣ a − b ∣ 1 / p |a^{1/p}-b^{1/p}|\le|a-b|^{1/p} ∣ a 1/ p − b 1/ p ∣ ≤ ∣ a − b ∣ 1/ p for a , b ≥ 0 a,b\ge0 a , b ≥ 0 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 σ , σ ′ \sigma,\sigma' σ , σ ′ be two slicing measures on C ( Ω ) C(\Omega) C ( Ω ) with finite sup-norm moments of order 2 ( p − 1 ) ∨ 2 2(p-1)\vee2 2 ( p − 1 ) ∨ 2 , and let V S W p ( σ ) , V S W p ( σ ′ ) \mathrm{VSW}_{p}^{(\sigma)},\mathrm{VSW}_{p}^{(\sigma')} VSW p ( σ ) , VSW p ( σ ′ ) denote the corresponding distances. Then for any coupling Ξ \Xi Ξ of ( σ , σ ′ ) (\sigma,\sigma') ( σ , σ ′ ) ,
∣ V S W p ( σ ) ( P , Q ) p − V S W p ( σ ′ ) ( P , Q ) p ∣ ≤ 2 p E ( f , g ) ∼ Ξ [ ( 2 max ( ∥ f ∥ ∞ , ∥ g ∥ ∞ ) ) p − 1 ∥ f − g ∥ ∞ ] . \left|\mathrm{VSW}_{p}^{(\sigma)}(\mathbb{P},\mathbb{Q})^{p}-\mathrm{VSW}_{p}^{(\sigma')}(\mathbb{P},\mathbb{Q})^{p}\right|
\le2p\,\mathbb{E}_{(f,g)\sim\Xi}\left[(2\max(\lVert f\rVert_{\infty},\lVert g\rVert_{\infty}))^{p-1}\lVert f-g\rVert_{\infty}\right]. VSW p ( σ ) ( P , Q ) p − VSW p ( σ ′ ) ( P , Q ) p ≤ 2 p E ( f , g ) ∼ Ξ [ ( 2 max (∥ f ∥ ∞ , ∥ g ∥ ∞ ) ) p − 1 ∥ f − g ∥ ∞ ] . In particular, if a sequence of finite-rank approximations f R ∼ σ R f_R\sim\sigma_R f R ∼ σ R can be coupled to f ∼ σ f\sim\sigma f ∼ σ so that E ∥ f R − f ∥ ∞ → 0 \mathbb{E}\lVert f_R-f\rVert_{\infty}\to0 E ∥ f R − f ∥ ∞ → 0 and sup R E ∥ f R ∥ ∞ 2 ( p − 1 ) < ∞ \sup_R\mathbb{E}\lVert f_R\rVert_{\infty}^{2(p-1)}<\infty sup R E ∥ f R ∥ ∞ 2 ( p − 1 ) < ∞ (both automatic from L 2 L^2 L 2 convergence when p ≤ 2 p\le2 p ≤ 2 ), then V S W p ( σ R ) → V S W p ( σ ) \mathrm{VSW}_{p}^{(\sigma_R)}\to\mathrm{VSW}_{p}^{(\sigma)} VSW p ( σ R ) → VSW p ( σ ) uniformly on P ( P ( Ω ) ) × P ( P ( Ω ) ) \mathcal{P}(\mathcal{P}(\Omega))\times\mathcal{P}(\mathcal{P}(\Omega)) P ( P ( Ω )) × P ( P ( Ω )) . Lemma D.3 verifies this hypothesis for truncated Karhunen–Loève expansions.
Proof. Write h ( f ) : = W p ( ( P f ) # P , ( P f ) # Q ) ∈ [ 0 , 2 ∥ f ∥ ∞ ] h(f):=W_p((P_f)_{\#}\mathbb{P},(P_f)_{\#}\mathbb{Q})\in[0,2\lVert f\rVert_{\infty}] h ( f ) := W p (( P f ) # P , ( P f ) # Q ) ∈ [ 0 , 2 ∥ f ∥ ∞ ] . By Lemma 3.2 (ii), ∣ h ( f ) − h ( g ) ∣ ≤ 2 ∥ f − g ∥ ∞ |h(f)-h(g)|\le2\lVert f-g\rVert_{\infty} ∣ h ( f ) − h ( g ) ∣ ≤ 2 ∥ f − g ∥ ∞ , and ∣ h ( f ) p − h ( g ) p ∣ ≤ p max ( h ( f ) , h ( g ) ) p − 1 ∣ h ( f ) − h ( g ) ∣ |h(f)^p-h(g)^p|\le p\max(h(f),h(g))^{p-1}|h(f)-h(g)| ∣ h ( f ) p − h ( g ) p ∣ ≤ p max ( h ( f ) , h ( g ) ) p − 1 ∣ h ( f ) − h ( g ) ∣ . Take expectations under Ξ \Xi Ξ and use max ( h ( f ) , h ( g ) ) ≤ 2 max ( ∥ f ∥ ∞ , ∥ g ∥ ∞ ) \max(h(f),h(g))\le2\max(\lVert f\rVert_{\infty},\lVert g\rVert_{\infty}) max ( h ( f ) , h ( g )) ≤ 2 max (∥ f ∥ ∞ , ∥ g ∥ ∞ ) ; 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 κ \kappa κ satisfy Assumption 1, let ( λ k , ϕ k ) k ≥ 1 (\lambda_k,\phi_k)_{k\ge1} ( λ k , ϕ k ) k ≥ 1 be the Mercer eigenpairs of κ \kappa κ on L 2 ( Ω , ι ) L^2(\Omega,\iota) L 2 ( Ω , ι ) for a fully supported finite Borel measure on Ω \Omega Ω , and set
f R = ∑ k = 1 R λ k ξ k ϕ k , ξ k ∼ i i d N ( 0 , 1 ) . f_R=\sum_{k=1}^{R}\sqrt{\lambda_k}\,\xi_k\phi_k,\qquad\xi_k\mathrel{\overset{\mathrm{iid}}{\sim}}\mathcal{N}(0,1). f R = k = 1 ∑ R λ k ξ k ϕ k , ξ k ∼ iid N ( 0 , 1 ) .
Then { λ k ϕ k } k ≥ 1 \{\sqrt{\lambda_k}\phi_k\}_{k\ge1} { λ k ϕ k } k ≥ 1 is an orthonormal basis of the Cameron–Martin space H κ \mathcal{H}_{\kappa} H κ of σ \sigma σ , the series converges almost surely in ( C ( Ω ) , ∥ ⋅ ∥ ∞ ) (C(\Omega), \|\cdot\|_{\infty}) ( C ( Ω ) , ∥ ⋅ ∥ ∞ ) with limit f f f distributed as σ \sigma σ , and E ∥ f − f R ∥ ∞ 2 → 0 \mathbb{E}\|f-f_R\|_{\infty}^{2}\to0 E ∥ f − f R ∥ ∞ 2 → 0 . Consequently VSW p ( σ R ) → VSW p ( σ ) \operatorname{VSW}_{p}(\sigma_R)\to\operatorname{VSW}_{p}(\sigma) VSW p ( σ R ) → VSW p ( σ ) uniformly on P ( P ( Ω ) ) × P ( P ( Ω ) ) \mathcal{P}(\mathcal{P}(\Omega))\times\mathcal{P}(\mathcal{P}(\Omega)) P ( P ( Ω )) × P ( P ( Ω )) by Proposition D.2.
Proof. By Mercer’s theorem on the compact space Ω \Omega Ω (with κ \kappa κ continuous and ι \iota ι fully supported), the eigenfunctions ϕ k \phi_k ϕ k are continuous and { λ k ϕ k } \{\sqrt{\lambda_k}\phi_k\} { λ k ϕ k } is an orthonormal basis of H κ \mathcal{H}_{\kappa} H κ , which coincides with the Cameron–Martin space of the Gaussian measure σ \sigma σ on C ( Ω ) C(\Omega) C ( Ω ) (Bogachev, [6 ] , Ch. 2–3). For any orthonormal basis { e k } \{e_k\} { e k } of the Cameron–Martin space of a centered Radon Gaussian measure on a separable Banach space, the series ∑ k ξ k e k \sum_k \xi_k e_k ∑ k ξ k e k with i.i.d. standard Gaussian coefficients converges almost surely in the Banach norm, with limit distributed as the measure (Bogachev, [6 ] , Thm. 3.5.1); this is an Itô–Nisio-type theorem. Finally, almost surely convergent Gaussian series in a separable Banach space converge in L r L^r L r for every r < ∞ r<\infty r < ∞ (Ledoux and Talagrand, [26 ] , Ch. 3), so E ∥ f − f R ∥ ∞ 2 → 0 \mathbb{E}\|f-f_R\|_{\infty}^{2}\to0 E ∥ f − f R ∥ ∞ 2 → 0 ; the coupling Ξ = law ( f R , f ) \Xi=\operatorname{law}(f_R,f) Ξ = law ( f R , f ) in Proposition D.2 together with Cauchy–Schwarz gives the uniform convergence of the sliced distances.
Ablation
Ablation on R R R . The number of random Fourier features R R R is specific to VSW. We therefore sweep R ∈ { 8 , 16 , … , 1024 } R\in\{8,16,\ldots,1024\} R ∈ { 8 , 16 , … , 1024 } in the dataset-distance setting of Figure 2 on FashionMNIST, at the two largest matched budgets L = S = 10 3 L=S=10^{3} L = S = 1 0 3 and L = S = 10 4 L=S=10^{4} L = S = 1 0 4 (Table 3 ), with the baseline configurations of Appendix § 14 . Each entry is the mean ± \pm ± 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 10 4 10^{4} 1 0 4 and 6 × 10 4 6\times10^{4} 6 × 1 0 4 . Larger R R R generally improves correlation at increased runtime, with limited gains beyond R = 512 R=512 R = 512 . For slicing budget L = S = 1000 L=S=1000 L = S = 1000 , all tested R ≥ 16 R\ge16 R ≥ 16 give higher mean Pearson and Spearman correlations than DSW and s-OTDD; R = 8 R=8 R = 8 is below DSW. At L = S = 10 4 L=S=10^{4} L = S = 1 0 4 , R = 128 R=128 R = 128 is competitive with DSW (Pearson 0.8468 ± 0.0080 0.8468\pm0.0080 0.8468 ± 0.0080 versus 0.8396 ± 0.0125 0.8396\pm0.0125 0.8396 ± 0.0125 ), with overlapping variability across random draws. We use R = 128 R=128 R = 128 for its balance of correlation and runtime.
Table 3. Ablation on the number of random Fourier features R R R on FashionMNIST, at the two matched slicing budgets L = S = 10 3 L = S = 10^3 L = S = 1 0 3 (top) and L = S = 10 4 L = S = 10^4 L = S = 1 0 4 (bottom). Each entry is the mean ± \pm ± 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 10 4 10^4 1 0 4 , and on the full training set of 6 × 10 4 6 \times10^4 6 × 1 0 4 .
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 κ ℓ ( x , y ) = exp ( − ∥ x − y ∥ 2 2 ℓ 2 ) \kappa_{\ell}(x,y)=\exp\left(-\frac{\|x-y\|^{2}}{2\ell^{2}}\right) κ ℓ ( x , y ) = exp ( − 2 ℓ 2 ∥ x − y ∥ 2 ) , whose spectral measure in (5) is τ κ ℓ = N ( 0 , ℓ − 2 I d ) \tau_{\kappa_{\ell}}=\mathcal{N}(0,\ell^{-2}I_d) τ κ ℓ = N ( 0 , ℓ − 2 I d ) . The bandwidth ℓ > 0 \ell>0 ℓ > 0 is set by the median heuristic (Gretton et al., [20 ] ). We pool the points of all inner measures of the two meta-measures being compared, draw 2000 of them uniformly at random, and set ℓ \ell ℓ 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 P = 1 3 ∑ k = 1 3 δ N ( μ k , I d ) \mathbb{P}=\frac{1}{3}\sum_{k=1}^{3}\delta_{\mathcal{N}(\mu_k,I_d)} P = 3 1 ∑ k = 1 3 δ N ( μ k , I d ) , a uniform distribution over three Gaussian inner measures whose means μ k \mu_k μ k are equally spaced on a circle of radius 4 in the first two coordinates. To sample an empirical meta-measure, we draw N N N labels k 1 , … , k N k_1,\ldots,k_N k 1 , … , k N independently and uniformly from { 1 , 2 , 3 } \{1,2,3\} { 1 , 2 , 3 } , and observe each inner measure N ( μ k i , I d ) \mathcal{N}(\mu_{k_i},I_d) N ( μ k i , I d ) through n n n i.i.d. points. Each empirical meta-measure has N N N inner measures observed through n n n points each. VSW uses R = 256 R=256 R = 256 , 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 N = n = 1000 N = n = 1000 N = n = 1000 and report ∣ V S W ^ 2 , L − V S W ^ 2 , L max ∣ \lvert\widehat{\mathrm{VSW}}_{2,L} - \widehat{\mathrm{VSW}}_{2,L_{\max}} \rvert ∣ VSW 2 , L − VSW 2 , L m a x ∣ for L ≤ 10 4 L \le10^4 L ≤ 1 0 4 , where the reference L max = 10 5 L_{\max} = 10^5 L m a x = 1 0 5 uses the same slices. For the outer and inner rates, both meta-measures are drawn from the same distribution, and we use L = 10 4 L = 10^4 L = 1 0 4 . The outer rate varies N N N with n = 1000 n = 1000 n = 1000 . The inner rate varies n n n with N = 1000 N = 1000 N = 1000 , and both meta-measures share the same N N N component labels, so that only the inner sampling error remains.
Optimal Transport Dataset Distance. Following Nguyen et al. [34 ] , 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 { 5000 , 6000 , … , 10000 } \{5000, 6000, \ldots, 10000\} { 5000 , 6000 , … , 10000 } 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, [2 ] ) with its default implementation. Following Piening and Beinert [35 ] , 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., [34 ] ) and DSW (Piening and Beinert, [35 ] ) 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 R = 128 R = 128 R = 128 , 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 L = S ∈ { 10 3 , 5 × 10 3 , 10 4 } L = S \in\{10^3, 5 \times10^3, 10^4\} L = S ∈ { 1 0 3 , 5 × 1 0 3 , 1 0 4 } . 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 [35 ] . The reference meta-measure contains N = 10 N = 10 N = 10 training shapes of one class, and the target contains M M M test shapes of the same class. We vary one factor at a time: (i) the number of target shapes M ∈ { 1 , … , 19 } M \in\{1, \ldots, 19\} M ∈ { 1 , … , 19 } (class bed , n = m = 50 n = m = 50 n = m = 50 ); (ii) the standard deviation σ n o i s e ∈ [ 0 , 0.5 ] \sigma_{\mathrm{noise}} \in[0, 0.5] σ noise ∈ [ 0 , 0.5 ] of Gaussian noise added to the target points (class sofa , M = 10 M = 10 M = 10 , n = m = 50 n = m = 50 n = m = 50 ); and (iii) the target resolution m ∈ { 50 , 100 , … , 600 } m \in\{50, 100, \ldots, 600\} m ∈ { 50 , 100 , … , 600 } (class chair , M = 10 M = 10 M = 10 , n = 500 n = 500 n = 500 ). Each setting is repeated over 5 random draws of shapes. VSW uses L = 2000 L = 2000 L = 2000 slices with R = 128 R = 128 R = 128 , and bandwidth is set by the median heuristic. For OT-NNA ([47 ] ), WoW, and DSW, we use the implementations and hyperparameters of Piening and Beinert [35 ] . 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 ± 1 \pm1 ± 1 standard deviation over the repetitions.
For Table 1 , every method compares the full sets of 662 ShapeNet test chairs ([11 ] ) and 662 PVD samples ([49 ] ), 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 ± \pm ± 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 [35 ] . Each meta-measure is a batch of 32 grayscale 64 × 64 64 \times64 64 × 64 Perlin-noise images (scale 100, pixel values rescaled to [ 0 , 1 ] [0, 1] [ 0 , 1 ] ), and each image is represented by the uniform empirical measure of its 3249 overlapping 8 × 8 8 \times8 8 × 8 patches in R 64 \mathbb{R}^{64} R 64 . In the persistence sweep, the reference batch has persistence 0.5 (lacunarity 2.5, 5 octaves) and the target persistence varies over { 0.1 , 0.25 , 0.5 , 0.75 , 1 } \{0.1, 0.25, 0.5, 0.75, 1\} { 0.1 , 0.25 , 0.5 , 0.75 , 1 } . In the lacunarity sweep, the reference has lacunarity 1.5 (persistence 1, 6 octaves) and the target lacunarity varies over { 1 , 1.25 , 1.5 , 1.75 , 2 } \{1, 1.25, 1.5, 1.75, 2\} { 1 , 1.25 , 1.5 , 1.75 , 2 } . 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 L = 2000 L = 2000 L = 2000 slices with R = 128 R = 128 R = 128 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 100 × 100 100 \times100 100 × 100 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 ± 1 \pm1 ± 1 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 \mathbb{Q} Q consists of N = 5 N = 5 N = 5 ImageNet classes ([14 ] ) (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 64 × 64 64 \times64 64 × 64 , scaled to [ 0 , 1 ] [0, 1] [ 0 , 1 ] , and flattened, so that Ω ⊂ R 12288 \Omega\subset\mathbb{R}^{12288} Ω ⊂ R 12288 . The source meta-measure has the same shape, with N = 5 N = 5 N = 5 clouds of n = 20 n = 20 n = 20 particles drawn i.i.d. from N ( 0 , I ) \mathcal{N}(0, I) N ( 0 , I ) . We run the particle scheme of § 3.4 for 110,000 steps. At every step, we draw fresh slices (L = 8000 L = 8000 L = 8000 slices, R = 4096 R = 4096 R = 4096 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 1 / ( N n ) 1/(Nn) 1/ ( N n ) , we multiply the gradient by N n Nn N n 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 ] [0,1] [ 0 , 1 ] , embed them with CLIP ViT-L/14 ([36 ] ) using its standard preprocessing, and ℓ 2 \ell_2 ℓ 2 -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 ([35 ] ) uses 100 × 100 100 \times100 100 × 100 slices and a 50-point quantile grid, with its GP length scale tuned per dataset (0.03 and 0.003). MMDSW ([9 ] ) is the MMD with the sliced-Wasserstein Riesz kernel − S W r -\mathrm{SW}_r − SW r , with 128 projections and r = 1 r = 1 r = 1 and r = 0.5 r = 0.5 r = 0.5 , respectively. For DSW ([35 ] ), we again use a vectorized implementation that returns the same values as the reference one. We report the point-level W 2 2 W_2^2 W 2 2 between 4096 generated points, one from each of 4096 generated clouds, and 4096 points from the target, computed with POT ([18 ] ) and averaged over 2 draws. The ground-truth level is W 2 2 W_2^2 W 2 2 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 [35 ] 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 Ω ⊂ R \Omega\subset\mathbb{R} Ω ⊂ R : the outer measure is uniform over the points, and the inner measure of point i i i is the empirical distribution of its distances to all points, i.e., row i i 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 ([7 ] ). For 2D Shapes ([3 ] ) and Animals ([42 ] ), we use the preprocessed data released by Beier et al. [3 ] . For MNIST-2000, we follow the construction of Piening and Beinert [35 ] : 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 L = 100 L = 100 and R = 16 R = 16 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.