Papers › Learning to Discretize Denoising Diffusion ODEs

Learning to Discretize Denoising Diffusion ODEs

24 May 2024arXiv:2405.15506archive 2025-07-28

Vinh Tong, Hoang Trung-Dung, Anji Liu, Guy Van Den Broeck, Mathias Niepert

Diffusion Probabilistic Models (DPMs) are generative models showing competitive performance in various domains, including image synthesis and 3D point cloud generation. Sampling from pre-trained DPMs involves multiple neural function evaluations (NFEs) to transform Gaussian noise samples into images, resulting in higher computational costs compared to single-step generative models such as GANs or VAEs. Therefore, reducing the number of NFEs while preserving generation quality is crucial. To address this, we propose LD3, a lightweight framework designed to learn the optimal time discretization for sampling. LD3 can be combined with various samplers and consistently improves generation quality without having to retrain resource-intensive neural networks. We demonstrate analytically and empirically that LD3 improves sampling efficiency with much less computational overhead. We evaluate our method with extensive experiments on 7 pre-trained models, covering unconditional and conditional sampling in both pixel-space and latent-space DPMs. We achieve FIDs of 2.38 (10 NFE), and 2.27 (10 NFE) on unconditional CIFAR10 and AFHQv2 in 5-10 minutes of training. LD3 offers an efficient approach to sampling from pre-trained diffusion models. Code is available at https://github.com/vinhsuhi/LD3.

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

Code

Syntology Ran 14 of 15 code samples harvested from 1 repository linked to this paper; 1 has no recorded run. Of those that ran: 5 ran · our draft was wrong; 9 ran with no contract checked.

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

vinhsuhi/ld3 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

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

5ran · our draft was wrong
9ran
1unverified

Licence: 15 of the 15 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 vinhsuhi/ld3. “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.

interpolate_fn vinhsuhi/ld3/noise_schedulers.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 6a35b62fbc80f70a · report
calculate_fid_from_inception_stats vinhsuhi/ld3/compute_fid.py official repository ran no licence file found · pointer only · 3c04e2c9c1fea67f · report
compute_distance_between_two vinhsuhi/ld3/utils.py official repository ran no licence file found · pointer only · 9de72366ed400b32 · report
compute_distance_between_two_L1 vinhsuhi/ld3/utils.py official repository ran no licence file found · pointer only · f1578daf6d04b0fa · report
custom_collate_fn vinhsuhi/ld3/trainer.py official repository ran no licence file found · pointer only · 6fc0c975e29ab730 · report
discretize_model_wrapper vinhsuhi/ld3/trainer.py official repository ran no licence file found · pointer only · be5bbe03e0053737 · report
expand_dims vinhsuhi/ld3/models/latent_diff.py official repository ran · our draft was wrong no licence file found · pointer only · e6110366588c5c65 · report
format_time vinhsuhi/ld3/dnnlib/util.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 674eca7b9e1b6439 · report
format_time_brief vinhsuhi/ld3/dnnlib/util.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 32af001972a0699f · report
get_data_inverse_scaler vinhsuhi/ld3/gen_data.py official repository ran no licence file found · pointer only · f7c7e8e70f4a652b · report
get_obj_from_str vinhsuhi/ld3/models/latent_diff.py official repository ran · our draft was wrong no licence file found · pointer only · 221b2d116fdf1032 · report
load_data_from_dir vinhsuhi/ld3/dataset.py official repository ran no licence file found · pointer only · 4db328029379ff51 · report
model_wrapper vinhsuhi/ld3/models/edm_uncond.py official repository ran no licence file found · pointer only · f7adf140ec2262ee · report
model_wrapper vinhsuhi/ld3/models/latent_diff.py official repository ran no licence file found · pointer only · 4a51afc5d36d9348 · report
ask_yes_no vinhsuhi/ld3/dnnlib/util.py official repository unverified no licence file found · pointer only · 9d31d2c4cd16bb2d · report

Tasks

DenoisingImage GenerationPoint Cloud Generation

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