[Paper Review] Fishing for User Data in Large-Batch Federated Learning via Gradient Magnification
This paper introduces a model-agnostic gradient magnification attack that enables privacy breaches in large-batch federated learning by manipulating server updates to isolate and extract individual user data points. The method works without architectural changes, only modifying model parameters sent to users, and achieves high-fidelity data reconstruction even at batch sizes up to 256, demonstrating a critical privacy vulnerability in cross-device and cross-silo settings.
Federated learning (FL) has rapidly risen in popularity due to its promise of privacy and efficiency. Previous works have exposed privacy vulnerabilities in the FL pipeline by recovering user data from gradient updates. However, existing attacks fail to address realistic settings because they either 1) require toy settings with very small batch sizes, or 2) require unrealistic and conspicuous architecture modifications. We introduce a new strategy that dramatically elevates existing attacks to operate on batches of arbitrarily large size, and without architectural modifications. Our model-agnostic strategy only requires modifications to the model parameters sent to the user, which is a realistic threat model in many scenarios. We demonstrate the strategy in challenging large-scale settings, obtaining high-fidelity data extraction in both cross-device and cross-silo federated learning.
Motivation & Objective
- To address the gap in existing federated learning privacy attacks that fail on large batch sizes or require unrealistic architectural modifications.
- To investigate the threat model of untrusted server updates, where the server sends maliciously crafted model parameters to users.
- To develop a practical, model-agnostic attack that enables high-fidelity data extraction from arbitrarily large batches without modifying the client model.
- To demonstrate the feasibility and effectiveness of the attack in both cross-device and cross-silo federated learning scenarios.
- To highlight the disparate impact of privacy attacks, showing that outliers and underrepresented data points are more vulnerable.
Proposed method
- The attack manipulates the server's model update to amplify the gradient contribution of a target data point while suppressing contributions from other data points in the batch.
- It uses a parameter vector that is carefully designed to make the target example dominate the gradient update, enabling it to be isolated during inversion.
- The method is model-agnostic and only requires modifying the model parameters sent to the user, not the model architecture or training process.
- It leverages existing optimization-based and analytic inversion techniques (e.g., APRIL) by enabling them to work on large-batch gradients through gradient magnification.
- The attack is applied in both cross-device and cross-silo settings, with experiments on image classification using ViT and CNNs.
- It enables recovery of individual data points from batches of size 256, where prior methods fail due to gradient mixing.
Experimental results
Research questions
- RQ1Can gradient inversion attacks be scaled to work on arbitrarily large batch sizes in federated learning without architectural modifications?
- RQ2Is it possible to extract individual data points from large-batch gradients using only modifications to the server's model update?
- RQ3How effective is the proposed gradient magnification strategy in both cross-device and cross-silo federated learning settings?
- RQ4What is the impact of the attack on data points with extreme feature values, and does it exhibit disparate impact on underrepresented groups?
- RQ5Can standard aggregation defenses, such as median aggregation, effectively mitigate this attack?
Key findings
- The proposed fishing attack successfully recovers high-fidelity images from batch sizes as large as 256, achieving a Max-RPSNR of 21.481 on ImageNet with ViT-Small.
- In contrast, the original APRIL attack fails at batch size 2, dropping to a Max-RPSNR of 8.422, demonstrating the critical limitation of prior methods.
- The attack remains effective across both cross-device and cross-silo settings, showing broad applicability in realistic federated learning scenarios.
- Outlier data points with extreme feature values are recovered in significantly fewer queries (log(n)) compared to median features (n log(n)), revealing a disparate impact on privacy.
- Standard aggregation defenses like mean or median aggregation are insufficient to prevent the attack, as the malicious parameter design can still dominate the gradient update.
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.