Semantic Perturbations with Normalizing Flows for Improved Generalization

Oguz Kaan Yuksel, Sebastian U. Stich, Martin Jaggi, Tatjana Chavdarova
8/18/2021
stat.MLcs.LG
diffusion-flow

Official code: okyksl/flow-lp (11 stars, Python, last commit 2021-07-13).

Abstract

Data augmentation is a widely adopted technique for avoiding overfitting when training deep neural networks. However, this approach requires domain-specific knowledge and is often limited to a fixed set of hard-coded transformations.

Show full abstract

Recently, several works proposed to use generative models for generating semantically meaningful perturbations to train a classifier. However, because accurate encoding and decoding are critical, these methods, which use architectures that approximate the latent-variable inference, remained limited to pilot studies on small datasets. Exploiting the exactly reversible encoder-decoder structure of normalizing flows, we perform on-manifold perturbations in the latent space to define fully unsupervised data augmentations. We demonstrate that such perturbations match the performance of advanced data augmentation techniques -- reaching 96.6% test accuracy for CIFAR-10 using ResNet-18 and outperform existing methods, particularly in low data regimes -- yielding 10--25% relative improvement of test accuracy from classical training. We find that our latent adversarial perturbations adaptive to the classifier throughout its training are most effective, yielding the first test accuracy improvement results on real-world datasets -- CIFAR-10/100 -- via latent-space perturbations.

View on arXivView PDF

Code Implementations(1)

okyksl/flow-lpOfficial100%

Code for "Semantic Perturbations with Normalizing Flows for Improved Generalization"

110Python, Jupyter NotebookJul 13, 20215 years ago

Similar Papers

Cite this paper

@article{yuksel2021semantic,
  title  = {Semantic Perturbations with Normalizing Flows for Improved Generalization},
  author = {Oguz Kaan Yuksel and Sebastian U. Stich and Martin Jaggi and Tatjana Chavdarova},
  year   = {2021},
  eprint = {2108.07958},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.07958}
}

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

Discussion