Skip to main content
QUICK REVIEW

[论文解读] Gradient Leakage Defense with Key-Lock Module for Federated Learning

Hanchi Ren, Jingjing Deng|arXiv (Cornell University)|May 6, 2023
Privacy-Preserving Technologies in DataComputer Science被引用 3
一句话总结

该论文提出 FedKL,一种新颖的联邦学习梯度泄露防御方法,采用密钥-锁模块在传输前使用私钥对梯度进行加密。该方法在保持全局模型性能的同时,防止从共享梯度中重建出私有训练数据,在重建攻击中实现了高达 29,460% 的 MSE 提升以及 PSNR、LPIPS 和 SSIM 分数的显著下降。

ABSTRACT

Federated Learning (FL) is a widely adopted privacy-preserving machine learning approach where private data remains local, enabling secure computations and the exchange of local model gradients between local clients and third-party parameter servers. However, recent findings reveal that privacy may be compromised and sensitive information potentially recovered from shared gradients. In this study, we offer detailed analysis and a novel perspective on understanding the gradient leakage problem. These theoretical works lead to a new gradient leakage defense technique that secures arbitrary model architectures using a private key-lock module. Only the locked gradient is transmitted to the parameter server for global model aggregation. Our proposed learning method is resistant to gradient leakage attacks, and the key-lock module is designed and trained to ensure that, without the private information of the key-lock module: a) reconstructing private training data from the shared gradient is infeasible; and b) the global model's inference performance is significantly compromised. We discuss the theoretical underpinnings of why gradients can leak private information and provide theoretical proof of our method's effectiveness. We conducted extensive empirical evaluations with many models on several popular benchmarks, demonstrating the robustness of our proposed approach in both maintaining model performance and defending against gradient leakage attacks.

研究动机与目标

  • 解决联邦学习中梯度可能泄露敏感训练数据这一关键隐私威胁。
  • 克服现有防御方法在模型性能上造成损害或引入过高计算开销的局限性。
  • 开发一种通用、架构无关的防御机制,兼容任意深度神经网络。
  • 确保梯度共享不会使原始训练数据被重建,即使面对最先进的攻击。
  • 通过私钥机制在提供强隐私保障的同时,保持高全局模型推理准确率。

提出的方法

  • 引入密钥-锁模块,通过修改模型的前向和反向传播过程,将私钥信息嵌入梯度计算中。
  • 使用可学习的锁层,根据私钥序列动态调整缩放和偏移参数,从而在反向传播过程中扰乱信息流。
  • 端到端训练密钥-锁模块,使得只有在推理时使用正确私钥,梯度才具有语义意义。
  • 确保使用密钥-锁模块的模型梯度在语义和结构上与原始训练数据无关,即使在 iDLG、DLG 或 GGL 攻击下也成立。
  • 密钥-锁模块设计为无法从梯度中逆向工程出私钥,从而实现单向信息流。
  • 该方法兼容任意 DNN 架构,且无需修改联邦学习中的全局聚合过程。
Figure 1: Illustration of FedKL against gradient leakage: ① Clients feed private training data into the model and generate the true gradient; ② The attacker reconstructs private images from the shared gradient; ③ Clients feed private training data into the model with key-lock module. The attacker ca
Figure 1: Illustration of FedKL against gradient leakage: ① Clients feed private training data into the model and generate the true gradient; ② The attacker reconstructs private images from the shared gradient; ③ Clients feed private training data into the model with key-lock module. The attacker ca

实验结果

研究问题

  • RQ1在联邦学习中,梯度在多大程度上会泄露私有训练数据?其背后的理论机制是什么?
  • RQ2能否设计一种防御机制,既能有效抵御最先进的梯度反演攻击,又能保持高模型性能?
  • RQ3与密钥-锁模块的模型参数相比,私钥在梯度泄露防护中起到何种影响?
  • RQ4密钥-锁模块对 DLG、iDLG、GRNN 和 GGL 等梯度反演攻击的成功率有何量化影响?
  • RQ5密钥-锁模块是否可普遍应用于不同模型架构和数据集,而不会降低全局模型准确率?

主要发现

  • 在 LeNet 模型和 MNIST 数据集上,密钥-锁模块使 DLG 攻击的 MSE 提升 181.91%,从 49.97 上升至 140.87,表明重建保真度显著降低。
  • 当密钥-锁模块应用于 LeNet 模型时,GRNN 攻击的 MSE 提升了 29,460%,表明重建能力被极大削弱。
  • 使用密钥-锁模块后,各模型的 PSNR 分数从 35–50 下降至约 28,表明重建图像的视觉相似度下降。
  • 重建图像的 LPIPS 和 SSIM 分数显著降低——LPIPS 从 0.40 上升至 0.47(VGGNet),SSIM 从 0.231 下降至 0.180,证实语义和结构相似度降低。
  • 私钥比密钥-锁模块的参数更为关键,因为仅提供私钥即可成功重建,而仅提供参数则无法实现。
  • 密钥-锁模块保持了高全局模型准确率,推理性能无显著下降,证实其在真实联邦学习系统中的实际可行性。
Figure 2: The top is the illustration of general convolution-normalization block, while the bottom indicates a key-lock module embedded in the block for generating the parameters, $\gamma$ and $\beta$ .
Figure 2: The top is the illustration of general convolution-normalization block, while the bottom indicates a key-lock module embedded in the block for generating the parameters, $\gamma$ and $\beta$ .

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。