Abstract
Federated Machine Unlearning (FMU) is a critical requirement for privacy-compliant distributed systems, allowing users to exercise their "right to be forgotten." However, traditional FMU methods often require expensive retraining or result in significant utility degradation. We propose FedAU (Federated Adaptive Unlearning), a proactive framework that utilizes a lightweight auxiliary module trained in parallel with the main model. By applying simple linear operations at the server level, FedAU enables millisecond-scale unlearning for samples, classes, or clients while maintaining high accuracy on remaining data.
Introduction
As privacy regulations like GDPR and CCPA become standard, machine learning systems must support the removal of specific data influences—a process known as machine unlearning. In Federated Learning (FL), where data is decentralized across numerous clients, this task is particularly challenging. Existing approaches, such as retraining from scratch, are computationally prohibitive, while reactive methods like gradient ascent often compromise the model's performance on the remaining dataset.
The primary bottleneck in current Federated Machine Unlearning (FMU) is the "waiting time" problem: the entire federated network often stalls while a single client performs a complex unlearning operation. To address this, we introduce FedAU, a method designed to be both fast and versatile, capable of handling requests for specific samples, entire classes, or full client removal with minimal latency.
The FedAU Framework
FedAU shifts the computational burden of unlearning from a reactive post-request phase to a proactive training phase. The architecture consists of three primary components: a standard Learning Module ($W^l$), an Auxiliary Unlearning Module ($W^a$), and a final Linear Operation performed by the server.
The Learning Module represents the global model being optimized for the primary task. Simultaneously, the Auxiliary Unlearning Module—typically a lightweight component such as the final fully connected layer—is trained on potential "unlearn" data. Because this auxiliary module is small, it adds negligible overhead to the communication and computation costs of the federated process.
Adaptive Unlearning via Linear Operations
The core innovation of FedAU lies in its use of simple arithmetic to "forget" data. When an unlearning request is received, the server does not initiate a new training round. Instead, it combines the weights of the two modules:
- Sample Unlearning: The auxiliary module is trained on target samples with randomized labels. The final unlearned model is calculated as a weighted average: $\hat{W} = \alpha W^l + (1-\alpha)W^a$.
- Class Unlearning: The auxiliary module learns the specific features of the class to be removed. The server then "subtracts" this knowledge: $\hat{W} = W^l - \beta W^a$.
This approach leverages the linearity of the final classifier layers, where weight changes correspond directly to logit shifts, allowing for precise "neutralization" of specific data influences.
Experimental Results and Insights
We evaluated FedAU on standard benchmarks including MNIST, CIFAR-10, and CIFAR-100 using various architectures (LeNet, AlexNet, and ResNet-18). The results demonstrate that FedAU reduces unlearning time from approximately 1,000 seconds (for retraining) to just 1 millisecond—a million-fold speedup.
Beyond speed, FedAU maintains high utility. Accuracy on the remaining data stays within 1% of a model retrained from scratch. Furthermore, Membership Inference Attacks (MIA) confirm that the influence of the unlearned data is effectively erased, matching the security profile of state-of-the-art methods.
Conclusion
FedAU provides a scalable and efficient solution for the "right to be forgotten" in federated environments. By adopting a proactive, dual-module approach, it eliminates the latency associated with traditional unlearning methods. Future work will explore extending this methodology to deeper architectural layers and optimizing the auxiliary module for low-bandwidth communication environments.
Summary updated