arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2009.03106cs.LGstat.ML
收藏

使用快速逐示例梯度裁剪扩展差分私有深度学习

Scaling up Differentially Private Deep Learning with Fast Per-Example Gradient Clipping

Penn State University(宾夕法尼亚州立大学);University of Georgia(佐治亚大学)

Jaewoo Lee, Daniel Kifer

摘要:

Renyi差分隐私最近的工作表明了将差分隐私应用于深度学习任务的可行性。然而,尽管它们有希望,但差异私有深度网络在准确性方面往往远远落后于非私有网络,这表明需要在模型架构、优化器等方面进行更多的研究。这种放缓的原因是一个关键的隐私相关步骤,称为"每个示例的梯度裁剪",其幼稚的实现取消了使用GPU进行批量训练的好处。通过分析反向传播方程,我们推导出与自动微分兼容的每个示例梯度裁剪的新方法(例如,在PyTorch和TensorFlow中),并提供更好的GPU利用率。我们在PyTorch中的实现显示了显著的训练速度提升(对于批量大小为128的各种模型,训练速度提高了54 - 94倍)。这些技术适用于各种架构选择,包括卷积层、递归网络、注意力、残差块等。

英文摘要:

Recent work on Renyi Differential Privacy has shown the feasibility of applying differential privacy to deep learning tasks. Despite their promise, however, differentially private deep networks often lag far behind their non-private counterparts in accuracy, showing the need for more research in model architectures, optimizers, etc. One of the barriers to this expanded research is the training time -- often orders of magnitude larger than training non-private networks. The reason for this slowdown is a crucial privacy-related step called "per-example gradient clipping" whose naive implementation undoes the benefits of batch training with GPUs. By analyzing the back-propagation equations we derive new methods for per-example gradient clipping that are compatible with auto-differentiation (e.g., in PyTorch and TensorFlow) and provide better GPU utilization. Our implementation in PyTorch showed significant training speed-ups (by factors of 54x - 94x for training various models with batch sizes of 128). These techniques work for a variety of architectural choices including convolutional layers, recurrent networks, attention, residual blocks, etc.

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

↑