GraphDefense: Towards Robust Graph Convolutional Networks

Xiaoyun Wang, Xuanqing Liu, Cho-Jui HsieharXiv 2019

Abstract

Graph Convolutional Networks (GCNs) are highly effective for learning on graph-structured data but exhibit significant vulnerability to adversarial perturbations. We present GraphDefense, an adversarial training framework that enhances GCN robustness through continuous relaxation of graph edges and pseudo-labeling for semi-supervised settings. Our approach addresses the challenges of low label rates and scalability, demonstrating substantial accuracy improvements on benchmark datasets like Cora, Citeseer, and Reddit under various attack scenarios.

Introduction

Graph Convolutional Networks (GCNs) have become the standard for processing non-Euclidean data such as social networks, citation graphs, and molecular structures. However, these models possess a "glass jaw": they are incredibly sensitive to adversarial attacks. Malicious actors can significantly degrade model accuracy by making minimal, often imperceptible changes to the graph topology or node features.

Defending GCNs is uniquely difficult compared to standard image-based networks due to three primary factors: the prevalence of semi-supervised settings with low label rates, the limited transferability of local structural defenses, and the prohibitive computational cost of discrete edge-perturbation methods on large-scale graphs.

Methods

GraphDefense addresses these challenges through a novel adversarial training framework characterized by four key innovations:

  • Continuous Relaxation: Rather than solving hard combinatorial problems to identify discrete edges for flipping, GraphDefense treats the adjacency matrix as continuous during the attack phase. This allows the use of gradient descent to efficiently find worst-case perturbations.
  • Pseudo-Labeling: To overcome the scarcity of ground-truth labels in semi-supervised learning, the framework utilizes the model's own high-confidence predictions as "silver labels." This enables adversarial training to be applied across the entire graph.
  • Feature-Space Equivalence: The authors demonstrate that adversarial training on node features can be theoretically equivalent to defending against small structural perturbations, offering a significant boost in training efficiency.
  • Scalable Integration: The method is designed to integrate with GraphSAGE, utilizing neighborhood sampling to maintain robustness even on massive datasets like Reddit.

Key Results and Insights

Robustness Against Edge Perturbations

Quantitative evaluations on standard benchmarks show that GraphDefense significantly outperforms existing baselines. While standard GCN accuracy drops precipitously as the number of changed edges increases, GraphDefense maintains high performance.

Robustness of GraphDefense compared to baselines on the Citeseer dataset as adversarial edge changes increase.

On the Cora dataset, a standard GCN's accuracy fell to 40.8% under attack, whereas GraphDefense maintained 69.2%. Similar gains were observed on Citeseer, where accuracy improved from 39.6% to 62.8% under adversarial conditions.

A critical insight from the study is that low-degree nodes—those with fewer connections—are the most vulnerable to adversarial manipulation. GraphDefense provides the most substantial accuracy improvements for these specific nodes, effectively reinforcing the most fragile parts of the graph.

Accuracy increase provided by GraphDefense as a function of node degree, highlighting significant gains for vulnerable low-degree nodes.

Conclusion

GraphDefense represents a major step forward in making Graph Neural Networks more resilient to malicious attacks. By leveraging continuous relaxation and pseudo-labeling, it provides a scalable defense that is particularly effective for the most vulnerable nodes in a network. Future research will focus on reducing sensitivity to initial model quality and exploring defenses against poisoning attacks where the graph is altered prior to training.

Summary updated

BibTeX
@misc{wang2019graphdefense,
  author = {Xiaoyun Wang and Xuanqing Liu and Cho-Jui Hsieh},
  title = {{GraphDefense: Towards Robust Graph Convolutional Networks}},
  year = {2019},
  eprint = {1911.04429},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1911.04429},
}
Figure