SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2403.18705 · 2024

Conditional Wasserstein Distances with Applications in Bayesian OT Flow Matching

arXiv · PDF · Open in the Atlas

Code that ran

10 of 16 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; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 9 failures of our instrument; 6 no recorded run), measured 2026-11-22; 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/2403.18705.json · badge: /api/ran/2403.18705.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
jchemseddine/conditional_wasserstein_distances canonical (classifier label)
classifier basis: census
10 ran · 6 no recorded run
FunctionStatusWhere it lives
calculate_activation_statistics Ran
ran; our contract draft was wrong, not the code
jchemseddine/conditional_wasserstein_distances/utils/fid_score.py
pointer only (licence: NONE); the stored copy get_code serves, from annegnx/PnP-Flow, is pointer only (licence: NONE) · get_code("014ed7df4050e8a4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jchemseddine/conditional_wasserstein_distances 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.

draw_mixture_dist Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
jchemseddine/conditional_wasserstein_distances/utils/Util_mixture.py
pointer only (licence: NONE) · get_code("94bd78b15164446b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jchemseddine/conditional_wasserstein_distances 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.

get_activations Ran
ran; our contract draft was wrong, not the code
jchemseddine/conditional_wasserstein_distances/utils/fid_score.py
pointer only (licence: NONE); the stored copy get_code serves, from annegnx/PnP-Flow, is pointer only (licence: NONE) · get_code("f10c698bdf0953d7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jchemseddine/conditional_wasserstein_distances 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.

get_param_groups_and_shapes Ran
ran; our contract draft was wrong, not the code
jchemseddine/conditional_wasserstein_distances/utils/fp16_util.py
pointer only (licence: NONE); the stored copy get_code serves, from ZhendongWang6/DIRE, is pointer only (licence: NONE) · get_code("e41367ad14ff58fd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jchemseddine/conditional_wasserstein_distances 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.

get_single_gaussian_posterior Ran
ran, honoured the contract we drafted
jchemseddine/conditional_wasserstein_distances/utils/Util_mixture.py
pointer only (licence: NONE) · get_code("504e3a94c9a36991")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jchemseddine/conditional_wasserstein_distances 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.

make_master_params Ran
ran; our contract draft was wrong, not the code
jchemseddine/conditional_wasserstein_distances/utils/fp16_util.py
pointer only (licence: NONE); the stored copy get_code serves, from ZhendongWang6/DIRE, is pointer only (licence: NONE) · get_code("e20dd5102da3b050")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jchemseddine/conditional_wasserstein_distances 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.

make_output_format Ran
ran; our contract draft was wrong, not the code
jchemseddine/conditional_wasserstein_distances/utils/logger.py
pointer only (licence: NONE) · get_code("bcd8b4acab199405")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jchemseddine/conditional_wasserstein_distances 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.

mpi_weighted_mean Ran
ran; our contract draft was wrong, not the code
jchemseddine/conditional_wasserstein_distances/utils/logger.py
pointer only (licence: NONE); the stored copy get_code serves, from HeadLiuYun/NeuroDiff, is pointer only (licence: NONE) · get_code("e515a67f7f32e76d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jchemseddine/conditional_wasserstein_distances 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.

unflatten_master_params Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
jchemseddine/conditional_wasserstein_distances/utils/fp16_util.py
pointer only (licence: NONE); the stored copy get_code serves, from ZhendongWang6/DIRE, is pointer only (licence: NONE) · get_code("64fff1e30802b815")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jchemseddine/conditional_wasserstein_distances 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.

zero_module Ran
ran; our contract draft was wrong, not the code
jchemseddine/conditional_wasserstein_distances/utils/nn.py
pointer only (licence: NONE) · get_code("129b804760b3115f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jchemseddine/conditional_wasserstein_distances 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.

avg_pool_nd Not yet run
unverified (harvested, no recorded run)
jchemseddine/conditional_wasserstein_distances/utils/nn.py
pointer only (licence: NONE) · get_code("ecd0fc28815b65ae")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jchemseddine/conditional_wasserstein_distances 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. No invocation recorded.

calculate_frechet_distance Not yet run
unverified (harvested, no recorded run)
jchemseddine/conditional_wasserstein_distances/utils/fid_score.py
pointer only (licence: NONE) · get_code("0def50a351111624")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jchemseddine/conditional_wasserstein_distances 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. No invocation recorded.

conv_nd Not yet run
unverified (harvested, no recorded run)
jchemseddine/conditional_wasserstein_distances/utils/nn.py
pointer only (licence: NONE) · get_code("fe4eb545bbb728e0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jchemseddine/conditional_wasserstein_distances 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. No invocation recorded.

get_mixture_posterior Not yet run
unverified (harvested, no recorded run)
jchemseddine/conditional_wasserstein_distances/utils/Util_mixture.py
pointer only (licence: NONE) · get_code("ff0561a8f9d587e0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jchemseddine/conditional_wasserstein_distances 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. No invocation recorded.

profile Not yet run
unverified (harvested, no recorded run)
jchemseddine/conditional_wasserstein_distances/utils/logger.py
pointer only (licence: NONE); the stored copy get_code serves, from HeadLiuYun/NeuroDiff, is pointer only (licence: NONE) · get_code("0c6607473a4c4c55")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jchemseddine/conditional_wasserstein_distances 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. No invocation recorded.

sample Not yet run
unverified (harvested, no recorded run)
jchemseddine/conditional_wasserstein_distances/utils/utils_FID.py
pointer only (licence: NONE) · get_code("383ae97dfafc251c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jchemseddine/conditional_wasserstein_distances 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. No invocation recorded.

Also present in other papers' code

Of 16 samples lifted from this paper's linked repositories, 16 carry a function identity and 0 do not. Of the 16 distinct functions with an identity, 13 are also present in other papers whose code we hold (11 with at least one paper dated earlier, 10 the same month, 12 later) and 3 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
zero_module 196 other papers
105 dated earlier, 13 the same month, 77 later, 1 same year, order not determinable · 49 only as an assembly brick
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2105.05233 (2021-05)
Diffusion Models Beat GANs on Image Synthesis
and 193 more not named here
conv_nd 121 other papers
72 dated earlier, 6 the same month, 40 later, 3 same year, order not determinable · 32 only as an assembly brick
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
and 118 more not named here
avg_pool_nd 113 other papers
73 dated earlier, 4 the same month, 33 later, 3 same year, order not determinable · 31 only as an assembly brick
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2110.11291 (2021-10)
Likelihood Training of Schrödinger Bridge using Forward-Backward SDEs Theory
and 110 more not named here
calculate_frechet_distance 74 other papers
55 dated earlier, 2 the same month, 16 later, 1 same year, order not determinable
1610.09585 (2016-10)
Conditional Image Synthesis With Auxiliary Classifier GANs
1706.08500 (2017-06)
GANs Trained by a Two Time-Scale Update Rule Converge to a Local Nash Equilibrium
1807.11458 (2018-07)
To learn image super-resolution, use a GAN to learn how to do image degradation first
and 71 more not named here
make_output_format 73 other papers
57 dated earlier, 2 the same month, 13 later, 1 same year, order not determinable
1611.05763 (2016-11)
Learning to reinforcement learn
1804.06459 (2018-04)
On Learning Intrinsic Rewards for Policy Gradient Methods
1806.02473 (2018-06)
Graph Convolutional Policy Network for Goal-Directed Molecular Graph Generation
and 70 more not named here
unflatten_master_params 72 other papers
42 dated earlier, 5 the same month, 24 later, 1 same year, order not determinable
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
2111.14818 (2021-11)
Blended Diffusion for Text-driven Editing of Natural Images
2112.03145 (2021-12)
Diffusion Models for Implicit Image Segmentation Ensembles
and 69 more not named here
make_master_params 70 other papers
41 dated earlier, 5 the same month, 23 later, 1 same year, order not determinable
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
2111.14818 (2021-11)
Blended Diffusion for Text-driven Editing of Natural Images
2112.03145 (2021-12)
Diffusion Models for Implicit Image Segmentation Ensembles
and 67 more not named here
get_param_groups_and_shapes 68 other papers
39 dated earlier, 5 the same month, 23 later, 1 same year, order not determinable
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
2111.14818 (2021-11)
Blended Diffusion for Text-driven Editing of Natural Images
2112.03145 (2021-12)
Diffusion Models for Implicit Image Segmentation Ensembles
and 65 more not named here
profile 61 other papers
44 dated earlier, 2 the same month, 14 later, 1 same year, order not determinable
1611.05763 (2016-11)
Learning to reinforcement learn
1905.06750 (2019-05)
Random Expert Distillation: Imitation Learning via Expert Policy Support Estimation
1906.05841 (2019-06)
Deep Reinforcement Learning for Industrial Insertion Tasks with Visual Inputs and Natural Rewards
and 58 more not named here
mpi_weighted_mean 52 other papers
36 dated earlier, 2 the same month, 13 later, 1 same year, order not determinable
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
2111.14818 (2021-11)
Blended Diffusion for Text-driven Editing of Natural Images
and 49 more not named here
calculate_activation_statistics 1 other paper
1 later
2602.08538 (2026-02)
Trajectory Stitching for Solving Inverse Problems with Flow-Based Models
get_activations 1 other paper
1 later
2602.08538 (2026-02)
Trajectory Stitching for Solving Inverse Problems with Flow-Based Models
get_single_gaussian_posterior 1 other paper
1 dated earlier
2211.17158 (2022-11)
Proximal Residual Flows for Bayesian Inverse Problems

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-22.

Repositories linked to this paper

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

Abstract

In inverse problems, many conditional generative models approximate the posterior measure by minimizing a distance between the joint measure and its learned approximation. While this approach also controls the distance between the posterior measures in the case of the Kullback--Leibler divergence, this is in general not hold true for the Wasserstein distance. In this paper, we introduce a conditional Wasserstein distance via a set of restricted couplings that equals the expected Wasserstein distance of the posteriors. Interestingly, the dual formulation of the conditional Wasserstein-1 flow resembles losses in the conditional Wasserstein GAN literature in a quite natural way. We derive theoretical properties of the conditional Wasserstein distance, characterize the corresponding geodesics and velocity fields as well as the flow ODEs. Subsequently, we propose to approximate the velocity fields by relaxing the conditional Wasserstein distance. Based on this, we propose an extension of OT Flow Matching for solving Bayesian inverse problems and demonstrate its numerical advantages on an inverse problem and class-conditional image generation.

For agents

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

get_harvested_code_for_paper("2403.18705")
get_code_for_paper("2403.18705")
have("2403.18705")

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

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

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

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

Connect an agent — have() is free.