Graph Adversarial Training: Dynamically Regularizing Based on Graph Structure

Fuli Feng, Xiangnan He, Jie Tang, Tat-Seng Chua

TL;DR

This paper introduces Graph Adversarial Training (GraphAT), a novel regularization technique that enhances the robustness and generalization of Graph Neural Networks (GNNs). By explicitly accounting for graph structure when generating and resisting adversarial perturbations, GraphAT prevents the "vulnerability propagation" common in connected data, leading to significant accuracy gains on standard node classification benchmarks.

What Problem Does This Paper Address?

Deep neural networks are notoriously sensitive to small, intentional perturbations in input features—a phenomenon known as adversarial vulnerability. While standard adversarial training (AT) addresses this for independent data points (like images), it falls short for graph-structured data.

In GNNs, nodes are not independent; they are connected. This means a perturbation on one node doesn't just affect its own prediction—it propagates through the graph, potentially "fooling" its neighbors as well. The authors argue that the "smoothness" constraint used by GNNs (the assumption that connected nodes should have similar labels) actually exacerbates this vulnerability by spreading the impact of an attack across the network.

Methods

The authors propose Graph Adversarial Training (GraphAT) and its semi-supervised extension, GraphVAT.

Standard AT tries to make a model's prediction for a perturbed input $x+r$ similar to its prediction for the clean input $x$. GraphAT takes a different approach: it aims to maintain the "smoothness" of predictions across the graph structure itself. The process can be viewed as a minimax game:

  1. Maximization (The Attack): For a target node, the algorithm generates a perturbation that maximizes the divergence between that node's prediction and the predictions of its neighbors. This identifies the "worst-case" scenario for graph consistency.
  2. Minimization (The Defense): The model parameters are then updated to minimize this divergence, effectively learning to ignore perturbations that would otherwise break the graph's structural logic.
The GraphAT training process involves a minimax game: first constructing a graph adversarial example to break smoothness, then updating model parameters to restore it.

To keep things computationally efficient, the authors use linear approximations and power iteration methods to calculate these perturbations, ensuring the overhead remains manageable compared to standard training.

Datasets

The researchers evaluated their methods on three well-known benchmarks:

  • Citeseer & Cora: Citation networks where nodes are documents and edges are citations.
  • NELL: A large-scale knowledge graph extracted from the web.

These datasets represent different scales and connectivity patterns, providing a robust testing ground for the transductive node classification task.

Key Insights and Ideas

  • Vulnerability is Contagious: The very feature that makes GNNs powerful—embedding propagation—is also a liability. Perturbations on a single node can "infect" its neighbors, making GNNs potentially more fragile than standard neural networks.
  • Dynamic Regularization: Unlike traditional graph Laplacian regularization, which is static, GraphAT is dynamic. It adaptively generates adversarial examples based on the current state of the model, providing a more challenging and effective training signal that acts as a form of data augmentation.
  • Helping the "Underdogs": One of the most interesting findings is that GraphAT helps nodes with fewer connections (low-degree nodes) the most. These nodes often lack enough structural signal to be robust, and the adversarial training provides the necessary "push" to generalize better.

Key Results

  • Accuracy Boost: GraphAT/GraphVAT consistently outperformed standard GCN training across all datasets. On average, it improved node classification accuracy by 4.51%.
  • Superiority over Baselines: The method surpassed other state-of-the-art techniques, including GraphSGAN, while being more computationally efficient and easier to integrate into existing GNN architectures.
  • Robustness for Sparse Nodes: On nodes with only 1 or 2 neighbors, GraphVAT showed an average improvement of 5.45% over standard GCN, highlighting its utility for sparse real-world graphs.

Limitations and Future Work

While highly effective, the current work focuses primarily on node classification using GCNs. The authors suggest several promising directions for future research:

  • Broader Applicability: Testing GraphAT on other GNN variants like Graph Attention Networks (GATs) or for different tasks like link prediction and community detection.
  • Complex Graphs: Extending the framework to handle heterogeneous graphs or scenarios involving multiple graphs simultaneously.
  • Advanced Robustness: Incorporating other techniques like robust optimization or adversarial dropout to further fortify the models against sophisticated attacks.

Summary updated

BibTeX
@article{feng2021graph,
  author = {Fuli Feng and Xiangnan He and Jie Tang and Tat-Seng Chua},
  title = {{Graph Adversarial Training: Dynamically Regularizing Based on Graph Structure}},
  journal = {IEEE Trans. Knowl. Data Eng.},
  year = {2021},
  doi = {10.1109/tkde.2019.2957786},
}
Figure