Abstract
Graph neural networks (GNNs) have demonstrated superior performance in various applications, such as recommendation systems and financial risk management. However, deploying large-scale GNN models locally is particularly challenging for users, as it requires significant computational resources and extensive property data. Consequently, Machine Learning as a Service (MLaaS) has become increasingly popular, offering a convenient way to deploy and access various models, including GNNs. However, an emerging threat known as Model Extraction Attacks (MEAs) presents significant risks, as adversaries can readily obtain surrogate GNN models exhibiting similar functionality. Specifically, attackers repeatedly query the target model using subgraph inputs to collect corresponding responses. These input-output pairs are subsequently utilized to train their own surrogate models at minimal cost. Many techniques have been proposed to defend against MEAs, but most are limited to specific output levels (e.g., embedding or label) and suffer from inherent technical drawbacks. To address these limitations, we propose a novel ownership verification framework CITED which is a first-of-its-kind method to achieve ownership verification on both embedding and label levels. Moreover, CITED is a novel signature-based method that neither harms downstream performance nor introduces auxiliary models that reduce efficiency, while still outperforming all watermarking and fingerprinting approaches. Extensive experiments demonstrate the effectiveness and robustness of our CITED framework.
Introduction
Training large-scale Graph Neural Networks (GNNs) requires massive computational resources and proprietary data. To monetize these models while protecting their intellectual property, companies often deploy them via Machine Learning as a Service (MLaaS), allowing users to query the model via an API. However, this opens the door to Model Extraction Attacks (MEAs). An attacker can repeatedly query the API with subgraphs, collect the outputs, and use those input-output pairs to train a cheap "surrogate" clone of the model.
To prove a model has been stolen, owners typically use two defenses: watermarking and fingerprinting. Watermarking involves injecting fake, task-irrelevant data into the training set, which often hurts the model's actual performance. Fingerprinting analyzes the statistical distribution of embeddings but often requires heavy auxiliary models and fails if the API only returns labels. CITED addresses these gaps by providing a unified, lightweight defense that works across both output types without harming utility.
Methodology
CITED (DeCision Boundary-Aware SIgnaTure for Model Extraction Attacks Defense) abandons artificial watermarks and computationally heavy fingerprinting. Instead, it uses the model's intrinsic decision boundary as a unique signature. The framework operates in two main stages:
- Signature Generation: CITED identifies nodes in the graph that sit right on the edge of the model's decision boundary. It selects these nodes using a custom "signature score" based on three metrics: Boundary Margin (proximity to the boundary), Boundary Thickness (prediction ambiguity), and Heterogeneity (label inconsistency in the local neighborhood).
- Ownership Verification: If a model owner suspects a surrogate model is stolen, they query it using their secret signature nodes. At the embedding level, CITED compares the surrogate's embeddings to the target's using the 2-Wasserstein distance. At the label level, it checks the prediction accuracy agreement between the two models.
Experimental Results
Utility and Performance
A key insight of CITED is that attackers must steal the decision boundary to build an accurate clone. By using boundary nodes as the signature, the defense ensures the attacker accidentally steals the signature. Because these signatures are task-relevant, they do not degrade model performance. In fact, CITED often maintains or slightly improves accuracy compared to watermarking baselines, which see performance drops as more ownership indicators are added.
Efficiency and Robustness
CITED is highly efficient, introducing negligible overhead (less than 5% of total training time). As shown in the efficiency comparison, CITED maintains a near-constant, low inference time across various datasets compared to fingerprinting methods like GrOVe. Furthermore, the verification process demonstrates high robustness and uniqueness, achieving an ARUC of 0.635 in the provided threshold analysis.
Conclusion
CITED represents a significant advancement in GNN model extraction defense by bridging the gap between fingerprinting and watermarking. By leveraging the model's natural decision boundary, it provides a robust, efficient, and utility-preserving signature for ownership verification. Future work will focus on formalizing CITED for diverse learning paradigms like graph regression and testing against more adaptive evasion attacks.
Summary updated