arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.05237cs.LGcs.CRcs.DSmath.OCstat.ML
收藏

非凸复合损失下循环采样DP-SGD中最后迭代的隐私性

Privacy of the last iterate in cyclically-sampled DP-SGD on nonconvex composite losses

Google Research(谷歌研究院)

Weiwei Kong, Mónica Ribero

AI总结:

针对DP-SGD最后迭代隐私核算的挑战,本研究放弃强假设,为循环采样、梯度裁剪的DP-SGD变体建立了基于小步长和利普希茨光滑性的RDP上界,提升了最后迭代隐私核算的实用性。

摘要:

差分隐私随机梯度下降(DP-SGD)是一类迭代式机器学习训练算法,通过对梯度进行隐私化处理以生成一系列差分隐私(DP)模型参数序列。它也是实践中训练DP模型的标准工具,尽管大多数用户仅关注保护最终模型的隐私。对最后迭代进行严格的DP核算,能够在维持相同隐私保证的同时最小化所需噪声量,并可能提升模型效用。然而,最后迭代的核算具有挑战性,现有研究需要的强假设并不被大多数实现满足,包括:(i)已知全局敏感性常数——以避免梯度裁剪;(ii)损失函数是利普希茨连续或凸的;(iii)输入批次是随机采样的。在本研究中,我们放弃了所有不切实际的假设,为最常用的DP-SGD变体提供了隐私边界,该变体采用循环遍历数据、梯度裁剪且仅发布最后一个模型。更具体地说,我们在步长较小和损失函数利普希茨光滑的现实假设下,为最后迭代建立了新的雷尼差分隐私(RDP)上界。当目标函数的弱凸性参数趋近于零且不进行裁剪时,我们的通用边界也能恢复特殊情况下的凸边界。本方法本身利用了最优传输技术来处理最后迭代的边界问题,这在数据循环遍历且损失函数非凸时是一项非平凡的任务。

英文摘要:

Differentially-private stochastic gradient descent (DP-SGD) is a family of iterative machine learning training algorithms that privatize gradients to generate a sequence of differentially-private (DP) model parameters. It is also the standard tool used to train DP models in practice, even though most users are only interested in protecting the privacy of the final model. Tight DP accounting for the last iterate would minimize the amount of noise required while maintaining the same privacy guarantee and potentially increasing model utility. However, last-iterate accounting is challenging, and existing works require strong assumptions not satisfied by most implementations. These include assuming (i) the global sensitivity constant is known - to avoid gradient clipping; (ii) the loss function is Lipschitz or convex; and (iii) input batches are sampled randomly. In this work, we forego any unrealistic assumptions and provide privacy bounds for the most commonly used variant of DP-SGD, in which data is traversed cyclically, gradients are clipped, and only the last model is released. More specifically, we establish new Renyi differential privacy (RDP) upper bounds for the last iterate under realistic assumptions of small stepsize and Lipschitz smoothness of the loss function. Our general bounds also recover the special-case convex bounds when the weak-convexity parameter of the objective function approaches zero and no clipping is performed. The approach itself leverages optimal transport techniques for last iterate bounds, which is a nontrivial task when the data is traversed cyclically and the loss function is nonconvex.

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

↑