Abstract
Standard denoising probabilistic models (DPMs) are typically trained to predict noise at individual timesteps in isolation. This timestep-independence paradigm ignores the sequential nature of inference, where errors at one step propagate and compound throughout the sampling trajectory. We present Sequence-Aware (SA) training, a novel objective that optimizes across multiple consecutive timesteps to minimize the "cumulative estimation gap." Our results demonstrate that SA-DPM significantly improves image quality and sampling stability, allowing models to achieve superior performance with far fewer sampling steps than traditional baselines.
Introduction: The Timestep-Independence Problem
Denoising Probabilistic Models have become the state-of-the-art for generative tasks, yet they suffer from a significant trade-off between sampling speed and image quality. To generate an image, these models iteratively denoise Gaussian noise over hundreds or thousands of steps.
A fundamental limitation in current training methodologies is the assumption of timestep independence. Models are optimized to minimize error at a single, randomly sampled timestep $t$. However, during inference, the model's prediction at step $t$ serves as the input for step $t-1$. If the model introduces even a minor error at $t$, that error propagates, causing the sampling trajectory to drift away from the actual data manifold. This "cumulative estimation gap" results in blurry or distorted images unless a high number of steps are used to provide corrective paths.
Methodology: Sequence-Aware (SA) Loss
To address this drift, we propose shifting from point-wise optimization to trajectory-wise optimization. We define the estimation gap as the distance between the predicted trajectory and the ground-truth denoising path. Mathematically, the total error at the end of sampling is a weighted sum of errors from every preceding step.
The SA Objective
Instead of evaluating a single step, the Sequence-Aware (SA) loss considers a "slice" of $K$ consecutive timesteps. It minimizes the squared norm of the combined error across this window. To maintain general accuracy while ensuring trajectory stability, we employ a hybrid training objective:
$$\mathcal{L} = \mathcal{L}_{simple} + \lambda \mathcal{L}_{sa}$$
While $\mathcal{L}_{simple}$ ensures the model remains accurate at any given point, $\mathcal{L}_{sa}$ ensures that the sequence of predictions remains stable. We provide theoretical proof that this SA loss serves as a tighter upper bound on the true estimation error than the standard loss used in models like DDPM.
Experimental Results
We evaluated SA-DPM on standard benchmarks including CIFAR-10, CelebA, and CelebA-HQ (256x256). The quantitative improvements were consistent across all metrics, particularly in high-acceleration scenarios.
- Quality with Fewer Steps: On CelebA-HQ at 50 sampling steps, the baseline DDPM achieved an FID of 29.04, while SA-DPM improved this to 26.73. Notably, 50–100 steps with SA-DPM often outperform 1,000 steps with a standard DDPM.
- Extreme Acceleration: On CIFAR-10 with only 10 sampling steps, combining SA loss with advanced covariance estimation (SN-DPM) dropped the FID from 41.41 to 19.53—a massive leap in usability for real-time applications.
- Gap Reduction: Empirical analysis shows that the total gap term in SA-DPM is roughly 2.5x smaller than the vanilla model by the end of the denoising process.
Discussion and Limitations
By forcing the model to be aware of neighboring timesteps during training, we produce a more stable inference process where errors are less likely to correlate and compound. Furthermore, the SA loss is "plug-and-play," meaning it can be combined with other acceleration techniques like Analytic-DPM for even greater gains.
However, this approach introduces computational overhead during training, as calculating the network's output for $K$ consecutive timesteps increases memory usage. Additionally, the weighting parameter $\lambda$ and window size $K$ require careful tuning; excessive regularization can occasionally degrade performance when using a very high number of sampling steps (e.g., 1,000). Future work will explore the application of sequence-awareness in non-image domains such as audio synthesis.
Summary updated