Abstract
Graph unlearning has emerged as a critical technique for complying with data privacy regulations like the "right to be forgotten" by allowing the removal of specific nodes or edges from trained Graph Neural Networks (GNNs). However, the privacy guarantees of these methods remain largely unvetted. This paper introduces TrendAttack, a novel unlearning inversion attack that operates in a realistic black-box setting. By exploiting the "Confidence Pitfall" and "Probability Similarity Gap" inherent in approximate unlearning processes, TrendAttack can reconstruct "forgotten" edges with high accuracy. Our evaluation across multiple benchmark datasets demonstrates that current graph unlearning techniques leave detectable traces, challenging the assumption that unlearning is equivalent to data erasure.
Introduction
With the implementation of regulations such as the GDPR, machine learning models must support the efficient removal of user data. In graph-structured data, this often involves deleting specific edges or nodes. Since retraining large-scale GNNs from scratch is computationally prohibitive, "graph unlearning" methods have been developed to update model parameters efficiently. While these methods aim to approximate the state of a model that never saw the deleted data, they may inadvertently leak information about the removed elements.
Existing privacy attacks typically assume a "two-model" setting, where the adversary has access to the model both before and after unlearning. This paper addresses the more challenging and realistic one-model black-box setting, where the attacker only interacts with the final unlearned model through an API.
The Vulnerability of Graph Unlearning
The success of the proposed TrendAttack framework is rooted in two fundamental observations regarding the "scars" left by the unlearning process:
- The Confidence Pitfall: Theoretical and empirical analysis reveals that nodes previously connected to unlearned edges exhibit a distinct drop in model confidence. The gradient-based updates used in many unlearning methods to "undo" an edge's influence leave a detectable signature in the output distribution.
- Probability Similarity Gap: There exists a three-tier hierarchy in output similarity: edges that never existed show the lowest similarity, unlearned edges show intermediate similarity, and retained edges show the highest. This gap allows an attacker to distinguish "forgotten" data from data that was never present.
Methodology: TrendAttack
TrendAttack leverages these vulnerabilities through a multi-stage process:
- Shadow Training: The attacker trains a "shadow" GNN on a disjoint but similar dataset, simulating the unlearning process to observe how outputs evolve.
- Trend Feature Extraction: The attack extracts "confidence trend features" by analyzing the confidence levels of a target node and its local neighborhood.
- Adaptive Link Classification: A classifier is trained to adaptively apply similarity thresholds, effectively separating unlearned edges from both retained edges and non-members.
Experimental Evaluation
The effectiveness of TrendAttack was evaluated on four benchmark datasets: Cora, Citeseer, Pubmed, and LastFM-Asia. The attack targeted three prominent unlearning methods: GIF, CEU, and GA.
TrendAttack consistently outperformed state-of-the-art Membership Inference Attacks (MIAs). For instance, on the Pubmed dataset using the GIF unlearning method, TrendAttack achieved an AUC of 0.9524 for recovering unlearned edges, significantly higher than the 0.8248 achieved by the strongest baseline, StealLink. Furthermore, the attack demonstrated high transferability across different GNN architectures, such as GCN, GAT, and SGC.
Conclusion
This research highlights a critical privacy flaw in current graph unlearning techniques. The "Confidence Pitfall" demonstrates that approximate unlearning is not synonymous with data erasure; rather, it leaves behind detectable traces that can be exploited to reconstruct sensitive information. Future work should focus on developing unlearning algorithms with formal privacy guarantees, such as those incorporating Differential Privacy, to mitigate the risk of inversion attacks.
Summary updated