TL;DR
Graph Unlearning (GU)—the process of efficiently erasing sensitive nodes, edges, or features from trained Graph Neural Networks without retraining from scratch—suffers from fractured evaluation standards, narrow task pairings, and inconsistent setups. OpenGU introduces the first comprehensive benchmark for GU, integrating 16 state-of-the-art algorithms, 37 multi-domain datasets, and 13 GNN backbones under a standardized, modular API. Through rigorous testing across effectiveness, efficiency, and robustness, the benchmark establishes standardized baselines and yields 10 foundational insights into the current state of graph unlearning.
What Problem Does This Paper Address?
Under privacy regulations like the EU's GDPR ("right to be forgotten"), machine learning models must be capable of revoking sensitive training data. In Graph Neural Networks (GNNs), this is uniquely challenging: because message passing recursively aggregates neighborhood information, removing a single node or edge can ripple across the entire graph topology.
While numerous GU algorithms have emerged, the field lacks a unified evaluation standard:
- Inconsistent setups: Previous studies used conflicting train/test splits (e.g., 80/20 vs. 90/10) and varying unlearning requests (fixed node counts vs. percentages).
- Narrow task pairings: Most methods were tightly coupled to a single setting (e.g., node unlearning evaluated exclusively on node classification, or edge unlearning evaluated only on link prediction).
- Fragmented architectures: Algorithms often required specific backbones (like linear or decoupled GNNs) with non-standardized implementations.
OpenGU resolves these discrepancies by providing a unified experimental testbed.
Methods
OpenGU systematizes graph unlearning by categorizing 16 algorithms into five distinct paradigms:
- Partition-based: Splitting graphs into shards for independent sub-model training and unlearning (e.g., GraphEraser, GUIDE, GraphRevoker).
- Influence Function (IF)-based: Using closed-form influence approximations to adjust weights without retraining (e.g., GIF, CGU, CEU, GST, IDEA, ScaleGUN).
- Learning-based: Optimizing parameter updates via objective loss functions and knowledge distillation (e.g., GNNDelete, MEGU, SGU, D2DGN, GUKD).
- Projection-based: Projecting weights onto orthogonal subspaces unrelated to target features (Projector).
- Structure-based: Directly modifying graph topology with minimal updates (UtU).
OpenGU uncouples task-specific components through standardized PyTorch interfaces (GU_Manager, BaseTrainer), enabling a $3 \times 3$ crossover matrix pairing three unlearning requests (node, edge, feature) with three downstream tasks (node classification, link prediction, graph classification). The benchmark standardizes:
- Protocol: 80/20 transductive/inductive splits.
- Backbone pairings: SGC for node tasks, GraphSAGE for edge tasks, and GCN for graph-level tasks.
- Evaluation dimensions: Utility/reasoning retention (F1, Accuracy, AUC-ROC), forgetting verification via Membership Inference Attacks (MIA) and Poisoning Attacks (PA), computational footprint (time and peak memory), and robustness (deletion intensity, noise, and sparsity).
Datasets
OpenGU aggregates 37 benchmark datasets:
- 19 Node- and Edge-Level Datasets: Citation networks (Cora, CiteSeer, PubMed, DBLP, ogbn-arxiv), co-authorship networks (CS, Physics), co-purchasing/e-commerce networks (Photo, Computers, ogbn-products, Amazon-ratings), heterophilic/webpage networks (Chameleon, Squirrel, Actor), synthetic/interaction graphs (Minesweeper, Tolokers, Questions, Roman-empire), and image networks (Flickr).
- 18 Graph-Level Classification Datasets: Small-molecule/chemical compound datasets (MUTAG, PTC-MR, BZR, COX2, DHFR, AIDS, NCI1, ogbg-molhiv, ogbg-molpcba), biological/protein interaction datasets (ENZYMES, DD, PROTEINS, ogbg-ppa), social collaboration graphs (IMDB-BINARY, IMDB-MULTI, COLLAB), 3D point clouds (ShapeNet), and superpixel graphs (MNISTSuperPixels).
Key Insights and Ideas
- Task Generalization vs. Specialization: Learning-based algorithms (such as SGU and D2DGN) achieve top reasoning performance on retained data in their targeted node tasks, but struggle to generalize across edge- or graph-level tasks. IF-based methods exhibit broader multi-task flexibility.
- Theoretical Guarantees vs. Empirical Leakage: While IF-based methods guarantee theoretical bounds, privacy audits using MIA show that some (e.g., CGU with MIA AUC $> 0.6$) fail to prevent empirical data leakage.
- The Scalability Gap: On the million-scale
ogbn-productsgraph, only 6 of the 16 GU methods ran without Out-of-Memory (OOM) or Out-of-Time (OOT) failures. - Partitioning Bottlenecks: Partition-based methods incur massive time and memory costs during sharding/aggregation (GraphEraser exceeded 4,000 MB peak memory even on the small
Actorgraph) and struggle on link prediction because partitioning fragments sparse edge topology. - Under-forgetting vs. Over-forgetting: Most algorithms struggle with trade-offs. Higher deletion ratios or sequential unlearning requests lead to rapid degradation of model utility, and methods show acute vulnerability to label noise.
Key Results
- Node-Node Task: SGU and D2DGN achieved leading retention F1-scores on Cora (89.26% and 88.41%, respectively; retrain baseline: 90.41%), closely matching retrained models while keeping MIA AUC near the ideal $0.50$ baseline.
- Edge-Edge Task: IF-based methods dominated link prediction unlearning on GraphSAGE (IDEA achieved 84.34% AUC on Cora; retrain: 90.48%). Among learning-based algorithms, only GNNDelete handled edge unlearning effectively (84.28% AUC on Cora).
- Time Efficiency: In unlearning speedups on PubMed, GIF (1x), IDEA (3x), and ScaleGUN (5x) offered massive efficiency gains over partition-based methods like GraphEraser (1190x slower) and GUIDE (1914x slower).
Limitations and Future Work
- Lack of Unified Metrics: Forgetting and reasoning are currently evaluated in silos (utility metrics vs. attack AUCs); future work needs joint metrics balancing privacy and utility.
- Complex Graph Topologies: Current GU frameworks do not yet support complex graph types such as dynamic graphs, spatiotemporal networks, or knowledge graphs.
- Real-World Imperfections: Existing GU approaches degrade sharply under label noise and feature sparsity, highlighting the need for noise-resilient unlearning techniques.
Summary updated