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

通过随机稀疏化梯度改进差分隐私 SGD

Improving Differentially Private SGD via Randomly Sparsified Gradients

KU Leuven(鲁汶大学)

Junyi Zhu, Matthew B. Blaschko

AI总结:

本文提出一种利用随机稀疏化(RS)增强差分隐私随机梯度下降(DP-SGD)的轻量级方法,通过在裁剪和加噪前稀疏化梯度以优化收敛界权衡,实验证明其能提升性能并降低通信成本与增强隐私保护。

摘要:

差分隐私随机梯度下降(DP-SGD)在深度学习中被广泛采用,以提供严格定义的隐私,它需要梯度裁剪来限制单个梯度的最大范数,并添加各向同性高斯噪声。通过对非凸设置下 DP-SGD 的收敛速率进行分析,我们发现在裁剪和加噪之前对梯度进行随机稀疏化,可以调整收敛界内部各组件之间的权衡,并在噪声占主导时导致更小的上界。此外,我们的理论分析和实证评估表明,这种权衡并非微不足道,而可能是 DP-SGD 的独特性质,因为取消加噪或梯度裁剪都会消除该界中的权衡。这一观察具有启发性,因为它意味着 DP-SGD 在梯度压缩方面(即使是简单的随机压缩)具有特殊的内在空间。为了验证并利用这一观察,我们提出了一种高效且轻量级的扩展方法,利用随机稀疏化(RS)来增强 DP-SGD。在多种 DP-SGD 框架下的实验表明,RS 能够提升性能。此外,RS 产生的稀疏梯度在降低通信成本和增强抵御重建攻击的隐私方面展现出优势,这些也是隐私机器学习中的关键问题。

英文摘要:

Differentially private stochastic gradient descent (DP-SGD) has been widely adopted in deep learning to provide rigorously defined privacy, which requires gradient clipping to bound the maximum norm of individual gradients and additive isotropic Gaussian noise. With analysis of the convergence rate of DP-SGD in a non-convex setting, we identify that randomly sparsifying gradients before clipping and noisification adjusts a trade-off between internal components of the convergence bound and leads to a smaller upper bound when the noise is dominant. Additionally, our theoretical analysis and empirical evaluations show that the trade-off is not trivial but possibly a unique property of DP-SGD, as either canceling noisification or gradient clipping eliminates the trade-off in the bound. This observation is indicative, as it implies DP-SGD has special inherent room for (even simply random) gradient compression. To verify the observation and utilize it, we propose an efficient and lightweight extension using random sparsification (RS) to strengthen DP-SGD. Experiments with various DP-SGD frameworks show that RS can improve performance. Additionally, the produced sparse gradients of RS exhibit advantages in reducing communication cost and strengthening privacy against reconstruction attacks, which are also key problems in private machine learning.

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

↑