ReSmooth: Detecting and Utilizing OOD Samples when Training with Data Augmentation

Chenyang Wang, Junjun Jiang, Xiong Zhou, Xianming Liu
5/25/2022
cs.CV

Official code: Chenyang4/ReSmooth (10 stars, Python, MIT, last commit 2022-11-21).

Abstract

Data augmentation (DA) is a widely used technique for enhancing the training of deep neural networks. Recent DA techniques which achieve state-of-the-art performance always meet the need for diversity in augmented training samples.

Show full abstract

However, an augmentation strategy that has a high diversity usually introduces out-of-distribution (OOD) augmented samples and these samples consequently impair the performance. To alleviate this issue, we propose ReSmooth, a framework that firstly detects OOD samples in augmented samples and then leverages them. To be specific, we first use a Gaussian mixture model to fit the loss distribution of both the original and augmented samples and accordingly split these samples into in-distribution (ID) samples and OOD samples. Then we start a new training where ID and OOD samples are incorporated with different smooth labels. By treating ID samples and OOD samples unequally, we can make better use of the diverse augmented data. Further, we incorporate our ReSmooth framework with negative data augmentation strategies. By properly handling their intentionally created OOD samples, the classification performance of negative data augmentations is largely ameliorated. Experiments on several classification benchmarks show that ReSmooth can be easily extended to existing augmentation strategies (such as RandAugment, rotate, and jigsaw) and improve on them. Our code is available at https://github.com/Chenyang4/ReSmooth.

View on arXivView PDF

Code Implementations(1)

Chenyang4/ReSmoothOfficial100%
MIT
103PythonNov 21, 20224 years agoMIT

Similar Papers

Cite this paper

@article{wang2022resmooth,
  title  = {ReSmooth: Detecting and Utilizing OOD Samples when Training with Data Augmentation},
  author = {Chenyang Wang and Junjun Jiang and Xiong Zhou and Xianming Liu},
  year   = {2022},
  eprint = {2205.12606},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.12606}
}

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

Discussion