arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.14260cs.CR
收藏

联邦学习中的完美梯度反演:源于隐藏子集和问题的新范式

Perfect Gradient Inversion in Federated Learning: A New Paradigm from the Hidden Subset Sum Problem

Qiongxiu Li, Lixia Luo, Agnese Gini, Changlong Ji, Zhanhao Hu, Xiao Li, Chengfang Fang, Jie Shi, Xiaolin Hu

AI总结:

本文从密码学视角将联邦学习中的梯度反演形式化为隐藏子集和问题(HSSP),实现完美输入重构并揭示批量大小对攻击复杂度的影响,同时证明安全聚合技术可显著提升防御复杂度。

摘要:

联邦学习(Federated Learning, FL)已成为多方协作学习的主流范式。它被认为是隐私友好的,因为本地数据保留在个人设备上,仅共享中间参数(如梯度或模型更新)。尽管梯度反演被广泛视为 FL 中的常见攻击方法,但关于从共享梯度中重构输入训练样本的分析研究仍然有限,且通常局限于小批量等受限设置。本文旨在通过从密码学视角解决该问题来克服这些限制。我们将 FL 中共享的梯度信息所对应的输入重构问题数学形式化为隐藏子集和问题(Hidden Subset Sum Problem, HSSP),它是著名的 NP 完全问题子集和问题(Subset Sum Problem, SSP)的扩展。利用该形式化,我们实现了完美的输入重构,从而缓解了依赖标签多样性以及在大批量下表现不佳等阻碍现有经验性梯度反演攻击的问题。此外,我们的分析揭示了经验性输入重构攻击为何会随批量增大而退化。通过将问题建模为 HSSP,我们证明批量大小 B 显著影响攻击复杂度,时间复杂度达到 O(B^9)。我们进一步表明,应用安全数据聚合技术(如全同态加密和安全多方计算)可提供强防御,将时间复杂度增至 O(N^9 B^9),其中 N 为 FL 中的本地客户端数量。据我们所知,这是首个通过将 FL 隐私问题建模为 HSSP 来进行严格分析的工作,为防御策略的进一步探索与开发提供了具体的分析基础。

英文摘要:

Federated Learning (FL) has emerged as a popular paradigm for collaborative learning among multiple parties. It is considered privacy-friendly because local data remains on personal devices, and only intermediate parameters -- such as gradients or model updates -- are shared. Although gradient inversion is widely viewed as a common attack method in FL, analytical research on reconstructing input training samples from shared gradients remains limited and is typically confined to constrained settings like small batch sizes. In this paper, we aim to overcome these limitations by addressing the problem from a cryptographic perspective. We mathematically formulate the input reconstruction problem using the gradient information shared in FL as the Hidden Subset Sum Problem (HSSP), an extension of the well-known NP-complete Subset Sum Problem (SSP). Leveraging this formulation allows us to achieve perfect input reconstruction, thereby mitigating issues such as dependence on label diversity and underperformance with large batch sizes that hinder existing empirical gradient inversion attacks. Moreover, our analysis provides insights into why empirical input reconstruction attacks degrade with larger batch sizes. By modeling the problem as HSSP, we demonstrate that the batch size \( B \) significantly affects attack complexity, with time complexity reaching \( \mathcal{O}(B^9) \). We further show that applying secure data aggregation techniques -- such as homomorphic encryption and secure multiparty computation -- provides a strong defense by increasing the time complexity to \( \mathcal{O}(N^9 B^9) \), where \( N \) is the number of local clients in FL. To the best of our knowledge, this is the first work to rigorously analyze privacy issues in FL by modeling them as HSSP, providing a concrete analytical foundation for further exploration and development of defense strategies.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