arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.19019cs.LG
收藏

边缘稳定性下的优化动态与差分隐私

Optimizer Dynamics at the Edge of Stability with Differential Privacy

Simon Fraser University(西蒙弗雷泽大学)

Ayana Hussain, Ricky Fang

AI总结:

研究揭示了在差分隐私下,神经网络优化的边缘稳定性动态及隐私保护对优化过程的影响。

摘要:

深度学习模型可以揭示关于个体训练示例的敏感信息,尽管差分隐私(DP)提供了限制此类泄漏的保证,但它也以人们不完全理解的方式改变了优化动态。我们通过比较梯度下降(GD)和Adam与其隐私保护变体,研究神经网络在DP下的训练动态。先前的工作表明,这些优化器表现出不同的稳定性动态:全批量方法在边缘稳定性(EoS)处训练,而小批量和自适应方法则表现出类似边缘稳定性行为。在这些情况下,训练损失和尖锐度——训练损失Hessian的最大特征值——表现出某些特征行为。在DP训练中,每例梯度裁剪和高斯噪声会修改更新规则,不清楚这些稳定性模式是否持续存在。我们分析了裁剪和噪声如何改变尖锐度和损失演变,并显示尽管DP通常会减少尖锐度,并且可以防止优化器完全达到经典稳定性阈值,但EoS和类似自适应方法的稳定性模式仍然持续存在,最大学习率和最大隐私预算接近,并有时超过这些阈值。这些发现突显了DP在神经网络优化中引入的不可预测性。

英文摘要:

Deep learning models can reveal sensitive information about individual training examples, and while differential privacy (DP) provides guarantees restricting such leakage, it also alters optimization dynamics in poorly understood ways. We study the training dynamics of neural networks under DP by comparing Gradient Descent (GD), and Adam to their privacy-preserving variants. Prior work shows that these optimizers exhibit distinct stability dynamics: full-batch methods train at the Edge of Stability (EoS), while mini-batch and adaptive methods exhibit analogous edge-of-stability behavior. At these regimes, the training loss and the sharpness--the maximum eigenvalue of the training loss Hessian--exhibit certain characteristic behavior. In DP training, per-example gradient clipping and Gaussian noise modify the update rule, and it is unclear whether these stability patterns persist. We analyze how clipping and noise change sharpness and loss evolution and show that while DP generally reduces the sharpness and can prevent optimizers from fully reaching the classical stability thresholds, patterns from EoS and analogous adaptive methods stability regimes persist, with the largest learning rates and largest privacy budgets approaching, and sometimes exceeding, these thresholds. These findings highlight the unpredictability introduced by DP in neural network optimization.

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

↑