Lune

ICML2025Top-tier venue

UltraTWD: Optimizing Ultrametric Trees for Tree-Wasserstein Distance

Fangchen Yu, Yanzhen Chen, Jiaxing Wei, Jianfeng Mao, Wenye Li, Qiang Sun

Abstract

The Wasserstein distance is a widely used metric for measuring differences between distributions, but its super-cubic time complexity introduces substantial computational burdens. To mitigate this, the tree-Wasserstein distance (TWD) offers a linear-time approximation by leveraging a tree structure; however, existing TWD methods often compromise accuracy due to suboptimal tree structures and edge weights. To address it, we introduce UltraTWD, a novel unsupervised framework that simultaneously optimizes both ultrametric tree structures and edge weights to more faithfully approximate the cost matrix. Specifically, we develop algorithms based on minimum spanning trees, iterative projection, and gradient descent to efficiently learn high-quality ultrametric trees. Empirical results across document retrieval, ranking, and classification tasks demonstrate that UltraTWD achieves superior approximation accuracy and competitive downstream performance. Code is available at: https: //github.com/NeXAIS/UltraTWD .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Supervised Tree-Wasserstein Distance cites Scalable Nearest Neighbor Search for Optimal Transport
  • New streaming algorithms for high dimensional EMD and MST cites Scalable Nearest Neighbor Search for Optimal Transport
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on12

  1. Scalable Nearest Neighbor Search for Optimal TransportArturs Backurs, Yihe Dong, Piotr Indyk, Ilya P. Razenshteyn et al.ICML 2020 · 60 citations
  2. Supervised Tree-Wasserstein DistanceYuki Takezawa, Ryoma Sato, Makoto YamadaICML 2021 · 14 citations
  3. Understanding DDPM Latent Codes Through Optimal TransportValentin Khrulkov, Gleb V. Ryzhakov, Andrei Chertkov, Ivan V. OseledetsICLR 2023 · 12 citations
  4. New streaming algorithms for high dimensional EMD and MSTXi Chen, Rajesh Jayaram, Amit Levi, Erik WaingartenSTOC 2022 · 11 citations
  5. Distance-Based Tree-Sliced Wasserstein DistanceHoang V. Tran, Minh-Khoi Nguyen-Nhat, Huyen Trang Pham, Thanh T. Chu et al.ICLR 2025 · 8 citations

Related papers

  1. Learning Ultrametric Trees for Optimal Transport RegressionSamantha Chen, Puoya Tabaghi, Yusu WangAAAI 2024 · 6 citations
  2. A linear time approximation of Wasserstein distance with word embedding selectionSho Otao, Makoto YamadaEMNLP 2023 · 2 citations
  3. Fast unsupervised ground metric learning with tree-Wasserstein distanceKira Michaela Düsterwald, Samo Hromadka, Makoto YamadaICLR 2025
  4. Tree-Wasserstein Distance for High Dimensional Data with a Latent Feature HierarchyYa-Wei Eileen Lin, Ronald R. Coifman, Gal Mishne, Ronen TalmonICLR 2025
  5. On Efficient Low Distortion Ultrametric EmbeddingVincent Cohen-Addad, Karthik C. S., Guillaume LagardeICML 2020 · 13 citations
Dusk over the sea between two cliffs drawn in fine vertical lines