[Paper Review] When the Curious Abandon Honesty: Federated Learning Is Not Private
This paper presents a novel, computationally efficient data reconstruction attack in federated learning where a malicious central party uses 'trap weights'—carefully manipulated model weights—to perfectly extract individual training data points from gradients. The attack works on large mini-batches, including those with only one class, and achieves near-perfect reconstruction (e.g., 50% on ImageNet, 65% on IMDB) with minimal detectability and no complex optimization.
In federated learning (FL), data does not leave personal devices when they are jointly training a machine learning model. Instead, these devices share gradients, parameters, or other model updates, with a central party (e.g., a company) coordinating the training. Because data never "leaves" personal devices, FL is often presented as privacy-preserving. Yet, recently it was shown that this protection is but a thin facade, as even a passive, honest-but-curious attacker observing gradients can reconstruct data of individual users contributing to the protocol. In this work, we show a novel data reconstruction attack which allows an active and dishonest central party to efficiently extract user data from the received gradients. While prior work on data reconstruction in FL relies on solving computationally expensive optimization problems or on making easily detectable modifications to the shared model's architecture or parameters, in our attack the central party makes inconspicuous changes to the shared model's weights before sending them out to the users. We call the modified weights of our attack trap weights. Our active attacker is able to recover user data perfectly, i.e., with zero error, even when this data stems from the same class. Recovery comes with near-zero costs: the attack requires no complex optimization objectives. Instead, our attacker exploits inherent data leakage from model gradients and simply amplifies this effect by maliciously altering the weights of the shared model through the trap weights. These specificities enable our attack to scale to fully-connected and convolutional deep neural networks trained with large mini-batches of data. For example, for the high-dimensional vision dataset ImageNet, we perfectly reconstruct more than 50% of the training data points from mini-batches as large as 100 data points.
Motivation & Objective
- To expose the fundamental privacy vulnerability in federated learning where data never leaves devices, despite claims of privacy preservation.
- To demonstrate that an active, dishonest central party can exploit model weight manipulation to extract private training data with perfect fidelity.
- To develop a method that enables efficient, scalable, and undetectable data reconstruction from gradients, even in large mini-batches and diverse architectures.
- To challenge the assumption that federated learning inherently protects user privacy, especially when the central party controls model weights.
- To advocate for the integration of dedicated privacy protections in FL, as vanilla FL offers no meaningful privacy guarantees.
Proposed method
- The attack uses 'trap weights'—adversarial weight modifications in the shared model—to amplify inherent data leakage in model gradients.
- Trap weights are created by re-scaling components of the model’s weight matrix, enabling precise control over gradient-based data reconstruction.
- The attack leverages the fact that gradients from large mini-batches in fully-connected and convolutional networks often contain memorized training data points.
- Reconstruction is performed via simple projection of gradients onto the input domain, avoiding complex optimization.
- The method is effective even when users perform multiple local training rounds (FedAvg), as it works on model updates, not just raw gradients.
- The attack is stealthy because the weight modifications are inconspicuous and do not alter model architecture or require detectable parameter changes.
Experimental results
Research questions
- RQ1Can a malicious central party in federated learning reconstruct private training data from gradients without complex optimization or detectable modifications?
- RQ2To what extent does data leakage in model gradients increase when the shared model weights are adversarially initialized?
- RQ3Can data reconstruction be achieved with perfect fidelity on large mini-batches, including those with only one class?
- RQ4How does the trap weights method scale across different model architectures, such as fully-connected and convolutional networks?
- RQ5What are the implications of weight manipulation for privacy in federated learning, and what defenses are necessary?
Key findings
- The attack achieves perfect reconstruction of training data points with zero error, even when all data in a mini-batch belongs to the same class.
- For the ImageNet dataset, over 50% of training data points in mini-batches of size 100 were reconstructed perfectly using the trap weights method.
- In textual tasks like IMDB sentiment analysis, more than 65% of data points in mini-batches of 100 were reconstructed with perfect fidelity.
- The attack is computationally efficient, requiring no complex optimization, and operates by projecting gradients onto the input domain.
- The method works on both raw gradients and model updates in FedAvg, demonstrating broad applicability across standard federated learning protocols.
- The attack is highly stealthy, as trap weight modifications are inconspicuous and do not alter model architecture or trigger detection mechanisms.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.