Data augmentation instead of explicit regularization

Alex Hernández-García, Peter König
6/11/2018
cs.CV

Official code: alexhernandezgarcia/data-aug-invariance (7 stars, last commit 2020-11-04).

Abstract

Contrary to most machine learning models, modern deep artificial neural networks typically include multiple components that contribute to regularization. Despite the fact that some (explicit) regularization techniques, such as weight decay and dropout, require costly fine-tuning of sensitive hyperparameters, the interplay between them and other elements that provide implicit regularization is not well understood yet. Shedding light upon these interactions is key to efficiently using computational resources and may contribute to solving the puzzle of generalization in deep learning. Here, we first provide formal definitions of explicit and implicit regularization that help understand essential differences between techniques. Second, we contrast data augmentation with weight decay and dropout. Our results show that visual object categorization models trained with data augmentation alone achieve the same performance or higher than models trained also with weight decay and dropout, as is common practice. We conclude that the contribution on generalization of weight decay and dropout is not only superfluous when sufficient implicit regularization is provided, but also such techniques can dramatically deteriorate the performance if the hyperparameters are not carefully tuned for the architecture and data set. In contrast, data augmentation systematically provides large generalization gains and does not require hyperparameter re-tuning. In view of our results, we suggest to optimize neural networks without weight decay and dropout to save computational resources, hence carbon emissions, and focus more on data augmentation and other inductive biases to improve performance and robustness.

View on arXivView PDF

Code Implementations(1)

A pipeline for flexibly training and evaluating neural networks for image object recognition with Keras. It allows analysing the effect of data augmentation and explicit regularisation methods, as well as training with data augmentation invariance

72PythonMay 13, 20205 years ago

Similar Papers

Cite this paper

@article{hernndezgarca2018data,
  title  = {Data augmentation instead of explicit regularization},
  author = {Alex Hernández-García and Peter König},
  year   = {2018},
  eprint = {1806.03852},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1806.03852}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1806.03852.svg)](https://codeofpaper.com/paper/1806.03852)

Discussion