SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2503.11050 · 2025

Distance-Based Tree-Sliced Wasserstein Distance

arXiv · PDF · Open in the Atlas

Code that ran

15 of 19 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 2 violated it and 9 have no contract verdict; 4 failures of our instrument; 4 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2503.11050.json · badge: /api/ran/2503.11050.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
Fsoft-AIC/DbTSW canonical (classifier label)
classifier basis not recorded on the link
15 ran · 4 no recorded run
FunctionStatusWhere it lives
W2_1d Ran
ran on a synthesized input
Fsoft-AIC/DbTSW/experiments/gradient-flow/core/SWGG.py
code served (permissive licence) · get_code("10853de1303723dd")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 1, dtype family float, shape (4,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# W2_1d computes sum of squared differences between two sorted line tensors
# It expects two tensors of the same shape and performs element-wise operations
# Parameters: X_line_sort, Y_line_sort - both should be 1D or multi-dimensional tensors

X_line_sort = torch.randn(2, 4)
Y_line_sort = torch.randn(2, 4)

ARGS = {
    "X_line_sort": X_line_sort,
    "Y_line_sort": Y_line_sort,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 1, dtype family float, shape (4,) — shape (4,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
calculate_frechet_distance Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Fsoft-AIC/DbTSW/experiments/denoising-diffusion-gan/pytorch_fid/fid_score.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from NVlabs/denoising-diffusion-gan, is pointer only (licence: NOASSERTION) · get_code("fcdc92d3d2e8edc1")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from NVlabs/denoising-diffusion-gan, and GitHub could not classify the licence of that repository (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

compute_Wasserstein Ran
ran on a synthesized input
Fsoft-AIC/DbTSW/experiments/gradient-flow/core/gradient_flow.py
code served (permissive licence) · get_code("df383ed042cd440b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np
import ot

torch.manual_seed(0)

# Create a small cost matrix M
# This should be a 2D tensor representing distances between points
# Shape: (n, n) where n is the number of points
M = torch.randn(3, 3, dtype=torch.float32)

# Ensure M is non-negative (cost matrices are typically non-negative)
M = torch.abs(M)

ARGS = {
    'M': M,
    'device': 'cpu',
    'e': 0
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, ot, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
compute_true_Wasserstein Ran
ran on a synthesized input
Fsoft-AIC/DbTSW/experiments/gradient-flow/core/gradient_flow.py
code served (permissive licence) · get_code("56c0afd58960e460")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# Create small tensors
# X: shape (2, 4) - 2 samples, 4 dimensions
X = torch.randn(2, 4)

# Y: shape (3, 4) - 3 samples, 4 dimensions (different batch size for clarity)
Y = torch.randn(3, 4)

# p parameter (default is 2, which is the Euclidean distance)
p = 2

ARGS = {
    "X": X,
    "Y": Y,
    "p": p,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, ot, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
extract Ran
ran; our contract draft was wrong, not the code
Fsoft-AIC/DbTSW/experiments/denoising-diffusion-gan/train_ddgan.py
code served (permissive licence) · get_code("dbaf06f6ab72167f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 3, dtype family float, shape (2, 1, 1) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Construct arguments for extract(input, t, shape)
# input: a tensor to gather from (dimension 0 is the gathering dimension)
# t: indices tensor for gathering along dimension 0
# shape: the target shape for reshaping

# Create a small input tensor with batch size 2, feature dim 4
input = torch.randn(2, 4)

# Create indices tensor for gathering along dimension 0
# Indices should be in range [0, input.shape[0])
t = torch.tensor([[0], [1]])

# Define the target shape - must be compatible with gathered output
# After gather on dim 0, output will have shape matching t's shape
# Then reshape to [shape[0]] + [1] * (len(shape) - 1)
# So shape should have compatible first dimension
shape = (2, 4, 3)

ARGS = {
    "input": input,
    "t": t,
    "shape": shape
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family float, shape (2, 1, 1) — shape (2, 1, 1) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
generate_trees_frames Ran
ran on a synthesized input
Fsoft-AIC/DbTSW/db_tsw/utils.py
code served (permissive licence) · get_code("44a9a491a88a84ec")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

ARGS = {
    'ntrees': 2,
    'nlines': 3,
    'd': 4,
    'mean': 128,
    'std': 0.1,
    'device': 'cpu',
    'gen_mode': 'gaussian_raw'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
make_blobs_random Ran
ran on a synthesized input
Fsoft-AIC/DbTSW/experiments/gradient-flow/core/generate_data.py
code served (permissive licence) · get_code("0c49eeb3efa10d5b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 2, dtype family float, shape (100, 2) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Set random seed for reproducibility
np.random.seed(0)

ARGS = {
    "n_samples": 100,
    "n_blobs": 5,
    "scale": 0.5,
    "offset": 3
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (100, 2) — shape (100, 2) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
make_blobs_reg Ran
ran on a synthesized input
Fsoft-AIC/DbTSW/experiments/gradient-flow/core/generate_data.py
code served (permissive licence) · get_code("281c672a91d898db")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 2, dtype family float, shape (100, 2) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

ARGS = {
    "n_samples": 100,
    "n_blobs": 5,
    "scale": 0.5
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (100, 2) — shape (100, 2) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
make_spiral Ran
ran on a synthesized input
Fsoft-AIC/DbTSW/experiments/gradient-flow/core/generate_data.py
code served (permissive licence) · get_code("e6859576298167fd")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 2, dtype family float, shape (10, 2) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

np.random.seed(0)

ARGS = {
    "n_samples": 10,
    "noise": 0.5,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (10, 2) — shape (10, 2) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
preds2score Ran
ran; our contract draft was wrong, not the code
Fsoft-AIC/DbTSW/experiments/denoising-diffusion-gan/pytorch_fid/inception_score.py
code served (permissive licence) · get_code("a32f853e4b62793c")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Construct valid arguments for preds2score
# The function expects:
# - preds: a 2D numpy array of shape (n_samples, n_classes) containing probability distributions
# - splits: number of splits to divide the predictions into

# Create a small probability distribution array
# Shape: (10, 4) - 10 samples, 4 classes
np.random.seed(0)
preds = np.random.dirichlet([1, 1, 1, 1], size=10)  # Creates valid probability distributions

ARGS = {
    "preds": preds,
    "splits": 2
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
str2bool Ran
ran, violated the contract we drafted
Fsoft-AIC/DbTSW/experiments/gradient-flow/cfg.py
code served (permissive licence) · get_code("f017532fc389cbfe")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import argparse

def str2bool(v):
    if v.lower() in ('yes', 'true', 't', 'y', '1'):
        return True
    elif v.lower() in ('no', 'false', 'f', 'n', '0'):
        return False
    else:
        raise argparse.ArgumentTypeError('Boolean value expected.')

# Setup code to construct valid arguments
ARGS = {
    'v': 'true'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
svd_orthogonalize Ran
ran on a synthesized input
Fsoft-AIC/DbTSW/db_tsw/utils.py
code served (permissive licence) · get_code("a23adc90085cc7b7")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (4, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Create a small matrix to pass to svd_orthogonalize
# Using distinct dimensions: 4 rows, 3 columns
matrix = torch.randn(4, 3)

ARGS = {
    "matrix": matrix
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (4, 3) — shape (4, 3) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
temperature Ran
ran on a synthesized input
Fsoft-AIC/DbTSW/experiments/gradient-flow/core/Simulated_Annealing.py
code served (permissive licence) · get_code("56963d39c9de6af6")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

# Analyze the function:
# - temperature(n_iter, T_0=1)
# - n_iter: used in range(n_iter) and division, should be an integer
# - T_0: used as initial value in list, should be a number (int or float)
# - The function creates a list and appends values to it
# - Returns a list of temperature values

ARGS = {
    "n_iter": 5,
    "T_0": 1.0
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
var_func_geometric Ran
ran, violated the contract we drafted
Fsoft-AIC/DbTSW/experiments/denoising-diffusion-gan/train_ddgan.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from khainb/rpsw, is pointer only (licence: NONE) · get_code("65846ba5525a01b5")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from khainb/rpsw, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

var_func_vp Ran
ran; our contract draft was wrong, not the code
Fsoft-AIC/DbTSW/experiments/denoising-diffusion-gan/train_ddgan.py
code served (permissive licence) · get_code("37f4a211c7f3b70a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 1, dtype family float, shape (2,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Construct arguments for var_func_vp
# Parameters: t, beta_min, beta_max
# All are used in arithmetic operations with torch.exp and torch operations

# t: a tensor used in arithmetic operations
t = torch.tensor([0.5, 1.0], dtype=torch.float32)

# beta_min: a scalar or tensor used in arithmetic operations
beta_min = torch.tensor(0.1, dtype=torch.float32)

# beta_max: a scalar or tensor used in arithmetic operations
beta_max = torch.tensor(0.9, dtype=torch.float32)

ARGS = {
    "t": t,
    "beta_min": beta_min,
    "beta_max": beta_max,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 1, dtype family float, shape (2,) — shape (2,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
W2_proj Not yet run
unverified (harvested, no recorded run)
Fsoft-AIC/DbTSW/experiments/gradient-flow/core/SWGG.py
code served (permissive licence) · get_code("805b00de71cd788c")
How it ran

no invocation recorded.

calculate_activation_statistics Not yet run
unverified (harvested, no recorded run)
Fsoft-AIC/DbTSW/experiments/denoising-diffusion-gan/pytorch_fid/fid_score.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from NVlabs/denoising-diffusion-gan, is pointer only (licence: NOASSERTION) · get_code("bd88683e6bd4454d")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from NVlabs/denoising-diffusion-gan, and GitHub could not classify the licence of that repository (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

compute_bary_line Not yet run
unverified (harvested, no recorded run)
Fsoft-AIC/DbTSW/experiments/gradient-flow/core/SWGG.py
code served (permissive licence) · get_code("5803c476aaa8df6b")
How it ran

no invocation recorded.

get_activations Not yet run
unverified (harvested, no recorded run)
Fsoft-AIC/DbTSW/experiments/denoising-diffusion-gan/pytorch_fid/fid_score.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from NVlabs/denoising-diffusion-gan, is pointer only (licence: NOASSERTION) · get_code("26edbd4467e04bec")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from NVlabs/denoising-diffusion-gan, and GitHub could not classify the licence of that repository (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 19 samples lifted from this paper's linked repositories, 19 carry a function identity and 0 do not. Of the 19 distinct functions with an identity, 15 are also present in other papers whose code we hold (15 with at least one paper dated earlier, 1 the same month, 7 later) and 4 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
str2bool 82 other papers
81 dated earlier, 1 the same month
1510.03055 (2015-10)
A Diversity-Promoting Objective Function for Neural Conversation Models
1703.06490 (2017-03)
Generating Multi-label Discrete Patient Records using Generative Adversarial Networks
1710.10467 (2017-10)
Generalized End-to-End Loss for Speaker Verification
and 79 more not named here
var_func_geometric 7 other papers
6 dated earlier, 1 later
2112.07804 (2021-12)
Tackling the Generative Learning Trilemma with Denoising Diffusion GANs
2207.05876 (2022-07)
Adaptive Diffusion Priors for Accelerated MRI Reconstruction
2210.05559 (2022-10)
Unifying Diffusion Models' Latent Space, with Applications to CycleDiffusion and Guidance
and 4 more not named here
calculate_frechet_distance 6 other papers
5 dated earlier, 1 later
2106.00132 (2021-06)
On Fast Sampling of Diffusion Probabilistic Models
2303.05456 (2023-03)
Restoration based Generative Models
2311.17101 (2023-11)
A High-Quality Robust Diffusion Framework for Corrupted Dataset
and 3 more not named here
var_func_vp 6 other papers
5 dated earlier, 1 later
2207.05876 (2022-07)
Adaptive Diffusion Priors for Accelerated MRI Reconstruction
2210.05559 (2022-10)
Unifying Diffusion Models' Latent Space, with Applications to CycleDiffusion and Guidance
2303.05456 (2023-03)
Restoration based Generative Models
and 3 more not named here
calculate_activation_statistics 5 other papers
4 dated earlier, 1 later
2106.00132 (2021-06)
On Fast Sampling of Diffusion Probabilistic Models
2303.05456 (2023-03)
Restoration based Generative Models
2311.17101 (2023-11)
A High-Quality Robust Diffusion Framework for Corrupted Dataset
and 2 more not named here
extract 5 other papers
3 dated earlier, 2 later
2207.05876 (2022-07)
Adaptive Diffusion Priors for Accelerated MRI Reconstruction
2310.17316 (2023-10)
Defect Spectrum: A Granular Look of Large-Scale Defect Datasets with Rich Semantics
2401.15889 (2024-01)
Sliced Wasserstein with Random-Path Projecting Directions
and 2 more not named here
get_activations 5 other papers
4 dated earlier, 1 later
2106.00132 (2021-06)
On Fast Sampling of Diffusion Probabilistic Models
2303.05456 (2023-03)
Restoration based Generative Models
2312.12431 (2023-12)
On Inference Stability for Diffusion Models
and 2 more not named here
preds2score 3 other papers
2 dated earlier, 1 later
1606.03498 (2016-06)
Improved Techniques for Training GANs
1802.03446 (2018-02)
Pros and Cons of GAN Evaluation Measures
2508.19857 (2025-08)
Quantum latent distributions in deep generative models
W2_1d 1 other paper
1 dated earlier
2307.01770 (2023-07)
Fast Optimal Transport through Sliced Wasserstein Generalized Geodesics
W2_proj 1 other paper
1 dated earlier
2307.01770 (2023-07)
Fast Optimal Transport through Sliced Wasserstein Generalized Geodesics
compute_bary_line 1 other paper
1 dated earlier
2307.01770 (2023-07)
Fast Optimal Transport through Sliced Wasserstein Generalized Geodesics
make_blobs_random 1 other paper
1 dated earlier
2307.01770 (2023-07)
Fast Optimal Transport through Sliced Wasserstein Generalized Geodesics
make_blobs_reg 1 other paper
1 dated earlier
2307.01770 (2023-07)
Fast Optimal Transport through Sliced Wasserstein Generalized Geodesics
make_spiral 1 other paper
1 dated earlier
2307.01770 (2023-07)
Fast Optimal Transport through Sliced Wasserstein Generalized Geodesics
temperature 1 other paper
1 dated earlier
2307.01770 (2023-07)
Fast Optimal Transport through Sliced Wasserstein Generalized Geodesics

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

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.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2503.11050")
get_code_for_paper("2503.11050")
have("2503.11050")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2503.11050.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2503.11050.svg)](https://syntology.ai/paper/2503.11050)

Connect an agent — have() is free.