Papers › On Inference Stability for Diffusion Models

On Inference Stability for Diffusion Models

19 Dec 2023arXiv:2312.12431archive 2025-07-28

Viet Nguyen, Giang Vu, Tung Nguyen Thanh, Khoat Than, Toan Tran

Denoising Probabilistic Models (DPMs) represent an emerging domain of generative models that excel in generating diverse and high-quality images. However, most current training methods for DPMs often neglect the correlation between timesteps, limiting the model's performance in generating images effectively. Notably, we theoretically point out that this issue can be caused by the cumulative estimation gap between the predicted and the actual trajectory. To minimize that gap, we propose a novel \textit{sequence-aware} loss that aims to reduce the estimation gap to enhance the sampling quality. Furthermore, we theoretically show that our proposed loss function is a tighter upper bound of the estimation loss in comparison with the conventional loss in DPMs. Experimental results on several benchmark datasets including CIFAR10, CelebA, and CelebA-HQ consistently show a remarkable improvement of our proposed method regarding the image generalization quality measured by FID and Inception Score compared to several DPM baselines. Our code and pre-trained checkpoints are available at \url{https://github.com/VinAIResearch/SA-DPM}.

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

Code

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

By repository: official repository: 14 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.

vinairesearch/sa-dpm officialmentioned in papermentioned on GitHubpytorchAGPL-3.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

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

Licence: 14 of the 14 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 vinairesearch/sa-dpm. “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 vinairesearch/sa-dpm/models/diffusion.py official repository ran · our draft was wrong AGPL-3.0 (copyleft) · pointer only · c3a6b977022957cb · report
calculate_alpha vinairesearch/sa-dpm/functions/losses.py official repository ran AGPL-3.0 (copyleft) · pointer only · 748faa99f5d069c5 · report
drop_path vinairesearch/sa-dpm/models/timm.py official repository ran · fixture could not drive it AGPL-3.0 (copyleft) · pointer only · 39eace7e2822504f · report
extract_into_tensor vinairesearch/sa-dpm/functions/losses.py official repository ran AGPL-3.0 (copyleft) · pointer only · cc45f50a2bd93ac1 · report
get_beta_schedule vinairesearch/sa-dpm/generate.py official repository ran · honoured contract AGPL-3.0 (copyleft) · pointer only · ca0cea1ca1eeec89 · report
get_timestep_embedding vinairesearch/sa-dpm/models/diffusion.py official repository ran · fixture could not drive it fingerprinted AGPL-3.0 (copyleft) · pointer only · cb49209c125de1b4 · report
nonlinearity vinairesearch/sa-dpm/models/diffusion.py official repository ran · our draft was wrong fingerprinted AGPL-3.0 (copyleft) · pointer only · 3137073275f8c21a · report
parse_int_list vinairesearch/sa-dpm/generate.py official repository ran · honoured contract AGPL-3.0 (copyleft) · pointer only · cacd4f6ec202d9b4 · report
sample_image vinairesearch/sa-dpm/generate.py official repository ran AGPL-3.0 (copyleft) · pointer only · 3b27a6175d73a50b · report
calculate_activation_statistics vinairesearch/sa-dpm/pytorch_fid/fid_score.py official repository unverified AGPL-3.0 (copyleft) · pointer only · bd88683e6bd4454d · report
calculate_frechet_distance vinairesearch/sa-dpm/pytorch_fid/fid_score.py official repository unverified AGPL-3.0 (copyleft) · pointer only · fcdc92d3d2e8edc1 · report
get_activations vinairesearch/sa-dpm/pytorch_fid/fid_score.py official repository unverified AGPL-3.0 (copyleft) · pointer only · 26edbd4467e04bec · report
sequence_aware_loss vinairesearch/sa-dpm/functions/losses.py official repository unverified AGPL-3.0 (copyleft) · pointer only · 37f492692ae34358 · report
trunc_normal_ vinairesearch/sa-dpm/models/timm.py official repository unverified AGPL-3.0 (copyleft) · pointer only · 5436174f8c0e64e0 · report

Tasks

Denoising

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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