Skip to main content
QUICK REVIEW

[Paper Review] DADA: Differentiable Automatic Data Augmentation

Yonggang Li, Guosheng Hu|arXiv (Cornell University)|Mar 8, 2020
Advanced Neural Network ApplicationsComputer Science30 references39 citations
TL;DR

DADA presents a differentiable framework for learning data augmentation policies with an unbiased RELAX gradient estimator, achieving at least an order of magnitude faster search than prior Auto-DA methods while maintaining competitive accuracy. It uses Gumbel-Softmax relaxation for policy sampling and a one-pass bi-level optimization to jointly train networks and augmentation parameters.

ABSTRACT

Data augmentation (DA) techniques aim to increase data variability, and thus train deep networks with better generalisation. The pioneering AutoAugment automated the search for optimal DA policies with reinforcement learning. However, AutoAugment is extremely computationally expensive, limiting its wide applicability. Followup works such as Population Based Augmentation (PBA) and Fast AutoAugment improved efficiency, but their optimization speed remains a bottleneck. In this paper, we propose Differentiable Automatic Data Augmentation (DADA) which dramatically reduces the cost. DADA relaxes the discrete DA policy selection to a differentiable optimization problem via Gumbel-Softmax. In addition, we introduce an unbiased gradient estimator, RELAX, leading to an efficient and effective one-pass optimization strategy to learn an efficient and accurate DA policy. We conduct extensive experiments on CIFAR-10, CIFAR-100, SVHN, and ImageNet datasets. Furthermore, we demonstrate the value of Auto DA in pre-training for downstream detection problems. Results show our DADA is at least one order of magnitude faster than the state-of-the-art while achieving very comparable accuracy. The code is available at https://github.com/VDIGPKU/DADA.

Motivation & Objective

  • Motivate automatic data augmentation (DA) policy learning to improve generalization when labeled data is limited.
  • Propose a differentiable formulation of DA policy search to enable joint optimization with network weights.
  • Reduce computational cost of DA policy search compared to AutoAugment, PBA, and Fast AutoAugment.

Proposed method

  • Represent sub-policy selection with a Categorical distribution and operation application with a Bernoulli distribution.
  • Relax discrete policy choices using Gumbel-Softmax for differentiable optimization.
  • Use the RELAX gradient estimator to obtain an unbiased gradient for distribution parameters.
  • Apply a one-pass bi-level optimization to jointly update network weights and DA policy parameters.
  • Evaluate augmentation magnitudes with straight-through gradient estimation and gradient-based backpropagation.

Experimental results

Research questions

  • RQ1Can differentiable optimization (via Gumbel-Softmax and RELAX) enable efficient joint learning of data augmentation policies and network weights?
  • RQ2Does DADA achieve comparable accuracy to state-of-the-art Auto-DA methods with significantly reduced search cost?
  • RQ3How well does DADA transfer to large-scale datasets (ImageNet) and downstream tasks (object detection)?

Key findings

  • DADA achieves at least an order of magnitude speedup over state-of-the-art DA methods while maintaining competitive accuracy.
  • On ImageNet, DADA reports 1.3 GPU hours for search with 22.5% top-1 error (ResNet-50).
  • For CIFAR-10/100 and SVHN, DADA delivers competitive error rates with dramatically reduced search cost (e.g., CIFAR-10 search on reduced data ≈0.1 GPU hours).
  • Using RELAX reduces bias in gradient estimation compared to Gumbel-Softmax, improving policy performance on CIFAR-10.
  • DADA’s learned DA policy improves downstream detection models (RetinaNet, Faster R-CNN, Mask R-CNN) on COCO.

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.