[Paper Review] Model Extraction Attacks on Graph Neural Networks: Taxonomy and Realization
This paper presents the first comprehensive study of model extraction attacks on Graph Neural Networks (GNNs), proposing seven attack variants categorized by attacker knowledge (e.g., node attributes, graph structure). By leveraging query responses and partial structural knowledge, the attacks achieve 84–89% prediction fidelity on real-world datasets, demonstrating effective surrogate model reconstruction from GNN APIs.
Machine learning models are shown to face a severe threat from Model Extraction Attacks, where a well-trained private model owned by a service provider can be stolen by an attacker pretending as a client. Unfortunately, prior works focus on the models trained over the Euclidean space, e.g., images and texts, while how to extract a GNN model that contains a graph structure and node features is yet to be explored. In this paper, for the first time, we comprehensively investigate and develop model extraction attacks against GNN models. We first systematically formalise the threat modelling in the context of GNN model extraction and classify the adversarial threats into seven categories by considering different background knowledge of the attacker, e.g., attributes and/or neighbour connections of the nodes obtained by the attacker. Then we present detailed methods which utilise the accessible knowledge in each threat to implement the attacks. By evaluating over three real-world datasets, our attacks are shown to extract duplicated models effectively, i.e., 84% - 89% of the inputs in the target domain have the same output predictions as the victim model.
Motivation & Objective
- To investigate the threat of model extraction attacks on Graph Neural Networks (GNNs), which remain unexplored despite known risks in non-graph models.
- To formalize attacker capabilities based on varying levels of background knowledge, such as node attributes and graph connectivity.
- To develop practical attack methods that reconstruct accurate surrogate GNN models using only API query responses and partial structural knowledge.
- To evaluate the effectiveness of these attacks across multiple real-world graph datasets under diverse threat models.
- To establish a taxonomy of GNN model extraction threats and demonstrate the feasibility and impact of such attacks in real-world MLaaS settings.
Proposed method
- Categorize attackers into seven threat models based on access to node attributes, neighbor connections, and shadow graphs.
- Design query strategies to generate legitimate-looking inputs mimicking normal nodes in the target graph.
- Collect input-output pairs from the GNN's API to train surrogate models that replicate the victim model's behavior.
- Utilize shadow graphs—synthetic or partially observed graphs with similar structure and features—to improve surrogate model fidelity.
- Apply ensemble learning by combining multiple extracted models to enhance prediction consistency with the target GNN.
- Leverage structural knowledge (e.g., 2-hop neighborhoods) and attribute information to guide the training of the surrogate model.
Experimental results
Research questions
- RQ1What are the distinct threat models for model extraction attacks on GNNs, based on the attacker’s background knowledge?
- RQ2How does the availability of partial graph structure and node attributes affect the success of model extraction attacks on GNNs?
- RQ3Can surrogate GNN models be constructed with high fidelity to the original model using only API query responses and limited structural knowledge?
- RQ4How do different levels of attacker knowledge (e.g., shadow graph vs. no shadow graph) influence the accuracy and fidelity of extracted models?
- RQ5What is the impact of the number of attack nodes and their neighborhood structure on the performance of the extracted surrogate models?
Key findings
- The proposed attacks achieve 84–89% prediction fidelity on the target GNN model across three real-world datasets (Cora, Citeseer, Pubmed), indicating highly accurate surrogate model reconstruction.
- Attack-4, which uses both a shadow graph and access to target graph nodes, achieves significantly higher fidelity (up to 0.857 on Pubmed) than Attack-3, demonstrating the value of structural knowledge.
- The number of attack nodes has minimal impact on performance, as the surrogate model performance is dominated by the quality of the shadow graph and structural information.
- Ensemble models combining outputs from multiple extracted models improve fidelity and accuracy, especially when one component model (e.g., Attack-3) performs strongly.
- Attack-6, which combines full node attribute access and shadow graph knowledge, achieves performance comparable to the best-performing attacks, confirming the effectiveness of multi-source knowledge.
- The fidelity of the extracted model is more sensitive to structural knowledge than to the number of attack nodes, highlighting the importance of graph topology in GNN model extraction.
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.