Abstract
As privacy regulations like GDPR and CCPA mandate the "right to be forgotten," machine learning systems must support the efficient removal of specific user data. In Graph Neural Networks (GNNs), this is complicated by the interconnected nature of graph data, where a single node's influence propagates to its neighbors. This paper introduces three efficient graph unlearning methods—Class-based Label Replacement (CLR), Topology-guided Neighbor Mean Posterior Probability (TNMPP), and Class-consistent Neighbor Node Filtering (CNNF)—that remove specific nodes without the prohibitive cost of retraining from scratch. By leveraging graph topology and posterior probabilities, these methods achieve a 7x speedup over traditional retraining while maintaining high model utility and privacy guarantees.
Introduction
The "right to be forgotten" presents a unique challenge for Graph Neural Networks. Unlike independent data points in traditional machine learning, graph nodes are deeply linked through edges. Message-passing mechanisms in GNNs ensure that a node's information is "baked" into the weights of the model through its influence on its neighborhood.
Simply deleting a node from the dataset is insufficient. While retraining from scratch is the gold standard for data removal, it is computationally expensive for large-scale graphs. Existing alternatives often compromise graph structural integrity or fail to fully erase a node's influence.
Proposed Methods
The authors propose treating unlearning as a "re-labeling" task, where target nodes are modified to resemble unseen data. This process utilizes the posterior probabilities generated during inference.
Three fine-tuning-based methods are introduced:
- Class-based Label Replacement (CLR): Replaces the target node's label with the average prediction confidence of its class in the test set.
- Topology-guided Neighbor Mean Posterior Probability (TNMPP): Preserves local context by replacing the target label with the mean posterior probability of its direct neighbors.
- Class-consistent Neighbor Node Filtering (CNNF): The most advanced method, it identifies neighbors sharing the target's class that were not in the training set. It uses their mean posterior probability to "blend" the sensitive node into the unseen test distribution.
Experimental Evaluation
The methods were evaluated on three benchmark citation networks: Cora, Citeseer, and Pubmed. To simulate realistic unlearning scenarios, the training sets were augmented with validation data.
Key Results
- Efficiency: The proposed methods are over 7 times faster than retraining, reducing unlearning time to under one second on the tested datasets.
- Model Utility: Accuracy remained high, typically within 1% of the original model. In some instances, unlearning acted as a regularizer, slightly improving performance.
- Privacy (Unlearning Utility): Using Membership Inference Attacks (MIA), the authors verified that forgotten nodes were indistinguishable from non-training data. The CNNF method achieved over 90% MIA accuracy on Cora and Citeseer.
Conclusion
This work demonstrates that efficient graph unlearning is achievable by shifting the distribution of sensitive nodes toward that of unseen data. By incorporating topological information, methods like CNNF provide a robust balance between computational efficiency, model utility, and privacy. Future work will explore extending these techniques to link unlearning and more complex graph-specific privacy attacks.
Summary updated