[Paper Review] How Much Data Are Augmentations Worth? An Investigation into Scaling Laws, Invariance, and Implicit Regularization
This paper investigates the mechanisms behind data augmentation (DA) in deep learning by quantifying its benefits relative to real data through scaling laws. It finds that augmentations can be more valuable than additional real data—especially for out-of-distribution generalization—due to induced stochasticity and implicit regularization, with TrivialAug and similar policies showing strong performance even on small datasets.
Despite the clear performance benefits of data augmentations, little is known about why they are so effective. In this paper, we disentangle several key mechanisms through which data augmentations operate. Establishing an exchange rate between augmented and additional real data, we find that in out-of-distribution testing scenarios, augmentations which yield samples that are diverse, but inconsistent with the data distribution can be even more valuable than additional training data. Moreover, we find that data augmentations which encourage invariances can be more valuable than invariance alone, especially on small and medium sized training sets. Following this observation, we show that augmentations induce additional stochasticity during training, effectively flattening the loss landscape.
Motivation & Objective
- To disentangle the mechanisms by which data augmentation improves model generalization beyond simple data expansion.
- To quantify the exchange rate between augmented data and real training data using scaling laws.
- To investigate whether invariance alone explains the benefits of data augmentation or if stochasticity and implicit regularization play key roles.
- To evaluate the impact of augmentations on loss landscape flatness and generalization, especially under distribution shift.
- To determine whether augmentations that deviate from the data distribution can still improve performance, challenging assumptions about label-preserving transformations.
Proposed method
- Proposes a power-law model to estimate the effective number of real data samples equivalent to a given number of augmented samples, using validation accuracy as a proxy.
- Employs scaling laws to compare model performance across varying dataset sizes with and without augmentations, fitting functions of the form $ f(x) = ax^{-c} + b $.
- Measures model flatness via gradient noise and curvature metrics to assess the regularization effect of data augmentation.
- Applies diverse augmentation strategies (e.g., TrivialAug, RandAug, AutoAug) and evaluates their impact on in-distribution and out-of-distribution generalization.
- Uses controlled experiments on CIFAR-10, CIFAR-10-C, and ImageNet to isolate the effects of augmentation on generalization and loss landscape geometry.
- Introduces the concept of 'exchange rates' to compare the value of augmented data to real data, defined via inverse scaling of performance curves.
Experimental results
Research questions
- RQ1How does the performance gain from data augmentation compare to that of adding real training data, especially under distribution shift?
- RQ2To what extent do invariance, stochasticity, and implicit regularization contribute to the benefits of data augmentation?
- RQ3Can augmentations that are inconsistent with the data distribution still improve model generalization?
- RQ4How does data augmentation affect the flatness of the loss landscape, and is this related to improved generalization?
- RQ5What is the effective exchange rate between augmented samples and real data samples across different model architectures and datasets?
Key findings
- On out-of-distribution test sets like CIFAR-10-C, augmentations that produce diverse but distributionally inconsistent samples can be more valuable than additional real data.
- Data augmentations that encourage invariance are more effective than invariance alone, particularly on small and medium-sized training sets.
- Augmentations induce additional stochasticity during training, leading to flatter loss landscapes and improved generalization, as measured by gradient noise and curvature.
- The exchange rate between augmented and real data is not constant: it increases with dataset size and can become undefined when augmentations outperform any amount of real data (e.g., for CIFAR-10-C with TrivialAug).
- TrivialAugment and similar policies show strong performance even on small datasets, suggesting they induce effective implicit regularization beyond standard invariance.
- A strong correlation exists between the number of effective samples gained through augmentation and model flatness, except for TrivialAug, which may produce artificially flat models without proportional performance gains.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.