Abstract
Federated Learning (FL) allows for collaborative model training while preserving data privacy. However, complying with data deletion requests, such as the "Right to be Forgotten" under GDPR, is challenging in a decentralized environment. This paper introduces a novel federated unlearning method that utilizes class-discriminative pruning. By applying a modified Term Frequency-Inverse Document Frequency (TF-IDF) algorithm to neural network channels, the approach identifies and removes features specific to a target class. Experimental results on CIFAR-10 and CIFAR-100 demonstrate that this method achieves up to an 11x speedup compared to retraining from scratch while maintaining model performance on remaining classes.
Introduction: The Challenge of Forgetting in FL
In Federated Learning, sensitive data remains on local devices, and only model updates are shared with a central server. While this architecture enhances privacy, it complicates the process of "unlearning"—removing the influence of a specific data category from the global model. The standard solution, retraining the model from scratch without the target data, is prohibitively expensive in terms of time, computation, and communication. Furthermore, existing unlearning techniques often struggle with the "non-IID" (non-independent and identically distributed) nature of federated data, where different users possess vastly different data distributions.
Methodology: Class-Discriminative Pruning
The authors propose a three-step workflow that treats neural network channels as discriminative features for specific classes, analogous to words in a document.
- Local Feature Mapping: Clients pass local data through the trained model to calculate feature map scores, identifying which channels are most active for specific categories.
- TF-IDF Guided Pruning: The server aggregates these scores and applies the TF-IDF metric. Term Frequency (TF) measures a channel's contribution to the target class, while Inverse Document Frequency (IDF) determines if a channel is class-specific or a general-purpose feature. Channels with high TF-IDF scores—indicating they are highly specific to the class to be forgotten—are pruned.
- Fine-tuning: To recover any minor accuracy loss on the remaining classes, the model undergoes a few rounds of standard federated training.
Key Results and Performance
The framework was evaluated using ResNet and VGG architectures on CIFAR-10 and CIFAR-100 datasets. The results highlight three major advantages:
- Efficiency: The method provides massive speedups, ranging from 8.9x to 11x for ResNet models compared to full retraining.
- Effectiveness: Post-unlearning, the model's accuracy on the forgotten class drops to 0%, ensuring complete erasure of the target information.
- Accuracy Retention: Performance on the remaining classes remains comparable to a model retrained from scratch.
The method also demonstrates superior robustness to data bias compared to traditional unlearning baselines like the Fisher method, making it highly suitable for real-world federated environments.
Conclusion
Class-discriminative pruning offers a computationally lightweight and effective solution for federated unlearning. By leveraging NLP-inspired metrics to surgically remove class-specific information, it bypasses the need for costly retraining while adhering to privacy regulations. Future work aims to extend this approach from category-level to sample-level unlearning and explore its applicability to non-CNN architectures.
Summary updated