NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

The Unmet Promise of Synthetic Training Images: Using Retrieved Real Images Performs Better

Scott Geng, Cheng-Yu Hsieh, Vivek Ramanujan, Matthew Wallingford, Chun-Liang Li, Pang Wei Koh, Ranjay Krishna

TL;DR

While generative AI promises an infinite supply of training data, this paper delivers a sobering reality check: fine-tuning vision models on synthetic images is almost always less effective than simply retrieving the right real images from the generator's own training set. The authors demonstrate that "targeted retrieval" is a much stronger baseline than previously realized, outperforming synthetic data across multiple benchmarks due to the generator’s tendency to introduce artifacts and semantic errors.

What Problem Does This Paper Address?

In recent years, the computer vision community has been excited by the prospect of using models like Stable Diffusion to generate "infinite" synthetic training data. Some studies even suggested that models trained on synthetic data could outperform those trained on massive real-world datasets like LAION-2B.

However, the authors of this paper argue that these comparisons are often an "unfair fight." They typically compare targeted synthetic data (images specifically generated for a task) against general real data (a random bucket of internet images). The real question is: does the generative model actually add any new, useful information, or is it just a fancy, lossy way of re-packaging the data it was originally trained on?

Methods

The researchers set up a head-to-head competition between two ways of curating a task-specific dataset from a large upstream source (LAION-2B):

  1. The Synthetic Path: They use an LLM to generate descriptive captions for specific classes (e.g., "a close-up of a pink rose in bloom") and then use Stable Diffusion 1.5 to turn those captions into images.
  2. The Retrieval Path (The Baseline): Instead of generating new images, they search the original LAION-2B dataset for real images that match the task. They use two strategies: hard substring matching (searching captions for class names) and semantic k-NN retrieval (using CLIP embeddings to find visually similar images).
The two approaches: retrieving real data vs. synthesizing new data from a generative model.

Both datasets are then filtered using a CLIP-based quality score to keep only the top 30% of images per class. Finally, they fine-tune a pretrained CLIP ViT-B/16 model on these datasets and evaluate performance on downstream tasks.

Datasets

  • Upstream Source: LAION-2B (the dataset used to train Stable Diffusion).
  • Downstream Benchmarks: The authors tested on five diverse classification tasks:
  • Broad categories: ImageNet-1K and Describable Textures (DTD).
  • Fine-grained categories: FGVC-Aircraft, StanfordCars, and Oxford Flowers102.

Key Insights and Ideas

  • The Data Processing Inequality in Action: Since every synthetic image is derived from the generator's training data, it cannot mathematically contain more information about that data than the data itself. The generator acts as a "lossy compressor."
  • Semantic Hallucinations: The "aha moment" comes from looking at the errors. While synthetic planes look like planes, they often have the wrong number of engines or wheels for a specific model (e.g., an Airbus A320). These subtle semantic distortions prevent the learner from mastering fine-grained details.
  • Artifacts vs. Content: By using a technique called SDEdit to add "generator-style" noise to real images, the authors found that while low-level artifacts (like blur) do hurt performance, the primary reason synthetic data fails is the distortion of high-level, class-specific visual details.
  • Scaling Isn't a Silver Bullet: Even when generating significantly more synthetic data than the amount of real data available for retrieval, the synthetic models often failed to close the performance gap.
Figure 3: We visualize retrieved real images and synthetic images from our targeted adaptation datasets for FGVC-Aircraft (top two rows) and ImageNet-1K (bottom two rows), alongside ground truth images (left column) for reference. Compared to retrieved images, synthetic images often (1) contain generator artifacts (e.g., the blur on the edges of the “Cessna 172”, the eyes and mouth of the “Tabby Cat”) and also (2) distort class-relevant visual content, such as the engine configuration of a true “Airbus A320” (i.e., exactly one engine per wing) and the entire visual appearance of a “Flute”. We hypothesize that both factors contribute to synthetic training data’s underperformance versus real training data.

Key Results

The results were consistent: targeted real data universally matched or outperformed synthetic data.

  • Fine-grained Accuracy: On the FGVC-Aircraft benchmark, training on synthetic data improved accuracy by 7.1%, but training on retrieved real data boosted it by a massive 17.7%.
  • Performance Gaps: In many cases, matching the performance of just 15,000 retrieved real images required generating over 500,000 synthetic images—a 33x difference in data scale and compute.
  • Zero-Shot Degradation: On ImageNet, increasing the amount of synthetic training data actually hurt zero-shot accuracy, whereas retrieved data consistently improved it.
Figure 2: We adapt a pretrained CLIP image encoder (dashed purple line) to different downstream image classification tasks, using either (a) targeted synthetic data (orange triangles) generated from a Stable Diffusion model trained on LAION-2B or using (b) targeted real data (blue circles) directly retrieved from LAION-2B. We measure performance via downstream zero-shot (ZS) and linear probing (LP) accuracy, aggregating results over at least 3 seeds (error bars indicate ±1 standard deviation). Overall, while adapting CLIP with targeted synthetic data can sometimes improve performance over an off-the-shelf model, synthetic data is universally outperformed or matched by targeted real data. This gap persists even when we scale the sample size of the synthetic adaptation dataset beyond the maximum amount of (finite) targeted real data considered (gray shaded regions).

Limitations and Future Work

The authors acknowledge several limitations:

  • Access to Source Data: The retrieval baseline assumes you have access to the generator's training set, which isn't always true for proprietary models like DALL-E 3.
  • Model Scope: The study focused on Stable Diffusion 1.x and CLIP; results might differ with newer architectures or different training objectives.
  • The "Missing" Image Opportunity: The authors suggest that the future of synthetic data isn't in replicating what already exists, but in generating novel compositions—images that are explicitly absent from the training set—which might finally provide the "added value" that current methods lack.

Summary updated

BibTeX
@inproceedings{geng2024unmet,
  author = {Scott Geng and Cheng-Yu Hsieh and Vivek Ramanujan and Matthew Wallingford and Chun-Liang Li and Pang Wei Koh and Ranjay Krishna},
  title = {{The Unmet Promise of Synthetic Training Images: Using Retrieved Real Images Performs Better}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=fNoleQa9RX},
}
Figure