[Paper Review] Adversarial Attacks on Variational Autoencoders
This paper proposes a novel adversarial attack framework for variational autoencoders (VAEs), introducing the AUDDC metric to quantitatively assess attack success while bypassing subjective evaluation. It demonstrates that DRAW, a recurrent VAE with an attention mechanism, exhibits significantly higher resistance to attacks than fully connected and convolutional VAEs across MNIST, SVHN, and CelebA datasets, with both recurrence and attention contributing to this robustness.
Adversarial attacks are malicious inputs that derail machine-learning models. We propose a scheme to attack autoencoders, as well as a quantitative evaluation framework that correlates well with the qualitative assessment of the attacks. We assess --- with statistically validated experiments --- the resistance to attacks of three variational autoencoders (simple, convolutional, and DRAW) in three datasets (MNIST, SVHN, CelebA), showing that both DRAW's recurrence and attention mechanism lead to better resistance. As autoencoders are proposed for compressing data --- a scenario in which their safety is paramount --- we expect more attention will be given to adversarial attacks on them.
Motivation & Objective
- To address the lack of systematic evaluation frameworks for adversarial attacks on autoencoders, which are increasingly used for data compression and thus require strong security guarantees.
- To develop a quantitative, statistically validated method for assessing adversarial attack effectiveness on autoencoders, avoiding reliance on subjective or ambiguous success criteria.
- To investigate how architectural components—particularly recurrence and attention—in VAEs affect resistance to adversarial attacks.
- To evaluate the robustness of three VAE variants (simple, convolutional, DRAW) across three diverse datasets (MNIST, SVHN, CelebA) under controlled, statistically validated experiments.
Proposed method
- Proposes a targeted adversarial attack scheme that manipulates latent representations or output layers of VAEs to reconstruct a target image while minimizing distortion to the input.
- Introduces the AUDDC (Area Under the Distortion-Distortion Curve) metric, computed as the area under the curve plotting input distortion against output distortion, to quantitatively evaluate attack performance.
- Employs a regularization-based optimization framework to balance input distortion and target reconstruction fidelity, with the regularization constant tuned to find mid-point attacks for visual and quantitative analysis.
- Uses ANOVA with post-hoc Tukey tests to statistically validate differences in attack performance across models, datasets, and attack configurations.
- Applies the attack to three VAE architectures: fully connected VAE, convolutional VAE, and DRAW (recurrent VAE with attention), evaluating on MNIST, SVHN, and CelebA.
- Visualizes results using distortion–distortion plots and side-by-side image comparisons to qualitatively assess attack success and model resistance.
Experimental results
Research questions
- RQ1How can adversarial attacks on autoencoders be systematically evaluated in the absence of clear success criteria?
- RQ2To what extent do architectural components such as recurrence and attention in VAEs enhance resistance to adversarial attacks?
- RQ3How does model robustness vary across different datasets (MNIST, SVHN, CelebA) under identical attack conditions?
- RQ4Is there a correlation between a VAE's intrinsic generative quality and its resistance to adversarial manipulation?
- RQ5How do different VAE architectures (fully connected, convolutional, DRAW) compare in terms of vulnerability to targeted adversarial attacks?
Key findings
- DRAW, the recurrent VAE with an attention mechanism, demonstrated significantly higher resistance to adversarial attacks than both fully connected and convolutional VAEs across all three datasets.
- Both the recurrent structure and the attention mechanism in DRAW were found to be critical contributors to its enhanced robustness, as ablation experiments confirmed.
- The AUDDC metric showed strong correlation with qualitative human perception of attack success, validating its use as a reliable quantitative evaluation tool.
- SVHN was the easiest dataset to attack, while CelebA was the most resistant, despite its higher complexity, suggesting that dataset-specific factors influence attack difficulty beyond model architecture.
- No attack succeeded in reconstructing the target image with imperceptible input distortions, confirming that attacking autoencoders is fundamentally more challenging than attacking classifiers.
- Statistical analysis (ANOVA with post-hoc Tukey) confirmed significant differences (p < 0.015) in attack performance across all model, dataset, and attack configuration factors, validating the robustness of the experimental findings.
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.