Abstract
Graph embedding models, including Graph Convolutional Networks (GCNs) and sampling-based methods like DeepWalk, have become essential for analyzing networked data. However, their security in real-world "restricted black-box" scenarios—where attackers lack access to model parameters, labels, or predictions—is a growing concern. This paper presents GF-Attack, a general adversarial framework that exploits the spectral properties of graph filters. By framing graph embedding as a signal processing task and targeting the T-rank approximation of the filtered signal, GF-Attack can effectively sabotage various models with minimal perturbations. Experimental results on citation networks demonstrate that GF-Attack significantly outperforms existing baselines, often dropping classification accuracy substantially with just a few edge flips.
Introduction
Adversarial research on graphs has primarily focused on white-box settings, which assume unrealistic access to internal model states. In practical applications like recommendation systems, an attacker typically only sees the input graph structure and node features. This "Restricted Black-Box Attack" (RBA) setting poses a significant challenge: how can one craft effective attacks without knowing the target model's objective function?
Existing RBA methods often rely on computationally expensive reinforcement learning or ignore node features entirely. GF-Attack addresses these gaps by establishing a theoretical link between graph signal processing (GSP) and diverse graph embedding techniques, allowing for a model-agnostic attack strategy.
Methodology: Attacking the Graph Filter
The core innovation of GF-Attack is the realization that most graph embedding models can be unified under the umbrella of graph signal processing. Whether it's a neural network like GCN or a matrix factorization approach like LINE, these models essentially act as graph filters applied to node features.
The GF-Attack Framework
- Unified Graph Filtering: The authors demonstrate that popular models perform low-pass or band-pass filtering on the graph signal.
- Targeting Embedding Quality: Instead of optimizing against a hidden classification loss, GF-Attack aims to maximize the error in a T-rank approximation of the filtered signal. This targets the core compressed information the model relies on.
- Efficient Spectrum Perturbation: To avoid the high cost of re-calculating eigenvalues for every potential edge flip, the framework utilizes matrix perturbation theory. This allows for rapid estimation of how structural changes shift the graph's spectrum, enabling the selection of the most damaging perturbations within a fixed budget.
Experimental Evaluation
The framework was tested on three standard citation benchmarks: Cora, Citeseer, and Pubmed. The evaluation focused on the Largest Connected Component (LCC) of these graphs to maintain consistency with prior work. The target models included GCN, SGC (Simple Graph Convolution), DeepWalk, and LINE.
Results and Discussion
GF-Attack consistently demonstrates superior performance in degrading model accuracy compared to random, degree-based, and reinforcement learning-based (RL-S2V) attacks.
Key Findings
- High Transferability: Because it attacks the underlying spectral signature rather than specific weights, GF-Attack is highly transferable across different architectures.
- Impact of Budget: Even a single edge flip can have a devastating impact. For instance, on the Citeseer dataset, one flip reduced LINE's accuracy by over 22%. As the perturbation budget increases, the performance gap between GF-Attack and other methods widens.
- Non-linearity as Defense: Results suggest that GCN's non-linear activations (like ReLU) provide a slight robustness advantage over linear models like SGC.
- Efficiency: By leveraging perturbation theory, GF-Attack identifies effective attacks significantly faster than reinforcement learning alternatives.
Conclusion
GF-Attack reveals a fundamental vulnerability in graph embedding models rooted in their spectral properties. By treating these models as graph filters, the framework achieves potent, transferable attacks in restricted black-box settings. Future research should explore extending this spectral approach to tasks beyond node classification, such as link prediction, and developing "spectral-hardened" filters to defend against such adversarial threats.
Summary based on "A Restricted Black-Box Adversarial Framework Towards Attacking Graph Embedding Models" by Chang et al. (AAAI 2020).
Summary updated