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

深度学习中差分隐私与梯度压缩的交互作用

On the Interaction Between Differential Privacy and Gradient Compression in Deep Learning

University of Toronto(多伦多大学)

Jimmy Lin

摘要:

虽然差分隐私和梯度压缩分别是机器学习中研究得很好的主题,但这两个主题之间的交互研究仍然相对较新。我们对差分隐私的高斯机制和梯度压缩如何共同影响深度学习中的测试准确性进行了详细的实证研究。现有的文献中的梯度压缩大多数评估压缩的差分隐私保证的情况下,并证明,足够高的压缩率降低准确性。类似地,现有的文献在差分隐私评估隐私机制的压缩的情况下,并证明,足够强大的隐私保证降低准确性。在这项工作中,我们观察到,虽然梯度压缩通常对非私有训练中的测试准确性有负面影响,但它有时可以提高差异私有训练中的测试准确性。具体来说,我们观察到,当采用积极的稀疏化或降秩梯度,测试精度是受高斯噪声添加的差分隐私。这些意见解释通过分析如何差分隐私和压缩的影响,估计平均梯度的偏差和方差。我们遵循这项研究,并就如何在差分私有深度学习和梯度压缩的背景下提高测试准确性提出了建议。我们评估了这个建议,发现它可以减少噪音添加的差分隐私机制对测试精度的负面影响高达24.6%,并减少梯度稀疏化对测试精度的负面影响高达15.1%。

英文摘要:

While differential privacy and gradient compression are separately well-researched topics in machine learning, the study of interaction between these two topics is still relatively new. We perform a detailed empirical study on how the Gaussian mechanism for differential privacy and gradient compression jointly impact test accuracy in deep learning. The existing literature in gradient compression mostly evaluates compression in the absence of differential privacy guarantees, and demonstrate that sufficiently high compression rates reduce accuracy. Similarly, existing literature in differential privacy evaluates privacy mechanisms in the absence of compression, and demonstrates that sufficiently strong privacy guarantees reduce accuracy. In this work, we observe while gradient compression generally has a negative impact on test accuracy in non-private training, it can sometimes improve test accuracy in differentially private training. Specifically, we observe that when employing aggressive sparsification or rank reduction to the gradients, test accuracy is less affected by the Gaussian noise added for differential privacy. These observations are explained through an analysis how differential privacy and compression effects the bias and variance in estimating the average gradient. We follow this study with a recommendation on how to improve test accuracy under the context of differentially private deep learning and gradient compression. We evaluate this proposal and find that it can reduce the negative impact of noise added by differential privacy mechanisms on test accuracy by up to 24.6%, and reduce the negative impact of gradient sparsification on test accuracy by up to 15.1%.

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

↑