Skip to main content
QUICK REVIEW

[Paper Review] Evaluating a Synthetic Image Dataset Generated with Stable Diffusion

Andreas Stöckl|arXiv (Cornell University)|Nov 3, 2022
Image Retrieval and Classification TechniquesComputer Science9 citations
TL;DR

This paper evaluates a synthetic image dataset generated using Stable Diffusion, leveraging WordNet concepts as text prompts to assess image quality and classification performance. Using a Vision Transformer, the study finds that 73% of concepts yield at least one correctly classified image, though performance drops significantly for highly specific animals, highlighting both the model's broad capability and its limitations in fine-grained visual accuracy.

ABSTRACT

We generate synthetic images with the "Stable Diffusion" image generation model using the Wordnet taxonomy and the definitions of concepts it contains. This synthetic image database can be used as training data for data augmentation in machine learning applications, and it is used to investigate the capabilities of the Stable Diffusion model. Analyses show that Stable Diffusion can produce correct images for a large number of concepts, but also a large variety of different representations. The results show differences depending on the test concepts considered and problems with very specific concepts. These evaluations were performed using a vision transformer model for image classification.

Motivation & Objective

  • To evaluate the quality and representational fidelity of synthetic images generated by Stable Diffusion using a systematic, taxonomy-driven approach.
  • To assess how well a pre-trained Vision Transformer can classify synthetic images derived from WordNet-defined concepts.
  • To identify patterns in classification performance across different semantic categories, especially regarding specificity and visual complexity.
  • To explore the potential of such synthetic datasets for data augmentation in supervised learning and model evaluation.
  • To investigate the reliability of content filters in Stable Diffusion by identifying failures in generating inappropriate or incorrect content.

Proposed method

  • Generated synthetic images using the Stable Diffusion 1.4 model with text prompts derived from WordNet definitions of concepts.
  • Organized the dataset using the hierarchical structure of WordNet to enable systematic evaluation across semantic categories.
  • Employed a pre-trained Vision Transformer (vit_h_14) for image classification, using real ImageNet data as a benchmark for top-1 and top-5 accuracy.
  • Applied PCA and t-SNE for dimensionality reduction to visualize semantic clusters of correctly classified images in 2D space using FastText word embeddings.
  • Used FastText embeddings (300D) for multi-word class names by summing individual word vectors to ensure coverage of rare or compound terms.
  • Evaluated classification performance per WordNet superclass and sub-class, with focus on accuracy, image diversity, and failure cases.

Experimental results

Research questions

  • RQ1To what extent can Stable Diffusion generate images that are correctly classified by a Vision Transformer across a broad range of WordNet concepts?
  • RQ2How does classification accuracy vary across different semantic categories, particularly between general and highly specific concepts?
  • RQ3What role does semantic hierarchy and concept specificity play in the model’s ability to generate recognizable images?
  • RQ4How does image diversity per concept affect classification performance, and what does this imply for data augmentation?
  • RQ5To what extent do content filters in Stable Diffusion fail, particularly in generating incorrect or inappropriate representations?

Key findings

  • 73% of tested concepts (861 out of 1180) produced at least one correctly classified image by the Vision Transformer, indicating broad representational capability.
  • The 'Building' superclass achieved high recognition rates, with 100% of 'Restaurant', 'Monastery', and 'Greenhouse' images correctly classified.
  • The 'Animal' superclass showed below-average performance, with 162 animal classes producing no correctly classified images, largely due to high specificity and hierarchical depth.
  • Specific animals like 'black footed ferret' and 'leafhopper' were frequently misclassified or visually inaccurate, indicating limitations in fine-grained visual generation.
  • Visualizations using t-SNE and PCA revealed that correctly classified images cluster meaningfully in embedding space, but many small red dots (low-accuracy classes) were scattered, especially in the 'Animal' group.
  • The study identified failures in Stable Diffusion’s content filtering, as some generated images contained inappropriate or incorrect content despite prompt constraints.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.