Abstract
In federated learning (FL), robust aggregation schemes have been developed to protect against malicious clients. Many robust aggregation schemes rely on certain numbers of benign clients being present in a quorum of workers. This can be hard to guarantee when clients can join at will, or join based on factors such as idle system status, and connected to power and WiFi. We tackle the scenario of securing FL systems conducting adversarial training when a quorum of workers could be completely malicious. We model an attacker who poisons the model to insert a weakness into the adversarial training such that the model displays apparent adversarial robustness, while the attacker can exploit the inserted weakness to bypass the adversarial training and force the model to misclassify adversarial examples. We use abstract interpretation techniques to detect such stealthy attacks and block the corrupted model updates. We show that this defence can preserve adversarial robustness even against an adaptive attacker.
Introduction
Federated Learning (FL) allows multiple clients to train a shared model without sharing their raw data. While beneficial for privacy, it introduces significant security risks. Current "robust aggregation" techniques (like Krum or Median-based filters) typically rely on the assumption that a majority of clients in any given training round are honest.
However, in real-world systems where clients join at will, an attacker can easily "dominate a quorum," flooding a single training round with malicious updates. This paper focuses on a particularly insidious threat: stealthy model tampering. In this attack, a malicious client submits a model that appears robust to standard adversarial tests (like PGD) but harbors hidden vulnerabilities—often through techniques like "gradient masking" or "defensive distillation"—that the attacker can exploit later.
Methodology: Verification via Abstract Interpretation
To counter these stealthy attacks, the authors propose a Certified Defence that uses formal methods to verify the integrity of model updates.
Abstract Interpretation and DeepZono
Instead of testing a model with specific adversarial examples, which can be bypassed by clever attackers, the defender uses DeepZono. This technique propagates an "abstract element" (a zonotope representing a range of possible perturbations) through the neural network. This provides a mathematical guarantee that no adversarial example exists within a certain radius, effectively verifying the model's robustness "DNA."
Certifiable Loss as a Filter
The researchers found that "certified accuracy" is not sensitive enough to catch sophisticated attackers. They introduce a new metric based on certifiable loss (the worst-case loss within a perturbation ball). If a model update shows a massive spike in this loss compared to previous rounds, it is flagged as malicious and discarded.
The Adaptive Attacker
To stress-test the defense, the authors designed a "strong" adaptive attacker who knows the specific data points the defender uses for verification. The attacker attempts to "cheat" by optimizing the poisoned model to pass the certification test on those specific points while remaining weak elsewhere.
Key Results
The approach was evaluated on MNIST and CIFAR-10 benchmarks in a simulated FL environment with 500 clients, where 35% were malicious.
Detecting Non-Adaptive Attacks
For both MNIST and CIFAR-10, the "Certifiable Loss" metric proved to be a definitive indicator of poisoning. While poisoned models (Distilled or Backdoored) maintained high normal accuracy, their certifiable loss was orders of magnitude higher (e.g., $10^3$ to $10^8$) than that of a legitimately trained model.
Resisting Adaptive Attacks
On MNIST, the adaptive attacker could "cheat" when the defender only checked a few points. However, as the defender increased the certification set to 1,000 points, the attacker's performance tanked, and the model's actual robustness began to rise. This suggests a "cat and mouse" game where the defender can eventually out-compute the attacker.
Notably, the adaptive attack failed on CIFAR-10. The task's complexity made it impossible for the attacker to simultaneously maintain high accuracy, fake robustness, and hide a weakness.
Limitations and Future Work
While promising, the defense faces challenges:
- Computational Cost: Abstract interpretation is significantly slower than standard inference, limiting the number of points that can be checked in real-time.
- Model Capacity: Larger models might provide more "room" for attackers to hide weaknesses. Future work will test this defense on more complex architectures like ResNets or Transformers.
- Optimal Certification Set: Determining the minimum number of verification points required for guaranteed safety remains an open question.
Summary updated