Towards Understanding Why Data Augmentation Improves Generalization

Jingyang Li, Jiachun Pan, Kim-Chuan Toh, Pan Zhou
2/13/2025
cs.CVcs.LGstat.ML

No confident code implementation found for this paper.

Abstract

Data augmentation is a cornerstone technique in deep learning, widely used to improve model generalization. Traditional methods like random cropping and color jittering, as well as advanced techniques such as CutOut, Mixup, and CutMix, have achieved notable success across various domains. However, the mechanisms by which data augmentation improves generalization remain poorly understood, and existing theoretical analyses typically focus on individual techniques without a unified explanation. In this work, we present a unified theoretical framework that elucidates how data augmentation enhances generalization through two key effects: partial semantic feature removal and feature mixing. Partial semantic feature removal reduces the model's reliance on individual feature, promoting diverse feature learning and better generalization. Feature mixing, by scaling down original semantic features and introducing noise, increases training complexity, driving the model to develop more robust features. Advanced methods like CutMix integrate both effects, achieving complementary benefits. Our theoretical insights are further supported by experimental results, validating the effectiveness of this unified perspective.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{li2025towards,
  title  = {Towards Understanding Why Data Augmentation Improves Generalization},
  author = {Jingyang Li and Jiachun Pan and Kim-Chuan Toh and Pan Zhou},
  year   = {2025},
  eprint = {2502.08940},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.08940v1}
}

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/2502.08940.svg)](https://codeofpaper.com/paper/2502.08940)

Discussion