Regularizing Deep Networks with Semantic Data Augmentation

Yulin Wang, Gao Huang, Shiji Song, Xuran Pan, Yitong Xia +1 more
7/21/2020
cs.CVcs.LG

Official code: blackfeather-wang/ISDA-for-Deep-Networks (588 stars, Python, last commit 2021-04-23).

Abstract

Data augmentation is widely known as a simple yet surprisingly effective technique for regularizing deep networks. Conventional data augmentation schemes, e.g., flipping, translation or rotation, are low-level, data-independent and class-agnostic operations, leading to limited diversity for augmented samples.

Show full abstract

To this end, we propose a novel semantic data augmentation algorithm to complement traditional approaches. The proposed method is inspired by the intriguing property that deep networks are effective in learning linearized features, i.e., certain directions in the deep feature space correspond to meaningful semantic transformations, e.g., changing the background or view angle of an object. Based on this observation, translating training samples along many such directions in the feature space can effectively augment the dataset for more diversity. To implement this idea, we first introduce a sampling based method to obtain semantically meaningful directions efficiently. Then, an upper bound of the expected cross-entropy (CE) loss on the augmented training set is derived by assuming the number of augmented samples goes to infinity, yielding a highly efficient algorithm. In fact, we show that the proposed implicit semantic data augmentation (ISDA) algorithm amounts to minimizing a novel robust CE loss, which adds minimal extra computational cost to a normal training procedure. In addition to supervised learning, ISDA can be applied to semi-supervised learning tasks under the consistency regularization framework, where ISDA amounts to minimizing the upper bound of the expected KL-divergence between the augmented features and the original features. Although being simple, ISDA consistently improves the generalization performance of popular deep models (e.g., ResNets and DenseNets) on a variety of datasets, i.e., CIFAR-10, CIFAR-100, SVHN, ImageNet, and Cityscapes.

View on arXivView PDF

Code Implementations(1)

An efficient implicit semantic augmentation method, complementary to existing non-semantic techniques.

58894Python, CudaAug 26, 20195 years ago

Similar Papers

Cite this paper

@article{wang2020regularizing,
  title  = {Regularizing Deep Networks with Semantic Data Augmentation},
  author = {Yulin Wang and Gao Huang and Shiji Song and Xuran Pan and Yitong Xia and Cheng Wu},
  year   = {2020},
  eprint = {2007.10538},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2007.10538}
}

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

Discussion