Noise and Gradient-Aware Sampling for Efficient Diffusion Generation

Muhammad Bagus Andra(1*)
(1) Universitas Nusa Mandiri
(*) Corresponding Author
DOI : 10.35889/jutisi.v14i2.3116

Abstract

Diffusion models have achieved remarkable success in generative tasks but remain computationally expensive due to their iterative sampling process. The Denoising Diffusion Implicit Model (DDIM) is one of the popular choices for sampling methods, yet it is still riddled with some drawbacks. DDIM employs a fixed-step schedule that allocates equal computational effort across all noise levels, overlooking the varying difficulty of the denoising process. In this work, we propose Adaptive Timestep Allocation for DDIM, a simple yet effective sampling scheme that dynamically adjusts step sizes based on both noise variance and gradient sensitivity of the denoising network. Our approach allocates larger steps during high-noise sampling stages, where coarse updates are sufficient, and smaller steps during low-noise sampling stages, where detail and intricate parts of the image are critical. This dual adaptation is inspired by insights from signal-to-noise ratio (SNR) analysis and adaptive ODE solvers, requiring no retraining or architectural modifications. We evaluate our method on Stable Diffusion v1.5 and SDXL using MS-COCO captions and DrawBench prompts. Our evaluation shows improvements in Fréchet Inception Distance (FID) and CLIP score, while reducing sampling steps. Our results highlight that principled, adaptive step allocation offers a practical and plug-and-play solution for accelerating diffusion sampling without compromising image quality.

 

Keywords


Diffusion; Generative AI; Diffusion Model; Stable Diffusion

References


M. Liu and Y. Hu, ‘Application Potential of Stable Diffusion in Different Stages of Industrial Design’, in Artificial Intelligence in HCI, vol. 14050, Cham: Springer Nature Switzerland, 2023, pp. 590–609.

J. Ho, A. Jain, and P. Abbeel, ‘Denoising Diffusion Probabilistic Models’, arXiv:arXiv:2006.11239., Dec. 16, 2020.

[1] J. Song, C. Meng, and S. Ermon, ‘Denoising Diffusion Implicit Models’, arXiv: arXiv:2010.02502., Oct. 05, 2022.

[C. Lu, Y. Zhou, F. Bao, J. Chen, C. Li, and J. Zhu, ‘DPM-Solver: A Fast ODE Solver for Diffusion Probabilistic Model Sampling in Around 10 Steps’, arXiv: arXiv:2206.00927., Oct. 13, 2022.

X. Wang, A.-D. Dinh, D. Liu, and C. Xu, ‘Boosting Diffusion Models with an Adaptive Momentum Sampler’, arXiv: arXiv:2308.11941., Aug. 23, 2023.

Z. Liu et al., ‘Region-Adaptive Sampling for Diffusion Transformers’, arXiv: arXiv:2502.10389., Feb. 14, 2025.

W. Zhao, L. Bai, Y. Rao, J. Zhou, and J. Lu, ‘UniPC: A Unified Predictor-Corrector Framework for Fast Sampling of Diffusion Models’, arXiv: arXiv:2302.04867., Oct. 17, 2023.

T. Karras, M. Aittala, T. Aila, and S. Laine, ‘Elucidating the Design Space of Diffusion-Based Generative Models’ , arXiv: arXiv:2206.00364., Oct. 11, 2022.

Y. Song, J. Sohl-Dickstein, D. P. Kingma, A. Kumar, S. Ermon, and B. Poole, ‘Score-Based Generative Modeling through Stochastic Differential Equations’, arXiv: arXiv:2011.13456., Feb. 10, 2021.

D. P. Kingma, T. Salimans, B. Poole, and J. Ho, ‘Variational Diffusion Models’, arXiv: arXiv:2107.00630., Apr. 14, 2023.

Ernst Hairer , Gerhard Wanner , Syvert P. Nørsett, 'Solving Ordinary Differential Equations I', vol. 8. in Springer Series in Computational Mathematics, vol. 8. Berlin, Heidelberg: Springer Berlin Heidelberg, 1993.

C. Lu, Y. Zhou, F. Bao, J. Chen, C. Li, and J. Zhu, ‘DPM-Solver++: Fast Solver for Guided Sampling of Diffusion Probabilistic Models’, Mach. Intell. Res., vol. 22, no. 4, pp. 730–751, Aug. 2025.

T. Salimans and J. Ho, ‘Progressive Distillation for Fast Sampling of Diffusion Models’, arXiv: arXiv:2202.00512., Jun. 07, 2022.

D. Watson, W. Chan, J. Ho, and M. Norouzi, ‘Learning Fast Samplers for Diffusion Models by Differentiating Through Sample Quality’, arXiv: arXiv:2202.05830., Feb. 11, 2022.

J. Sadowski, ‘When data is capital: Datafication, accumulation, and extraction‘, Big Data Soc., vol. 6, no. 1, pp. 1–12, 2019.

W. Jeong, K. Lee, H. Seo, and S. Y. Chun, ‘Upsample What Matters: Region-Adaptive Latent Sampling for Accelerated Diffusion Transformers’, arXiv: arXiv:2507.08422., Jul. 11, 2025.

T.-Y. Lin et al., ‘Microsoft COCO: Common Objects in Context’, arXiv: arXiv:1405.0312., Feb. 21, 2015.

V. Petsiuk et al., ‘Human Evaluation of Text-to-Image Models on a Multi-Task Benchmark’, arXiv: arXiv:2211.12112, Nov. 22, 2022.

S. Jayasumana, S. Ramalingam, A. Veit, D. Glasner, A. Chakrabarti, and S. Kumar, ‘Rethinking FID: Towards a Better Evaluation Metric for Image Generation’, arXiv: arXiv:2401.09603, Jan. 25, 2024.

C. Szegedy, V. Vanhoucke, S. Ioffe, J. Shlens, and Z. Wojna, ‘Rethinking the Inception Architecture for Computer Vision’, arXiv: arXiv:1512.00567, Dec. 11, 2015.

J. Hessel, A. Holtzman, M. Forbes, R. L. Bras, and Y. Choi, ‘CLIPScore: A Reference-free Evaluation Metric for Image Captioning’, arXiv: arXiv:2104.08718, Mar. 23, 2022.


The PDF file you selected should load here if your Web browser has a PDF reader plug-in installed (for example, a recent version of Adobe Acrobat Reader).

If you would like more information about how to print, save, and work with PDFs, Highwire Press provides a helpful Frequently Asked Questions about PDFs.

Alternatively, you can download the PDF file directly to your computer, from where it can be opened using a PDF reader. To download the PDF, click the Download link above.

Fullscreen Fullscreen Off

Full Text: File PDF

How To Cite This :

Refbacks

  • There are currently no refbacks.