On the Byzantine-Resilience of Distillation-Based Federated Learning

Christophe Roux, Max Zimmer, Sebastian Pokutta

TL;DR

This paper demonstrates that distillation-based federated learning (FedDistill) is inherently more robust to malicious "Byzantine" clients than traditional parameter-sharing methods like FedAVG. The authors introduce two novel targeted attacks (LMA and CPA) that can break standard distillation defenses and propose ExpGuard, a powerful new defense mechanism that leverages historical client behavior to maintain high model accuracy even when nearly half the network is adversarial.

What Problem Does This Paper Address?

Federated Learning (FL) allows multiple parties to train a shared model without ever exchanging their private raw data. However, standard FL algorithms like Federated Averaging (FedAVG) are notoriously fragile in the presence of Byzantine clients—malicious actors who send corrupted updates to the central server to derail the learning process. Because FedAVG involves sharing high-dimensional, unbounded model parameters, a single malicious client can theoretically send a "weight explosion" that destroys the global model.

A newer alternative, Knowledge Distillation-based FL (like FedDistill), has clients share their predictions on a public dataset instead of their model weights. While this was known to improve privacy and communication efficiency, its security properties were largely unexplored. This paper investigates whether FedDistill is truly safer and how an adversary might specifically target it.

Methods

The authors analyze a prototypical algorithm called FedDistill. In this setup, the server sends a model to clients, clients train locally, and then they send back "soft labels" (probability distributions) for a public, unlabeled dataset. The server then aggregates these predictions to update its own model.

To test this system, the authors introduce:

  • Loss Maximization Attack (LMA): Malicious clients calculate which predictions would maximize the server's training loss, effectively "steering" the model away from the correct solution.
  • Class Prior Attack (CPA): A more sophisticated attack where adversaries use class similarity information to provide the most misleading predictions possible (e.g., predicting "dog" when the honest consensus is "cat" because they are visually similar and thus harder for a defense to distinguish).
  • ExpGuard: A novel defense that assigns an "outlier score" to each client in every round. It uses an exponential weights algorithm to track these scores over time, gradually reducing the influence of clients who consistently behave like outliers.
  • Hiding In Plain Sight (HIPS): A framework for adversaries to obfuscate their attacks by constraining malicious predictions to stay within the range of honest ones, making them harder for defenses like ExpGuard to detect.

Datasets

The researchers evaluated their methods on four standard image classification benchmarks:

  • CIFAR-10 / CIFAR-100: Standard benchmarks for small-scale image recognition.
  • CINIC-10: A dataset designed to be a more challenging alternative to CIFAR-10.
  • Clothing1M: A large-scale dataset containing 1 million images of clothing with noisy labels, used to test performance in more realistic, "messy" scenarios.

Key Insights and Ideas

  • Inherent Resilience: FedDistill is naturally more robust than FedAVG because predictions are bounded (they must sum to 1) and low-dimensional. As shown in Figure 1, FedAVG collapses with just 10% malicious clients, whereas FedDistill remains stable even at 45%.
Figure 1: ResNet-18 on CINIC-10: Final test accuracy of FedAVG and FedDistill, varying the fraction of byzantine clients for two naive attacks.
  • Indirect Influence: In FedAVG, attackers directly manipulate the model's "brain" (parameters). In FedDistill, they can only influence the model indirectly through the distillation objective, which acts as a natural filter.
  • The Power of History: Most existing defenses look at each communication round in isolation. The authors found that tracking client behavior across multiple rounds (the core of ExpGuard) is far more effective at identifying sophisticated attackers who try to blend in.
  • Attack Procedures: The LMA and CPA attacks provide a new baseline for testing the security of distillation-based systems, moving beyond simple "label flipping" heuristics.
Figure 2: Attack procedures for a three-class classification problem with four honest and three byzantine clients, i.e., α = 3/7. The left part of the figure shows the computation of the honest mean. LMA (upper right) assigns probability one to the least likely class based on the honest mean ¯YH and CPA (lower right) assigns probability one to the class that is least similar to the most likely class of

Key Results

  • Defense Superiority: ExpGuard (specifically the EG+F variant) consistently outperformed existing state-of-the-art defenses like Cronus and Geometric Median. On CIFAR-10 with 45% Byzantine clients, ExpGuard maintained ~85% accuracy, while simple mean aggregation dropped to ~68% under the CPA attack.
  • Theoretical Guarantee: The authors provide a theoretical proof showing that the error introduced by Byzantine clients in FedDistill scales linearly with the fraction of malicious clients ($\alpha$), explaining why the system doesn't "explode" like FedAVG.
  • Obfuscation Trade-off: While the HIPS framework makes attacks harder to detect, it also limits their destructive power. This creates a "cat and mouse" game where the best defense is one that minimizes the worst-case impact of these stealthy attacks.

Limitations and Future Work

  • Public Data Requirement: FedDistill relies on the availability of a relevant, unlabeled public dataset. If the public data is too different from the clients' private data, performance drops significantly.
  • Classification Focus: The current study is restricted to classification tasks. Future work could explore how these Byzantine dynamics play out in regression or generative tasks.
  • Non-I.I.D. Data: While the paper touches on heterogeneous data, the authors note that distinguishing between a "malicious" update and a "unique but honest" update remains a major challenge in real-world federated settings.

Summary updated

BibTeX
@inproceedings{roux2025byzantine,
  author = {Christophe Roux and Max Zimmer and Sebastian Pokutta},
  title = {{On the Byzantine-Resilience of Distillation-Based Federated Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=of6EuHT7de},
}
Figure