[Paper Review] Adversarial Model Extraction on Graph Neural Networks
This paper introduces the first formal study of adversarial model extraction on Graph Neural Networks (GNNs), proposing a learning-based method that extracts a high-fidelity GNN by querying a black-box victim model through iterative perturbations of subgraphs. Despite limited access to only a small fraction of the graph (as low as 1.7% of nodes), the approach achieves up to 80% fidelity in replicating the victim model's predictions on Cora and PubMed datasets.
Along with the advent of deep neural networks came various methods of exploitation, such as fooling the classifier or contaminating its training data. Another such attack is known as model extraction, where provided API access to some black box neural network, the adversary extracts the underlying model. This is done by querying the model in such a way that the underlying neural network provides enough information to the adversary to be reconstructed. While several works have achieved impressive results with neural network extraction in the propositional domain, this problem has not yet been considered over the relational domain, where data samples are no longer considered to be independent and identically distributed (iid). Graph Neural Networks (GNNs) are a popular deep learning framework to perform machine learning tasks over relational data. In this work, we formalize an instance of GNN extraction, present a solution with preliminary results, and discuss our assumptions and future directions.
Motivation & Objective
- To formalize the problem of model extraction in the relational, non-iid domain of graph-structured data.
- To develop a learning-based approach for extracting a GNN model using only API access to a black-box victim GNN.
- To evaluate the feasibility and fidelity of GNN model extraction under realistic constraints such as limited subgraph access and adversarial perturbation costs.
- To identify key assumptions, limitations, and future research directions for scalable and stealthy GNN extraction.
Proposed method
- The method constructs a surrogate GNN by generating perturbed subgraphs of the victim's graph, where each perturbation alters node features or adds/removes nodes.
- For each perturbed subgraph, the victim GNN is queried to obtain node-level predictions, which are used as labels to train the extraction model.
- The extraction model is trained on a block-diagonal matrix of perturbed subgraphs, each representing a different class, to ensure class coverage.
- The approach assumes that perturbations preserve structural and feature distributions sufficiently to elicit informative predictions from the victim GNN.
- A GCN is used as the extraction model, trained to match the victim’s predictions rather than ground-truth labels, focusing on functional equivalence.
- Experiments vary the number of subgraph samples and subgraph size to assess fidelity under different query constraints.
Experimental results
Research questions
- RQ1Can adversarial model extraction be effectively applied to Graph Neural Networks in a relational, non-iid setting?
- RQ2How does the size of the accessible subgraph and the number of perturbed samples affect the fidelity of the extracted GNN?
- RQ3What are the key assumptions and limitations of learning-based GNN extraction under black-box query access?
- RQ4How can model extraction be made more scalable and less detectable in real-world graph settings?
- RQ5Can explanations or gradient information from the victim GNN further improve extraction fidelity?
Key findings
- The proposed method achieves up to 80% fidelity in replicating the victim GNN’s predictions on the Cora and PubMed citation networks, even with access to only a small subgraph.
- On Cora, an average subgraph size of 45.9 nodes (1.7% of total nodes) achieved 77% average fidelity across 10 random nodes.
- Fidelity improved with more samples per class, reaching 83% on Cora and 83% on PubMed when using 100 samples per class.
- Smaller subgraphs showed a dramatic fidelity improvement with increased sampling, while larger subgraphs achieved high fidelity even with few samples.
- The method remains effective despite training on a synthetic, perturbed graph distribution different from the test distribution, indicating robustness to distribution shift.
- The approach is currently limited by the transductive nature of GCNs and the need for many perturbations, suggesting a need for inductive GNNs like GraphSAGE for better generalization.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.