Tree-sliced Sobolev IPM

Viet-Hoang Tran, Thanh Tran, Thanh Chu, Duy-Tung Pham, Trung-Khang Tran, Tam Le, Tan Minh NguyenICLR 2026

TL;DR

TS-Sobolev is a new family of "tree-sliced" metrics that generalizes Tree-Sliced Wasserstein (TSW) distances to higher orders ($p \ge 1$) without any added computational cost. By leveraging regularized Sobolev Integral Probability Metrics (IPMs), it provides the smoother optimization landscapes of higher-order metrics while maintaining the efficiency of $p=1$ closed-form solutions. This approach outperforms standard Sliced Wasserstein variants in generative modeling, gradient flows, and self-supervised learning.

The Bottleneck in Comparing Distributions

Comparing probability distributions is a cornerstone of machine learning, essential for tasks ranging from training Generative Adversarial Networks (GANs) to evaluating word embeddings. While Optimal Transport (OT) is the gold standard for this comparison, its cubic computational complexity makes it unusable for large datasets.

To solve this, researchers developed Sliced Wasserstein (SW), which projects high-dimensional data onto random 1D lines where OT is cheap to compute. Tree-Sliced Wasserstein (TSW) took this a step further by projecting data onto tree structures, which capture complex geometries far better than simple lines.

However, a major bottleneck remained: TSW is only computationally efficient for the 1-Wasserstein distance ($p=1$). In gradient-based learning, practitioners often prefer higher-order metrics ($p > 1$) because they offer strictly convex optimization landscapes and smoother gradients. Until now, computing tree-based $p$-Wasserstein for $p > 1$ was simply too costly for practical use.

A "Free Lunch" with TS-Sobolev

The authors introduce TS-Sobolev (for Euclidean space) and STS-Sobolev (for spherical data) to bridge this gap. Their approach combines two key ideas:

  1. Tree-Slicing Framework: They use the Radon transform to project probability measures from high-dimensional spaces (like $\mathbb{R}^d$ or the hypersphere $\mathbb{S}^d$) onto a system of random trees.
Illustration of a tree structure used in the tree-slicing framework to project high-dimensional data.
  1. Regularized Sobolev IPM: Instead of trying to solve the standard $p$-Wasserstein problem on trees, they revisit Sobolev Integral Probability Metrics. They prove that a regularized version of the Sobolev IPM admits a simple, closed-form solution for any $p \ge 1$.

The "Free Lunch": For $p > 1$, TS-Sobolev has the exact same computational complexity as TSW at $p=1$ ($O(Lkn \log n + Lkdn)$). This allows practitioners to swap $p=1$ for $p=2$ (or any other value) to get better optimization behavior without slowing down their code.

Key Insights and Advantages

  • The $p=1$ Bridge: At $p=1$, TS-Sobolev exactly recovers the standard TSW distance. This makes it a mathematically sound generalization rather than just a heuristic.
  • Automatic Fine-Grained Focus: The Sobolev formulation includes a weighting term $\hat{w}(x)^{1-p}$. For $p > 1$, this term naturally down-weights global gradients near the root of the tree and amplifies local gradients near the leaves. This helps the model focus on refining fine-grained details (like textures in images) once the global structure is settled.
  • Optimization Stability: By moving to $p > 1$, the loss function becomes strictly convex. This eliminates the "constant gradient" problem of $p=1$ metrics, which often leads to oscillations around the optimum unless the learning rate is perfectly tuned.
  • Spherical Versatility: By extending the math to hyperspheres, the authors provide a robust tool for fields like directional statistics and self-supervised learning (SSL), where data is naturally normalized to a sphere.

Empirical Results

The authors evaluated TS-Sobolev across several domains, demonstrating consistent improvements over existing baselines:

  • Better Images in Generative Modeling: When integrated into Diffusion GANs (DDGANs) on CIFAR-10, TS-Sobolev$_2$ achieved an FID score of 2.277, outperforming the best previous tree-sliced baseline (2.53) without increasing the time per epoch.
Quantitative results on CIFAR-10 generative modeling, demonstrating TS-Sobolev's superior FID scores.
  • Superior Convergence: In gradient flow tasks on the Gaussian 30d dataset, TS-Sobolev$_{1.2}$ achieved a final distance of 1.40, significantly beating TSW-SL (1.93) and Db-TSW (1.78).
  • SSL Gains: On spherical self-supervised learning, STS-Sobolev$_2$ reached 80.6% linear evaluation accuracy, surpassing the standard Spherical Tree-Sliced Wasserstein (80.53%).
  • Topic Coherence: In text modeling, TS-Sobolev$_2$ achieved the highest topic coherence scores on both BBC (0.805) and M10 (0.497) datasets compared to all other sliced and tree-sliced variants.

Limitations and Future Work

While highly effective, the current TS-Sobolev framework assumes both distributions have the same total mass. It cannot yet handle "unbalanced" optimal transport, which is common in applications like cell biology or partial shape matching. Additionally, while $p \in [1, 2]$ works excellently, very high values of $p$ can make the weighting term too extreme, potentially leading to numerical instability or exploding gradients. Extending this framework to handle unbalanced measures remains a promising direction for future research.

Summary updated

BibTeX
@inproceedings{tran2026tree,
  author = {Viet-Hoang Tran and Thanh Tran and Thanh Chu and Duy-Tung Pham and Trung-Khang Tran and Tam Le and Tan Minh Nguyen},
  title = {{Tree-sliced Sobolev IPM}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=HHNQSXaLkF},
}
Figure