To Be Forgotten or To Be Fair: Unveiling Fairness Implications of Machine Unlearning Methods

Dawen Zhang, Shidong Pan, Thong Hoang, Zhenchang Xing, Mark Staples, Xiwei Xu, Lina Yao, Qinghua Lu, Liming Zhu · DOI

Abstract

As privacy regulations like the GDPR mandate the "Right to Be Forgotten," machine unlearning has emerged as a vital technique for efficiently removing specific data from trained models without the prohibitive cost of full retraining. While these methods prioritize computational efficiency and privacy, their impact on algorithmic fairness is often overlooked. This study evaluates two major unlearning frameworks—SISA (Sharded, Isolated, Sliced, and Aggregated) and AmnesiacML—against the gold standard of retraining from scratch (ORTR). Our findings reveal a complex interplay between privacy, accuracy, and fairness, showing that sharding strategies can unexpectedly enhance model fairness in non-uniform data deletion scenarios, despite a potential "performance tax."

Introduction

The "Right to Be Forgotten" (RTBF) presents a significant technical hurdle for modern AI. Simply deleting a user's record from a database does not remove their influence from a model's learned weights. While retraining from scratch (ORTR) ensures complete data removal, it is often computationally infeasible for large-scale models. Machine unlearning provides a suite of algorithms designed to surgically and efficiently excise the influence of specific data points. However, these "shortcuts" alter the training dynamics and data partitioning, raising concerns about whether they inadvertently introduce or exacerbate biases against protected groups.

Methodology

The research focuses on two primary unlearning paradigms:

  1. SISA (Sharded, Isolated, Sliced, and Aggregated): An "exact" unlearning method that partitions the dataset into independent "shards." Each shard trains a constituent model, and their outputs are aggregated. Unlearning only requires retraining the specific shard containing the data to be removed.
  2. AmnesiacML: An "approximate" method that tracks the influence of data batches on weight updates. Deletion is achieved by "undoing" these updates through weight rollbacks.

The experimental pipeline, illustrated in Figure 1, involves rigorous preprocessing for both general data quality and fairness, followed by various data deletion strategies to test the robustness of the unlearning methods.

Experimental pipeline for evaluating fairness in machine unlearning.

Experimental Setup

The study utilized three standard fairness benchmarks: Adult (income prediction), Bank (term deposit subscription), and COMPAS (recidivism prediction). Models were evaluated under two deletion distributions: uniform (random deletions) and non-uniform (higher deletion rates for specific groups, such as privileged users). Fairness was measured using standard metrics including Disparate Impact (DI), Statistical Parity Difference (SPD), Average Odds Difference (AOD), and Equal Opportunity Difference (EOD).

Results and Discussion

The results highlight a significant trade-off between accuracy and fairness. As shown in Figure 2, while unlearning methods generally maintain stable fairness under uniform deletion, non-uniform deletion scenarios reveal unique advantages for sharding.

Fairness and performance metrics across datasets and unlearning strategies.

The "Sharding" Fairness Boost

One of the most surprising insights is that SISA's sharding structure can act as a buffer against bias. In non-uniform scenarios where a specific group's data is disproportionately removed, SISA often achieved better fairness metrics (e.g., DI values) than retraining from scratch. In fact, SISA with a sharding strategy achieved the best DI values in 9 out of 10 tested combinations during non-uniform deletion. This suggests that isolating data influence within shards can prevent the model from over-adjusting to biased deletion patterns.

The Performance Tax

Efficiency and fairness come at a cost. SISA exhibited a performance drop—up to 10% in accuracy—on larger datasets compared to ORTR. AmnesiacML, while faster and maintaining higher accuracy, tracks the baseline retraining method more closely in terms of fairness but offers fewer "exact" privacy guarantees. This creates a three-way trade-off for engineers: Privacy vs. Fairness vs. Accuracy.

Conclusion

Machine unlearning is not just a privacy tool; it is a factor that significantly influences AI ethics. While sharding strategies in SISA can mitigate bias in certain deletion scenarios, they introduce critical trade-offs. Future work should focus on "Fairness-Aware Unlearning" to optimize these competing objectives simultaneously, ensuring that the right to be forgotten does not come at the expense of algorithmic equity.

Summary updated

BibTeX
@article{zhang2024be,
  author = {Dawen Zhang and Shidong Pan and Thong Hoang and Zhenchang Xing and Mark Staples and Xiwei Xu and Lina Yao and Qinghua Lu and Liming Zhu},
  title = {{To Be Forgotten or To Be Fair: Unveiling Fairness Implications of Machine Unlearning Methods}},
  journal = {AI Ethics},
  year = {2024},
  doi = {10.1007/s43681-023-00398-y},
}
Figure