[Paper Review] User Label Leakage from Gradients in Federated Learning.
This paper proposes Label Leakage from Gradients (LLG), a novel attack that extracts user label information from shared model gradients in federated learning by analyzing gradient direction and magnitude. The attack achieves high label recovery accuracy early in training, demonstrating that gradient sharing leaks sensitive label data despite federated learning's privacy assumptions.
Federated learning enables multiple users to build a joint model by sharing their model updates (gradients), while their raw data remains local on their devices. In contrast to the common belief that this provides privacy benefits, we here add to the very recent results on privacy risks when sharing gradients. Specifically, we propose Label Leakage from Gradients (LLG), a novel attack to extract the labels of the users' training data from their shared gradients. The attack exploits the direction and magnitude of gradients to determine the presence or absence of any label. LLG is simple yet effective, capable of leaking potential sensitive information represented by labels, and scales well to arbitrary batch sizes and multiple classes. We empirically and mathematically demonstrate the validity of our attack under different settings. Moreover, empirical results show that LLG successfully extracts labels with high accuracy at the early stages of model training. We also discuss different defense mechanisms against such leakage. Our findings suggest that gradient compression is a practical technique to prevent our attack.
Motivation & Objective
- To investigate whether shared gradients in federated learning can leak sensitive label information from users' local data.
- To challenge the common assumption that gradient sharing preserves user privacy in federated learning.
- To develop a practical and scalable method for label reconstruction from gradients.
- To evaluate the effectiveness of the attack under various training conditions and model architectures.
- To explore defense mechanisms, particularly gradient compression, to mitigate label leakage.
Proposed method
- LLG analyzes the direction and magnitude of gradients to infer the presence or absence of specific labels in a user's training data.
- The attack uses statistical patterns in gradient updates across multiple training steps to reconstruct label distributions.
- It operates without requiring access to raw data or model parameters, relying solely on shared gradients.
- The method is designed to scale efficiently to arbitrary batch sizes and multi-class classification tasks.
- Mathematical analysis and empirical evaluation are used to validate the attack’s feasibility and accuracy.
- Gradient compression is evaluated as a defense mechanism to reduce the information leakage in gradients.
Experimental results
Research questions
- RQ1Can label information be reconstructed from shared gradients in federated learning?
- RQ2How accurate is the label leakage attack at different stages of model training?
- RQ3Does the attack scale to large batch sizes and multi-class settings?
- RQ4What are the key gradient properties that enable label leakage?
- RQ5Can gradient compression effectively prevent label leakage without harming model performance?
Key findings
- LLG successfully extracts labels with high accuracy during the early stages of federated model training.
- The attack leverages gradient direction and magnitude to infer label presence, even without access to raw data.
- Label leakage occurs despite federated learning's design goal of preserving data privacy.
- The attack is effective across different batch sizes and multi-class classification tasks.
- Gradient compression is shown to be a practical and effective defense mechanism against LLG.
- Mathematical and empirical analyses confirm the robustness and scalability of the label leakage attack.
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.