Skip to main content
QUICK REVIEW

[Paper Review] Diversify Your Vision Datasets with Automatic Diffusion-Based Augmentation

Lisa Dunlap, Alyssa Umino|arXiv (Cornell University)|May 25, 2023
Multimodal Machine Learning ApplicationsComputer Science14 citations
TL;DR

ALIA uses captions and large language models to generate domain descriptions and edits of training images through text-guided diffusion, improving fine-grained classification and domain generalization without finetuning generators.

ABSTRACT

Many fine-grained classification tasks, like rare animal identification, have limited training data and consequently classifiers trained on these datasets often fail to generalize to variations in the domain like changes in weather or location. As such, we explore how natural language descriptions of the domains seen in training data can be used with large vision models trained on diverse pretraining datasets to generate useful variations of the training data. We introduce ALIA (Automated Language-guided Image Augmentation), a method which utilizes large vision and language models to automatically generate natural language descriptions of a dataset's domains and augment the training data via language-guided image editing. To maintain data integrity, a model trained on the original dataset filters out minimal image edits and those which corrupt class-relevant information. The resulting dataset is visually consistent with the original training data and offers significantly enhanced diversity. We show that ALIA is able to surpasses traditional data augmentation and text-to-image generated data on fine-grained classification tasks, including cases of domain generalization and contextual bias. Code is available at https://github.com/lisadunlap/ALIA.

Motivation & Objective

  • Motivate improved generalization for fine-grained vision tasks with limited data.
  • Propose a data augmentation method grounded in dataset-specific domain descriptions.
  • Leverage captioning and large language models to guide image edits via diffusion.
  • Filter edits to preserve task-relevant information and data integrity.

Proposed method

  • Generate image captions with a pretrained captioning model for all training images.
  • Summarize captions with a large language model to produce a concise set of domain descriptions (<10).
  • Edit training images using text-conditioned diffusion methods (Img2Img and Instruct Pix2Pix) guided by domain descriptions.
  • Apply semantic (CLIP-based) and confidence-based filters to remove failed edits.
  • Fine-tune ResNet50 on augmented datasets and compare with baselines across tasks.

Experimental results

Research questions

  • RQ1Can ALIA produce domain descriptions that enable useful, label-preserving image edits grounded in the training data?
  • RQ2Do language-guided edits outperform traditional augmentation and text-to-image generation for domain generalization and bias mitigation?
  • RQ3How do filtering and choice of editing technique affect augmentation quality and model performance?
  • RQ4What is the effect of augmenting data quantity on accuracy across different domains?

Key findings

  • ALIA outperforms traditional augmentations and text-to-image data, sometimes rivaling or exceeding real data benefits.
  • In iWildCam, ALIA yields up to 17% accuracy gain over original data and can exceed adding real data with equal amounts.
  • On CUB, ALIA improves beyond baselines except for RandAugment and real data when using domain-grounded prompts.
  • On Waterbirds, ALIA with filtering approaches closely matches in-domain accuracy and improves out-of-domain robustness.
  • Semantic and confidence-based filtering reduce edit failures and enhance final accuracy.
  • Prompt quality from ALIA surpasses user-provided prompts, especially for contextual bias scenarios.

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.