Skip to main content
QUICK REVIEW

[Paper Review] This dataset does not exist: training models from generated images

Victor Besnier, Himalaya Jain|arXiv (Cornell University)|Nov 7, 2019
Generative Adversarial Networks and Image SynthesisComputer Science19 references5 citations
TL;DR

This paper proposes three techniques to train accurate image classifiers using only synthetic images generated by BigGAN: latent code optimization for more informative data, continuous data sampling during training to boost diversity, and test-time adaptation via batch normalization adaptation (BNA). Combined, these methods improve top-1 accuracy on ImageNet-10 by 15% over naive training on randomly sampled generated images, achieving 88.8% accuracy with extended training.

ABSTRACT

Current generative networks are increasingly proficient in generating high-resolution realistic images. These generative networks, especially the conditional ones, can potentially become a great tool for providing new image datasets. This naturally brings the question: Can we train a classifier only on the generated data? This potential availability of nearly unlimited amounts of training data challenges standard practices for training machine learning models, which have been crafted across the years for limited and fixed size datasets. In this work we investigate this question and its related challenges. We identify ways to improve significantly the performance over naive training on randomly generated images with regular heuristics. We propose three standalone techniques that can be applied at different stages of the pipeline, i.e., data generation, training on generated data, and deploying on real data. We evaluate our proposed approaches on a subset of the ImageNet dataset and show encouraging results compared to classifiers trained on real images.

Motivation & Objective

  • To investigate whether deep image classifiers can be trained effectively using only synthetic images generated by state-of-the-art GANs like BigGAN.
  • To address the performance drop observed when training classifiers on randomly sampled generated images compared to real ImageNet data.
  • To develop practical, standalone techniques that improve classifier performance when training exclusively on generated data.
  • To evaluate the effectiveness of these methods in isolation and in combination on a subset of ImageNet (ImageNet-10).

Proposed method

  • Proposes latent space optimization (HSM) to find more informative latent codes that generate images more useful for training a classifier.
  • Introduces dynamic sampling (DS) to continuously replace a fraction of the generated training data every epoch with newly sampled images, increasing effective diversity.
  • Employs batch normalization adaptation (BNA) as a test-time adaptation method to align the statistics of the trained classifier with real data distribution.
  • Uses a pre-trained BigGAN as the generator to produce 128×128 images, and ResNet-18 as the classifier for all experiments.
  • Applies standard training protocols with SGD, weight decay, and learning rate decay, while varying data replacement fractions in DS.
  • Evaluates performance using Top-1 accuracy on real ImageNet validation images, comparing to real-data-trained baselines.

Experimental results

Research questions

  • RQ1Can a deep image classifier achieve competitive performance when trained exclusively on synthetic images generated by a state-of-the-art GAN like BigGAN?
  • RQ2Why does performance drop significantly when training on randomly sampled generated images compared to real ImageNet data?
  • RQ3To what extent can latent code optimization improve the quality and informativeness of generated training data for classification?
  • RQ4How does continuous data sampling during training affect model generalization and accuracy on real data?
  • RQ5Can test-time adaptation via batch normalization adaptation (BNA) effectively bridge the domain gap between generated and real data?

Key findings

  • The proposed method of latent space optimization (HSM) improves classifier accuracy by 1.4% to 3.2% over the baseline of random sampling.
  • Dynamic sampling (DS) with a replacement fraction of 0.5 increases accuracy by 7.4% to 8.2% compared to fixed generated datasets.
  • Batch normalization adaptation (BNA) boosts accuracy by 3.8% to 5.8% when applied after training, even outperforming full replacement (r=1) in some cases.
  • The three methods are complementary: combining all three increases accuracy by 15% over the baseline, achieving 88.8% Top-1 accuracy on ImageNet-10.
  • The performance gain from DS diminishes quickly after r=0.5, indicating diminishing returns beyond moderate replacement rates.
  • BNA consistently improves accuracy across all settings and is especially effective when combined with DS, suggesting its value as a lightweight post-training adaptation.

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.