arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2408.10456cs.LGcs.CR
收藏

具有固定大小小批量的差分隐私随机梯度下降:带或不带替换的更紧RDP保证

Differentially Private Stochastic Gradient Descent with Fixed-Size Minibatches: Tighter RDP Guarantees with or without Replacement

Texas State University(德克萨斯州立大学);University of South Florida(南佛罗里达大学);University of Arizona(亚利桑那大学)

Jeremiah Birrell, Reza Ebrahimi, Rouzbeh Behnia, Jason Pacheco

AI总结:

针对固定大小子采样的DP-SGD,提出更紧的RDP会计方法,改进界限4倍,并证明其与泊松子采样隐私等价,且内存使用更优。

摘要:

差分隐私随机梯度下降(DP-SGD)通过在训练过程中提供控制和跟踪隐私损失的框架,在深度学习的隐私训练中发挥了重要作用。该计算的核心是一种子采样方法,利用隐私放大引理来增强加性噪声提供的隐私保证。与泊松子采样中可变大小的小批量不同,固定大小子采样因其恒定的内存使用而具有吸引力。它也在解决类别不平衡和联邦学习方面具有意义。然而,当前针对固定大小子采样的可计算保证并不紧,且未同时考虑添加/移除和替换一个相邻关系。我们为采用固定大小无替换子采样(FSwoR)和有替换子采样(FSwR)的DP-SGD提出了一种新的整体性Rényi差分隐私(RDP)会计方法。对于FSwoR,我们同时考虑添加/移除和替换一个相邻关系。我们的FSwoR结果比当前最佳可计算界限改进了4倍。我们还首次证明,广泛使用的泊松子采样和采用替换一个相邻关系的FSwoR在采样概率的一阶项上具有相同的隐私。因此,我们的工作表明,由于恒定的内存使用,FSwoR通常比泊松子采样更可取。我们的FSwR会计方法包括显式的非渐近上下界,并且据作者所知,这是首次针对DP-SGD中带替换的固定大小RDP进行此类分析。我们在分析和实证上比较了固定大小和泊松子采样,并表明在固定大小子采样机制中,DP-SGD梯度在实践中表现出更低的方差,此外还有内存使用方面的优势。

英文摘要:

Differentially private stochastic gradient descent (DP-SGD) has been instrumental in privately training deep learning models by providing a framework to control and track the privacy loss incurred during training. At the core of this computation lies a subsampling method that uses a privacy amplification lemma to enhance the privacy guarantees provided by the additive noise. Fixed size subsampling is appealing for its constant memory usage, unlike the variable sized minibatches in Poisson subsampling. It is also of interest in addressing class imbalance and federated learning. However, the current computable guarantees for fixed-size subsampling are not tight and do not consider both add/remove and replace-one adjacency relationships. We present a new and holistic R{é}nyi differential privacy (RDP) accountant for DP-SGD with fixed-size subsampling without replacement (FSwoR) and with replacement (FSwR). For FSwoR we consider both add/remove and replace-one adjacency. Our FSwoR results improves on the best current computable bound by a factor of $4$. We also show for the first time that the widely-used Poisson subsampling and FSwoR with replace-one adjacency have the same privacy to leading order in the sampling probability. Accordingly, our work suggests that FSwoR is often preferable to Poisson subsampling due to constant memory usage. Our FSwR accountant includes explicit non-asymptotic upper and lower bounds and, to the authors' knowledge, is the first such analysis of fixed-size RDP with replacement for DP-SGD. We analytically and empirically compare fixed size and Poisson subsampling, and show that DP-SGD gradients in a fixed-size subsampling regime exhibit lower variance in practice in addition to memory usage benefits.

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

↑