Tree-Sliced Orlicz Integral Probability Metric

Tuan A. Hoang, Trung-Khang Tran, Viet-Hoang Tran, Tan Minh NguyenNeurIPS 2026

TL;DR

Comparing complex probability distributions in high dimensions is usually a painful trade-off between geometric richness and computational speed. The authors introduce Tree-Sliced Orlicz IPM (TS-Orlicz), a framework that upgrades fast, tree-projected transport distances from rigid, linear $L^1$ penalties to flexible convex geometries—giving machine learning models smoother optimization landscapes and tail-sensitive losses at virtually zero extra asymptotic cost.

What Problem Does This Paper Address?

Many machine learning tasks—like training generative models or aligning embeddings—boil down to measuring how much effort it takes to morph one probability distribution into another. Optimal Transport (OT) is the mathematical gold standard for this, Respecting the underlying geometry of space. Unfortunately, standard OT solvers scale at $\mathcal{O}(n^3 \log n)$ for $n$ data points, which quickly grinds large-scale training to a halt.

To dodge this bottleneck, researchers invented Sliced Wasserstein (SW) distances, which project high-dimensional data onto random 1D lines where transport is cheap and closed-form. Because 1D lines flatten out complex topology, Tree-Sliced Wasserstein (TSW) later upgraded these projections from simple lines to structured trees of lines.

Here’s the catch: TSW relies on a closed-form transport formula on trees that only works for first-order ($p=1$) Wasserstein distance. That locks TSW into an $L^1$-type geometry—summing mass imbalances linearly across tree branches. In gradient-based optimization, $p=1$ leads to non-smooth, jagged landscapes lacking strict convexity, whereas higher-order ($p > 1$) or exponential geometries offer much better-behaved gradients. How do we escape the $L^1$ trap on trees without ruining TSW's speed?

Methods

Instead of computing first-order Wasserstein distance on each sampled tree, the authors swap in an Orlicz Integral Probability Metric (Orlicz IPM).

An Orlicz space generalizes standard $L^p$ spaces by replacing simple power functions ($t^p$) with a broader class of strictly increasing convex functions called $N$-functions ($\Phi$), such as exponential growth ($e^t - t - 1$ or $e^{t^2} - 1$). Here is how the pipeline works, separating standard machinery from what’s new:

  • Standard (Tree-Slicing): Data in $\mathbb{R}^d$ is projected onto random continuous tree systems via a Radon transform, distributing probability mass across branches.
  • Novel Integration (Tree-Sliced Orlicz): On each projected tree, the authors leverage a recent mathematical trick showing that an Orlicz IPM on a rooted tree reduces to a simple 1D scalar optimization problem over a single scale parameter $a > 0$.
  • Fast Solver: For power functions, this has an exact closed form. For general differentiable $N$-functions, the authors introduce a log-space bisection algorithm ($\eta = \log a$) to find the optimal scale $a$. Because $a$ can span orders of magnitude, bisecting in log-space controls relative error and converges in a tiny, fixed number of steps ($I_{\max}$), preserving the standard $\mathcal{O}(Lkdn + Lkn \log n)$ tree-slicing complexity.
  • Spherical Extension (STS-Orlicz): Using spherical Radon transforms and spherical tree systems, they extend the exact same Orlicz machinery to distributions living on hyperspheres ($\mathbb{S}^d$).

Datasets

No new benchmarks are introduced; the authors evaluate on established synthetic and real-world benchmarks:

  • Synthetic Euclidean Distributions: 25 Gaussians and Gaussian 30D (for Euclidean gradient flows).
  • CIFAR-10: Used for two distinct tasks—unconditional image generation (via diffusion-GAN hybrids) and spherical self-supervised contrastive learning (with a ResNet18 encoder).
  • Synthetic Spherical Distributions: A mixture of 12 von Mises–Fisher (vMF) distributions with 2,400 samples (for spherical gradient flows).

Key Insights and Ideas

  • Univariate Magic Bridges Expressiveness and Speed: Normally, Orlicz-Wasserstein distances require gnarly coupled optimizations over transport plans and scaling factors. Projecting onto trees collapses the inner optimization into a monotonic 1D root-finding problem, giving you tail-sensitive or smooth $L^p$ geometries for a negligible constant-factor overhead.
  • Seamless Interpolation to TSW: TS-Orlicz isn't a departure from TSW, it's a true generalization. Using normalized power $N$-functions, as $p \to 1^+$, TS-Orlicz mathematically converges right back to standard TSW.
  • Geometry Isn't One-Size-Fits-All: Having a menu of convex functions matters. Near-$L^1$ functions ($p=1.1$) shine in multimodal low-dimensional flows (25 Gaussians), quadratic ($p=2$) geometries excel in higher-dimensional Gaussian flows, and heavy-tailed exponential penalties ($e^{t^2}-1$) work best for generative image modeling where large subtree discrepancies need stronger pushback.

