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

理解私有SGD中的梯度裁剪:几何透视

Understanding Gradient Clipping in Private SGD: A Geometric Perspective

University of Minnesota(明尼苏达大学);Carnegie Mellon University(卡内基梅隆大学)

Xiangyi Chen, Zhiwei Steven Wu, Mingyi Hong

摘要:

深度学习模型在许多机器学习应用中越来越受欢迎,其中训练数据可能包含敏感信息。为了提供正式和严格的隐私保证,许多学习系统现在通过使用(差分)私有SGD训练其模型来合并差分隐私。每个私有SGD更新中的关键步骤是梯度裁剪,每当其L2范数超过某个阈值时,它就会缩小单个示例的梯度。我们首先演示了如何梯度裁剪可以防止SGD收敛到稳定点。然后,我们提供了一个理论分析,充分量化的裁剪偏差收敛的梯度分布和几何对称分布之间的差距措施。我们的实证评估进一步表明,沿着私人新元轨迹的梯度分布确实表现出有利于收敛的对称结构。总之,我们的研究结果提供了一个解释,为什么私人SGD与梯度裁剪仍然有效,在实践中,尽管其潜在的裁剪偏见。最后,我们开发了一种新的扰动为基础的技术,可以证明纠正裁剪偏置,即使是高度不对称的梯度分布的情况下。

英文摘要:

Deep learning models are increasingly popular in many machine learning applications where the training data may contain sensitive information. To provide formal and rigorous privacy guarantee, many learning systems now incorporate differential privacy by training their models with (differentially) private SGD. A key step in each private SGD update is gradient clipping that shrinks the gradient of an individual example whenever its L2 norm exceeds some threshold. We first demonstrate how gradient clipping can prevent SGD from converging to stationary point. We then provide a theoretical analysis that fully quantifies the clipping bias on convergence with a disparity measure between the gradient distribution and a geometrically symmetric distribution. Our empirical evaluation further suggests that the gradient distributions along the trajectory of private SGD indeed exhibit symmetric structure that favors convergence. Together, our results provide an explanation why private SGD with gradient clipping remains effective in practice despite its potential clipping bias. Finally, we develop a new perturbation-based technique that can provably correct the clipping bias even for instances with highly asymmetric gradient distributions.

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

↑