[Paper Review] Fake it till you make it: Learning transferable representations from synthetic ImageNet clones
This paper proposes training ImageNet classification models entirely from synthetic images generated by Stable Diffusion using only class names as prompts. Despite minimal prompt engineering, models trained on these synthetic ImageNet clones achieve 70.3% top-5 accuracy on ImageNet-1K and perform on par with real-data-trained models on transfer learning benchmarks, demonstrating strong generalization and reducing the performance gap with real-image models to a narrow margin.
Recent image generation models such as Stable Diffusion have exhibited an impressive ability to generate fairly realistic images starting from a simple text prompt. Could such models render real images obsolete for training image prediction models? In this paper, we answer part of this provocative question by investigating the need for real images when training models for ImageNet classification. Provided only with the class names that have been used to build the dataset, we explore the ability of Stable Diffusion to generate synthetic clones of ImageNet and measure how useful these are for training classification models from scratch. We show that with minimal and class-agnostic prompt engineering, ImageNet clones are able to close a large part of the gap between models produced by synthetic images and models trained with real images, for the several standard classification benchmarks that we consider in this study. More importantly, we show that models trained on synthetic images exhibit strong generalization properties and perform on par with models trained on real data for transfer. Project page: https://europe.naverlabs.com/imagenet-sd/
Motivation & Objective
- To investigate whether synthetic images generated from text prompts can replace real images for training robust image classification models.
- To evaluate the generalization performance of models trained exclusively on synthetic ImageNet clones across diverse benchmarks.
- To identify and mitigate semantic and domain-specific issues in generated images that affect model performance.
- To demonstrate that minimal, class-agnostic prompt engineering can significantly improve the quality and diversity of synthetic ImageNet clones.
Proposed method
- Using Stable Diffusion with class names as prompts to generate synthetic images for all ImageNet-1K classes.
- Applying class-agnostic prompt modifications—adding 'highly detailed' and 'inside a box'—to improve semantic consistency and visual diversity.
- Training ResNet-50 models from scratch on synthetic datasets (ImageNet-1K-SD) without any real-image fine-tuning.
- Evaluating model performance on ImageNet-1K validation, ImageNet-A, ImageNet-R, ImageNet-Sketch, ImageNet-v2, and 15 downstream transfer datasets.
- Analyzing the impact of key diffusion hyperparameters: guidance scale and number of diffusion steps on image quality and model performance.
- Using fixed resolution (512×512) aligned with Stable Diffusion’s training distribution to maintain generation fidelity.
Experimental results
Research questions
- RQ1Can models trained solely on synthetic images from text prompts achieve performance comparable to those trained on real ImageNet data?
- RQ2How do synthetic ImageNet clones perform under distribution shifts and adversarial examples compared to real-data models?
- RQ3What prompt engineering strategies improve semantic accuracy and visual diversity in generated images for classification tasks?
- RQ4To what extent do synthetic images support strong zero-shot and few-shot transfer learning capabilities?
Key findings
- Models trained on synthetic ImageNet clones (ImageNet-1K-SD) achieved 70.3% top-5 accuracy on ImageNet-1K, closing a large portion of the gap with real-data models.
- The performance gap between synthetic and real-data models was significantly reduced on robustness benchmarks such as ImageNet-A, ImageNet-R, and ImageNet-Sketch.
- Models trained on synthetic data performed on par with real-data models on 15 diverse transfer learning datasets, indicating strong generalization capacity.
- Adding the class-agnostic prompt modifiers 'highly detailed' and 'inside a box' substantially improved visual quality and semantic consistency of generated images.
- Optimal generation quality was achieved with 50 diffusion steps and a guidance scale of 7.5; further increasing steps offered diminishing returns.
- Deviation from the 512×512 training resolution degraded image quality, confirming the importance of resolution alignment for reliable generation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.