[论文解读] Bayesian Framework for Gradient Leakage
本文提出一种贝叶斯框架,用于形式化联邦学习中的梯度泄露问题,将最优敌手建模为利用输入与梯度联合分布的贝叶斯最优优化问题。实验表明,现有攻击方法仅为该最优敌手的近似,且验证了贝叶斯最优敌手在应用防御机制时仍优于先前方法,揭示了当前启发式防御在训练初期极为脆弱。
Federated learning is an established method for training machine learning models without sharing training data. However, recent work has shown that it cannot guarantee data privacy as shared gradients can still leak sensitive information. To formalize the problem of gradient leakage, we propose a theoretical framework that enables, for the first time, analysis of the Bayes optimal adversary phrased as an optimization problem. We demonstrate that existing leakage attacks can be seen as approximations of this optimal adversary with different assumptions on the probability distributions of the input data and gradients. Our experiments confirm the effectiveness of the Bayes optimal adversary when it has knowledge of the underlying distribution. Further, our experimental evaluation shows that several existing heuristic defenses are not effective against stronger attacks, especially early in the training process. Thus, our findings indicate that the construction of more effective defenses and their evaluation remains an open problem.
研究动机与目标
- 将梯度泄露形式化为贝叶斯推断问题,以定义理论上最优的敌手。
- 在不同分布假设下,将现有梯度泄露攻击解释为贝叶斯最优敌手的近似。
- 评估贝叶斯最优敌手对最先进启发式防御的有效性。
- 揭示当前防御在训练初期尤其脆弱,呼吁在整个训练过程中持续评估防御效果。
提出的方法
- 提出一个理论框架,其中贝叶斯最优敌手通过使用输入与梯度的联合分布 p(x, g) 最小化期望风险。
- 推导出最优攻击为包含对数似然项 log p(g|x) 和 log p(x) 的约束优化问题。
- 当精确计算不可行时,使用蒙特卡洛采样近似贝叶斯最优攻击。
- 采用图像先验(如各向异性总变差和高斯先验)对重建输入进行正则化。
- 通过网格搜索调整超参数(学习率、衰减率、权重)以实现攻击间的公平比较。
- 通过精确计算 p(g|x) 来评估防御效果,针对基于噪声和剪枝的防御方法测试攻击性能。
实验结果
研究问题
- RQ1在贝叶斯框架下,理论上最优的梯度泄露攻击是什么?
- RQ2现有攻击在底层分布假设上与贝叶斯最优敌手有何关联?
- RQ3贝叶斯最优敌手在实践中能否优于启发式攻击?
- RQ4当前的启发式防御能否有效抵御更强的、具有分布感知能力的攻击?
- RQ5梯度泄露的脆弱性在训练过程中如何演变,尤其是在早期阶段?
主要发现
- 当真实分布已知时,贝叶斯最优敌手在重建质量(以 PSNR 衡量)上优于先前攻击方法。
- 在高斯噪声防御情况下,ℓ2 攻击与贝叶斯最优攻击在常数因子范围内等价,证实了理论一致性。
- 对于非高斯防御(如拉普拉斯噪声、软剪枝),贝叶斯最优敌手始终优于 ℓ2、ℓ1 和基于余弦的攻击。
- 防御在训练初期显著更易受攻击,早期训练阶段的重建 PSNR 迅速上升。
- 现有启发式防御(如 Soteria、ATS、PRECODE)无法抵御贝叶斯最优敌手,表明其在面对最优攻击时仍显不足。
- 本研究主张在整个训练过程中评估防御效果,而不仅限于收敛时刻,以应对早期阶段的脆弱性。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。