Adversarial Attacks on Deep Graph Matching

Zijie Zhang, Zeru Zhang, Yang Zhou, Yelong Shen, Ruoming Jin, Dejing Dou

Introduction

Graph matching—the task of identifying corresponding nodes across two or more different graphs—is a cornerstone of modern data science, powering everything from social network alignment to protein analysis. While researchers have long known that single-graph models (like those used for node classification) are fragile when faced with adversarial noise, the vulnerability of multi-graph matching has remained a major blind spot.

This paper introduces GMA (Graph Matching Attack), a novel framework that exposes the significant vulnerability of deep graph matching models to adversarial perturbations. By combining Kernel Density Estimation (KDE) to create "imperceptible" changes and meta-learning to find optimal attack starting points, GMA consistently outperforms existing attack methods across diverse real-world datasets.

The Vulnerability of Graph Matching

Matching is inherently more complex than single-graph tasks because it relies on both internal graph structure and the interactions between multiple graphs. The authors set out to answer two critical questions: Are these sophisticated matching algorithms actually sensitive to tiny, deliberate structural changes? And if so, how can an attacker craft perturbations that are both effective at causing errors and "imperceptible" to defenders?

The GMA Framework

The authors propose the GMA model, which introduces two primary innovations to manipulate graph structures effectively:

  1. Kernel Density Estimation (KDE) for Imperceptibility: Traditional adversarial attacks often focus on minimizing the number of changes. GMA takes a more "stealthy" approach. It uses KDE to estimate the density of nodes in a graph and then pushes the attacked nodes toward dense regions where many similar neighbors exist. This makes the adversarial node "hide in the crowd," rendering it indistinguishable from its neighbors and creating a "pile" of similar candidates that confuses the matching algorithm.
KDE approach pushing nodes into dense regions.
  1. Meta Learning-based Projected Gradient Descent (MLPGD): Standard iterative attacks like PGD often start from the original data point and can get stuck in local optima or take inefficient paths to cross a model's decision boundary. GMA uses meta-learning to train a model that can quickly find "good starting points" for attacks across various node pairs. This "shortcut" allows the attack to be more effective with fewer steps.

To handle the discrete and non-differentiable nature of graph edges during training, the authors employed Gaussian smoothing and the Monte Carlo REINFORCE method to estimate gradients.

Key Insights

  • Redefining "Imperceptible": In the context of graphs, imperceptibility isn't just about the magnitude of change, but about topological plausibility. By moving nodes to dense regions, the attack exploits the "consistency assumption" of matching algorithms—that similar nodes should match—by creating too many "similar" options.
  • The Power of Initialization: Starting from a "good" point (found via meta-learning) allows the attack to cross the decision boundary much faster than starting from the original node. This suggests that the "landscape" of graph matching is particularly susceptible to well-initialized search strategies.
  • Transferability: A key finding was that attacks generated against one matching model often worked against others, indicating that these vulnerabilities are fundamental to the way current deep graph matching is designed, rather than being specific to one architecture.

Experimental Validation

The model was evaluated on three distinct types of real-world graph data: Autonomous Systems (AS), Social Networks (SNS), and DBLP co-authorship networks. These datasets provided a rigorous testing ground, ranging from thousands to tens of thousands of nodes and edges.

GMA demonstrated superior performance against several state-of-the-art baselines (including RL-S2V and CW-PGD) across three representative matching algorithms (SNNA, CrossMNA, and DGMC):

  • Higher Mismatching Rates: GMA achieved the highest mismatching rates in almost all experiments. On average, it improved attack effectiveness by 18.8% to 21.3% compared to other models.
  • Sensitivity to Small Changes: Even with a tiny budget of only 5% perturbed edges, the mismatching rate of top-tier models like DGMC jumped significantly (e.g., from 34.7% to 54.9% on the AS dataset).
  • Robustness to Training Data: Even when the target matching model was trained on more data (up to 25%), GMA's ability to degrade performance remained potent, consistently driving down precision compared to baseline attacks.
Performance degradation of matching models under various attacks.

Limitations and Future Work

The authors note that while larger perturbation budgets make attacks more successful, they also make them easier to detect. They suggest a budget between 2 and 3 as the "sweet spot" for effective yet stealthy attacks.

Currently, GMA focuses on structural attacks (adding or removing edges). Future work could expand this to attribute-based attacks, where the features of the nodes themselves are manipulated. Additionally, the research highlights a compelling "Broader Impact" concern: while these techniques expose vulnerabilities, they could potentially be reverse-engineered to protect user privacy by intentionally "de-linking" accounts across social networks to prevent unwanted tracking.

Summary updated

BibTeX
@inproceedings{zhang2020adversarial,
  author = {Zijie Zhang and Zeru Zhang and Yang Zhou and Yelong Shen and Ruoming Jin and Dejing Dou},
  title = {{Adversarial Attacks on Deep Graph Matching}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
}
Figure