Skip to content
AI.info

Research

Re-understanding Graph Unlearning through Memorization

Re-understanding Graph Unlearning through Memorization Overview Research area: Graph machine learning and privacy-preserving machine learning, specifically graph unlearning (GU) for graph neural netwo

arXiv
2601.14694
Published
2026-01-21
Authors
Pengfei Ding, Yan Wang, Guanfeng Liu

AI summary

Re-understanding Graph Unlearning through Memorization

Overview

Research area: Graph machine learning and privacy-preserving machine learning, specifically graph unlearning (GU) for graph neural networks (GNNs) in Web-scale applications. The paper sits at the intersection of GNN training dynamics (memorization) and privacy/security protocols.

Technical level: Advanced. It assumes familiarity with GNN message passing, node classification, knowledge distillation, and influence-style unlearning baselines.

Scope: The paper diagnoses why existing graph unlearning methods fail, proposes a memorization-based explanation for unlearning difficulty, and introduces a memorization-guided framework (MGU) plus a new evaluation protocol, validated on ten real-world graphs.

What This Paper Is About

Graph unlearning aims to remove nodes, edges, or features from a trained GNN without retraining from scratch, which matters when graph data contains sensitive, mislabeled, or malicious information. The authors argue that the field lacks a principled understanding of what makes an unlearning task hard, so existing methods look successful on easy cases while failing badly on hard ones, and evaluations are biased toward easy targets. Their goal is to reframe unlearning difficulty through the lens of GNN memorization and to build a framework and evaluation protocol around that insight.

Key Contributions

  1. Novel perspective: The paper establishes what it describes as the first connection between GNN memorization and unlearning difficulty, offering an explanation for why current methods collapse on hard-to-unlearn tasks. This includes extending the classic memorization score to graphs by adding a neighbor-impact term that accounts for message passing.

  2. Universal adaptive framework (MGU): A model-agnostic, Memorization-guided Graph Unlearning framework that handles both easy and hard GU tasks without accessing the model's internal structure, using a margin-based forgetting objective and a distillation-based preservation objective.

  3. Comprehensive evaluation protocol: A difficulty-aware sampling strategy plus a task-aware metric, the trade-off of unlearning (ToU), which jointly measures forgetting of deleted elements, preservation on the remaining graph, and generalization on the test set.

  4. State-of-the-art performance: Experiments on ten real-world graphs show MGU outperforming baselines in forgetting quality, computational efficiency, and utility preservation.

Main Findings

  • Three interconnected limitations in existing work. (1) Difficulty assessment is impractical and inaccurate because it requires test data or already-unlearned models, and it assumes difficulty depends on graph distance to the test set. (2) Methods are ineffective on hard-to-unlearn tasks. (3) Evaluation protocols are misaligned, suffering from selection bias and insufficient verification.

  • Test-set distance does not determine difficulty. The paper's analysis finds no correlation between unlearning difficulty and connectivity distance to the test set, contradicting a prevailing assumption.

  • Existing methods fail on hard nodes. On the Cora dataset with a GCN backbone, all compared methods perform near-optimally on the 10% easiest training nodes but degrade by over 40% on the 10% hardest, continuing to predict deleted nodes' labels with high accuracy instead of matching the gold-standard retrained model's uncertainty.

  • Unlearning difficulty is long-tailed. Difficulty scores follow a long-tailed distribution, so random sampling of unlearning targets tends to favor easy elements and overlook hard ones, which often correspond to realistic targets such as privacy-sensitive outliers, mislabeled data, and malicious accounts.

  • Hard nodes are structurally peripheral. Hard-to-unlearn nodes have lower centrality than easy ones. On Cora-GAT (N=3), easy/hard ratios were 1.81 (degree), 2.52 (betweenness), 4.79 (eigenvector), 1.43 (PageRank), and 1.26 (k-core). On Citeseer-GCN (N=5), the same ratios were 6.76, 1295.89, 777.62, 1.9, and 2.55.

  • Hard nodes matter for generalization. Retraining after removing hard-to-unlearn nodes causes substantial test-performance degradation, whereas removing the same number of random or easy nodes has little effect at small unlearning ratios. This challenges the common assumption that the unlearned model should preserve the original model's generalization.

  • Memorization ranks difficulty reliably. Across five constructed unlearning sets (low-mem, high-mem, random, local, distant), all methods performed best on low-mem and worst on high-mem sets; performance on random was closer to low-mem, consistent with the long-tailed distribution. Distant nodes were harder than local ones but differed substantially from high-mem nodes.

  • MGU outperforms nine baselines. Baselines compared were AGU, D2DGN, Delete, ETR, GIF, IDEA, MEGU, SGU, and UTU, across GCN, GAT, SAGE, and FAGCN backbones on Cora, Citeseer, PubMed, Photo, Computers, CS, Physics, Arxiv, Chameleon, and Squirrel. Improvements on easy tasks were modest (for example, 0.1% to 12.8% in the reported table) but large on hard tasks (for example, 47.7%, 88.5%, 53.9%, 73.7%, 152%, 64.4%, 249%, and 96.9% across selected columns of the hard-to-unlearn table).

Methodology in Plain English

