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

Benchmarking and Analyzing Generative Data for Visual Recognition

Bo Li, Haotian Liu, Liangyu Chen, Yong Jae Lee, Chunyuan Li, Ziwei Liu

TL;DR

This paper introduces GenBench, a comprehensive benchmark for evaluating generative data in visual recognition. They also propose CLER, a novel, training-free metric that correlates well with downstream task performance, addressing the limitations of existing metrics. Their findings reveal that while generative data is cost-effective and beneficial for common object recognition, its effectiveness diminishes for fine-grained and rare categories.

What Problem Does This Paper Address?

The rapid advancement of large-scale pre-trained generative models (like Stable Diffusion and GLIDE) has opened up possibilities for using synthetic data to improve visual recognition tasks. However, there's a lack of standardized methods to evaluate the quality and effectiveness of this generative data, especially in comparison to human-annotated (original) data and data retrieved from the web. Existing metrics like FID and CLIP score don't always correlate well with actual downstream recognition performance. This makes it difficult to understand when and how generative data is most useful, and what its limitations are. The authors aim to bridge this gap by creating a robust benchmark and a reliable evaluation metric.

Methods

The core contributions of this paper are:

  • GenBench Construction: A new benchmark comprising 22 datasets and 2548 categories, designed to systematically evaluate generative data across various visual recognition tasks. Datasets are categorized into "Common," "Fine-grained," and "Rare" concepts to facilitate analysis.
  • CLER Score: A novel, training-free metric proposed to assess the efficiency of generative data for recognition tasks before training. CLER is designed to correlate well with downstream task accuracy, offering a faster and more reliable evaluation than traditional metrics. It works by replacing CLIP's text embeddings with image embeddings from the generated data.
  • New Baselines and Analysis: The paper compares generative data against human-annotated (original) data and retrieved data. They also explore the impact of different prompt strategies (Simple Template, Defined Template, Category Enhancement, Negative Prompts, Restrictive Descriptions) on generative model performance.
  • External Knowledge Injection: They investigate fine-tuning special token embeddings using Textual Inversion with external data (retrieved or original) to enhance generative data quality.

Datasets

The paper uses a comprehensive benchmark called GenBench, which includes:

  • 22 datasets covering 2548 categories.
  • These datasets are grouped into three main categories:
  • Common Concepts: ImageNet-1K, CIFAR-10, CIFAR-100, Caltech-101, VOC-2007, MNIST, SUN-397.
  • Fine-grained Concepts: Food-101, Oxford-IIIT Pets, Oxford Flowers, Stanford Cars, FGVC Aircraft, Country-211.
  • Rare Concepts: PatchCamelyon, EuroSAT, GTSRB, Rendered-SST2, FER-2013, RESISC-45, Hateful Memes, Describable Textures, KITTI Distance.

Key Insights and Ideas

  • Generative Data is Cost-Effective for Common Concepts: For everyday objects, generative data offers a significant performance boost over original data at a fraction of the cost. The cost difference can be substantial (e.g., $10k for original vs. $208 for generative for 500 shots).
  • CLER is a Reliable Metric: The proposed CLER score shows a strong positive correlation with linear probing accuracy, outperforming FID and CLIP score in this regard. This makes it a valuable tool for quickly assessing generative data quality without the need for full model training.
  • Generative Data Struggles with Rare/Fine-Grained Concepts: While generative data excels for common objects, it doesn't offer a clear advantage over original data for fine-grained or rare categories. This is attributed to potential biases in generative models, favoring categories that are more prevalent in their training data.
  • Prompt Engineering is Crucial: The effectiveness of generative data heavily depends on the prompt strategy used. There's no universal "best" strategy; it needs to be tailored to the specific dataset and category. Negative prompts and restrictive descriptions can significantly improve generation quality.
  • Mean Text Similarity (MTS) Matters: The performance improvement from generative data correlates with the mean text similarity of a dataset. Datasets with lower MTS (indicating a larger domain gap from the generative model's training data) benefit more from advanced techniques like Target-Initialized Generation (TIG).
  • Textual Inversion Enhances Performance: Fine-tuning with Textual Inversion using external data (retrieved or original) consistently improves performance across most datasets, especially for categories with a significant domain gap.

Key Results

  • GenBench comprises 22 datasets and 2548 categories.
  • CLER score demonstrates the best positive correlation with linear probing accuracy among the evaluated metrics.
  • For "Common Concepts," generative data significantly outperforms retrieval data and offers a substantial cost advantage over original data. For example, obtaining 500 original shots costs ~10k USD, while generative data costs ~208 USD.
  • For "Fine-grained" and "Rare" concepts, original data still holds an advantage over generative and retrieval data.
  • Textual Inversion fine-tuning with retrieval or original data improved performance on 17 out of 22 datasets.
  • The paper highlights failure cases, such as low-resolution datasets (e.g., CIFAR-10) where Textual Inversion fine-tuning with original data did not improve performance due to a domain gap.

Limitations and Future Work

  • Rare/Fine-Grained Concept Limitations: Generative models may lack sufficient knowledge for rare or fine-grained categories, leading to poorer generation quality. The authors suggest this is a temporary issue as generative models improve.
  • Low-Resolution Data Issues: Textual Inversion fine-tuning struggles with low-resolution reference images, likely due to a domain gap with the generative model's training data.
  • Scaling Law Exploration: While the study shows an upward performance trend with increasing data (up to 500 shots), further exploration of scaling laws with more computational resources is suggested.
  • Prompt Diversity: Enhancing prompt diversity could improve generative data utility, but ensuring this doesn't dilute core semantic information is a challenge.
  • Model Parameter Scale: The correlation between CLER score and linear probing accuracy was observed across various CLIP architectures. However, it remains unclear if CLER will remain indicative for models with significantly larger parameter counts (beyond 1 billion).

Summary updated

BibTeX
@article{li2025benchmarking,
  author = {Bo Li and Haotian Liu and Liangyu Chen and Yong Jae Lee and Chunyuan Li and Ziwei Liu},
  title = {{Benchmarking and Analyzing Generative Data for Visual Recognition}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2025},
  doi = {10.1109/tpami.2025.3572476},
}
Figure