Abstract
Deep generative models are becoming increasingly powerful, now generating diverse, high-fidelity, photo-realistic samples given text prompts. Nevertheless, samples from such models have not been shown to significantly improve model training for challenging and well-studied discriminative tasks like ImageNet classification. In this paper, we show that augmenting the ImageNet training set with samples from a generative diffusion model can yield substantial improvements in ImageNet classification accuracy over strong ResNet and Vision Transformer baselines. To this end, we explore the fine-tuning of large-scale text-to-image diffusion models, yielding class-conditional ImageNet models with state-of-the-art FID score (1.76 at 256×256 resolution) and Inception Score (239 at 256×256). The model also yields a new state-of-the-art in Classification Accuracy Scores (CAS), i.e., ImageNet test accuracy for a ResNet-50 architecture trained solely on synthetic data (64.96 top-1 accuracy for 256×256 samples, improving to 69.24 for 1024×1024 samples). Adding up to three times as many synthetic samples as real training samples consistently improves ImageNet classification accuracy across multiple architectures.
Introduction: The Challenge of Generative Augmentation
For years, the computer vision community has pursued the "holy grail" of generative data augmentation: using synthetic images to train superior classifiers. While generative models like GANs can produce visually impressive images, they have historically lacked the diversity or structural correctness needed to improve a model as heavily optimized as an ImageNet classifier. In many previous attempts, adding synthetic data actually degraded performance.
The challenge is twofold. First, there is the tension between quality and diversity; generative models often "collapse" onto a few high-quality modes, failing to capture the long tail of variations found in real-world data. Second, ImageNet classification is a mature field with highly tuned training recipes. Improving upon these baselines requires synthetic data that is not just visually appealing, but discriminatively informative.
Methodology: Fine-Tuning Large-Scale Diffusion
The researchers leveraged Imagen, a massive text-to-image diffusion model. Rather than training a generative model from scratch on ImageNet, they employed a two-step approach:
- Fine-tuning: They fine-tuned the pre-trained Imagen (originally trained on massive web-scale data) specifically on the ImageNet-1K training set. They used CLIP class names as text prompts to align the model with ImageNet’s 1,000 categories.
- Sampling Optimization: The team performed an extensive sweep of sampling parameters. They found that guidance weight (controlling how strongly the model follows the text prompt) and log-variance mixing (affecting sample diversity) are critical for downstream performance.
Crucially, they discovered that while low Fréchet Inception Distance (FID) scores usually indicate better image quality, they also correlate strongly with the Classification Accuracy Score (CAS)—a metric where a ResNet-50 is trained only on synthetic data and tested on real data.
Datasets and Experimental Setup
The primary benchmark used was ImageNet-1K (ILSVRC 2012), consisting of 1.28 million training images and 50,000 validation images. The authors generated synthetic versions of this dataset at various resolutions (64x64, 256x256, and 1024x1024) and scales (from 1.2M to 12M images). The base Imagen model was pre-trained on a large-scale internal multimodal dataset, providing a rich foundation of "world knowledge" before fine-tuning.
Key Results
The results represent a significant leap over previous generative augmentation attempts. The fine-tuned model achieved a record-breaking FID of 1.76 and an Inception Score of 239 at 256x256 resolution.
As shown in the figures above, the CAS breakthrough is substantial. A ResNet-50 trained solely on 1024x1024 synthetic samples reached 69.24% top-1 accuracy on the real ImageNet validation set, significantly outperforming the previous state-of-the-art (CDM at 63.02%). Furthermore, adding 1.2M synthetic images to the real training set boosted a standard ResNet-50 from 76.39% to 78.17% (+1.78%) and a DeiT-S (Vision Transformer) from 78.97% to 80.49% (+1.52%).
Insights and Discussion
Several key insights emerged from this study:
- The Power of Pre-training: Large-scale text-to-image pre-training is a superior starting point compared to training on ImageNet alone. The broad knowledge baked into the base model helps it generate more realistic and diverse samples for specific classes.
- Resolution and Structure: Training a classifier on 1024x1024 synthetic images yielded better results than 256x256 images, even when both were downsampled to 224x224 for training. This suggests higher-resolution generation captures more useful underlying image structures.
- The 3x Rule: Unlike previous GAN-based methods that degraded when adding too much synthetic data, the authors found that adding up to 3x the amount of synthetic data relative to real data consistently improved performance.
Limitations and Future Work
Despite the success, computational cost remains a hurdle; generating 12 million high-resolution images via diffusion is extremely resource-intensive. Additionally, at higher resolutions, the benefits of synthetic data eventually plateaued, suggesting the model might introduce bias or "hallucinations" at extreme scales. Future work will explore if this approach generalizes to smaller, specialized datasets where pre-trained models might have less relevant prior knowledge.
Summary updated