Alleviating Adversarial Attacks on Variational Autoencoders with MCMC
Not on the map. Why?
Abstract (arXiv)
Variational autoencoders (VAEs) are latent variable models that can generate complex objects and provide meaningful latent representations. Moreover, they could be further used in downstream tasks such as classification. As previous work has shown, one can easily fool VAEs to produce unexpected latent representations and reconstructions for a visually slightly modified input. Here, we examine several objective functions for adversarial attack construction proposed previously and present a solution to alleviate the effect of these attacks. Our method utilizes the Markov Chain Monte Carlo (MCMC) technique in the inference step that we motivate with a theoretical analysis. Thus, we do not incorporate any extra costs during training, and the performance on non-attacked inputs is not decreased. We validate our approach on a variety of datasets (MNIST, Fashion MNIST, Color MNIST, CelebA) and VAE configurations (β-VAE, NVAE, β-TCVAE), and show that our approach consistently improves the model robustness to adversarial attacks.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Builds on 27 of its 53 references that are in the map. First posted on arXiv 18 Mar 2022.
Builds on
27 of 53 references.
References · 27
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2017Neural Discrete Representation Learningcited by 4,650
- 2017Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithmscited by 4,283
- 2014Deep Learning Face Attributes in the Wildcited by 3,679
- 2018Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examplescited by 1,259
- 2018Variational image compression with a scale hyperpriorcited by 910
- 2020NVAE: A Deep Hierarchical Variational Autoencodercited by 635
- 2018Disentangling by Factorisingcited by 614
- 2020On Adaptive Attacks to Adversarial Example Defensescited by 547
- 2015Importance Weighted Autoencoderscited by 454
- 2016Ladder Variational Autoencoderscited by 315
- 2021What Are Bayesian Neural Network Posteriors Really Like?cited by 307
15 more
- 2020Very Deep VAEs Generalize Autoregressive Models and Can Outperform Them on Imagescited by 261
- 2017A Conceptual Introduction to Hamiltonian Monte Carlocited by 207
- 2017DARLA: Improving Zero-Shot Transfer in Reinforcement Learningcited by 147
- 2018Inference Suboptimality in Variational Autoencoderscited by 131
- 2019BIVA: A Very Deep Hierarchy of Latent Variables for Generative Modelingcited by 109
- 2019Video Compression With Rate-Distortion Autoencoderscited by 97
- 2015Hierarchical Variational Modelscited by 89
- 2018Hamiltonian Variational Auto-Encodercited by 41
- 2020Autoencoding Variational Autoencodercited by 24
- 2019A Contrastive Divergence for Combining Variational Inference and MCMCcited by 20
- 2018Adversarial Attacks on Variational Autoencoderscited by 19
- 2016Variational Inference with Hamiltonian Monte Carlocited by 17
- 2020Towards a Theoretical Understanding of the Robustness of Variational Autoencoderscited by 17
- 2021Certifiably Robust Variational Autoencoderscited by 14
- 2021Diagnosing Vulnerability of Variational Auto-Encoders to Adversarial Attackscited by 7
Built on by
Citing papers per year: 2022: 1; 2023: 5; 2024: 2; 2025: 2.
10 papers.
- 2023Adversarial robustness of amortized Bayesian inferencecited by 17
- 2024A Gray-box Attack against Latent Diffusion Model-based Image Editing by Posterior Collapsecited by 13
- 2023Robust One-Class Classification with Signed Distance Function using 1-Lipschitz Neural Networkscited by 10
- 2022Adversarial robustness of VAEs through the lens of local geometrycited by 4
- 2023Discouraging posterior collapse in hierarchical Variational Autoencoders using contextcited by 1
- 2023A Note on Generalization in Variational Autoencoders: How Effective Is Synthetic Data & Overparameterization?cited by 1
- 2025Bayesian Computation in Deep Learningcited by 1
- 2023Learning variational autoencoders via MCMC speed measurescited by 0
- 2024Robust VAEs via Generating Process of Noise Augmented Datacited by 0
- 2025Revealing Hidden Vulnerabilities in Autoencoders through Gradient Signal Restorationcited by 0
- 2025Revealing Hidden Vulnerabilities in Autoencoders through Gradient Signal Restoration6 May 2025
- 2025Bayesian Computation in Deep Learning25 Feb 2025
- 2024A Gray-box Attack against Latent Diffusion Model-based Image Editing by Posterior Collapse20 Aug 2024
- 2024Robust VAEs via Generating Process of Noise Augmented Data26 Jul 2024
- 2023A Note on Generalization in Variational Autoencoders: How Effective Is Synthetic Data & Overparameterization?30 Oct 2023
- 2023Learning variational autoencoders via MCMC speed measures26 Aug 2023
- 2023Adversarial robustness of amortized Bayesian inference24 May 2023
- 2023Discouraging posterior collapse in hierarchical Variational Autoencoders using context20 Feb 2023
- 2023Robust One-Class Classification with Signed Distance Function using 1-Lipschitz Neural Networks26 Jan 2023
- 2022Adversarial robustness of VAEs through the lens of local geometry8 Aug 2022