Abstract
Standard Denoising Diffusion Probabilistic Models (DDPMs) typically rely on a fixed, condition-independent forward process, which limits the model's ability to learn conditional relationships throughout the entire diffusion timeline. This paper introduces ShiftDDPMs, a framework that injects conditional information directly into the forward noise-adding process. By creating unique diffusion trajectories for different conditions, ShiftDDPMs utilize the latent space more effectively, leading to improved image quality and performance across various generative tasks, including inpainting and text-to-image synthesis.
Introduction
In the current landscape of generative modeling, Denoising Diffusion Probabilistic Models (DDPMs) have emerged as a powerful paradigm. These models function by learning to reverse a forward process that gradually transforms data into Gaussian noise. While highly effective, standard conditional DDPMs often treat the forward process as a fixed, universal path toward a zero-mean distribution, regardless of the input condition (e.g., a specific class label or text prompt).
This paper identifies a significant inefficiency in this approach: because the forward process is identical for all conditions, the noise distributions for different categories become indistinguishable very early in the diffusion process. Consequently, the model only performs meaningful conditional learning during a narrow "critical stage" in the middle of the timeline. ShiftDDPMs address this by making the forward process condition-dependent, effectively giving every condition its own unique path through the latent space.
The ShiftDDPM Framework
The core innovation of ShiftDDPMs is the introduction of a "shifted" trajectory. Instead of every image diffusing toward a common center, each condition $c$ is assigned a unique trajectory. This is achieved through two primary components:
- Shift Predictor ($E(c)$): A module that maps the input condition (such as a class label or text embedding) into the latent space.
- Shift Coefficient ($k_t$): A time-dependent schedule that determines the magnitude of the trajectory shift at each timestep $t$.
By combining these elements, the mean of the noise distribution is shifted at each step. This framework is highly flexible; the authors demonstrate that several existing specialized models, such as Grad-TTS for speech synthesis and PriorGrad, can be viewed as specific instances of this unified shift framework.
Quadratic-Shift
A key contribution of the paper is the proposal of the Quadratic-Shift method. Unlike previous approaches that primarily modify the starting or ending points of the diffusion process, Quadratic-Shift creates "convex" trajectories. The path begins and ends at standard points but "bows" outward in the middle of the diffusion process. This design effectively disentangles the paths of different conditions, preventing them from overlapping and confusing the model during the training phase.
Key Insights
Dispersing the Condition
By shifting the trajectory, the model is forced to account for the condition at every single timestep. This "disperses" the learning process across the entire diffusion chain, rather than concentrating it within a small temporal window. This leads to more robust conditional modeling.
Latent Space Utilization
Shifting trajectories acts as a form of spatial organization in high-dimensional space. By giving each class its own "lane," the model avoids the problem where different classes become indistinguishable too early in the noise-adding process. This better utilization of the latent space directly translates to higher generation fidelity.
Implicit Guidance
An interesting emergent property of ShiftDDPMs is "implicit guidance." Because the condition is embedded into the noisy input $x_t$ via the shift, the denoising network can often learn to generate the correct image even without being explicitly provided the condition during the reverse step. The trajectory itself provides the necessary guidance for the reconstruction.
Experimental Evaluation
The researchers evaluated ShiftDDPMs across a diverse set of benchmarks, including MNIST, CIFAR-10, LFW (Labeled Faces in the Wild), CelebA-HQ, and CUB (Caltech-UCSD Birds).
Image Quality and Synthesis
On the CIFAR-10 dataset, the Quadratic-Shift method achieved a Fréchet Inception Distance (FID) of 3.05, outperforming standard conditional DDPMs (3.12). When the shift was combined with traditional conditional inputs, the performance improved further to an FID of 3.02. On the LFW dataset, the model demonstrated the ability to perform smooth interpolations between facial attributes, indicating a well-structured latent space.
High-Resolution Inpainting
ShiftDDPMs showed significant advantages in image completion tasks. On the Places2 dataset, the model achieved an FID of 1.83 for small masks. This performance notably surpassed popular GAN-based methods like EdgeConnect (3.00) and standard DDPM approaches (2.06), highlighting the framework's effectiveness in handling complex, high-resolution conditional tasks.
Conclusion
ShiftDDPMs represent a significant shift in how we approach conditional diffusion. By moving beyond fixed forward processes and embracing condition-dependent trajectories, the model achieves superior performance and better latent space organization. While the current choice of shift schedules (like the quadratic function) is largely empirical, the success of this framework opens new avenues for optimizing diffusion paths and potentially accelerating the sampling process in future research.
Summary updated