Fourier-basis Functions to Bridge Augmentation Gap: Rethinking Frequency Augmentation in Image Classification

Puru Vaish, Shunxin Wang, Nicola Strisciuglio
3/4/2024
cs.CVcs.LG

Official code: nis-research/afa-augment (24 stars, Apache-2.0, last commit 2024-11-11).

Abstract

Computer vision models normally witness degraded performance when deployed in real-world scenarios, due to unexpected changes in inputs that were not accounted for during training. Data augmentation is commonly used to address this issue, as it aims to increase data variety and reduce the distribution gap between training and test data. However, common visual augmentations might not guarantee extensive robustness of computer vision models. In this paper, we propose Auxiliary Fourier-basis Augmentation (AFA), a complementary technique targeting augmentation in the frequency domain and filling the augmentation gap left by visual augmentations. We demonstrate the utility of augmentation via Fourier-basis additive noise in a straightforward and efficient adversarial setting. Our results show that AFA benefits the robustness of models against common corruptions, OOD generalization, and consistency of performance of models against increasing perturbations, with negligible deficit to the standard performance of models. It can be seamlessly integrated with other augmentation techniques to further boost performance. Code and models can be found at: https://github.com/nis-research/afa-augment

View on arXivView PDF

Code Implementations(1)

Apache-2.0
241Python, Jupyter NotebookFeb 7, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{vaish2024fourierbasis,
  title  = {Fourier-basis Functions to Bridge Augmentation Gap: Rethinking Frequency Augmentation in Image Classification},
  author = {Puru Vaish and Shunxin Wang and Nicola Strisciuglio},
  year   = {2024},
  eprint = {2403.01944},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.01944v2},
  journal = {CVPR 2024 2024}
}

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

Discussion