Federated Unlearning: a Perspective of Stability and Fairness

Jiaqi Shao, Tao Lin, Xuanyu Cao, Bing Luo · DOI

Introduction

As data privacy regulations like GDPR grant users the "right to be forgotten," Federated Learning (FL) systems must adapt to "unlearn" specific client contributions. This research reveals that Federated Unlearning (FU) is not a "free lunch," especially in heterogeneous (non-IID) environments. Removing a client’s data triggers significant side effects on global model stability and local fairness. This paper provides a theoretical framework to quantify these trade-offs and proposes optimization-based mechanisms to balance them.

The Core Challenge: Stability and Fairness

In standard Machine Unlearning, the goal is to remove the influence of specific data without retraining from scratch. In a Federated Learning context—where multiple clients collaboratively train a model—this is complicated by data heterogeneity. Because clients have different data distributions, removing one client shifts the model's equilibrium.

The authors identify two major side effects:

  1. Global Stability: Unlearning influential clients can cause the global model's performance to degrade or become unstable.
  2. Local Fairness: Unlearning can be "unfair" to remaining clients. Some may see performance gains, while others suffer significant utility loss because the new model no longer aligns with their specific data.
Side effects of Federated Unlearning: (a) Local Fairness issues and (b) Global Stability issues.

A Multi-Objective Framework

The authors move beyond simple verification to a multi-objective optimization problem. They introduce three key metrics to measure the quality of unlearning:

  • Verification ($V$): How closely the unlearned model matches a model that was never trained on the forgotten data.
  • Global Stability ($S$): The performance gap between the unlearned model and the original optimal FL model.
  • Local Fairness ($Q$): The variance of utility changes among the remaining clients.
Theoretical framework illustrating the trade-offs between Verification, Global Stability, and Local Fairness.

The paper proves that in non-IID settings, a "heterogeneity tax" exists: you cannot optimize verification without impacting stability or fairness.

Proposed Mechanisms

To manage these trade-offs, two novel FU mechanisms are proposed:

  • Stability-Oriented (Algorithm 2): Employs a penalty-based approach with gradient correction. Updates are projected onto a space that minimizes interference with the remaining clients' performance.
  • Fairness-Oriented (Algorithm 3): Formulates unlearning as a constrained optimization problem using Lagrangian multipliers to ensure no individual client’s performance drops beyond a threshold ($\epsilon$).

Experimental Evaluation

The researchers evaluated their approach using standard computer vision benchmarks (MNIST and CIFAR-10) modified for a federated, non-IID setting. They simulated 10 clients, each holding only 4 out of 10 possible classes.

Key results include:

  • Performance: Stability-aware unlearning achieved a better balance ($V+S = 1.84\%$) compared to exact retraining ($V+S = 2.42\%$).
  • Fairness: The fairness-aware mechanism reduced performance variance ($Q$) to 6.91, compared to 10.23 in standard retraining.
  • Efficiency: The proposed methods are 1.4x to 3.2x faster than retraining from scratch.

Key Insights

  • Unlearning as Continual Learning: Unlearning is treated as a specialized form of "forgetting" where the model iteratively moves away from the forgotten client's influence.
  • Fairness Silver Lining: Unlearning a highly "divergent" client can actually improve fairness for the remaining group by making the model more specialized to their shared needs.

Limitations and Future Work

While efficient, the gradient correction and Lagrangian updates add server-side complexity. Future research may explore adaptive strategies like dynamic client reweighting to further smooth these inherent trade-offs during the unlearning process.

Summary updated

BibTeX
@inproceedings{shao2024federated,
  author = {Jiaqi Shao and Tao Lin and Xuanyu Cao and Bing Luo},
  title = {{Federated Unlearning: a Perspective of Stability and Fairness}},
  booktitle = {PML @ ICLR},
  year = {2024},
  url = {https://openreview.net/forum?id=AqL7kcw8xG},
}
Figure