arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.08344stat.MLcs.LG
收藏

Noisy-SGD中的隐式偏差:在差分隐私训练中的应用

Implicit Bias in Noisy-SGD: With Applications to Differentially Private Training

Meta AI (FAIR)(Meta AI(FAIR));École polytechnique(巴黎综合理工学院);Université Paris Dauphine(巴黎多芬大学)

Tom Sander, Maxime Sylvestre, Alain Durmus

AI总结:

本文研究了Noisy-SGD中的隐式偏差,发现随机性而非裁剪是导致大批次训练性能下降的原因,且额外噪声会放大该偏差,为改进大批次差分隐私训练提供了理论依据。

摘要:

使用随机梯度下降(SGD)以小批次训练深度神经网络(DNN)比使用大批次能产生更好的测试性能。SGD固有的特定噪声结构被认为是造成这种隐式偏差的原因。用于在DNN训练中确保差分隐私(DP)的DP-SGD,会在裁剪后的梯度上添加高斯噪声。令人惊讶的是,大批次训练仍会导致性能显著下降,这构成了一个重要挑战,因为强DP保证必须使用海量批次。我们首先表明,该现象扩展至Noisy-SGD(无裁剪的DP-SGD),这表明随机性(而非裁剪)是造成这种隐式偏差的原因,即使存在额外的各向同性高斯噪声也是如此。我们从理论上分析了在最小二乘和对角线性网络设置下,使用连续版Noisy-SGD获得的解,并揭示了隐式偏差确实被额外噪声放大了。因此,大批次DP-SGD训练的性能问题与SGD根植于相同的基本原理,这为大批次训练策略的潜在改进带来了希望。

英文摘要:

Training Deep Neural Networks (DNNs) with small batches using Stochastic Gradient Descent (SGD) yields superior test performance compared to larger batches. The specific noise structure inherent to SGD is known to be responsible for this implicit bias. DP-SGD, used to ensure differential privacy (DP) in DNNs' training, adds Gaussian noise to the clipped gradients. Surprisingly, large-batch training still results in a significant decrease in performance, which poses an important challenge because strong DP guarantees necessitate the use of massive batches. We first show that the phenomenon extends to Noisy-SGD (DP-SGD without clipping), suggesting that the stochasticity (and not the clipping) is the cause of this implicit bias, even with additional isotropic Gaussian noise. We theoretically analyse the solutions obtained with continuous versions of Noisy-SGD for the Linear Least Square and Diagonal Linear Network settings, and reveal that the implicit bias is indeed amplified by the additional noise. Thus, the performance issues of large-batch DP-SGD training are rooted in the same underlying principles as SGD, offering hope for potential improvements in large batch training strategies.

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

↑