Abstract
Federated Learning (FL) has garnered widespread adoption across various domains such as finance, healthcare, and cybersecurity. Nonetheless, FL remains under significant threat from backdoor attacks, wherein malicious actors insert triggers into trained models, enabling them to perform certain tasks while still meeting FL's primary objectives. In response, robust aggregation methods have been proposed, which can be divided into three types: ex-ante, ex-durante, and ex-post methods. Given the complementary nature of these methods, combining all three types is promising yet unexplored. Such a combination is non-trivial because it requires leveraging their advantages while overcoming their disadvantages. Our study proposes a novel whole-process certifiably robust aggregation (WPCRA) method for FL, which enhances robustness against backdoor attacks across three phases: ex-ante, ex-durante, and ex-post. Moreover, since the current geometric median estimation method fails to consider differences among clients, we propose a novel weighted geometric median estimation algorithm (WGME). This algorithm estimates the geometric median of model updates from clients based on each client's weight, further improving the robustness of WPCRA against backdoor attacks. We also theoretically prove that WPCRA offers improved certified robustness guarantees with a larger certified radius. We evaluate the advantages of our methods based on the task of loan status prediction. Comparison with baselines shows that our methods significantly improve FL's robustness against backdoor attacks. This study contributes to the literature with a novel WPCRA method and a novel WGME algorithm. Our code is available at https://github.com/brick-brick/WPCRAM.
Introduction
Federated Learning (FL) allows multiple parties to train a shared model without exchanging raw, sensitive data. While this architecture preserves privacy, it is highly vulnerable to backdoor attacks. In these scenarios, a malicious participant injects "triggers" into their local training data—for example, causing a loan approval model to always predict "Approved" if a specific, rare condition is met. While the model appears to function normally for standard users, it contains a hidden exploit.
Existing defenses are typically fragmented into three phases: ex-ante (filtering actors), ex-durante (robust aggregation), and ex-post (noise injection). This paper introduces WPCRA (Whole-Process Certifiably Robust Aggregation), the first framework to integrate all three phases into a unified, synergistic defense that provides significantly stronger theoretical security guarantees and better model accuracy than existing state-of-the-art defenses.
Methodology: The WPCRA Framework
WPCRA operates through a multi-stage pipeline designed to identify, weight, and neutralize malicious updates while preserving the contributions of honest clients.
The process involves five key steps:
- Similarity & Pardoning (Ex-ante): The server calculates similarity scores between client updates. To avoid penalizing benign clients with unique data (non-IID scenarios), a "Pardoning" mechanism adjusts these scores to focus exclusively on extreme outliers.
- Logit Transformation: A logit function is applied to the client weights to "sharpen" the distinction between trustworthy and suspicious updates, effectively silencing potential attackers.
- Weighted Geometric Median Estimation (WGME) (Ex-durante): A core innovation of this work, WGME replaces standard geometric median estimation. Unlike traditional methods that treat all clients equally, WGME incorporates the weights derived in the ex-ante phase, allowing the robust aggregation to prioritize updates from verified honest clients.
- Clipping & Perturbing (Ex-post): Finally, the model parameters are clipped and Gaussian noise is added. This step provides Certified Robustness, offering a mathematical proof that the model's output remains stable unless the attacker's influence exceeds a specific "certified radius."
Experimental Setup
The researchers evaluated WPCRA using the Lending Club LOAN Data, a dataset of 2.2 million loan applications. The data was distributed among 51 clients representing different U.S. states to simulate a realistic, non-IID federated environment. The primary task was multi-class logistic regression for loan status prediction. The attack scenario involved a "model-replacement" backdoor, where attackers attempt to dominate the global model with scaled-up malicious updates.
Key Results and Insights
The "whole-process" approach demonstrated significant advantages over major baselines such as RFA, Krum, and CRFL:
- Superior Certified Robustness: WPCRA achieved a certified radius of 3.5299, vastly outperforming the next best baseline (0.2301). This indicates the model is mathematically guaranteed to resist much stronger attacks.
- High Detection Accuracy: The method achieved a False Negative Rate (FNR) of 0 in most test cases, perfectly identifying malicious clients where other methods allowed up to 75% of attackers to go undetected.
- Preserved Utility: Unlike many robust methods that sacrifice accuracy for security, WPCRA maintained high test accuracy (approx. 76-78%), proving that the synergy between phases allows for effective defense without destroying model performance.
Conclusion and Future Work
WPCRA demonstrates that a holistic approach to robust aggregation is more effective than fragmented defenses. By bridging the gap between heuristic filtering and formal robust statistics via WGME, the framework provides both high utility and strong security guarantees.
Future research directions include investigating how complex neural network architectures (e.g., CNNs or Transformers) interact with the WPCRA framework and extending the "whole-process" philosophy to defend against other privacy and security threats, such as gradient leakage or membership inference attacks.
Summary updated