Abstract
Federated Distillation (FD) is a popular novel algorithmic paradigm for Federated Learning, which achieves training performance competitive to prior parameter averaging based methods, while additionally allowing the clients to train different model architectures, by distilling the client predictions on an unlabeled auxiliary set of data into a student model. In this work we propose FedAUX, an extension to FD, which, under the same set of assumptions, drastically improves performance by deriving maximum utility from the unlabeled auxiliary data. FedAUX modifies the FD training procedure in two ways: First, unsupervised pre-training on the auxiliary data is performed to find a model initialization for the distributed training. Second, $(\varepsilon, \delta)$-differentially private certainty scoring is used to weight the ensemble predictions on the auxiliary data according to the certainty of each client model. Experiments on large-scale convolutional neural networks and transformer models demonstrate, that the training performance of FedAUX exceeds SOTA FL baseline methods by a substantial margin in both the iid and non-iid regime, further closing the gap to centralized training performance.
Introduction
Federated Learning (FL) faces a significant hurdle in the form of statistical heterogeneity, or "non-IID" data. When data is distributed across diverse devices, local distributions often vary wildly—for instance, one user might only possess images of cats while another has only cars. Standard algorithms like FedAvg often struggle in these scenarios, leading to unstable training and degraded model accuracy.
Federated Distillation (FD) has emerged as a promising alternative where clients share predictions on a public, unlabeled "auxiliary" dataset rather than sharing model weights. However, traditional FD treats all client predictions with equal weight. This is problematic: a client who is an expert in "cats" should not have their low-certainty prediction on a "car" image carry the same weight as a "car" expert. FedAUX addresses this by maximizing the utility of auxiliary data through a two-pronged approach: better initialization and intelligent weighting.
The FedAUX Framework
FedAUX introduces a structured two-phase approach to leverage auxiliary data effectively while maintaining strict privacy guarantees.
Phase 1: Preparation
- Unsupervised Pre-training: The server uses the unlabeled auxiliary data to pre-train a feature extractor (e.g., via contrastive learning). This provides clients with a robust initialization, far superior to random starting weights.
- Certainty Scoring: Clients train a simple logistic scoring head to distinguish their private local data from the auxiliary data.
- Privacy Sanitation: To protect local data distributions, $(\varepsilon, \delta)$-differential privacy is applied to these scoring models before they are used to generate weights.
Phase 2: Training
During the iterative training loop, clients train locally and then provide predictions on the auxiliary set. Crucially, the server performs Weighted Ensemble Distillation. Instead of a simple average, predictions are weighted by the sanitized certainty scores. This ensures the global model learns from the most relevant "experts" for any given auxiliary sample.
Visualizing the Advantage of Weighting
The impact of certainty scoring is most visible in highly non-IID settings. When client data is skewed, a simple mean of predictions often results in a noisy, inaccurate teacher signal. By weighting these predictions based on how similar the auxiliary sample is to a client's local data, FedAUX can reconstruct a high-fidelity global signal.
As shown in the visualization above, the standard mean prediction fails to capture the underlying data structure (achieving only 0.33 accuracy), whereas the weighted mean prediction closely approximates the true distribution, reaching 0.88 accuracy.
Key Results and Insights
FedAUX was evaluated across various computer vision (CIFAR-10/100, ImageNet subsets) and NLP (AG-NEWS, Amazon Reviews) tasks. Key findings include:
- Superior Performance in Heterogeneous Settings: On CIFAR-10 with extreme data skew ($\alpha = 0.01$), FedAUX achieved 78.1% accuracy, vastly outperforming the previous state-of-the-art distillation method, FedDF, which reached only 18.2%.
- Rapid Convergence: Due to high-quality initialization, FedAUX exhibits strong "one-shot" potential, reaching near-peak accuracy in just a few communication rounds.
- Model Agnostic: Because it relies on distillation rather than weight averaging, FedAUX allows clients to utilize different model architectures (e.g., ResNet vs. MobileNet) simultaneously.
Conclusion
FedAUX demonstrates that unlabeled auxiliary data is a powerful multi-tool for Federated Learning. By using it for both unsupervised pre-training and differentially private certainty scoring, FedAUX effectively mitigates the challenges of non-IID data, significantly closing the performance gap between distributed and centralized training.
Summary updated