Lune

NeurIPS2021Top-tier venue

Class-Disentanglement and Applications in Adversarial Detection and Defense

Kaiwen Yang, Tianyi Zhou, Yonggang Zhang, Xinmei Tian, Dacheng Tao

2021Year
49Citations
12Top-tier citations

Abstract

What is the minimum necessary information required by a neural net D(•) from an image x to accurately predict its class? Extracting such information in the input space from x can allocate the areas D(•) mainly attending to and shed novel insights to the detection and defense of adversarial attacks. In this paper, we propose "class-disentanglement" that trains a variational autoencoder G(•) to extract this class-dependent information as x -G(x) via a trade-off between reconstructing x by G(x) and classifying x by D(x -G(x)), where the former competes with the latter in decomposing x so the latter retains only necessary information for classification in x -G(x). We apply it to both clean images and their adversarial images and discover that the perturbations generated by adversarial attacks mainly lie in the class-dependent part x -G(x). The decomposition results also provide novel interpretations to classification and attack models. Inspired by these observations, we propose to conduct adversarial detection and adversarial defense respectively on x -G(x) and G(x), which consistently outperform the results on the original x. In experiments, this simple approach substantially improves the detection and defense against different types of adversarial attacks. Code is available: https://github.com/kai-wen-yang/CD-VAE .

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 615fd63c-476e-48de-9d38-54d3dd393529

Cited by top-tier papers12

Ask how each one uses it

Builds on5

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines