[Paper Review] Deep Leakage from Model in Federated Learning
This paper introduces two novel attack frameworks, Deep Leakage from Model (DLM) and DLM+, that recover private client training data in federated learning by exploiting only transmitted model weights and the loss function, without requiring gradient information or auxiliary parameters. The attacks achieve higher accuracy than existing gradient-based leakage methods, demonstrating that model weight transmission in FL is insecure, even in widely used FedAvg settings.
Distributed machine learning has been widely used in recent years to tackle the large and complex dataset problem. Therewith, the security of distributed learning has also drawn increasing attentions from both academia and industry. In this context, federated learning (FL) was developed as a "secure" distributed learning by maintaining private training data locally and only public model gradients are communicated between. However, to date, a variety of gradient leakage attacks have been proposed for this procedure and prove that it is insecure. For instance, a common drawback of these attacks is shared: they require too much auxiliary information such as model weights, optimizers, and some hyperparameters (e.g., learning rate), which are difficult to obtain in real situations. Moreover, many existing algorithms avoid transmitting model gradients in FL and turn to sending model weights, such as FedAvg, but few people consider its security breach. In this paper, we present two novel frameworks to demonstrate that transmitting model weights is also likely to leak private local data of clients, i.e., (DLM and DLM+), under the FL scenario. In addition, a number of experiments are performed to illustrate the effect and generality of our attack frameworks. At the end of this paper, we also introduce two defenses to the proposed attacks and evaluate their protection effects. Comprehensively, the proposed attack and defense schemes can be applied to the general distributed learning scenario as well, just with some appropriate customization.
Motivation & Objective
- To investigate whether model weights transmitted in federated learning can still leak private client data despite being considered more secure than gradients.
- To develop novel attack frameworks that recover private training data using only model parameters and loss functions, without requiring model gradients, optimizers, or hyperparameters.
- To evaluate the robustness of the proposed attacks under realistic FL settings, including non-IID data and multiple local iterations.
- To propose and assess practical defenses—differential privacy and model sparsification—against model parameter leakage in FL.
Proposed method
- Proposes a novel loss function in DLM that enables data reconstruction from model weights by leveraging the relationship between weights and the loss function, bypassing the need for gradients.
- Introduces DLM+, an enhanced version of DLM that improves reconstruction fidelity through a refined optimization strategy and additional regularization.
- Applies both frameworks to FedAvg, a standard FL algorithm, to demonstrate feasibility in real-world settings where only model weights are exchanged.
- Employs a gradient-free optimization process that iteratively generates synthetic inputs to match the observed model weights, using the loss function as a supervisory signal.
- Implements differential privacy by clipping and adding Gaussian or Laplacian noise to model weights before transmission to assess its protective effect.
- Applies model sparsification by pruning low-magnitude weights to reduce information leakage and evaluates its resistance to the attacks.
Experimental results
Research questions
- RQ1Can private training data be reconstructed from model weights alone in federated learning, without access to gradients or auxiliary parameters?
- RQ2How does the performance of the proposed DLM and DLM+ attacks compare to existing gradient-based leakage attacks like DLG and cosine similarity methods?
- RQ3What is the impact of local training iterations and optimizer choice on the success of model parameter leakage attacks?
- RQ4What are effective defense mechanisms against model parameter leakage, and what thresholds ensure adequate protection?
Key findings
- DLM and DLM+ achieve significantly higher PSNR and SSIM values than existing gradient leakage attacks, demonstrating superior reconstruction quality on both MLP and LeNet architectures.
- The attacks remain effective even under non-IID data distribution and multiple local training iterations, indicating strong robustness in realistic FL settings.
- Differential privacy with Gaussian noise strength of 1e-4 effectively disrupts the attacks, as higher noise levels (e.g., >1e-4) prevent accurate data recovery.
- Model sparsification with a rate above 50% effectively reduces leakage, but DLM+ shows poor resistance even at 1% sparsity, indicating limited defense efficacy.
- The proposed attacks successfully reconstruct identifiable training data even when model weights are sparsified up to 50%, highlighting the vulnerability of weight-based FL systems.
- The study reveals that model weight transmission in FL is fundamentally insecure, challenging the assumption that it is safer than gradient transmission.
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.