Saved in:
Bibliographic Details
Main Authors: Chen, Ao, Ding, Lihe, Xue, Tianfan
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2508.13628
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912545491648512
author Chen, Ao
Ding, Lihe
Xue, Tianfan
author_facet Chen, Ao
Ding, Lihe
Xue, Tianfan
contents Diffusion models have demonstrated remarkable capabilities in generating high-quality samples and enhancing performance across diverse domains through Classifier-Free Guidance (CFG). However, the quality of generated samples is highly sensitive to the selection of the guidance weight. In this work, we identify a critical ``training-inference gap'' and we argue that it is the presence of this gap that undermines the performance of conditional generation and renders outputs highly sensitive to the guidance weight. We quantify this gap by measuring the accumulated error during the inference stage and establish a correlation between the selection of guidance weight and minimizing this gap. Furthermore, to mitigate this gap, we propose DiffIER, an optimization-based method for high-quality generation. We demonstrate that the accumulated error can be effectively reduced by an iterative error minimization at each step during inference. By introducing this novel plug-and-play optimization framework, we enable the optimization of errors at every single inference step and enhance generation quality. Empirical results demonstrate that our proposed method outperforms baseline approaches in conditional generation tasks. Furthermore, the method achieves consistent success in text-to-image generation, image super-resolution, and text-to-speech generation, underscoring its versatility and potential for broad applications in future research.
format Preprint
id arxiv_https___arxiv_org_abs_2508_13628
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle DiffIER: Optimizing Diffusion Models with Iterative Error Reduction
Chen, Ao
Ding, Lihe
Xue, Tianfan
Computer Vision and Pattern Recognition
Diffusion models have demonstrated remarkable capabilities in generating high-quality samples and enhancing performance across diverse domains through Classifier-Free Guidance (CFG). However, the quality of generated samples is highly sensitive to the selection of the guidance weight. In this work, we identify a critical ``training-inference gap'' and we argue that it is the presence of this gap that undermines the performance of conditional generation and renders outputs highly sensitive to the guidance weight. We quantify this gap by measuring the accumulated error during the inference stage and establish a correlation between the selection of guidance weight and minimizing this gap. Furthermore, to mitigate this gap, we propose DiffIER, an optimization-based method for high-quality generation. We demonstrate that the accumulated error can be effectively reduced by an iterative error minimization at each step during inference. By introducing this novel plug-and-play optimization framework, we enable the optimization of errors at every single inference step and enhance generation quality. Empirical results demonstrate that our proposed method outperforms baseline approaches in conditional generation tasks. Furthermore, the method achieves consistent success in text-to-image generation, image super-resolution, and text-to-speech generation, underscoring its versatility and potential for broad applications in future research.
title DiffIER: Optimizing Diffusion Models with Iterative Error Reduction
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2508.13628