[Paper Review] Do Gradient Inversion Attacks Make Federated Learning Unsafe?
This paper investigates the practical risk of gradient inversion attacks in federated learning (FL) for medical imaging, demonstrating that such attacks are largely ineffective when Batch Normalization (BN) statistics are updated during training—common in real-world FL. It introduces a new baseline attack that works under these realistic conditions and proposes quantifiable metrics to measure data leakage, showing that standard privacy-preserving techniques like differential privacy effectively mitigate risks without severe accuracy loss.
Federated learning (FL) allows the collaborative training of AI models without needing to share raw data. This capability makes it especially interesting for healthcare applications where patient and data privacy is of utmost concern. However, recent works on the inversion of deep neural networks from model gradients raised concerns about the security of FL in preventing the leakage of training data. In this work, we show that these attacks presented in the literature are impractical in FL use-cases where the clients' training involves updating the Batch Normalization (BN) statistics and provide a new baseline attack that works for such scenarios. Furthermore, we present new ways to measure and visualize potential data leakage in FL. Our work is a step towards establishing reproducible methods of measuring data leakage in FL and could help determine the optimal tradeoffs between privacy-preserving techniques, such as differential privacy, and model accuracy based on quantifiable metrics. Code is available at https://nvidia.github.io/NVFlare/research/quantifying-data-leakage.
Motivation & Objective
- To assess the real-world feasibility of gradient inversion attacks in federated learning, particularly in healthcare applications where data privacy is critical.
- To investigate whether common FL practices—especially training with updated Batch Normalization (BN) statistics—render existing gradient inversion attacks ineffective.
- To develop reproducible, quantifiable methods for measuring and visualizing data leakage in FL systems.
- To evaluate the effectiveness of privacy-preserving techniques such as differential privacy (DP) and FedBN in mitigating gradient inversion risks.
- To establish a foundation for balancing privacy and model accuracy through measurable tradeoffs in FL deployments.
Proposed method
- The authors design a new gradient inversion attack that accounts for updated BN statistics during client-side training, making it applicable to realistic FL scenarios.
- They introduce a novel visualization and measurement framework using SSIM, IIP, and relative change metrics (RDLV) to quantify data leakage from reconstructed gradients.
- The study evaluates the impact of differential privacy (DP) by applying a calibrated Gaussian noise mechanism to model updates and compares it to DP-SGD.
- Experiments are conducted on medical image classification tasks using ResNet-18, with clients training in 'training mode' to update BN statistics.
- The framework evaluates both server-side and client-side gradient inversion under realistic conditions, including large batch sizes and multiple local epochs.
- The authors analyze reconstruction quality using deep feature embeddings and compare results across different attack and defense configurations.
Experimental results
Research questions
- RQ1To what extent do gradient inversion attacks succeed in realistic federated learning settings where Batch Normalization statistics are updated during training?
- RQ2How can data leakage from model gradients be quantitatively measured and visualized in practical FL deployments?
- RQ3What is the effectiveness of differential privacy and FedBN in mitigating gradient inversion attacks in real-world FL scenarios?
- RQ4Do common FL practices such as large batch sizes and multiple local training iterations inherently reduce the risk of gradient inversion?
- RQ5Can qualitative and quantitative metrics like SSIM, IIP, and RDLV reliably detect or rule out data leakage in reconstructed images?
Key findings
- Gradient inversion attacks fail in realistic FL settings where clients update Batch Normalization statistics during training, rendering previous attacks ineffective.
- The proposed baseline attack successfully recovers training data only when BN statistics are not updated, highlighting that BN update behavior is a critical factor in attack feasibility.
- The use of differential privacy with calibrated Gaussian noise significantly reduces data leakage, though higher noise levels lead to measurable degradation in model accuracy.
- DP-SGD provides stronger protection than simple DP, but at a higher cost to model performance, indicating a trade-off between privacy and utility.
- Reconstructed images with high SSIM but low IIP scores do not contain identifiable or semantically meaningful information, suggesting limited real data leakage despite high similarity metrics.
- The study identifies that current metrics like SSIM may be misleading; deep feature-based similarity measures offer more reliable evaluation of data leakage risk.
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.