Skip to main content
QUICK REVIEW

[Paper Review] Expanding Small-Scale Datasets with Guided Imagination

Yifan Zhang, Daquan Zhou|arXiv (Cornell University)|Nov 25, 2022
Generative Adversarial Networks and Image SynthesisComputer Science11 citations
TL;DR

This paper proposes a Guided Imagination Framework (GIF) that expands small-scale datasets by generating photo-realistic, class-consistent, and diverse images using pre-trained generative models like Stable Diffusion and DALL-E2. By optimizing latent features with class-maintained information boosting and sample diversity promotion, GIF boosts model accuracy by 36.9% on average across six natural image datasets and 13.5% on average across three medical datasets compared to unguided generation.

ABSTRACT

The power of DNNs relies heavily on the quantity and quality of training data. However, collecting and annotating data on a large scale is often expensive and time-consuming. To address this issue, we explore a new task, termed dataset expansion, aimed at expanding a ready-to-use small dataset by automatically creating new labeled samples. To this end, we present a Guided Imagination Framework (GIF) that leverages cutting-edge generative models like DALL-E2 and Stable Diffusion (SD) to "imagine" and create informative new data from the input seed data. Specifically, GIF conducts data imagination by optimizing the latent features of the seed data in the semantically meaningful space of the prior model, resulting in the creation of photo-realistic images with new content. To guide the imagination towards creating informative samples for model training, we introduce two key criteria, i.e., class-maintained information boosting and sample diversity promotion. These criteria are verified to be essential for effective dataset expansion: GIF-SD obtains 13.5% higher model accuracy on natural image datasets than unguided expansion with SD. With these essential criteria, GIF successfully expands small datasets in various scenarios, boosting model accuracy by 36.9% on average over six natural image datasets and by 13.5% on average over three medical datasets. The source code is available at https://github.com/Vanint/DatasetExpansion.

Motivation & Objective

  • Address the challenge of data scarcity in small-scale datasets where large-scale annotation is costly and time-consuming.
  • Overcome limitations of traditional data augmentation, which only applies surface-level transformations without introducing new content.
  • Leverage powerful pre-trained generative models to create informative, realistic, and diverse synthetic samples that enhance model generalization.
  • Ensure generated samples are both semantically consistent with the original class and rich in content variation to maximize training benefit.
  • Develop a scalable, safe, and controllable framework for dataset expansion applicable across diverse domains, including medical imaging.

Proposed method

  • Use pre-trained generative models (e.g., Stable Diffusion, DALL-E2, MAE) as prior models to encode seed images into latent space.
  • Optimize the latent features of seed images in a semantically meaningful space to generate new, photo-realistic images with novel content.
  • Apply two key criteria: class-maintained information boosting to preserve semantic class identity and sample diversity promotion to ensure content variation.
  • Leverage CLIP for zero-shot classification to map latent features to the target dataset’s label space, ensuring correct labeling of synthetic samples.
  • Integrate safety checks using Google Cloud Vision API to ensure synthetic images are free from adult, violent, or inappropriate content.
  • Train deep neural networks on the expanded datasets and evaluate performance on standard benchmarks to validate effectiveness.

Experimental results

Research questions

  • RQ1Can generative models be effectively guided to produce synthetic data that is both semantically consistent with the original class and rich in content diversity?
  • RQ2How do class-maintained information boosting and sample diversity promotion improve the quality and utility of generated data for downstream training?
  • RQ3To what extent does guided imagination outperform unguided generation or traditional data augmentation in improving model accuracy on small datasets?
  • RQ4Can the proposed framework generalize across diverse domains, including natural images and medical imaging, with consistent performance gains?
  • RQ5What is the safety profile of the generated synthetic data, and can it be reliably used in real-world applications?

Key findings

  • GIF-SD achieves 13.5% higher model accuracy on natural image datasets compared to unguided Stable Diffusion generation, demonstrating the effectiveness of guided imagination.
  • On average, GIF boosts model accuracy by 36.9% across six natural image datasets, significantly outperforming baseline data augmentation and unguided generation.
  • The framework achieves 13.5% average accuracy gain on three medical image datasets, showing strong generalization to specialized domains.
  • Safety checks via Google Cloud Vision API confirm that 96% of generated images are categorized as 'Very unlikely' for adult content, and over 80% are 'Very unlikely' for spoof or racy content, indicating high safety and suitability for deployment.
  • Visualizations confirm that GIF generates semantically consistent yet content-diverse images—e.g., new poses of cats, varied textures in cushions—demonstrating effective information expansion.
  • The use of CLIP for zero-shot label mapping ensures that synthetic samples are correctly classified and aligned with the target dataset’s semantics.

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.