[Paper Review] Towards General Deep Leakage in Federated Learning
This paper proposes a novel, robust deep leakage attack in federated learning that reconstructs training images and labels from shared gradients (FedSGD) or model weights (FedAvg), even when batches contain duplicate labels—overcoming a key limitation of prior work. It introduces a zero-shot label recovery method and regularization techniques that improve image quality and consistency, achieving state-of-the-art performance on CIFAR-10 and ImageNet with high fidelity even under large batch sizes and repeated labels.
Unlike traditional central training, federated learning (FL) improves the performance of the global model by sharing and aggregating local models rather than local data to protect the users' privacy. Although this training approach appears secure, some research has demonstrated that an attacker can still recover private data based on the shared gradient information. This on-the-fly reconstruction attack deserves to be studied in depth because it can occur at any stage of training, whether at the beginning or at the end of model training; no relevant dataset is required and no additional models need to be trained. We break through some unrealistic assumptions and limitations to apply this reconstruction attack in a broader range of scenarios. We propose methods that can reconstruct the training data from shared gradients or weights, corresponding to the FedSGD and FedAvg usage scenarios, respectively. We propose a zero-shot approach to restore labels even if there are duplicate labels in the batch. We study the relationship between the label and image restoration. We find that image restoration fails even if there is only one incorrectly inferred label in the batch; we also find that when batch images have the same label, the corresponding image is restored as a fusion of that class of images. Our approaches are evaluated on classic image benchmarks, including CIFAR-10 and ImageNet. The batch size, image quality, and the adaptability of the label distribution of our approach exceed those of GradInversion, the state-of-the-art.
Motivation & Objective
- To address the critical privacy vulnerability in federated learning where attackers can reconstruct private training data from shared model updates.
- To overcome the limitation of prior reconstruction attacks that fail when batches contain duplicate labels.
- To develop a method that restores both images and labels from shared gradients (FedSGD) and model weights (FedAvg), even after multiple local training epochs.
- To improve image reconstruction quality by introducing image initialization and regularization terms, and to evaluate alignment between recovered images and labels.
- To demonstrate that label misinference severely degrades image recovery, and that same-class images are fused in reconstruction.
Proposed method
- Proposes a zero-shot label recovery method that does not require prior knowledge of label distribution or class counts, enabling robust inference even with repeated labels.
- Introduces a novel image initialization strategy and two regularization terms (total variation and label-aware consistency) to enhance image reconstruction fidelity.
- Designs a framework that leverages multiple gradient or weight updates from the same batch to improve image recovery quality through iterative optimization.
- Employs a joint optimization process that simultaneously refines image and label predictions, modeling their interdependence to improve overall reconstruction accuracy.
- Uses a similarity alignment metric based on image and label consistency to evaluate the quality of recovered data, ensuring realistic and semantically coherent outputs.
- Applies the method to both FedSGD (gradient sharing) and FedAvg (weight sharing) scenarios, demonstrating generalization across common FL training protocols.
Experimental results
Research questions
- RQ1Can deep leakage attacks reconstruct training data from shared gradients or weights in federated learning when batch labels are not unique?
- RQ2How does label misinference affect the quality of image reconstruction in federated learning attacks?
- RQ3Can image reconstruction be improved by leveraging multiple updates from the same batch data?
- RQ4What impact does label distribution (e.g., repeated labels) have on the success of image and label recovery?
- RQ5How does the fusion of same-class images in reconstruction affect the realism and semantic accuracy of recovered samples?
Key findings
- The proposed method achieves 99.60% label recovery accuracy on ImageNet with batch size 16, even when labels are repeated up to 8 times, while GradInversion degrades to 49.39% under the same conditions.
- Image reconstruction quality remains high even with duplicate labels: MSE drops from 0.199 (GradInversion) to 0.018 (ours) when one label is repeated, and PSNR increases from 10.639 to 19.122.
- When all images in a batch share the same label, the method reconstructs a fused image resembling the class prototype, demonstrating class-level semantic consistency.
- The method successfully recovers images from model weights after multiple local epochs (up to 16), whereas prior work like InvertingGradients only works when batch size and local epochs are 1.
- Image reconstruction quality improves with multiple updates from the same batch, and the method maintains high performance across large batch sizes (up to 256) and diverse class distributions.
- The study empirically confirms that image restoration fails if even one label is incorrectly inferred, highlighting the strong interdependence between label and image recovery.
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.