Cronus: Robust and Heterogeneous Collaborative Learning with Black-Box Knowledge Transfer

Hongyan Chang, Virat Shejwalkar, Reza Shokri, Amir Houmansadr

TL;DR

This paper introduces Cronus, a novel federated learning framework that enhances robustness against poisoning attacks and supports heterogeneous model architectures. By leveraging knowledge transfer through model predictions instead of parameter sharing, Cronus significantly reduces information leakage and improves security and privacy.

What Problem Does This Paper Address?

Traditional federated learning (FL) allows multiple parties to collaboratively train a global model without sharing their raw data. However, this is typically achieved by sharing local model parameters, which presents several critical issues:

  • Privacy Leakage: Shared parameters can reveal sensitive information about the local training data, making it vulnerable to inference attacks.
  • Security Vulnerabilities: The high dimensionality of model parameters makes FL susceptible to poisoning attacks, where malicious participants can subtly alter the global model's behavior.
  • Architectural Limitations: Existing FL methods often require all participants to use models with identical architectures, limiting flexibility.

The authors argue that sharing high-dimensional parameters is a "naive" approach that exacerbates these problems, leading to a "curse of dimensionality" in FL security and privacy.

Methods

Cronus tackles these challenges by fundamentally changing how knowledge is exchanged between participants. Instead of sharing model parameters, Cronus utilizes knowledge transfer through model predictions on a public, unlabeled dataset.

Here's how it works:

  1. Black-Box Knowledge Transfer: Local models are treated as black boxes. Participants train their models on their private data.
  2. Prediction Sharing: After local training, each participant generates predictions (soft labels) for a shared public dataset using their local model. These predictions, rather than model parameters, are then shared with a central server.
  3. Robust Aggregation of Predictions: The server aggregates these predictions using a robust mean estimation algorithm (specifically, the one proposed by Diakonikolas et al. [17]). This aggregated knowledge is then used to update each participant's local model.
  4. Heterogeneous Support: Because knowledge is transferred via predictions, Cronus naturally supports participants using models with different architectures. The key is that all models agree on the output format (predictions on the public dataset).
  5. Reduced Dimensionality: By exchanging predictions (which have a dimensionality equal to the number of classes) instead of high-dimensional parameters, Cronus drastically reduces the "attack surface" for poisoning and inference attacks.

Datasets

The paper evaluates Cronus on several standard machine learning datasets:

  • SVHN: Street View House Numbers
  • MNIST: Modified National Institute of Standards and Technology database
  • Purchase: Shopping records dataset
  • CIFAR10: Canadian Institute for Advanced Research 10 dataset

Key Insights and Ideas

  • Parameter Sharing is the Root Cause: The paper strongly posits that the naive exchange of high-dimensional model parameters is the primary reason for the security and privacy vulnerabilities in federated learning.
  • Knowledge Transfer as a Solution: Shifting from parameter sharing to knowledge transfer via predictions is a powerful paradigm shift that addresses multiple FL limitations simultaneously.
  • Dimensionality Reduction is Key: Significantly reducing the dimensionality of exchanged information (from model parameters to predictions) is crucial for achieving tight robustness guarantees and mitigating privacy risks.
  • Heterogeneity is Achievable: Cronus demonstrates that collaborative learning doesn't require homogeneous model architectures, opening doors for more diverse participation.
  • Robustness and Privacy Synergy: The black-box nature of knowledge transfer not only enhances robustness against poisoning but also inherently limits information leakage, improving privacy.

Key Results

  • Robustness: Cronus is shown to be the only secure method against a wide range of poisoning attacks, maintaining near-perfect accuracy even under strong adversarial conditions. Existing FL algorithms, even robust ones, are shown to be vulnerable to specific attacks. For example, Cronus's accuracy reduction for the strongest attack was at most 0.4% for Purchase, 1.3% for SVHN, 1.5% for MNIST, and 4.8% for CIFAR10.
  • Privacy: Cronus significantly reduces the risk of membership inference attacks. For the Purchase dataset, attack accuracy against individual and aggregated updates dropped from 78.1%/80.1% (FedAvg) to 51.7%/51.9% (Cronus). Active attacks also showed negligible impact on Cronus.
  • Heterogeneity: Cronus effectively supports heterogeneous model architectures without compromising the accuracy of the global model or the individual participants.
  • Sample Complexity: Cronus achieves strong theoretical error guarantees with a significantly smaller number of parties compared to traditional FL, due to the reduced dimensionality of updates. Table II shows sample complexity ratios of 10^5 for FL over Cronus.

Limitations and Future Work

  • Public Dataset Requirement: Cronus requires a public, unlabeled dataset for knowledge transfer. The availability and representativeness of this dataset could influence performance.
  • Computational Overhead: While robustness is improved, the aggregation of predictions might introduce some computational overhead, though the paper suggests it's manageable.
  • Future Work: The paper suggests exploring more advanced knowledge transfer techniques and further investigating the interplay between privacy mechanisms and knowledge transfer in heterogeneous settings. The authors also highlight the need for designing DP algorithms with higher utility for federated learning.

Summary updated

BibTeX
@misc{chang2019cronus,
  author = {Hongyan Chang and Virat Shejwalkar and Reza Shokri and Amir Houmansadr},
  title = {{Cronus: Robust and Heterogeneous Collaborative Learning with Black-Box Knowledge Transfer}},
  year = {2019},
  eprint = {1912.11279},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1912.11279},
}
Figure