Leaving Reality to Imagination: Robust Classification via Generated Datasets

Published: 23 Jun 2023, Last Modified: 20 Jul 2023DeployableGenerativeAIEveryoneRevisions
Keywords: Robust, Classification, Generated Data, Stable Diffusion, Generative Modeling
TL;DR: We find that the Imagenet classifiers trained on real data augmented with the generated data, from modern in-the-wild generative models, achieve high accuracy and effective robustness on natural distribution shift datasets.
Abstract: Recent research on robustness has revealed significant performance gaps between neural image classifiers trained on datasets that are similar to the test set, and those that are from a naturally shifted distribution, such as sketches, paintings, and animations of the object categories observed during training. Prior work focuses on reducing this gap by designing engineered augmentations of training data or through unsupervised pretraining of a single large model on massive in-the-wild training datasets scraped from the Internet. However, the notion of a dataset is also undergoing a paradigm shift in recent years. With drastic improvements in the quality, ease-of-use, and access to modern generative models, generated data is pervading the web. In this light, we study the question: How do these generated datasets influence the natural robustness of image classifiers? We find that Imagenet classifiers trained on real data augmented with generated data achieve higher accuracy and effective robustness than standard training and popular augmentation strategies in the presence of natural distribution shifts. We analyze various factors influencing these results, including the choice of conditioning strategies and the amount of generated data. Lastly, we find that the standard ImageNet classifiers suffer a performance degradation of upto 20% on the generated data, indicating their fragility at accurately classifying the objects under novel variations.
Submission Number: 43
Loading