FROG: Fair Removal on Graphs

Ziheng Chen, Jiali Cheng, Gabriele Tolomei, Sijia Liu, Hadi Amiri, Yu Wang, Kaushiki Nag, Lu Lin · OpenReview

Abstract

With growing emphasis on privacy regulations, machine unlearning has become increasingly critical in real-world applications such as social networks and recommender systems, many of which are naturally represented as graphs. However, existing graph unlearning methods often modify nodes or edges indiscriminately, overlooking their impact on fairness. For instance, forgetting links between users of different genders may inadvertently exacerbate group disparities. To address this issue, we propose a novel framework that jointly optimizes both the graph structure and the model to achieve fair unlearning. Our method rewires the graph by removing redundant edges that hinder forgetting while preserving fairness through targeted edge augmentation. We further introduce a worst-case evaluation mechanism to assess robustness under challenging scenarios. Experiments on real-world datasets show that our approach achieves more effective and fair unlearning than existing baselines.

The Problem: The Hidden "Fairness Tax" of Unlearning

As privacy regulations like GDPR grant users the "right to be forgotten," machine unlearning—the process of removing specific data points from a trained model—has become a necessity. For Graph Neural Networks (GNNs), this typically involves removing specific nodes or edges. However, a critical side effect often goes unnoticed: disparate impact.

Graphs frequently exhibit "homophily," where similar nodes cluster together. When edges are removed indiscriminately to satisfy unlearning requests, the process often inadvertently destroys "bridges" between different demographic groups (e.g., connections between users of different genders or races). This structural shift makes the graph more segregated, which GNNs then translate into biased embeddings and unfair predictions in downstream tasks. Existing unlearning methods focus purely on "forgetting" the data but ignore how these topological changes bake in algorithmic bias.

The FROG Framework: Fair Rewiring of Graphs

To address this, we propose FROG (Fair Removal on Graphs), a framework that treats fair unlearning as a Stackelberg game (a leader-follower optimization). Instead of merely updating model weights, FROG actively "rewires" the graph topology through two main components:

  1. Fair Edge Augmentation (The Leader): An MLP-based "augmenter" suggests new edges to be added to the graph. It utilizes a contrastive loss to specifically encourage "inter-group" links—connections between nodes with different sensitive attributes—to counteract the segregation caused by edge removal.
  2. Sparse Structure Unlearning (The Follower): A "pruner" identifies and removes redundant edges that might be helping the model "remember" the forgotten data. This simplifies the graph structure, making it easier for the model to truly erase the target knowledge.
The FROG framework overview, illustrating the bi-level optimization between Fair Edge Augmentation and Sparse Structure Unlearning.

The system employs the Gumbel-Softmax trick to allow gradient-based optimization over these discrete structural changes. This "plug-and-play" design allows FROG to be combined with various existing unlearning loss functions.

Key Insights: Unlearning as a Structural Intervention

A primary contribution of this work is the theoretical proof (Theorem 3.1) showing that dyadic fairness is mathematically bounded by the graph's homophily ratio. This confirms that unlearning is not just a parameter update; it is a significant topological shift.

Furthermore, we introduce a "worst-case evaluation" benchmark. Rather than uniform random forgetting, we search for specific edges that are either the hardest to forget or cause the most fairness degradation when removed. FROG demonstrates robustness even under these adversarial conditions by identifying and breaking information "loops" within the graph that trap memory.

Experimental Results

FROG was evaluated on five widely used graph benchmarks, including social networks (Facebook#1684) and citation networks (Cora, CiteSeer, Pubmed, and OGB-Collab).

  • Superior Fairness: On the Cora dataset, FROG reduced dyadic fairness disparity ($\Delta_{DP}$) by 21.6% to 39.5% compared to state-of-the-art baselines like GNNDelete and GNNCon.
  • Effective Forgetting: FROG achieved the highest Membership Inference Attack (MIA) ratio, indicating that an attacker is significantly less likely to determine if a specific piece of data was in the training set.
  • Efficiency and Utility: Despite the complexity of bi-level optimization, FROG is 11.5x faster than retraining from scratch. It also maintains high AUROC on the retained portion of the graph, outperforming baselines that sacrifice accuracy for forgetting.
Impact of edge removal on dyadic fairness across different homophily ratios, showing FROG's superior performance in maintaining fairness compared to baselines.

Limitations and Future Work

While FROG represents a significant advancement, it currently depends on the availability of sensitive attributes (e.g., gender or race) to optimize for fairness. In some privacy-sensitive scenarios, this data may be restricted. Future research will explore adapting this framework for "certified unlearning" to provide mathematical guarantees of data removal and scaling the bi-level optimization for billion-edge graphs.

Summary updated

BibTeX
@inproceedings{chen2025frog,
  author = {Ziheng Chen and Jiali Cheng and Gabriele Tolomei and Sijia Liu and Hadi Amiri and Yu Wang and Kaushiki Nag and Lu Lin},
  title = {{FROG: Fair Removal on Graphs}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2025},
  url = {https://openreview.net/forum?id=IsAsUJklD7},
}
Figure