[Paper Review] The Effects of Regularization and Data Augmentation are Class Dependent
The paper shows that common regularization methods like data augmentation and weight decay create class-dependent biases, improving average accuracy while dramatically hurting performance on specific classes and transferring bias to downstream tasks.
Regularization is a fundamental technique to prevent over-fitting and to improve generalization performances by constraining a model's complexity. Current Deep Networks heavily rely on regularizers such as Data-Augmentation (DA) or weight-decay, and employ structural risk minimization, i.e. cross-validation, to select the optimal regularization hyper-parameters. In this study, we demonstrate that techniques such as DA or weight decay produce a model with a reduced complexity that is unfair across classes. The optimal amount of DA or weight decay found from cross-validation leads to disastrous model performances on some classes e.g. on Imagenet with a resnet50, the "barn spider" classification test accuracy falls from $68\%$ to $46\%$ only by introducing random crop DA during training. Even more surprising, such performance drop also appears when introducing uninformative regularization techniques such as weight decay. Those results demonstrate that our search for ever increasing generalization performance -- averaged over all classes and samples -- has left us with models and regularizers that silently sacrifice performances on some classes. This scenario can become dangerous when deploying a model on downstream tasks e.g. an Imagenet pre-trained resnet50 deployed on INaturalist sees its performances fall from $70\%$ to $30\%$ on class \#8889 when introducing random crop DA during the Imagenet pre-training phase. Those results demonstrate that designing novel regularizers without class-dependent bias remains an open research question.
Motivation & Objective
- Motivate and quantify how regularization shapes model bias across classes.
- Demonstrate that data augmentation can be label-preserving for some classes but not others.
- Show that weight decay induces similar class-dependent biases as data augmentation.
- Examine how regularization bias transfers to downstream transfer learning tasks.
Proposed method
- Provide theoretical intuition for how data augmentation can introduce irreducible bias when transformations do not preserve the true label level-sets.
- Empirically analyze per-class performance under varying data augmentation strengths on ImageNet across multiple architectures.
- Quantify per-class bias via a sensitivity analysis by training models with different DA policies and performing statistical tests on class-wise accuracies.
- Replicate the analysis with weight decay to show class-dependent bias for an uninformed regularizer.
- Investigate transfer learning by pre-training with varying DA and evaluating per-class performance on a target dataset (INaturalist).
Experimental results
Research questions
- RQ1Does data augmentation introduce class-dependent bias while improving overall average accuracy?
- RQ2Is the observed per-class bias consistent across architectures and datasets?
- RQ3Does weight decay produce similar class-dependent biases as data augmentation?
- RQ4Does regularization during pre-training bias downstream tasks in transfer learning?
- RQ5How large is the transfer of class-dependent bias from a source dataset to a target dataset?
Key findings
- Data augmentation can boost average test accuracy but reduce per-class accuracy for some classes.
- Per-class bias from DA is class-dependent and persists across architectures and DA types (random crop, CutOut, color jitter).
- Weight decay similarly induces class-dependent biases, even when regressor is uninformed.
- Bias from regularization can transfer to downstream tasks in transfer learning scenarios, affecting target-class performance.
- A model selected by average performance on a source dataset may be the most biased for classes of interest in the target dataset.
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.