Introduction
Diffusion models have revolutionized image generation, yet they face significant hurdles when trained on "long-tailed" datasets. In real-world scenarios, data is often imbalanced, with a few "head" classes containing the majority of samples and many "tail" classes having very few. Standard diffusion models trained on such data tend to be biased, often failing to capture the unique characteristics of rare categories.
The Problem: Feature Leakage and Distribution Overlap
A primary issue in long-tailed diffusion is the "leakage" of features from common classes into rare ones. For instance, a model trained on 5,000 cat images but only 50 dog images might generate dogs that exhibit cat-like features.
This phenomenon occurs because the probabilistic distributions learned for these classes overlap significantly in the model's latent space. The "gravitational pull" of the high-density head classes distorts the representation of the sparse tail classes. While simple re-weighting of samples is a common fix, it often fails to resolve this underlying distributional confusion.
Proposed Method: DiffROP
To address this, the authors introduce DiffROP (Diffusion framework with Regularize OverlaP). The framework employs Probabilistic Contrastive Learning (PCL) to explicitly minimize the appearance overlap between different classes.
Probabilistic Contrastive Learning (PCL)
Unlike standard contrastive learning that compares individual image embeddings, PCL operates on the conditional distributions of the diffusion model. It penalizes the similarity—specifically the KL divergence—between the distributions of different classes, effectively "de-confusing" their features.
Key Technical Innovations
- Hinge-like Loss: To prevent the model from pushing classes apart excessively and potentially degrading image quality, a Hinge loss is used. This ensures penalties are only applied when distributions are too close, maintaining the global optima of the original diffusion objective.
- Time-Dependent Weighting: The diffusion process involves multiple timesteps ($T$). Early stages are dominated by noise, where overlap is natural. DiffROP uses a time-dependent weight ($\tau$) that decays as the image clears, focusing the optimization on the later stages where class-specific features are formed.
Experimental Results
The researchers evaluated DiffROP on CIFAR-10 and CIFAR-100, including their long-tailed (LT) variants with an imbalance factor of 0.01. DiffROP was compared against standard DDPM and the state-of-the-art Class-Balancing Diffusion Model (CBDM).
Quantitative Performance
DiffROP demonstrated consistent improvements in image quality, measured by the Frechet Inception Distance (FID):
- CIFAR-100LT: FID improved from 7.38 (standard DDPM) to 6.84.
- Tail Class Performance: The most significant gains were seen in rare categories. For CIFAR-10LT, the FID for tail classes dropped from 46.51 to 39.23.
Qualitative Improvements
Visually, DiffROP produces distinct and recognizable subjects for rare classes, avoiding the blurry or hybrid appearances common in baseline models. These high-quality generated images can even be used for "generative augmentation," improving the performance of downstream classifiers on imbalanced data.
Conclusion and Future Directions
DiffROP offers a robust solution for training diffusion models on imbalanced data by optimizing class distribution overlaps. While highly effective, future work will need to address hyperparameter sensitivity and explore how this approach scales to massive text-to-image models like Stable Diffusion. Additionally, applying these principles to ensure societal fairness across diverse demographic "long-tails" remains a critical next step.
Summary updated