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

自动裁剪:让差分隐私深度学习更易用且性能更强

Automatic Clipping: Differentially Private Deep Learning Made Easier and Stronger

AWS AI(AWS人工智能);UC Santa Barbara(加州大学圣巴巴拉分校)

Zhiqi Bu, Yu-Xiang Wang, Sheng Zha, George Karypis

AI总结:

针对差分隐私深度学习中逐样本梯度裁剪阈值调优难的问题,提出自动裁剪方法,适配多种DP优化器且无需DP专属超参数,经理论分析和多任务实验验证其收敛性与性能均表现优异,易用性强。

摘要:

逐样本梯度裁剪是实现深度学习模型实用差分隐私(DP)训练的关键算法步骤。然而,裁剪阈值R的选择对于在DP约束下实现高精度至关重要。我们提出了一种易用的替代方案,名为automatic clipping(自动裁剪),它消除了为任何DP优化器(包括DP-SGD、DP-Adam、DP-LAMB等)调优R的需求。该自动变体与现有DP优化器具有相同的隐私性和计算效率,但无需DP专属超参数,因此让DP训练像标准非隐私训练一样易于开展。我们在非凸设置下对automatic DP-SGD进行了严格的收敛性分析,表明在逐样本梯度的对称梯度噪声假设(非DP文献中常用)下,它能获得与标准SGD匹配的渐近收敛速率。我们在多种语言和视觉任务上验证表明,automatic clipping的性能优于或匹配当前最优水平,且仅需对现有代码库做最小改动即可轻松使用。

英文摘要:

Per-example gradient clipping is a key algorithmic step that enables practical differential private (DP) training for deep learning models. The choice of clipping threshold R, however, is vital for achieving high accuracy under DP. We propose an easy-to-use replacement, called automatic clipping, that eliminates the need to tune R for any DP optimizers, including DP-SGD, DP-Adam, DP-LAMB and many others. The automatic variants are as private and computationally efficient as existing DP optimizers, but require no DP-specific hyperparameters and thus make DP training as amenable as the standard non-private training. We give a rigorous convergence analysis of automatic DP-SGD in the non-convex setting, showing that it can enjoy an asymptotic convergence rate that matches the standard SGD, under a symmetric gradient noise assumption of the per-sample gradients (commonly used in the non-DP literature). We demonstrate on various language and vision tasks that automatic clipping outperforms or matches the state-of-the-art, and can be easily employed with minimal changes to existing codebases.

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

↑