Efficient Augmentation via Data Subsampling

Michael Kuchnik, Virginia Smith

Data augmentation is a staple of modern machine learning, but applying transformations to every single training point is computationally wasteful. Recent research demonstrates that by intelligently subsampling only the most "influential" data points for augmentation, researchers can reduce the number of augmented examples by up to 90% while maintaining nearly the same accuracy gains as full-dataset augmentation.

The Problem: Data Explosion

In the quest for state-of-the-art accuracy, practitioners often use data augmentation to teach models "invariances"—for example, teaching a vision model that a cat is still a cat even if it's rotated or cropped. However, this process is incredibly inefficient. If you apply just three types of transformations with four configurations each, your dataset can explode by a factor of 12x to 64x.

This "data explosion" leads to massive increases in storage costs and training time. The authors ask a fundamental question: Do we really need to augment every single image? Drawing inspiration from Support Vector Machines (SVMs), where only the points near the decision boundary (support vectors) truly matter, the authors investigate whether we can identify a small subset of "important" data points that benefit most from being augmented.

Methods: Targeted Subsampling Policies

The authors propose moving away from uniform random augmentation toward targeted subsampling policies. They introduce two primary metrics to rank the "importance" of a data point for augmentation:

  1. Training Loss: Points with high loss are "hard" for the model to learn. The authors hypothesize that these points are better candidates for augmentation because the model hasn't yet mastered their features.
  2. Model Influence: Based on "Leave-One-Out" (LOO) influence functions, this metric measures how much the model’s parameters would change if a specific data point were removed. High-influence points are those that have a significant impact on the final decision surface.

The researchers tested several selection policies, including Deterministic (picking the top-$k$ highest-scoring points) and Random Proportional (sampling points with a probability proportional to their score). They also explored refinements like reweighting to prevent model bias and online score updating. Experiments were conducted on binary classification variants of MNIST, CIFAR10, and NORB using a "bottleneck" approach (training a linear model on pre-trained CNN features).

Key Insights and Results

The most striking finding of the paper is The 10% Rule: for many tasks, augmenting just 10% of the dataset using an intelligent policy achieves results nearly identical to augmenting 100% of the dataset.

Test accuracy vs. number of augmented points across different tasks, showing targeted policies reaching optimal accuracy much faster than the baseline.
  • Outperforming Randomness: As seen in the performance curves, loss and influence-based policies significantly outperform simple random subsampling (the baseline). For rotation tasks, random sampling required 90-100% of the data to match the accuracy that targeted policies reached with just 5-10%.
  • Massive Efficiency Gains: On the MNIST-translate task, the authors maintained 99.86% of the full-augmentation accuracy while augmenting only 10% of the data. Because training time scales linearly with the number of examples, a 90% reduction in augmented data translates directly into a massive reduction in computational footprint.
  • Redundancy is the Enemy: Visualizing the "low influence" points reveals they are often very similar and redundant. Augmenting them adds little new information. Conversely, "high influence" points are diverse and represent the "hard" cases that define the model's boundaries.
  • Loss vs. Influence: While model influence is theoretically more robust, simple training loss performed remarkably well. Since loss is much cheaper to calculate than the inverse Hessian required for influence, it represents a highly practical "bang-for-the-buck" metric.

Limitations and Future Work

While promising, the study has a few limitations. The experiments were primarily performed on binary classification tasks; while the principles likely hold for multi-class problems, calculating influence scales poorly with the number of classes. Additionally, most experiments used frozen "bottleneck" features from a pre-trained CNN, which doesn't fully capture how end-to-end training might behave if the feature extractor itself were updated by the augmented data.

Finally, the current policies are "greedy"—they pick the best individual points. Future work could benefit from subset diversity (e.g., using Determinantal Point Processes), ensuring that the selected 10% aren't just "important" but also different from one another to avoid redundant augmentations.

Summary updated

BibTeX
@inproceedings{kuchnik2019efficient,
  author = {Michael Kuchnik and Virginia Smith},
  title = {{Efficient Augmentation via Data Subsampling}},
  booktitle = {International Conference on Learning Representations},
  year = {2019},
  url = {https://openreview.net/forum?id=mIaFHuIaxA},
}
Figure