Exploring the Connection between Robust and Generative Models

Senad Beadini, Iacopo Masi
4/8/2023
2 citations
cs.LGcs.CRcs.CV

Official code: senad96/Robust-Generative (3 stars, Jupyter Notebook, MIT, last commit 2023-05-02).

Abstract

We offer a study that connects robust discriminative classifiers trained with adversarial training (AT) with generative modeling in the form of Energy-based Models (EBM). We do so by decomposing the loss of a discriminative classifier and showing that the discriminative model is also aware of the input data density.

Show full abstract

Though a common assumption is that adversarial points leave the manifold of the input data, our study finds out that, surprisingly, untargeted adversarial points in the input space are very likely under the generative model hidden inside the discriminative classifier -- have low energy in the EBM. We present two evidence: untargeted attacks are even more likely than the natural data and their likelihood increases as the attack strength increases. This allows us to easily detect them and craft a novel attack called High-Energy PGD that fools the classifier yet has energy similar to the data set. The code is available at github.com/senad96/Robust-Generative

View on arXivView PDF

Code Implementations(1)

MIT

Repo for "Exploring the Connection between Robust and Generative Models"

30Jupyter Notebook, PythonMar 26, 20233 years agoMIT
adversarial-attacksadversarial-machine-learning

Similar Papers

Cite this paper

@article{beadini2023exploring,
  title  = {Exploring the Connection between Robust and Generative Models},
  author = {Senad Beadini and Iacopo Masi},
  year   = {2023},
  eprint = {2304.04033},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.04033v4}
}

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

Discussion