Abstract
Extracting useful knowledge from big data is important for machine learning. When data is privacy-sensitive and cannot be directly collected, federated learning is a promising option that extracts knowledge from decentralized data by learning and exchanging model parameters, rather than raw data. However, model parameters may encode not only non-private knowledge but also private information of local data, thereby transferring knowledge via model parameters is not privacy-secure. Here, we present a novel knowledge transfer method named PrivateKT, which uses actively selected small public data to transfer high-quality knowledge in federated learning with privacy guarantees. We verify PrivateKT on three different datasets, and results show that PrivateKT can maximally reduce 84% of the performance gap between centralized learning and existing federated learning methods under strict differential privacy restrictions. PrivateKT provides a potential direction to effective and privacy-preserving knowledge transfer in machine intelligent systems.
Introduction
Federated Learning (FL) enables multiple parties to collaboratively train a shared model without exchanging raw, sensitive data. Typically, participants exchange model parameters or gradients. However, recent research indicates that these parameters can "memorize" private details, posing a risk of data leakage.
To address this, Local Differential Privacy (LDP) is often employed to add mathematical noise to data before it leaves a user's device. A significant challenge arises because the required noise is proportional to the volume of data transmitted. Traditional FL methods relying on large-scale public data transfers often see their performance collapse under strict privacy budgets, as the LDP noise overwhelms the signal. PrivateKT aims to break this "privacy-utility" wall by optimizing the knowledge transfer process.
Methodology
PrivateKT introduces a paradigm shift: instead of transmitting large volumes of noisy data, it transfers a minimal amount of highly informative data. The framework is built on four pillars:
- Importance Sampling: The server identifies "hard" examples from a public dataset—samples where the global model is most uncertain (high entropy)—to act as the primary carriers for knowledge.
- Knowledge Extraction & Exchange: Clients train on private data and predict labels for these few selected public samples. Privacy is maintained via a Randomized Response mechanism, which uses a probabilistic approach to decide whether to report a true prediction or a random category.
- Knowledge Buffer & Aggregation: To compensate for the small data volume per round, the server maintains a "Knowledge Buffer" that stores and reuses aggregated predictions from previous rounds, stabilizing the learning signal against LDP noise.
- Self-Training: The server refines the global model using unlabeled public data to accelerate convergence.
Experimental Setup
The researchers evaluated PrivateKT across three distinct domains to demonstrate its versatility:
- MNIST: Handwritten digit classification.
- MedText: Medical abstracts for text-based disease prediction.
- X-Ray: Chest X-ray images for pneumonia detection.
Testing was conducted in both IID (Independent and Identically Distributed) and Non-IID settings to simulate real-world data skew.
Results and Discussion
PrivateKT demonstrates remarkable resilience to privacy-preserving noise. While traditional methods like FedAvg experience accuracy drops exceeding 80% when LDP is applied to MNIST, PrivateKT maintains an accuracy of 94.77%. On the X-Ray dataset (Non-IID), PrivateKT achieved a Macro-F1 score of 81.20, significantly outperforming competing DP-enabled methods that struggled to reach a score of 41.
Key insights from the study include:
- Efficiency of Small Data: Effective knowledge transfer is possible with as few as $K=2$ samples per round, provided they are representative.
- The Power of the Buffer: The Knowledge Buffer proved to be the most critical component, allowing the system to average out LDP noise over time and form a coherent global signal.
- Closing the Gap: Under strict privacy restrictions ($\epsilon = 2$), PrivateKT reduced the performance gap between centralized training and existing FL methods by up to 84%.
Conclusion
While PrivateKT offers a significant advancement in private federated learning, it currently depends on the availability of a related, unlabeled public dataset. Future work will explore "data-free" knowledge transfer and methods to enhance robustness against potential Byzantine (malicious) clients who might attempt to poison the global model with fake predictions.
Summary updated