This paper, recently published by researchers from Northeastern University and Michigan State University, tackles one of the biggest bottlenecks in modern AI: the massive computational cost of training Diffusion Models (DMs). By combining dataset pruning with a clever class-wise reweighting strategy, the authors demonstrate that you can train high-quality generative models using only a fraction of the original data, achieving speedups of up to 8x.
TL;DR
The authors propose a "Pruning then Reweighting" framework that selects a high-quality "coreset" of training data and dynamically adjusts class weights to maintain generation quality. This approach accelerates training by 2.34× to 8.32× and, surprisingly, sometimes produces better images than models trained on the full dataset.
What Problem Does This Paper Address?
While Diffusion Models (like Stable Diffusion or DDPM) produce state-of-the-art images, they are notoriously "data-hungry" and expensive to train. Most research has focused on making inference (sampling) faster, but the training phase remains a resource hog, requiring thousands of GPU hours to model complex data distributions.
The authors identify a key gap: dataset pruning. In other fields, we know that not every data point is equally useful. However, simply "cutting the fat" in diffusion training often leads to a drop in image quality or a loss of diversity across different categories. This paper investigates how to prune data intelligently without breaking the model’s ability to generate diverse, high-fidelity images.
Methods
The proposed pipeline consists of two main stages:
-
Dataset Pruning (Coreset Selection): The researchers use a "surrogate model" (like a pre-trained ResNet or CLIP) to embed images into a latent space. They then apply scoring functions—specifically a Gaussian model or Moderate-DS—to rank the data. The goal is to keep the most representative samples (the "coreset") and discard the redundant or less relevant ones.
-
Class-wise Reweighting via DRO: The authors observed that simple pruning affects classes unevenly—some categories become much harder for the model to learn. To fix this, they use Distributionally Robust Optimization (DRO). They train a small "proxy" model on the pruned subset and compare its performance against a "reference" model trained on the full data. By calculating the "margin loss" (the gap between the two), they dynamically update class weights during training to focus the model's attention on the categories that need the most help.
Additionally, they introduce an Annealing strategy, where the model trains on the subset for most of the time and then finishes with a brief "fine-tuning" phase on the full dataset to recover any lost details.
Datasets
The framework was evaluated across several standard benchmarks:
- CIFAR-10: A low-resolution (32x32) dataset used for pixel-level DDPM experiments.
- ImageNet (256x256): Used to test the latent-level Masked Diffusion Transformer (MDT).
- ImageNette: A smaller, 10-class subset of ImageNet used for fine-tuning Stable Diffusion (SD) experiments.
Key Insights and Ideas
- GAN Pruning Doesn't Equal DM Pruning: Methods that work for pruning data for GANs (like Gaussian scoring on Inceptionv3 features) actually perform poorly for Diffusion Models. DMs require different surrogate models, like ResNet-18 or DDAE, to select the best coresets.
- The "Less is More" Paradox: In several experiments, models trained on pruned data outperformed those trained on 100% of the data. For example, the MDT model trained on just 20% of ImageNet achieved an FID score of 13.94, significantly better than the 17.11 achieved by the full-data model. This suggests significant data redundancy in massive datasets.
- Class Sensitivity: Pruning isn't "class-blind." Some classes are naturally easier for DMs to generate. The reweighting strategy is essential because it prevents the model from neglecting "hard" classes in favor of "easy" ones.
Key Results
- Efficiency: The method achieved training speedups between 2.34× and 8.32×.
- Quality: On CIFAR-10, the pruned model (10% data) with reweighting achieved a competitive FID of 6.71. With annealing, this improved further, outperforming existing lossless acceleration frameworks like InfoBatch.
- Scalability: The method works across different architectures, including pixel-based models (DDPM), transformer-based models (MDT), and large-scale latent models (Stable Diffusion).
- Redundancy Discovery: For Stable Diffusion fine-tuning on ImageNette, using only 40% of the data resulted in better image quality (FID 18.51) than using 100% (FID 25.91).
Limitations and Future Work
- Proxy Overhead: While the reweighting strategy is effective, it requires training a "proxy" model, which adds some initial computational overhead (though the authors note this is minor compared to the total training time).
- Surrogate Dependency: The quality of the coreset depends heavily on the choice of the surrogate encoder. Finding the "perfect" encoder for every data type remains an open challenge.
- Future Directions: The authors suggest exploring how these pruning techniques might apply to even larger models or different modalities, such as video or audio diffusion.
Summary updated