Key Results

Across Euclidean and spherical tasks, TS-Orlicz and STS-Orlicz match the speed of existing tree-sliced methods while improving downstream metrics:

Table 1: Average Wasserstein distance over 5 runs between source and target distributions (scaled by 10−1 for the 30D Gaussian case). All methods use 100 projection directions.
  • Euclidean Gradient Flows: As shown in the table above, TS-Orlicz variants achieve the lowest final Wasserstein distances at iteration 2,500—reaching $6.43 \times 10^{-7}$ on 25 Gaussians (with $\Phi_{0, 1.1}$, beating TSW-SL's $7.32 \times 10^{-7}$) and $1.76 \times 10^{-1}$ on Gaussian 30D (with $\Phi_{0, 2}$, beating Db-TSW's $2.77 \times 10^{-1}$).
  • Diffusion Models (DDGAN on CIFAR-10): Plugging TS-Orlicz into the DDGAN objective yields a Fréchet Inception Distance (FID) of $2.294 \pm 0.026$ (using $\Phi_2$), outperforming Circular-TSW-DD ($2.33$) and Db-TSW-DD$^\perp$ ($2.53$) while running at the exact same speed (74 seconds/epoch).
  • Spherical Self-Supervised Learning: On CIFAR-10 linear probing, STS-Orlicz reaches $80.58\%$ accuracy on encoded features and $77.47\%$ on projected features, edging out STSW ($80.36\%$ / $77.14\%$) and substantially beating spherical sliced baselines like SSW ($70.22\%$).
  • Spherical Gradient Flows: On the 12-vMF mixture, $\text{STS-Orlicz}_{\Phi_2}$ achieves a final $\log W_2$ distance of $-4.140$, improving over STSW ($-4.002$) and SSW ($-3.073$), though the authors note that improvements on both spherical tasks are modest relative to run-to-run variance.

Limitations and Future Work

  • Manual Function Tuning: Because different tasks favor different growth regimes (e.g., polynomial vs. exponential), choosing the right Orlicz function $\Phi$ is currently task-dependent and requires hyperparameter tuning.
  • Future Directions: The authors suggest exploring adaptive selection of Orlicz functions during training, extending the math to unbalanced optimal transport (where distributions don't have equal total mass), and developing methods to extract explicit transport maps rather than just discrepancy scores.

Summary updated

Abstract

Tree-sliced distances have emerged as scalable alternatives to Sliced Wasserstein distances by projecting probability measures onto tree metric spaces and exploiting closed-form transport on trees. Existing tree-sliced constructions, however, are largely built around first-order Wasserstein geometry. While this choice yields efficient computation, it fixes the discrepancy to an $L^1$-type aggregation of subtree mass imbalances and provides limited control over the geometry used in downstream optimization. We propose Tree-Sliced Orlicz IPM (TS-Orlicz), a tree-sliced framework that replaces the tree-level $W_1$ discrepancy with an Orlicz integral probability metric. Building on the tractable formulation of Orlicz IPMs on trees, TS-Orlicz aggregates Orlicz-induced discrepancies over random tree systems while preserving the scalability of tree-sliced computation. By varying the underlying Orlicz function, the framework recovers $L^p$-type behavior and also supports non-polynomial, tail-sensitive geometries that emphasize large subtree discrepancies. We show that TS-Orlicz preserves key properties of tree-sliced constructions and admits efficient computation via closed-form special cases and one-dimensional scalar optimization. We further extend the framework to probability measures on hyperspheres. Experiments across Euclidean and spherical settings, including gradient flows, self-supervised learning, and diffusion-based generative modeling, show that Orlicz-induced tree-sliced discrepancies achieve competitive or improved performance over sliced and tree-sliced baselines while maintaining low computational cost.
BibTeX
@inproceedings{hoang2026tree,
  author = {Tuan A. Hoang and Trung-Khang Tran and Viet-Hoang Tran and Tan Minh Nguyen},
  title = {{Tree-Sliced Orlicz Integral Probability Metric}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=ZK1WX79lMF},
}
Figure