[Paper Review] DefenseVGAE: Defending against Adversarial Attacks on Graph Data via a Variational Graph Autoencoder
DefenseVGAE proposes a variational graph autoencoder (VGAE)-based defense to enhance graph neural network robustness against structural adversarial attacks. By reconstructing the graph adjacency matrix to suppress perturbations, it improves GCN performance under both targeted and untargeted attacks, outperforming existing methods on Cora, Citeseer, and Polblogs under multiple threat models.
Graph neural networks (GNNs) achieve remarkable performance for tasks on graph data. However, recent works show they are extremely vulnerable to adversarial structural perturbations, making their outcomes unreliable. In this paper, we propose DefenseVGAE, a novel framework leveraging variational graph autoencoders(VGAEs) to defend GNNs against such attacks. DefenseVGAE is trained to reconstruct graph structure. The reconstructed adjacency matrix can reduce the effects of adversarial perturbations and boost the performance of GCNs when facing adversarial attacks. Our experiments on a number of datasets show the effectiveness of the proposed method under various threat models. Under some settings it outperforms existing defense strategies. Our code has been made publicly available at https://github.com/zhangao520/defense-vgae.
Motivation & Objective
- Address the vulnerability of graph neural networks (GNNs) to structural adversarial perturbations that degrade model performance.
- Develop a defense mechanism that restores graph structure by leveraging generative modeling to suppress adversarial noise.
- Improve the robustness of GCNs under both targeted and untargeted adversarial attacks without requiring retraining on adversarial examples.
- Demonstrate that VGAE-based reconstruction can effectively preserve graph topology while filtering out imperceptible adversarial edges.
- Provide a scalable, end-to-end defense framework that is effective across diverse graph datasets and attack types.
Proposed method
- Train a variational graph autoencoder (VGAE) to encode a perturbed graph into a latent space, enforcing a prior distribution (e.g., standard normal) on the latent representation.
- Reconstruct the adjacency matrix from the latent code using a bilinear decoder, producing a denoised, sparser adjacency matrix that suppresses adversarial edges.
- Use the reconstructed adjacency matrix to retrain or fine-tune a GCN classifier, which then becomes more robust to structural perturbations.
- The defense operates as a pre-processing step: the VGAE cleans the input graph before GCN inference, leveraging the autoencoder’s ability to learn the underlying data manifold.
- The method relies on the inductive bias of the VGAE to project adversarial perturbations—often sparse and non-smooth—onto the natural graph manifold.
- The reconstruction loss is optimized via stochastic backpropagation using the reparameterization trick, enabling end-to-end training of the defense.
Experimental results
Research questions
- RQ1Can a variational graph autoencoder effectively reconstruct clean graph structures from adversarially perturbed graphs?
- RQ2How does the VGAE-based defense compare to existing defense strategies in terms of robustness under targeted and untargeted attacks?
- RQ3To what extent does the defense preserve the original graph topology while filtering out adversarial edges?
- RQ4Does the defense maintain high performance on clean data while significantly improving robustness under attack?
- RQ5Can the defense generalize across different graph datasets and attack types (e.g., Nettack, Metattack) with varying perturbation rates?
Key findings
- DefenseVGAE outperforms all baselines on the Cora dataset under targeted attacks using Nettack, achieving 81.8% accuracy with one perturbation, compared to GCN’s 54.8%.
- On Citeseer, DefenseVGAE maintains 66.0% accuracy with one Nettack perturbation, significantly outperforming GCN (28.6%) and Jaccard (79.8%) baselines.
- Under untargeted attacks with Metattack, DefenseVGAE achieves 93.87% accuracy on Polblogs at 3% perturbation rate, surpassing SVD (94.27%) and RGCN (83.64%) on clean data.
- On Cora, DefenseVGAE achieves 78.4% accuracy at 1% Metattack perturbation, outperforming GCN (77.8%), Jaccard (76.8%), and RGCN (77.9%) under the same setting.
- The method maintains strong performance on clean data, with 78.6% accuracy on Cora, 67.8% on Citeseer, and 95.40% on Polblogs, indicating minimal degradation from the original GCN.
- DefenseVGAE consistently improves robustness across all datasets and attack types, demonstrating generalization and effectiveness even under high perturbation rates (up to 5%).
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.