The authors start by asking a simple question: can we predict how hard a piece of a graph will be to unlearn? They take the standard definition of memorization from image and text models — how much a model's prediction on a sample depends on that sample having been in the training set — and modify it for graphs. Because a node's prediction also depends on its neighbors through message passing, they add a neighbor-impact term: the total influence of removing the node on its k-hop neighbors, weighted so that influence decays exponentially with graph distance, where k equals the number of GNN layers.

They then use this memorization score to rank unlearning targets as easy or hard, and confirm that rankings match actual difficulty by comparing unlearned models against models retrained from scratch. To measure difficulty in a way that reflects all three goals of unlearning at once, they introduce the ToU metric, a product of three terms measuring how closely the unlearned model matches the retrained model on the deleted elements, the remaining graph, and the test set.

For the unlearning itself, MGU exploits a finding from the difficulty analysis: hard nodes sit near the graph boundary, where features are less representative and generalization is fragile. MGU therefore adjusts its objective by difficulty. Its forgetting loss operates on a prototype-based margin — each class is represented as the mean probability distribution of its training nodes, distances are measured with KL divergence, and the margin is the gap between a node's distance to its true-class prototype and to other-class prototypes. Rather than forcing deleted nodes toward random guessing, the loss nudges their margins toward learnable per-node targets initialized from the frozen original model. Its preservation loss is a distillation objective in which the original model teaches the unlearned model on the remaining graph, but each node gets its own temperature: nodes whose predictions changed more (measured by KL divergence between outputs on the full graph and the reduced graph) receive a higher temperature and softer supervision. The two losses are combined with a balancing coefficient.

Finally, since computing memorization scores is expensive and requires retraining models, the authors propose a training-free shortcut: use the node margin from the original model as a proxy for difficulty, and extend it to edges (aggregating endpoint memorization normalized by degree) and features (average memorization of associated nodes).

Why This Matters

Impact on research. The paper reframes graph unlearning from a purely structural or empirical problem into a question about training dynamics, giving a diagnostic explanation for a failure mode that existing benchmarks had largely hidden. The ToU metric and difficulty-aware sampling could shift how the field reports results, since the reported hard-task improvements are far larger than the easy-task ones — meaning prior comparisons may have overstated progress.

Real-world applications:

  • Social networks: removing privacy-sensitive user records or deactivated accounts from trained GNNs, including the atypical boundary nodes that random sampling would skip.
  • Recommender systems: deleting mislabeled or manipulated interactions so recommendations stop reflecting them.
  • Financial platforms: unlearning fraudulent transactions and malicious accounts, which are typically rare and structurally irregular — exactly the hard-to-unlearn category this paper targets.
  • General Web privacy compliance: supporting right-to-be-forgotten requests without costly full retraining of models deployed at scale.

Industry relevance. The framework is model-agnostic and requires no access to model internals, only probability outputs, which fits black-box or third-party model deployments. The difficulty-aware sampling strategy also offers a training-free approximation path, which matters for production systems where recomputing expensive memorization scores on every graph update is impractical.

Future Directions

  • Scaling the difficulty assessment. Memorization scores require training models with and without each element, so reducing their cost — and validating the margin-based proxy at large graph scale — remains an open problem. The paper validates the approximation by correlation analysis in an appendix not included in the provided content.

  • Completing and testing edge and feature protocols. The provided content truncates during the definition of the edge-unlearning ToU, so the full edge and feature evaluation protocols, and the corresponding empirical results, are not reported here.

  • Robustness of the learnable margin targets. The target margin is treated as a learnable parameter initialized from the original model; how sensitive results are to that initialization, and to the balancing coefficient between the margin and distillation losses, is left to the appendix material.

  • Transfer to other graph tasks and architectures. The experiments focus on node classification with GCN, GAT, SAGE, and FAGCN backbones; whether the memorization-difficulty link holds for link prediction, graph classification, or heterogeneous and temporal graphs is not reported.

Target Audience

Researchers and graduate students working on graph neural networks, machine unlearning, or privacy-preserving machine learning; practitioners implementing deletion or right-to-be-forgotten pipelines over graph data in social, recommendation, or financial systems; and benchmark or evaluation designers who need difficulty-aware protocols rather than random-target sampling.

Authors’ abstract

Graph unlearning (GU), which removes nodes, edges, or features from trained graph neural networks (GNNs), is crucial in Web applications where graph data may contain sensitive, mislabeled, or malicious information. However, existing GU methods lack a clear understanding of the key factors that determine unlearning effectiveness, leading to three fundamental limitations: (1) impractical and inaccurate GU difficulty assessment due to test-access requirements and invalid assumptions, (2) ineffectiveness on hard-to-unlearn tasks, and (3) misaligned evaluation protocols that overemphasize easy tasks and fail to capture true forgetting capability. To address these issues, we establish GNN memorization as a new perspective for understanding graph unlearning and propose MGU, a Memorization-guided Graph Unlearning framework. MGU achieves three key advances: it provides accurate and practical difficulty assessment across different GU tasks, develops an adaptive strategy that dynamically adjusts unlearning objectives based on difficulty levels, and establishes a comprehensive evaluation protocol that aligns with practical requirements. Extensive experiments on ten real-world graphs demonstrate that MGU consistently outperforms state-of-the-art baselines in forgetting quality, computational efficiency, and utility preservation.

Read the original paper