FedAUX: Leveraging Unlabeled Auxiliary Data in Federated Learning

Felix Sattler, Tim Korjakow, Roman Rischke, Wojciech Samek

Federated Learning (FL) has a "non-IID" problem. When data is distributed across thousands of devices, it rarely looks the same everywhere. One user might only take photos of cats, while another only takes photos of cars. This statistical heterogeneity—where data is not "Identically and Independently Distributed"—causes standard algorithms like FedAvg to stumble, often leading to poor model accuracy and unstable training.

A recent paper titled "FedAUX: Leveraging Unlabeled Auxiliary Data in Federated Learning" proposes a clever way to bridge this gap by squeezing every bit of utility out of a resource often overlooked: unlabeled auxiliary data.

TL;DR

FedAUX significantly boosts Federated Learning performance on heterogeneous data by using unlabeled auxiliary sets for two purposes: unsupervised pre-training for better model initialization and a differentially private "certainty scoring" mechanism to weight client contributions during distillation. In extreme non-IID scenarios, it can skyrocket accuracy from ~18% to over 78% compared to previous state-of-the-art distillation methods.

What Problem Does This Paper Address?

The core challenge in FL is training a global model without ever seeing the clients' private data. While Federated Distillation (FD) has emerged as a powerful alternative to parameter-averaging (like FedAvg), it still struggles when client data is highly skewed.

In FD, clients don't send their model weights; they send their predictions on a public, unlabeled "auxiliary" dataset. The server then aggregates these predictions to train a global student model. However, existing FD methods treat all client predictions as equally important. If a "cat-expert" client is forced to predict on a picture of a car from the auxiliary set, their low-certainty prediction carries the same weight as a "car-expert" client, effectively "poisoning" the global model with noise.

Methods

FedAUX introduces a two-phase approach to maximize the utility of auxiliary data:

  1. Preparation Phase (The "AUX" in FedAUX):
    • Unsupervised Pre-training: Before the main FL loop begins, the server uses the unlabeled auxiliary data to pre-train a feature extractor (using techniques like contrastive learning). This provides a much better starting point for clients than random initialization.
  2. Certainty Scoring: Each client trains a simple logistic regression "scoring head" to distinguish their local private data from the auxiliary data.
  3. Privacy-Preserving Sanitation: To prevent the server from learning too much about a client's local data distribution through these scores, FedAUX applies $(\epsilon, \delta)$-differential privacy to the scoring models.
  4. Training Phase:
    • During each round, clients train their models locally.
  5. When sending predictions back to the server, these predictions are weighted by the certainty scores. The server trusts the "cat-expert" more when the auxiliary image looks like a cat and trusts the "car-expert" more when it looks like a car.
  6. The server then performs Weighted Ensemble Distillation to update the global model.

Datasets

The authors evaluated FedAUX across both computer vision and natural language processing (NLP) tasks:

  • Image Classification: CIFAR-10 and CIFAR-100 were used as private client data. Auxiliary data included STL-10, SVHN, and various structured subsets of ImageNet (e.g., Birds, Dogs, Devices).
  • NLP Tasks: AG-NEWS and the Multilingual Amazon Reviews Corpus served as private data, with BookCorpus used as the auxiliary set.
  • Models: ResNet-8, MobileNetv2, ShuffleNet, and TinyBERT.

Key Insights and Ideas

  • Auxiliary Data is a Multi-Tool: Most FD papers use auxiliary data only for the final distillation step. FedAUX shows it is equally valuable for finding a robust feature representation before training starts.
  • Weighting Matters: In non-IID settings, the "mean" prediction is a poor representation of the truth. By weighting predictions based on how similar the auxiliary sample is to the client's local data, the server can reconstruct a much more accurate global "teacher."
  • One-Shot Potential: Because of the high-quality initialization and smart weighting, FedAUX performs remarkably well even in "one-shot" scenarios (where clients only participate in a single communication round), reaching 95% of its final accuracy almost immediately.

Key Results

  • Massive Accuracy Gains: On CIFAR-10 with extreme data heterogeneity ($\alpha = 0.01$), FedAUX achieved 78.1% accuracy, while the previous state-of-the-art distillation method (FedDF) lagged at 18.2%.
  • Closing the Gap: FedAUX brings FL performance much closer to "centralized" training (where all data is in one place), which is often considered the upper bound of performance.
  • Architecture Agnostic: The method works even when different clients are running different model architectures (e.g., some on ResNet, some on ShuffleNet), a major advantage over parameter-averaging methods.

Limitations and Future Work

  • Scoring Accuracy: The authors noted that in complex settings with many classes (like CIFAR-100), the simple logistic scoring head might not perfectly capture client certainty. They suggest that more sophisticated scoring mechanisms could be a fruitful area for future research.
  • Auxiliary Data Dependency: While FedAUX is robust to "out-of-distribution" auxiliary data (e.g., using SVHN house numbers to help train on CIFAR-10 objects), it still requires some auxiliary data to be available at the server, which might not be possible in every niche domain.
  • Privacy-Utility Tradeoff: While the scoring is differentially private, there is always a slight performance hit when increasing privacy guarantees. Future work could explore encryption-based techniques for secure aggregation to mitigate this.

Summary updated

Abstract

Federated distillation (FD) is a popular novel algorithmic paradigm for Federated learning (FL), 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 the 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 suitable 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 (CNNs) and transformer models demonstrate that our proposed method achieves remarkable performance improvements over state-of-the-art FL methods, without adding appreciable computation, communication, or privacy cost. For instance, when training ResNet8 on non-independent identically distributed (i.i.d.) subsets of CIFAR10, FedAUX raises the maximum achieved validation accuracy from 30.4% to 78.1%, further closing the gap to centralized training performance. Code is available at https://github.com/fedl-repo/fedaux .
BibTeX
@article{sattler2023fedaux,
  author = {Felix Sattler and Tim Korjakow and Roman Rischke and Wojciech Samek},
  title = {{FedAUX: Leveraging Unlabeled Auxiliary Data in Federated Learning}},
  journal = {IEEE Trans. Neural Networks Learn. Syst.},
  year = {2023},
  url = {https://openreview.net/forum?id=jjRhoSrASz},
}

Loading related content...

Figure