On the Byzantine-Resilience of Distillation-Based Federated Learning

Christophe Roux, Max Zimmer, Sebastian Pokutta

TL;DR

This paper demonstrates that Federated Learning based on Knowledge Distillation (FedDistill) is inherently more robust against malicious "Byzantine" clients than standard parameter-averaging methods. The authors introduce two potent new attacks (LMA and CPA) to test these limits, a novel defense called ExpGuard that tracks client reliability over time, and an obfuscation framework (HIPS) that makes attacks nearly invisible to defenders.

The Vulnerability of Standard Federated Learning

In standard Federated Learning (FL)—specifically the popular FedAvg algorithm—clients train models locally and send their updated parameters (weights) to a central server. While highly efficient, this method is dangerously fragile. A single "Byzantine" client (one that is malicious or faulty) can send massive, arbitrary values to the server, effectively poisoning the global model and crashing its accuracy.

A newer alternative, FedDistill, has clients share predictions on a public, unlabeled dataset instead of their internal model weights. Originally designed to improve privacy and reduce communication costs, its security properties weren't fully understood. This paper investigates whether this prediction-sharing approach is naturally more secure and explores how an adversary might attempt to break it.

Methods: Testing and Defending FedDistill

The researchers break their contribution into three main areas: theoretical analysis of FedDistill's robustness, the design of new attacks, and the development of a novel defense mechanism.

1. Theoretical Analysis: The Simplex Shield

The authors prove that FedDistill is more resilient because its "threat vector" is strictly bounded. Unlike FedAvg, where an attacker can send infinitely large weight values, FedDistill attackers are confined to the probability simplex (values between 0 and 1 that sum to 1). Furthermore, malicious clients can only influence the server model indirectly through a distillation loss function, acting as unreliable "teachers" rather than directly altering the "student" model's brain.

2. New Byzantine Attacks

To test the limits of FedDistill, the authors introduce two new attacks:

  • Loss Maximization Attack (LMA): Malicious clients calculate which predictions would cause the highest possible loss for the server and send those exact predictions.
  • Class Prior Attack (CPA): A more intelligent attack where clients use class relationships (e.g., knowing a "dog" is visually more similar to a "cat" than a "ship") to send the most misleading possible wrong labels.
Diagram illustrating the Honest Mean aggregation alongside the proposed LMA and CPA attack strategies.

3. A Novel Defense: ExpGuard

Most existing defenses evaluate each communication round in isolation. ExpGuard is a meta-algorithm that computes "outlier scores" for clients and uses an exponential weights algorithm to gradually mute clients who consistently behave suspiciously over many rounds. By keeping a reputation score, ExpGuard identifies subtle, long-term malicious patterns that might look like random noise in a single round.

4. Obfuscation: Hiding In Plain Sight (HIPS)

To further challenge defenses, the authors introduce the HIPS framework. HIPS constrains malicious predictions to stay within the normal range of what honest clients are predicting. This makes the attack much harder to detect, bypassing stateless defenses even if it is slightly less damaging per round.

Key Results

The authors evaluated their methods using standard computer vision benchmarks (CIFAR-10, CIFAR-100, CINIC-10, and Clothing1M) across various architectures (ResNet-18, WideResNet-28, ResNet-50).

  • Inherent Robustness: In a scenario with 45% Byzantine clients, standard FedAvg collapses completely (near 0% accuracy) under simple noise attacks. FedDistill, even without any special defenses, maintains remarkably high accuracy.
Test accuracy of FedDistill vs. FedAvg under increasing Byzantine fractions.
  • Attack Effectiveness: The new LMA and CPA attacks proved significantly more damaging than standard label-flipping attacks. On CIFAR-10, LMA dropped vanilla FedDistill accuracy from ~87% to ~73%, while CPA dropped it further to ~68%.
  • ExpGuard Superiority: ExpGuard consistently outperformed state-of-the-art defenses like Cronus. In many tests, it restored model performance to within 1-2% of the "honest-only" baseline, even when nearly half the network was malicious.
  • HIPS Effectiveness: When HIPS was used to hide attacks, existing defenses like Cronus and Geometric Median became almost useless. However, ExpGuard's memory-based approach still provided a meaningful safety net.

Limitations and Future Work

While highly promising, FedDistill and ExpGuard have limitations:

  • Public Data Requirement: FedDistill requires a public, unlabeled dataset that is somewhat similar to the private data. Severe domain shift between public and private data degrades overall performance.
  • Classification Focus: The study is currently limited to classification tasks. Translating these attacks and defenses to regression or generative models remains an open question.
  • Identity Consistency: ExpGuard assumes the server can track client identities across rounds. It does not account for Sybil attacks, where a single attacker creates many fake identities to overwhelm the reputation system.

Ultimately, by shifting the language of Federated Learning from raw parameters to distilled predictions, this research suggests we can build AI systems that are not only more private but significantly harder to sabotage.

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