AdvST: Revisiting Data Augmentations for Single Domain Generalization

Guangtao Zheng, Mengdi Huai, Aidong Zhang
12/20/2023
cs.CV

Official code: gtzheng/AdvST (13 stars, last commit 2024-05-06).

Abstract

Single domain generalization (SDG) aims to train a robust model against unknown target domain shifts using data from a single source domain. Data augmentation has been proven an effective approach to SDG. However, the utility of standard augmentations, such as translate, or invert, has not been fully exploited in SDG; practically, these augmentations are used as a part of a data preprocessing procedure. Although it is intuitive to use many such augmentations to boost the robustness of a model to out-of-distribution domain shifts, we lack a principled approach to harvest the benefit brought from multiple these augmentations. Here, we conceptualize standard data augmentations with learnable parameters as semantics transformations that can manipulate certain semantics of a sample, such as the geometry or color of an image. Then, we propose Adversarial learning with Semantics Transformations (AdvST) that augments the source domain data with semantics transformations and learns a robust model with the augmented data. We theoretically show that AdvST essentially optimizes a distributionally robust optimization objective defined on a set of semantics distributions induced by the parameters of semantics transformations. We demonstrate that AdvST can produce samples that expand the coverage on target domain data. Compared with the state-of-the-art methods, AdvST, despite being a simple method, is surprisingly competitive and achieves the best average SDG performance on the Digits, PACS, and DomainNet datasets. Our code is available at https://github.com/gtzheng/AdvST.

View on arXivView PDF

Code Implementations(1)

gtzheng/AdvSTOfficial100%

Code for the paper AdvST: Revisiting Data Augmentations for Single Domain Generalization (AAAI 2024)

133Python2 years ago

Similar Papers

Cite this paper

@article{zheng2023advst,
  title  = {AdvST: Revisiting Data Augmentations for Single Domain Generalization},
  author = {Guangtao Zheng and Mengdi Huai and Aidong Zhang},
  year   = {2023},
  eprint = {2312.12720},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.12720v2}
}

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

Discussion