Papers › Distance-Based Tree-Sliced Wasserstein Distance

Distance-Based Tree-Sliced Wasserstein Distance

14 Mar 2025arXiv:2503.11050archive 2025-07-28

Hoang V. Tran, Khoi N. M. Nguyen, Trang Pham, Thanh T. Chu, Tam Le, Tan M. Nguyen

To overcome computational challenges of Optimal Transport (OT), several variants of Sliced Wasserstein (SW) has been developed in the literature. These approaches exploit the closed-form expression of the univariate OT by projecting measures onto (one-dimensional) lines. However, projecting measures onto low-dimensional spaces can lead to a loss of topological information. Tree-Sliced Wasserstein distance on Systems of Lines (TSW-SL) has emerged as a promising alternative that replaces these lines with a more advanced structure called tree systems. The tree structures enhance the ability to capture topological information of the metric while preserving computational efficiency. However, at the core of TSW-SL, the splitting maps, which serve as the mechanism for pushing forward measures onto tree systems, focus solely on the position of the measure supports while disregarding the projecting domains. Moreover, the specific splitting map used in TSW-SL leads to a metric that is not invariant under Euclidean transformations, a typically expected property for OT on Euclidean space. In this work, we propose a novel class of splitting maps that generalizes the existing one studied in TSW-SL enabling the use of all positional information from input measures, resulting in a novel Distance-based Tree-Sliced Wasserstein (Db-TSW) distance. In addition, we introduce a simple tree sampling process better suited for Db-TSW, leading to an efficient GPU-friendly implementation for tree systems, similar to the original SW. We also provide a comprehensive theoretical analysis of proposed class of splitting maps to verify the injectivity of the corresponding Radon Transform, and demonstrate that Db-TSW is an Euclidean invariant metric. We empirically show that Db-TSW significantly improves accuracy compared to recent SW variants while maintaining low computational cost via a wide range of experiments.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2503.11050")

Code

Syntology Ran 3 of 19 code samples harvested from 1 repository linked to this paper; 16 have no recorded run. Of those that ran: 2 ran · violated contract; 1 ran · our draft was wrong.

By repository: official repository: 19 samples from 1 repository, 3 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Fsoft-AIC/DbTSW officialpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

19 samples harvested; 3 ran; 0 honoured the contract we drafted; 16 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · violated contract
1ran · our draft was wrong
16unverified

Licence: 0 of the 19 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from Fsoft-AIC/DbTSW. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

preds2score Fsoft-AIC/DbTSW/experiments/denoising-diffusion-gan/pytorch_fid/inception_score.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · a32f853e4b62793c · report
str2bool Fsoft-AIC/DbTSW/experiments/gradient-flow/cfg.py official repository ran · violated contract Apache-2.0 (permissive) · f017532fc389cbfe · report
var_func_geometric Fsoft-AIC/DbTSW/experiments/denoising-diffusion-gan/train_ddgan.py official repository ran · violated contract fingerprinted Apache-2.0 (permissive) · 65846ba5525a01b5 · report
W2_1d Fsoft-AIC/DbTSW/experiments/gradient-flow/core/SWGG.py official repository unverified Apache-2.0 (permissive) · 10853de1303723dd · report
W2_proj Fsoft-AIC/DbTSW/experiments/gradient-flow/core/SWGG.py official repository unverified Apache-2.0 (permissive) · 805b00de71cd788c · report
calculate_activation_statistics Fsoft-AIC/DbTSW/experiments/denoising-diffusion-gan/pytorch_fid/fid_score.py official repository unverified Apache-2.0 (permissive) · bd88683e6bd4454d · report
calculate_frechet_distance Fsoft-AIC/DbTSW/experiments/denoising-diffusion-gan/pytorch_fid/fid_score.py official repository unverified Apache-2.0 (permissive) · fcdc92d3d2e8edc1 · report
compute_Wasserstein Fsoft-AIC/DbTSW/experiments/gradient-flow/core/gradient_flow.py official repository unverified Apache-2.0 (permissive) · df383ed042cd440b · report
compute_bary_line Fsoft-AIC/DbTSW/experiments/gradient-flow/core/SWGG.py official repository unverified Apache-2.0 (permissive) · 5803c476aaa8df6b · report
compute_true_Wasserstein Fsoft-AIC/DbTSW/experiments/gradient-flow/core/gradient_flow.py official repository unverified Apache-2.0 (permissive) · 56c0afd58960e460 · report
extract Fsoft-AIC/DbTSW/experiments/denoising-diffusion-gan/train_ddgan.py official repository unverified Apache-2.0 (permissive) · dbaf06f6ab72167f · report
generate_trees_frames Fsoft-AIC/DbTSW/db_tsw/utils.py official repository unverified Apache-2.0 (permissive) · 44a9a491a88a84ec · report
get_activations Fsoft-AIC/DbTSW/experiments/denoising-diffusion-gan/pytorch_fid/fid_score.py official repository unverified Apache-2.0 (permissive) · 26edbd4467e04bec · report
make_blobs_random Fsoft-AIC/DbTSW/experiments/gradient-flow/core/generate_data.py official repository unverified Apache-2.0 (permissive) · 0c49eeb3efa10d5b · report
make_blobs_reg Fsoft-AIC/DbTSW/experiments/gradient-flow/core/generate_data.py official repository unverified Apache-2.0 (permissive) · 281c672a91d898db · report
make_spiral Fsoft-AIC/DbTSW/experiments/gradient-flow/core/generate_data.py official repository unverified Apache-2.0 (permissive) · e6859576298167fd · report
svd_orthogonalize Fsoft-AIC/DbTSW/db_tsw/utils.py official repository unverified Apache-2.0 (permissive) · a23adc90085cc7b7 · report
temperature Fsoft-AIC/DbTSW/experiments/gradient-flow/core/Simulated_Annealing.py official repository unverified Apache-2.0 (permissive) · 56963d39c9de6af6 · report
var_func_vp Fsoft-AIC/DbTSW/experiments/denoising-diffusion-gan/train_ddgan.py official repository unverified Apache-2.0 (permissive) · 37f4a211c7f3b70a · report

Tasks

Computational Efficiency

1 archive task tag without a task page not shown.

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Focus

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections