GNNDelete: A General Strategy for Unlearning in Graph Neural Networks
Jiali Cheng, George Dasoulas, Huan He, Chirag Agarwal, Marinka Zitnik
TL;DR
GNNDelete introduces a model-agnostic, layer-wise deletion operator for graph unlearning in GNNs. By enforcing Deleted Edge Consistency and Neighborhood Influence, and learning small per-layer deletion weights $W_D^l$, it deletes targeted graph elements while preserving remaining knowledge, without retraining from scratch. Empirical results across seven real-world graphs show substantial improvements over baselines in edge-, node-, and feature-deletion tasks, along with notable time and space efficiency. The work demonstrates practical applicability to a range of GNN architectures and even other graph-representations, underscoring its potential as a general strategy for graph unlearning in privacy- and accuracy-sensitive settings.
Abstract
Graph unlearning, which involves deleting graph elements such as nodes, node labels, and relationships from a trained graph neural network (GNN) model, is crucial for real-world applications where data elements may become irrelevant, inaccurate, or privacy-sensitive. However, existing methods for graph unlearning either deteriorate model weights shared across all nodes or fail to effectively delete edges due to their strong dependence on local graph neighborhoods. To address these limitations, we introduce GNNDelete, a novel model-agnostic layer-wise operator that optimizes two critical properties, namely, Deleted Edge Consistency and Neighborhood Influence, for graph unlearning. Deleted Edge Consistency ensures that the influence of deleted elements is removed from both model weights and neighboring representations, while Neighborhood Influence guarantees that the remaining model knowledge is preserved after deletion. GNNDelete updates representations to delete nodes and edges from the model while retaining the rest of the learned knowledge. We conduct experiments on seven real-world graphs, showing that GNNDelete outperforms existing approaches by up to 38.8% (AUC) on edge, node, and node feature deletion tasks, and 32.2% on distinguishing deleted edges from non-deleted ones. Additionally, GNNDelete is efficient, taking 12.3x less time and 9.3x less space than retraining GNN from scratch on WordNet18.
