MGA: Momentum Gradient Attack on Network

Jinyin Chen, Yixian Chen, Haibin Zheng, Shijing Shen, Shanqing Yu, Dan Zhang, Qi Xuan

Introduction

Graph-based models, including Graph Neural Networks (GNNs) and network embedding algorithms, have become standard for tasks such as node classification and community detection. However, these models are susceptible to adversarial attacks—carefully crafted perturbations to the graph topology (e.g., adding or removing edges) that lead to incorrect predictions. Existing gradient-based methods like the Fast Gradient Attack (FGA) often suffer from poor transferability and tend to converge to local optima, limiting their effectiveness against "black-box" models where the attacker lacks full access to the target architecture.

Methodology: Momentum Gradient Attack (MGA)

To address these limitations, the authors propose the Momentum Gradient Attack (MGA). This method introduces a momentum term into the iterative link rewiring process, stabilizing the attack direction and helping it escape local optima.

The MGA framework overview, illustrating the iterative process of gradient calculation, momentum integration, and link selection to generate an adversarial network.

The MGA process follows these key steps:

  1. Gradient Calculation: The gradient of the loss function is calculated with respect to the adjacency matrix of a surrogate Graph Convolutional Network (GCN).
  2. Momentum Integration: Instead of relying solely on the current gradient, MGA maintains a "velocity vector" that accumulates gradients from previous iterations. This smooths the gradient signal and maintains a consistent attack direction.
  3. Link Rewiring: In each step, the algorithm identifies and flips the link with the highest absolute momentum value.
  4. Iterative Refinement: The process repeats for $K$ iterations, updating the momentum and the graph structure until the target node is misclassified or the budget is exhausted.

Experimental Setup

MGA was evaluated across several benchmark datasets for node classification and community detection:

  • Node Classification: Pol.Blogs (political blogs), Cora (citation network), and Citeseer (citation network).
  • Community Detection: USA Political Books and the Dolphin Social Network.

The attack's transferability was tested by generating adversarial graphs using a white-box GCN and evaluating their impact on black-box models including DeepWalk, node2vec, and Graph-GAN.

Key Results and Insights

MGA demonstrates superior performance compared to baselines like FGA, NETTACK, and RL-S2V. A critical finding is MGA's high transferability; attacks optimized for a GCN were highly effective against completely different embedding models.

Attack Success Rate (ASR) across different models and datasets. MGA consistently outperforms FGA, especially as the perturbation budget increases.

Performance Metrics

  • Attack Success Rate (ASR): MGA achieved nearly 100% ASR on the Pol.Blogs dataset in direct attack scenarios, significantly outperforming FGA.
  • Efficiency: MGA requires fewer link changes (Average number of rewiring Links, AML) to achieve success. On Cora, MGA typically required between 1.74 and 3.27 links.
  • Structural Vulnerability: Analysis revealed that reducing the distance between the target node and nodes of different classes ($A_d$) is a more potent strategy than increasing the distance to same-class nodes ($A_s$).

Conclusion

The Momentum Gradient Attack (MGA) represents a significant advancement in adversarial graph learning. By leveraging momentum, the attack achieves higher success rates and remarkable transferability across diverse network models. Future research may explore combining structural attacks with node feature perturbations and developing robust defense mechanisms, such as adversarial training, to mitigate these threats.

Summary updated

BibTeX
@article{chen2020mga,
  author = {Jinyin Chen and Yixian Chen and Haibin Zheng and Shijing Shen and Shanqing Yu and Dan Zhang and Qi Xuan},
  title = {{MGA: Momentum Gradient Attack on Network}},
  journal = {IEEE Trans. Comput. Soc. Syst.},
  year = {2020},
  doi = {10.1109/tcss.2020.3031058},
}
Figure