Papers › Optimal Transport-Guided Conditional Score-Based Diffusion Models

Optimal Transport-Guided Conditional Score-Based Diffusion Models

2 Nov 2023arXiv:2311.01226archive 2025-07-28

Xiang Gu, Liwei Yang, Jian Sun, Zongben Xu

Conditional score-based diffusion model (SBDM) is for conditional generation of target data with paired data as condition, and has achieved great success in image translation. However, it requires the paired data as condition, and there would be insufficient paired data provided in real-world applications. To tackle the applications with partially paired or even unpaired dataset, we propose a novel Optimal Transport-guided Conditional Score-based diffusion model (OTCS) in this paper. We build the coupling relationship for the unpaired or partially paired dataset based on L₂-regularized unsupervised or semi-supervised optimal transport, respectively. Based on the coupling relationship, we develop the objective for training the conditional score-based model for unpaired or partially paired settings, which is based on a reformulation and generalization of the conditional SBDM for paired setting. With the estimated coupling relationship, we effectively train the conditional score-based model by designing a ``resampling-by-compatibility'' strategy to choose the sampled data with high compatibility as guidance. Extensive experiments on unpaired super-resolution and semi-paired image-to-image translation demonstrated the effectiveness of the proposed OTCS model. From the viewpoint of optimal transport, OTCS provides an approach to transport data across distributions, which is a challenge for OT on large-scale datasets. We theoretically prove that OTCS realizes the data transport in OT with a theoretical bound. Code is available at \url{https://github.com/XJTU-XGU/OTCS}.

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="2311.01226")

Code

Syntology Ran 9 of 17 code samples harvested from 1 repository linked to this paper; 8 have no recorded run. Of those that ran: 2 ran · honoured contract; 4 ran · our draft was wrong; 1 ran · fixture could not drive it; 2 ran with no contract checked.

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

xjtu-xgu/otcs officialmentioned in papermentioned on GitHubpytorch 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

17 samples harvested; 9 ran; 2 honoured the contract we drafted; 8 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 · honoured contract
4ran · our draft was wrong
1ran · fixture could not drive it
2ran
8unverified

Licence: 17 of the 17 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 XJTU-XGU/OTCS. “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.

Normalize XJTU-XGU/OTCS/functions/models.py official repository ran · our draft was wrong no licence file found · pointer only · c3a6b977022957cb · report
dict2namespace XJTU-XGU/OTCS/main_ddpm.py official repository ran · our draft was wrong no licence file found · pointer only · bd1f17e427bf51a5 · report
get_timestep_embedding XJTU-XGU/OTCS/functions/models.py official repository ran · fixture could not drive it fingerprinted no licence file found · pointer only · cb49209c125de1b4 · report
l_loader XJTU-XGU/OTCS/datasets/animal.py official repository ran · honoured contract no licence file found · pointer only · edd7184ac144c4fa · report
list_dir XJTU-XGU/OTCS/datasets/utils.py official repository ran no licence file found · pointer only · 0a2cbd0f7b6ec66e · report
list_files XJTU-XGU/OTCS/datasets/utils.py official repository ran no licence file found · pointer only · c1f52cd4748a76ab · report
md5_hash XJTU-XGU/OTCS/functions/ckpt_util.py official repository ran · our draft was wrong no licence file found · pointer only · 07d90bd6ae1be7db · report
nonlinearity XJTU-XGU/OTCS/functions/models.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 3137073275f8c21a · report
rgb_loader XJTU-XGU/OTCS/datasets/animal.py official repository ran · honoured contract no licence file found · pointer only · 2c5ce24ea2b5d2a4 · report
LargeScaleOTSolver xjtu-xgu/otcs/runners/OT_solver.py official repository unverified no licence file found · pointer only · add68c6d59179a8a · report
check_integrity XJTU-XGU/OTCS/datasets/utils.py official repository unverified no licence file found · pointer only · 7345763c9b9300fb · report
get_animal_dataset XJTU-XGU/OTCS/datasets/data_list.py official repository unverified no licence file found · pointer only · d7e6fb44d02122f9 · report
get_animal_dataset_test XJTU-XGU/OTCS/datasets/data_list.py official repository unverified no licence file found · pointer only · 5673afaf376c4601 · report
get_celeba_dataset XJTU-XGU/OTCS/datasets/data_list.py official repository unverified no licence file found · pointer only · 89b1fbb2a7d8307c · report
get_ckpt_path XJTU-XGU/OTCS/functions/ckpt_util.py official repository unverified no licence file found · pointer only · 95ec0717923d54c9 · report
make_dataset XJTU-XGU/OTCS/datasets/animal.py official repository unverified no licence file found · pointer only · a0192b9fd16fb20f · report
noise_estimation_loss XJTU-XGU/OTCS/functions/losses.py official repository unverified no licence file found · pointer only · 1445873866afd900 · report

Tasks

Image-to-Image TranslationSuper-ResolutionTranslation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Diffusion

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