Federated Unlearning Made Practical: Seamless Integration via Negated Pseudo-Gradients

Alessio Mora, Carlo Mazzocca, Rebecca Montanari, Paolo BellavistaarXiv 2025 · DOI

Abstract

Federated Learning (FL) enables collaborative model training while preserving data privacy. However, complying with regulations like the GDPR's "right to be forgotten" requires mechanisms for Federated Unlearning (FU)—removing a specific client's data influence from a trained model. Existing FU methods often suffer from high storage overhead, impractical assumptions, or complex implementation. We present PUF (Pseudo-gradients Updates for Federated Unlearning), a lightweight approach that reinterprets standard FL updates as "pseudo-gradients." By negating and scaling these updates, PUF achieves efficient unlearning without additional storage or communication costs. Evaluations on image classification and medical segmentation tasks demonstrate that PUF matches the performance of retraining from scratch while being significantly more efficient.

Introduction

While Federated Learning allows multiple parties to train a shared model without exchanging raw data, the resulting global model inherently "remembers" features of the training data. To satisfy legal requirements like the GDPR, individuals must be able to withdraw their data influence. Traditional Federated Unlearning (FU) solutions are often impractical for real-world deployment due to massive storage requirements (e.g., keeping all historical updates), reliance on public proxy datasets, or the need for all clients to remain stateful and online. This paper introduces PUF, a method designed for seamless integration into existing FL pipelines.

The PUF Framework

PUF treats standard FL weight updates as pseudo-gradients. In a typical FedAvg round, a client computes an update $\Delta$ to minimize local loss. PUF's core innovation is simple: when a client requests to be forgotten, the server takes that client's update, negates it ($-\Delta$), and scales it by an unlearning rate ($\eta_u$). This performs a stable form of "gradient ascent," pushing the global model parameters away from the region optimized for the target client's data.

Overview of Traditional FL vs. PUF operating modes (Regular and Special rounds).

As shown in the figure above, PUF offers two flexible operating modes:

  • PUF-Regular: Unlearning is bundled into a standard FL round alongside other active clients, minimizing disruption.
  • PUF-Special: A dedicated round where only the target client(s) provide an update to be negated, allowing for focused unlearning.

Crucially, PUF requires no changes to client-side code and zero historical data storage. It reinterprets the final update the client provides before leaving the federation, making it highly compatible with "data minimization" principles.

Experimental Evaluation

The researchers evaluated PUF across diverse tasks, including standard image classification (CIFAR-10/100) and complex medical imaging (ProstateMRI segmentation). They tested the method on various architectures, including ResNet-18, Vision Transformers (MiT-B0), and Res-UNet. The evaluation focused on three pillars: unlearning effectiveness, computational/communication efficiency, and privacy protection against Membership Inference Attacks (MIAs).

Key Results

PUF consistently matched or nearly matched the "Gold Standard"—a model retrained from scratch without the target client's data. In non-IID CIFAR-100 scenarios, PUF-Regular achieved a Forget Accuracy within 2.0% of the retrained model.

Comparison of PUF against state-of-the-art Federated Unlearning methods across multiple performance and privacy metrics.

As illustrated in the radar chart, PUF provides a superior balance of metrics compared to baselines like PGA, NoT, and FedAU:

  • Efficiency: PUF is significantly faster than retraining, achieving 31x to 48x gains in communication and computation efficiency on CIFAR-100.
  • Privacy: Membership Inference Attacks (MIAs) confirmed that PUF reduces data leakage to levels indistinguishable from a model that never saw the forgotten data.
  • Versatility: Unlike task-specific methods, PUF's weight-update-based approach worked successfully on medical segmentation tasks where other methods were inapplicable.

Conclusion

PUF addresses the primary "real-world" dealbreakers of Federated Unlearning. By leveraging the pseudo-gradient perspective, it provides a stable, efficient, and task-agnostic way to honor the "right to be forgotten" without compromising model utility or requiring massive infrastructure changes. Future work will explore adapting PUF for "zero-shot" scenarios where clients are completely unreachable at the time of the unlearning request.

Summary updated

BibTeX
@misc{mora2025federated,
  author = {Alessio Mora and Carlo Mazzocca and Rebecca Montanari and Paolo Bellavista},
  title = {{Federated Unlearning Made Practical: Seamless Integration via Negated Pseudo-Gradients}},
  year = {2025},
  eprint = {2504.05822},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.05822},
}
Figure