arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.03945cs.LGcs.CRcs.DC
收藏

SPEAR:联邦学习中批量数据的精确梯度反演

SPEAR:Exact Gradient Inversion of Batches in Federated Learning

INSAIT;Sofia University "St. Kliment Ohridski"(索非亚大学 "圣·克利门特·奥赫里德斯基");ETH Zurich(苏黎世联邦理工学院)

Dimitar I. Dimitrov, Maximilian Baader, Mark Niklas Müller, Martin Vechev

AI总结:

针对联邦学习中现有梯度反演攻击仅能精确重构批量大小为1的私有数据的问题,提出结合梯度低秩结构、采样算法与ReLU梯度稀疏性过滤的SPEAR算法,可精确重构更大批量的高维数据,并给出理论扩展结论。

摘要:

联邦学习是一种协作式机器学习框架,在该框架下客户端仅向服务器共享梯度更新,而非自身的私有数据。但近期研究表明,梯度反演攻击可从共享的梯度中重构出这些原始数据。在重要的诚实但好奇场景下,现有攻击仅能在批量大小$b=1$时实现精确重构,批量更大时仅能得到近似重构结果。本文提出SPEAR算法,这是首个可对$b>1$的完整批量数据实现精确重构的算法。SPEAR结合了对梯度显式低秩结构的研究洞察与基于采样的算法。关键在于,我们利用ReLU诱导的梯度稀疏性,精准过滤掉大量错误样本,使最终重构步骤具备可解性。我们为全连接网络提供了高效的GPU实现,实验表明该算法可精确重构批量大小至多$b \lesssim 25$的高维ImageNet输入,且可扩展至大型网络。最后,我们从理论上证明,若允许指数级时间开销,可高概率重构规模大得多的批量数据。

英文摘要:

Federated learning is a framework for collaborative machine learning where clients only share gradient updates and not their private data with a server. However, it was recently shown that gradient inversion attacks can reconstruct this data from the shared gradients. In the important honest-but-curious setting, existing attacks enable exact reconstruction only for batch size of $b=1$, with larger batches permitting only approximate reconstruction. In this work, we propose SPEAR, the first algorithm reconstructing whole batches with $b >1$ exactly. SPEAR combines insights into the explicit low-rank structure of gradients with a sampling-based algorithm. Crucially, we leverage ReLU-induced gradient sparsity to precisely filter out large numbers of incorrect samples, making a final reconstruction step tractable. We provide an efficient GPU implementation for fully connected networks and show that it recovers high-dimensional ImageNet inputs in batches of up to $b \lesssim 25$ exactly while scaling to large networks. Finally, we show theoretically that much larger batches can be reconstructed with high probability given exponential time.

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

↑