arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.17529cs.LGcs.CR
收藏

分别裁剪主体与尾部:重尾分布下DPSGD的高概率保证

Clip Body and Tail Separately: High Probability Guarantees for DPSGD with Heavy Tails

Renmin University of China(中国人民大学);Tokyo Institute of Technology(东京工业大学);Emory University(埃默里大学)

Haichao Sha, Yang Cao, Yong Liu, Yuncheng Wu, Ruixuan Liu, Hong Chen

AI总结:

针对DPSGD在重尾梯度下裁剪损失过大的问题,提出判别性裁剪(DC-DPSGD),通过子空间识别区分主体与尾部梯度并采用不同裁剪阈值,在非凸条件下降低经验梯度范数,实验显示准确率最多提升9.72%。

摘要:

差分隐私随机梯度下降(DPSGD)被广泛用于保护深度学习中的训练数据隐私,它首先将梯度裁剪到预定义的范数,然后在训练过程中注入校准噪声。现有的DPSGD工作通常假设梯度服从次高斯分布,并设计各种裁剪机制以优化训练性能。然而,最近的研究表明,深度学习中的梯度表现出重尾现象,即梯度的尾部具有无限方差,这可能导致现有DPSGD机制对梯度造成过度的裁剪损失。为解决此问题,我们提出了一种新方法,判别性裁剪(DC)-DPSGD,包含两个关键设计。首先,我们引入一种子空间识别技术来区分主体梯度和尾部梯度。其次,我们提出一种判别性裁剪机制,对主体和尾部梯度应用不同的裁剪阈值,以减少裁剪损失。在非凸条件下,我们的方法将经验梯度范数从O(log^(max(0,θ-1))(T/δ)log^(2θ)(√T))降低到O(log(√T)),其中重尾指数θ≥1/2,迭代次数为T,任意概率为δ。在四个真实世界数据集上的大量实验表明,我们的方法在准确率上比三个基线方法最多高出9.72%。

英文摘要:

Differentially Private Stochastic Gradient Descent (DPSGD) is widely utilized to preserve training data privacy in deep learning, which first clips the gradients to a predefined norm and then injects calibrated noise into the training procedure. Existing DPSGD works typically assume the gradients follow sub-Gaussian distributions and design various clipping mechanisms to optimize training performance. However, recent studies have shown that the gradients in deep learning exhibit a heavy-tail phenomenon, that is, the tails of the gradient have infinite variance, which may lead to excessive clipping loss to the gradients with existing DPSGD mechanisms. To address this problem, we propose a novel approach, Discriminative Clipping~(DC)-DPSGD, with two key designs. First, we introduce a subspace identification technique to distinguish between body and tail gradients. Second, we present a discriminative clipping mechanism that applies different clipping thresholds for body and tail gradients to reduce the clipping loss. Under the non-convex condition, \ourtech{} reduces the empirical gradient norm from {${\mathbb{O}\left(\log^{\max(0,θ-1)}(T/δ)\log^{2θ}(\sqrt{T})\right)}$} to {${\mathbb{O}\left(\log(\sqrt{T})\right)}$} with heavy-tailed index $θ\geq 1/2$, iterations $T$, and arbitrary probability $δ$. Extensive experiments on four real-world datasets demonstrate that our approach outperforms three baselines by up to 9.72\% in terms of accuracy.

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

↑