Supervised Tree-Wasserstein Distance
Yuki Takezawa, Ryoma Sato, Makoto Yamada
Abstract
To measure the similarity of documents, the Wasserstein distance is a powerful tool, but it requires a high computational cost. Recently, for fast computation of the Wasserstein distance, methods for approximating the Wasserstein distance using a tree metric have been proposed. These tree-based methods allow fast comparisons of a large number of documents; however, they are unsupervised and do not learn task-specific distances. In this work, we propose the Supervised Tree-Wasserstein (STW) distance, a fast, supervised metric learning method based on the tree metric. Specifically, we rewrite the Wasserstein distance on the tree metric by the parent-child relationships of a tree, and formulate it as a continuous optimization problem using a contrastive loss. Experimentally, we show that the STW distance can be computed fast, and improves the accuracy of document classification tasks. Furthermore, the STW distance is formulated by matrix multiplications, runs on a GPU, and is suitable for batch processing. Therefore, we show that the STW distance is extremely efficient when comparing a large number of documents.
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.
9 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- UltraTWD: Optimizing Ultrametric Trees for Tree-Wasserstein Distance cites Scalable Nearest Neighbor Search for Optimal Transport
- UltraTWD: Optimizing Ultrametric Trees for Tree-Wasserstein Distance cites A linear time approximation of Wasserstein distance with word embedding selection
- Fast Unbalanced Optimal Transport on a Tree cites Scalable Nearest Neighbor Search for Optimal Transport
- Joint Hierarchical Representation Learning of Samples and Features via Informed Tree-Wasserstein Distance cites Fast unsupervised ground metric learning with tree-Wasserstein distance
- Joint Hierarchical Representation Learning of Samples and Features via Informed Tree-Wasserstein Distance cites From Trees to Continuous Embeddings and Back: Hyperbolic Hierarchical Clustering
- Joint Hierarchical Representation Learning of Samples and Features via Informed Tree-Wasserstein Distance cites Scalable Nearest Neighbor Search for Optimal Transport
- Re-evaluating Word Mover's Distance cites Fast Unbalanced Optimal Transport on a Tree
- Re-evaluating Word Mover's Distance cites Scalable Nearest Neighbor Search for Optimal Transport
- A linear time approximation of Wasserstein distance with word embedding selection cites Fast Unbalanced Optimal Transport on a Tree
- A linear time approximation of Wasserstein distance with word embedding selection cites Scalable Nearest Neighbor Search for Optimal Transport
- A linear time approximation of Wasserstein distance with word embedding selection cites Re-evaluating Word Mover's Distance
Cited by top-tier papers9
- Re-evaluating Word Mover's DistanceRyoma Sato, Makoto Yamada, Hisashi KashimaICML 2022 · 25 citations
- Joint Hierarchical Representation Learning of Samples and Features via Informed Tree-Wasserstein DistanceYa-Wei Eileen Lin, Ronald R. Coifman, Gal Mishne, Ronen TalmonNeurIPS 2025 · 3 citations
- A linear time approximation of Wasserstein distance with word embedding selectionSho Otao, Makoto YamadaEMNLP 2023 · 2 citations
- Fast unsupervised ground metric learning with tree-Wasserstein distanceKira Michaela Düsterwald, Samo Hromadka, Makoto YamadaICLR 2025
- UltraTWD: Optimizing Ultrametric Trees for Tree-Wasserstein DistanceFangchen Yu, Yanzhen Chen, Jiaxing Wei, Jianfeng Mao et al.ICML 2025
Builds on5
- From Trees to Continuous Embeddings and Back: Hyperbolic Hierarchical ClusteringInes Chami, Albert Gu, Vaggos Chatziafratis, Christopher RéNeurIPS 2020 · 125 citations
- Scalable Nearest Neighbor Search for Optimal TransportArturs Backurs, Yihe Dong, Piotr Indyk, Ilya P. Razenshteyn et al.ICML 2020 · 60 citations
- Rankmax: An Adaptive Projection Alternative to the Softmax FunctionWeiwei Kong, Walid Krichene, Nicolas Mayoraz, Steffen Rendle et al.NeurIPS 2020 · 23 citations
- Fast Unbalanced Optimal Transport on a TreeRyoma Sato, Makoto Yamada, Hisashi KashimaNeurIPS 2020 · 4 citations
- Semantic Correspondence as an Optimal Transport ProblemYanbin Liu, Linchao Zhu, Makoto Yamada, Yi YangCVPR 2020
Related papers
- Generalized Sobolev Transport for Probability Measures on a GraphTam Le, Truyen Nguyen, Kenji FukumizuICML 2024 · 9 citations
- Distance-Based Tree-Sliced Wasserstein DistanceHoang V. Tran, Minh-Khoi Nguyen-Nhat, Huyen Trang Pham, Thanh T. Chu et al.ICLR 2025 · 8 citations
- Learning Ultrametric Trees for Optimal Transport RegressionSamantha Chen, Puoya Tabaghi, Yusu WangAAAI 2024 · 6 citations
- X-TED: Massive Parallelization of Tree Edit DistanceDayi Fan, Rubao Lee, Xiaodong ZhangVLDB 2024 · 2 citations
- Tree-Wasserstein Distance for High Dimensional Data with a Latent Feature HierarchyYa-Wei Eileen Lin, Ronald R. Coifman, Gal Mishne, Ronen TalmonICLR 2025
