TL;DR
INPO (Influence-aware Negative Preference Optimization) is a new framework that brings techniques from Large Language Model (LLM) alignment to the world of Graph Neural Networks (GNNs) to solve the "graph unlearning" problem. By amplifying the influence of edges targeted for removal and using a stabilized optimization objective, INPO effectively "forgets" specific data while protecting the model's overall performance on the rest of the graph.
What Problem Does This Paper Address?
As privacy regulations like GDPR grant users the "Right to be Forgotten," machine learning models must be able to "unlearn" specific data points without requiring a full, expensive retraining from scratch. In the context of graphs, this is exceptionally difficult because data entities are strongly coupled.
If you remove an edge or a node in a social network, the "message passing" nature of GNNs means that the change ripples out, affecting the representations of many neighboring nodes. Existing methods often rely on Gradient Ascent (GA) to force the model to forget. However, GA is notoriously unstable; it often causes the model's utility (its accuracy on the data it is supposed to keep) to "diverge" or collapse rapidly before the forgetting process is even complete. The authors seek a way to balance "forget quality" with "model utility."
Methods
The authors introduce INPO, which consists of three main pillars:
- Negative Preference Optimization (NPO): Borrowing from recent successes in LLM safety alignment, the authors replace standard Gradient Ascent with NPO. NPO treats the "forget set" as a negative preference. Crucially, NPO has a smaller "adaptive coefficient" in its gradient, which slows down the divergence speed and makes the unlearning process much more robust.
- Influence-aware Message Passing: The researchers theoretically demonstrate that unlearning "high-influence" edges (those that significantly impact node embeddings) actually reduces the negative impact on the rest of the graph. Since users might ask to delete any random edge, the authors design a novel message function that amplifies the influence of the edges in the forget set during the fine-tuning process. To do this efficiently, they use NORA, a gradient-based method that estimates edge influence in a single pass rather than through costly brute-force removals.
- Topological Entropy (TE) Loss: To ensure the local structure of the graph remains stable, the authors introduce a loss function based on entropy. This acts as a regularizer, preventing the model from losing too much structural information in the neighborhood of the deleted edges.
Datasets
The framework was evaluated on five widely-used real-world graph datasets:
- Cora & PubMed: Standard citation networks.
- DBLP & CS: Co-authorship and academic collaboration graphs.
- OGB-Collab: A large-scale collaboration dataset from the Open Graph Benchmark.
The experiments focused on edge unlearning, where the model is tasked with forgetting specific connections between nodes.
Key Insights and Ideas
- Slower is Better: The "aha moment" here is that the rapid divergence of Gradient Ascent is the primary enemy of model utility. By adopting NPO, the authors found a mathematical way to "brake" the optimization, allowing the model to forget specific edges without destroying its internal logic.
- The Influence Paradox: Intuitively, you might think high-influence edges are harder to remove. However, the paper shows that by focusing the unlearning energy on high-influence paths, you create a sharper "separation" between the forget set and the retain set, which actually protects the retain set from collateral damage.
- Topological Decoupling: The authors emphasize "decoupling" the forget set from the retain set. By modifying the message-passing mechanism specifically for the unlearning task, they break the tight bond that usually makes graph data so difficult to edit.
Key Results
- State-of-the-Art Forget Quality: INPO achieved the best performance across all "forgetting" metrics, such as the MI Ratio (Membership Inference Ratio), which measures how easily an attacker could tell if a piece of data was originally in the training set. On DBLP and Cora, the MI Ratio improved by 6.5% and 2.3% respectively over previous baselines.
- Utility Preservation: Unlike Gradient Ascent, which causes AUC (Area Under Curve) to plummet, INPO maintained high utility on the "retain set," performing similarly to a model that had been completely retrained from scratch (the "gold standard" for unlearning).
- Robustness to Scale: The model remained stable even when the "delete ratio" (the percentage of the graph to be forgotten) increased, whereas competing models like GNNDelete showed significant performance degradation as more data was removed.
Limitations and Future Work
- Focus on Edges: The primary focus of this paper is edge unlearning. While the authors mention node and feature unlearning, the specific influence-aware message passing is tailored for edges.
- Reference Model Dependency: Like many preference optimization methods, INPO relies on a "reference model" (the original pre-trained GNN). This adds a bit of memory overhead during the fine-tuning process.
- Future Directions: The authors suggest exploring how these preference optimization techniques could be applied to more complex graph tasks beyond simple link prediction, such as graph-level classification or heterogeneous graphs with multiple types of nodes and edges.
Summary updated