arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.07830cs.LGstat.ML

关于差分隐私深度学习的收敛性与校准

On the Convergence and Calibration of Deep Learning with Differential Privacy

University of Pennsylvania(宾夕法尼亚大学)

Zhiqi Bu, Hua Wang, Zongyu Dai, Qi Long

AI总结:

本研究通过NTK连续时间分析揭示差分隐私训练中噪声添加仅影响隐私风险,而梯度裁剪影响收敛与校准,并发现大裁剪范数可同时保证隐私、准确性和更好的校准。

摘要:

差分隐私(DP)训练通常以较慢的收敛速度(从而降低准确性)以及比非私有对应方法更严重的校准误差为代价来保护数据隐私。为了分析DP训练的收敛性,我们通过神经正切核(NTK)的视角进行连续时间分析,该分析刻画了任意网络架构和损失函数下DP训练中的逐样本梯度裁剪和噪声添加。有趣的是,我们表明噪声添加仅影响隐私风险,而不影响收敛性或校准,而逐样本梯度裁剪(在平坦和逐层裁剪风格下)仅影响收敛性和校准。此外,我们观察到,虽然使用小裁剪范数训练的DP模型通常能达到最佳准确性,但校准较差,因此不可靠。与此形成鲜明对比的是,使用大裁剪范数训练的DP模型享有相同的隐私保证和相似的准确性,但校准显著更好。我们的代码可在https://github.com/woodyx218/opacus_global_clipping找到。

英文摘要:

Differentially private (DP) training preserves the data privacy usually at the cost of slower convergence (and thus lower accuracy), as well as more severe mis-calibration than its non-private counterpart. To analyze the convergence of DP training, we formulate a continuous time analysis through the lens of neural tangent kernel (NTK), which characterizes the per-sample gradient clipping and the noise addition in DP training, for arbitrary network architectures and loss functions. Interestingly, we show that the noise addition only affects the privacy risk but not the convergence or calibration, whereas the per-sample gradient clipping (under both flat and layerwise clipping styles) only affects the convergence and calibration. Furthermore, we observe that while DP models trained with small clipping norm usually achieve the best accurate, but are poorly calibrated and thus unreliable. In sharp contrast, DP models trained with large clipping norm enjoy the same privacy guarantee and similar accuracy, but are significantly more \textit{calibrated}. Our code can be found at \url{https://github.com/woodyx218/opacus_global_clipping}.

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

↑