[Paper Review] Alleviating Exposure Bias in Diffusion Models through Sampling with Shifted Time Steps
This paper proposes the Time-Shift Sampler, a training-free method to alleviate exposure bias in diffusion models by dynamically selecting optimal time steps during inference. By searching within a window around the current time step to find a better-coupled denoising step, the method improves FID scores significantly—achieving 3.88 FID on CIFAR-10 with only 10 steps, a 44.49% improvement over F-PNDM and surpassing vanilla DDIM with 100 steps.
Diffusion Probabilistic Models (DPM) have shown remarkable efficacy in the synthesis of high-quality images. However, their inference process characteristically requires numerous, potentially hundreds, of iterative steps, which could exaggerate the problem of exposure bias due to the training and inference discrepancy. Previous work has attempted to mitigate this issue by perturbing inputs during training, which consequently mandates the retraining of the DPM. In this work, we conduct a systematic study of exposure bias in DPM and, intriguingly, we find that the exposure bias could be alleviated with a novel sampling method that we propose, without retraining the model. We empirically and theoretically show that, during inference, for each backward time step $t$ and corresponding state $\hat{x}_t$, there might exist another time step $t_s$ which exhibits superior coupling with $\hat{x}_t$. Based on this finding, we introduce a sampling method named Time-Shift Sampler. Our framework can be seamlessly integrated to existing sampling algorithms, such as DDPM, DDIM and other high-order solvers, inducing merely minimal additional computations. Experimental results show our method brings significant and consistent improvements in FID scores on different datasets and sampling methods. For example, integrating Time-Shift Sampler to F-PNDM yields a FID=3.88, achieving 44.49\% improvements as compared to F-PNDM, on CIFAR-10 with 10 sampling steps, which is more performant than the vanilla DDIM with 100 sampling steps. Our code is available at https://github.com/Mingxiao-Li/TS-DPM.
Motivation & Objective
- To investigate and address the exposure bias problem in diffusion probabilistic models (DPMs), which arises from the discrepancy between training (using corrupted ground truth) and inference (using model-predicted samples).
- To develop a sampling method that mitigates exposure bias without retraining the model, avoiding the high computational cost of retraining.
- To improve sample quality and inference efficiency by identifying time steps with superior coupling to current denoising states during sampling.
- To provide a plug-and-play solution compatible with existing sampling algorithms such as DDPM, DDIM, and F-PNDM, with minimal computational overhead.
Proposed method
- Proposes a novel sampling strategy called the Time-Shift Sampler that, during each denoising step, searches for an alternative time step $ t_s $ within a window $[t - w/2, t + w/2]$ that exhibits better coupling with the current state $ \hat{x}_t $.
- Introduces a cutoff time step $ t_c $ to adaptively control the search: for $ t > t_c $, the algorithm performs time-shift search; for $ t \leq t_c $, it uses the original time step, aligning with the natural progression of denoising.
- Empirically identifies that the optimal next time step correlates with the predicted variance of the current sample, enabling a data-driven selection of $ t_s $.
- The method is designed to be seamlessly integrated into existing sampling algorithms like DDPM, DDIM, and F-PNDM, requiring only minor modifications and incurring negligible computational cost.
- Theoretical analysis derives the variance of the optimal next time step, providing a principled basis for the time-shift selection mechanism.
- Uses a windowed search strategy to restrict the search space and improve stability, with window size tuned based on the number of sampling steps.
Experimental results
Research questions
- RQ1Can exposure bias in diffusion models be alleviated without retraining the model?
- RQ2Is there a time step $ t_s $ that exhibits superior coupling with the current denoising state $ \hat{x}_t $, leading to improved sample quality?
- RQ3How does the choice of time step during inference affect the quality and consistency of generated images?
- RQ4Can a training-free, plug-and-play sampling method achieve consistent improvements across different sampling algorithms and datasets?
- RQ5What is the optimal strategy for selecting the next time step during denoising, given the current state and its predicted variance?
Key findings
- The Time-Shift Sampler reduces exposure bias in diffusion models by selecting a time step $ t_s $ that is better coupled with the current denoising state $ \hat{x}_t $, improving sample quality without retraining.
- On CIFAR-10 with only 10 sampling steps, integrating the Time-Shift Sampler into F-PNDM achieves a FID score of 3.88, representing a 44.49% improvement over the original F-PNDM.
- The method outperforms vanilla DDIM with 100 sampling steps, achieving better FID (3.88 vs. 4.04) with significantly fewer steps.
- The method is robust to window size selection for 10–50 steps, but becomes more sensitive at 100 steps due to finer step size and higher prediction accuracy.
- The optimal cutoff time step $ t_c $ lies in the range [200, 400] for CIFAR-10, with smaller values (e.g., 200) preferred when using fewer sampling steps.
- The Time-Shift Sampler is compatible with multiple sampling algorithms, including DDPM, DDIM, S-PNDM, and F-PNDM, demonstrating consistent and significant gains across all.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.