Domain Generalization by Rejecting Extreme Augmentations

Masih Aminbeidokhti, Fidel A. Guerrero Peña, Heitor Rapela Medeiros, Thomas Dubail, Eric Granger +1 more
10/10/2023
cs.LGcs.CV

Official code: Masseeh/DCAug (7 stars, last commit 2025-08-06).

Abstract

Data augmentation is one of the most effective techniques for regularizing deep learning models and improving their recognition performance in a variety of tasks and domains. However, this holds for standard in-domain settings, in which the training and test data follow the same distribution. For the out-of-domain case, where the test data follow a different and unknown distribution, the best recipe for data augmentation is unclear. In this paper, we show that for out-of-domain and domain generalization settings, data augmentation can provide a conspicuous and robust improvement in performance. To do that, we propose a simple training procedure: (i) use uniform sampling on standard data augmentation transformations; (ii) increase the strength transformations to account for the higher data variance expected when working out-of-domain, and (iii) devise a new reward function to reject extreme transformations that can harm the training. With this procedure, our data augmentation scheme achieves a level of accuracy that is comparable to or better than state-of-the-art methods on benchmark domain generalization datasets. Code: https://github.com/Masseeh/DCAug

View on arXivView PDF

Code Implementations(1)

Masseeh/DCAugOfficial100%

DCAug Implementation

70PythonAug 29, 20231 years ago

Similar Papers

Cite this paper

@article{aminbeidokhti2023domain,
  title  = {Domain Generalization by Rejecting Extreme Augmentations},
  author = {Masih Aminbeidokhti and Fidel A. Guerrero Peña and Heitor Rapela Medeiros and Thomas Dubail and Eric Granger and Marco Pedersoli},
  year   = {2023},
  eprint = {2310.06670},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.06670v2}
}

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

Discussion