AI Security
New attack method uncovers privacy risks in federated learning systems
Researchers demonstrate how client training data can be reconstructed from model updates in federated learning, even when using the widely-deployed FedAvg protocol.
Federated learning, a distributed approach to training machine learning models where multiple parties collaborate without sharing raw data, faces a significant privacy vulnerability. New research reveals that attackers can recover sensitive client data by analyzing the model parameters exchanged during training—a threat that undermines the privacy guarantees of this emerging paradigm.
The Privacy Paradox in Federated Learning#
While federated learning is marketed as privacy-preserving by design, prior work has shown that data reconstruction attacks are feasible. However, these existing methods largely fail against horizontal federated averaging (FedAvg), the most commonly deployed variant in real-world systems. FedAvg is particularly challenging because clients perform multiple rounds of local training before sharing their aggregated model updates, obscuring the direct relationship between data and parameters.
How the New Attack Works#
Researchers propose an approximate and weighted attack (AWA) that overcome FedAvg's defenses through two innovations:
-
Interpolation-based approximation: The method reconstructs the intermediate model updates generated during each client's local training steps, effectively reversing the aggregation process and making the attack practical.
-
Layer-wise weighted loss function: By assigning different importance weights to updates from different neural network layers—informed by Bayesian optimization—the approach significantly improves the quality of recovered data across multiple evaluation metrics.
Implications for Deployed Systems#
The findings underscore a critical gap between federated learning's theoretical privacy promises and its practical security posture. Since FedAvg remains the standard protocol for real-world federated systems, the ability to reconstruct client training data from its outputs poses a direct threat to applications handling sensitive information, from healthcare records to financial data.
