Improving Model Generalization by On-manifold Adversarial Augmentation in the Frequency Domain

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Liu, Chang, Xiang, Wenzhao, He, Yuan, Xue, Hui, Zheng, Shibao, Su, Hang
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913381642928128
author Liu, Chang
Xiang, Wenzhao
He, Yuan
Xue, Hui
Zheng, Shibao
Su, Hang
author_facet Liu, Chang
Xiang, Wenzhao
He, Yuan
Xue, Hui
Zheng, Shibao
Su, Hang
contents Deep neural networks (DNNs) may suffer from significantly degenerated performance when the training and test data are of different underlying distributions. Despite the importance of model generalization to out-of-distribution (OOD) data, the accuracy of state-of-the-art (SOTA) models on OOD data can plummet. Recent work has demonstrated that regular or off-manifold adversarial examples, as a special case of data augmentation, can be used to improve OOD generalization. Inspired by this, we theoretically prove that on-manifold adversarial examples can better benefit OOD generalization. Nevertheless, it is nontrivial to generate on-manifold adversarial examples because the real manifold is generally complex. To address this issue, we proposed a novel method of Augmenting data with Adversarial examples via a Wavelet module (AdvWavAug), an on-manifold adversarial data augmentation technique that is simple to implement. In particular, we project a benign image into a wavelet domain. With the assistance of the sparsity characteristic of wavelet transformation, we can modify an image on the estimated data manifold. We conduct adversarial augmentation based on AdvProp training framework. Extensive experiments on different models and different datasets, including ImageNet and its distorted versions, demonstrate that our method can improve model generalization, especially on OOD data. By integrating AdvWavAug into the training process, we have achieved SOTA results on some recent transformer-based models.
format Preprint
id arxiv_https___arxiv_org_abs_2302_14302
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Improving Model Generalization by On-manifold Adversarial Augmentation in the Frequency Domain
Liu, Chang
Xiang, Wenzhao
He, Yuan
Xue, Hui
Zheng, Shibao
Su, Hang
Computer Vision and Pattern Recognition
Deep neural networks (DNNs) may suffer from significantly degenerated performance when the training and test data are of different underlying distributions. Despite the importance of model generalization to out-of-distribution (OOD) data, the accuracy of state-of-the-art (SOTA) models on OOD data can plummet. Recent work has demonstrated that regular or off-manifold adversarial examples, as a special case of data augmentation, can be used to improve OOD generalization. Inspired by this, we theoretically prove that on-manifold adversarial examples can better benefit OOD generalization. Nevertheless, it is nontrivial to generate on-manifold adversarial examples because the real manifold is generally complex. To address this issue, we proposed a novel method of Augmenting data with Adversarial examples via a Wavelet module (AdvWavAug), an on-manifold adversarial data augmentation technique that is simple to implement. In particular, we project a benign image into a wavelet domain. With the assistance of the sparsity characteristic of wavelet transformation, we can modify an image on the estimated data manifold. We conduct adversarial augmentation based on AdvProp training framework. Extensive experiments on different models and different datasets, including ImageNet and its distorted versions, demonstrate that our method can improve model generalization, especially on OOD data. By integrating AdvWavAug into the training process, we have achieved SOTA results on some recent transformer-based models.
title Improving Model Generalization by On-manifold Adversarial Augmentation in the Frequency Domain
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2302.14302