[Paper Review] Featurized Bidirectional GAN: Adversarial Defense via Adversarially Learned Semantic Inference
This paper proposes Featurized Bidirectional GAN (FBGAN), a defense method that uses adversarially learned bidirectional mapping between data and a low-dimensional semantic latent space to extract robust features and reconstruct clean images from adversarial inputs. By maximizing mutual information between latent codes and generated images, FBGAN disentangles semantic features, enabling effective denoising and defense against white-box and gray-box attacks with 82% accuracy on MNIST and 44% on FMNIST at ε=0.3.
Deep neural networks have been demonstrated to be vulnerable to adversarial attacks, where small perturbations intentionally added to the original inputs can fool the classifier. In this paper, we propose a defense method, Featurized Bidirectional Generative Adversarial Networks (FBGAN), to extract the semantic features of the input and filter the non-semantic perturbation. FBGAN is pre-trained on the clean dataset in an unsupervised manner, adversarially learning a bidirectional mapping between the high-dimensional data space and the low-dimensional semantic space; also mutual information is applied to disentangle the semantically meaningful features. After the bidirectional mapping, the adversarial data can be reconstructed to denoised data, which could be fed into any pre-trained classifier. We empirically show the quality of reconstruction images and the effectiveness of defense.
Motivation & Objective
- To address the vulnerability of deep neural networks to adversarial attacks that exploit non-semantic, low-level features.
- To develop a defense mechanism that does not require retraining the classifier, instead denoising inputs before classification.
- To improve upon existing defenses like adversarial training and gradient masking, which suffer from high computational cost or false security.
- To leverage generative modeling for semantic feature extraction and image reconstruction, inspired by human perception of robust, high-level features.
- To achieve effective defense using a compact, disentangled latent space through mutual information regularization.
Proposed method
- FBGAN employs a bidirectional GAN architecture with an encoder E, generator G, and discriminator D, enabling end-to-end mapping between data space and latent space.
- The model is pre-trained in an unsupervised manner on clean data, learning a joint distribution between input images and their latent codes.
- Mutual information between latent codes z and generated images G(z) is maximized to disentangle semantic features into distinct components (e.g., digit class, stroke thickness).
- Semantic codes are extracted from adversarial inputs via the encoder E, and reconstructed images are generated via G, filtering out non-semantic perturbations.
- For white-box defense, the model applies regularization: one-hot encoding for categorical codes and clipping for continuous codes to stabilize latent representations.
- The reconstructed images are fed into any pre-trained classifier, enabling defense without modifying the classifier architecture.
Experimental results
Research questions
- RQ1Can a generative model with bidirectional mapping and mutual information regularization effectively extract semantic features robust to adversarial perturbations?
- RQ2How does mutual information maximization improve disentanglement of semantic features in the latent space compared to standard BiGAN?
- RQ3To what extent can FBGAN reconstruct clean images from adversarial inputs while preserving semantic content?
- RQ4How effective is FBGAN as a defense against both white-box and gray-box adversarial attacks across different datasets?
- RQ5Why does FBGAN perform better on MNIST and FMNIST than on SVHN, and can this be attributed to data mode complexity?
Key findings
- FBGAN achieves 82% classification accuracy on MNIST and 44% on FMNIST under white-box PGD attacks with ε=0.3, demonstrating strong defense performance.
- The model successfully reconstructs adversarial images with preserved semantic content, such as digit class and tilt angle, while removing noise-like perturbations.
- Mutual information regularization enables FBGAN to disentangle semantic features into a compact latent space (10 categorical + 4 continuous codes), unlike BiGAN which requires 128+ codes and shows entanglement.
- Vanilla BiGAN fails to disentangle semantic features even at convergence, highlighting the necessity of explicit MI regularization in FBGAN.
- Performance degradation on SVHN is attributed to high mode complexity and background variations, suggesting that data distribution complexity affects reconstruction quality and defense robustness.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.