NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Adaptive Graph Unlearning

Pengfei Ding, Yan Wang, Guanfeng Liu, Jiajie Zhu

Abstract

Adaptive Graph Unlearning (AGU) is a novel framework designed to efficiently remove specific nodes or edges from trained Graph Neural Networks (GNNs) without requiring a full model retrain. By tailoring its unlearning strategy to both the specific task (node vs. edge deletion) and the underlying GNN architecture (e.g., GCN vs. GAT), AGU achieves state-of-the-art performance in forgetting accuracy while preserving the model's utility on the remaining data.

Introduction

As privacy regulations like GDPR grant users the "right to be forgotten," machine unlearning has become essential. In the context of graphs, this involves deleting nodes (users) or edges (relationships) from a trained model. However, GNNs present unique challenges due to message passing, where a node’s representation is influenced by its neighbors.

Existing graph unlearning (GU) methods face two major hurdles:

  1. Ineffective Forgetting: Many methods either "under-unlearn" (leaving traces of the deleted data) or "over-unlearn" (damaging the model's knowledge of the remaining graph).
  2. Architectural Blindness: Different GNNs react differently to changes. For instance, in a Graph Convolutional Network (GCN), deleting an edge changes node degrees, affecting normalization across multiple hops. In a Graph Attention Network (GAT), the impact is often more localized. Most current GU methods ignore these nuances, leading to inaccurate identification of affected neighbors.
Node vs. Edge Unlearning and the impact of message passing in different GNN architectures.

Methodology

AGU introduces two primary components to address these challenges: Task-adaptive Element Forgetting and GNN-adaptive Neighbor Selection.

The AGU framework featuring Task-adaptive Element Forgetting and GNN-adaptive Neighbor Selection.

Task-adaptive Element Forgetting

Instead of a one-size-fits-all penalty, AGU uses specialized modules:

  • Edge Connection Unlearning: AGU employs a homophily-based strategy. It recognizes that nodes previously connected were likely similar; thus, it ensures the unlearned model preserves underlying graph logic rather than treating deleted edges as random noise.
  • Individual Feature Unlearning: To forget a node's attributes without destroying its neighbors' context, AGU uses a self-supervised approach. It freezes the original GNN to generate "independent" label distributions for nodes in isolation, then trains the unlearned model to match these distributions.
  • Node Unlearning: This is treated as a combination of the edge and feature unlearning modules.

GNN-adaptive Neighbor Selection

To identify which neighbors are truly affected by a deletion, AGU uses:

  • Random GNN Probing: By passing the graph through a randomly initialized GNN of the same architecture and comparing outputs before and after deletion, it identifies nodes whose representations are structurally affected.
  • Marginal Neighbor Filtering: For degree-based GNNs (like GCN), it filters out "marginal neighbors"—nodes experiencing only minor degree changes—to focus unlearning on the most impacted areas.

Experimental Evaluation

The authors evaluated AGU on seven real-world benchmark datasets, including citation networks (Cora, Citeseer, PubMed), e-commerce graphs (Amazon Photo, Computers), academic collaboration (Coauthor-CS), and social/image data (Flickr).

Key Results

  • Effectiveness: AGU consistently outperformed seven state-of-the-art baselines (e.g., MEGU, GIF, ETR). It improved F1 scores by an average of 1.37% for node unlearning and 1.21% for edge unlearning.
  • Efficiency: As a training-based method, AGU is remarkably fast, achieving speedups of 1.36× to 29× over other training-based unlearning methods like Delete and Cognac.
  • Unlearning Capability: In "Edge Attack" scenarios, AGU proved robust, effectively "cleaning" model representations back to a state close to a model trained on clean data.

Discussion and Conclusion

The primary insight of AGU is that the "blast radius" of a deletion is architecture-dependent. Because GCNs use degree-based normalization, a single deletion can ripple further than in a GAT. AGU is the first to explicitly correct for this discrepancy. Furthermore, preserving homophily while forgetting specific connections leads to better model stability.

While highly effective for homogeneous graphs, future work is needed to adapt these strategies for heterogeneous, knowledge, and temporal graphs. Additionally, tuning hyperparameters like the difference threshold ($θ$) and the proportion of selected neighbors ($k_{ans}$) remains a practical consideration for production environments.

Summary updated

BibTeX
@inproceedings{ding2025adaptive,
  author = {Pengfei Ding and Yan Wang and Guanfeng Liu and Jiajie Zhu},
  title = {{Adaptive Graph Unlearning}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.24963/ijcai.2025/308},
}
Figure