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

DPIS:一种基于重要性采样的差分隐私随机梯度下降增强机制

DPIS: An Enhanced Mechanism for Differentially Private SGD with Importance Sampling

National University of Singapore(新加坡国立大学);Hamad Bin Khalifa University(哈马德·本·哈利法大学)

Jianxin Wei, Ergute Bao, Xiaokui Xiao, Yin Yang

AI总结:

本文提出 DPIS 机制,通过将重要性采样集成到差分隐私 SGD 中以降低采样方差和所需噪声,并配合细粒度隐私分析与自适应梯度裁剪,在多个基准数据集上显著提升了差分隐私深度学习的准确率。

摘要:

如今,差分隐私(DP)已成为隐私保护方面公认的标准,而深度神经网络(DNN)在机器学习领域取得了巨大成功。将这两种技术相结合,即带差分隐私的深度学习,有望实现对基于敏感数据(如医疗记录)训练的高效用模型进行隐私保护发布。用于此目的的一个经典机制是 DP-SGD,它是常用于 DNN 训练的随机梯度下降(SGD)优化器的差分隐私版本。后续方法在模型训练过程的多个方面进行了改进,包括噪声衰减计划、模型架构、特征工程和超参数调优。然而,自最初的 DP-SGD 算法以来,在 SGD 优化器中实施差分隐私的核心机制一直保持不变,这已日益成为限制符合差分隐私要求的机器学习解决方案性能的根本障碍。\n\n受此启发,我们提出了 DPIS,这是一种用于差分隐私 SGD 训练的新机制,可作为 DP-SGD 核心优化器的直接替代品,并相较后者获得一致且显著的准确率提升。其主要思想是在每次 SGD 迭代中采用重要性采样(IS)进行小批量选择,从而同时降低采样方差以及为满足差分隐私要求而注入梯度的随机噪声量。将 IS 集成到 DP-SGD 复杂的数学机制中是高度非平凡的。DPIS 通过新颖的机制设计、细粒度隐私分析、效率增强以及自适应梯度裁剪优化来应对这一挑战。在四个基准数据集(即 MNIST、FMNIST、CIFAR-10 和 IMDb)上的大量实验表明,DPIS 相较于现有的差分隐私深度学习解决方案具有优越的有效性。

英文摘要:

Nowadays, differential privacy (DP) has become a well-accepted standard for privacy protection, and deep neural networks (DNN) have been immensely successful in machine learning. The combination of these two techniques, i.e., deep learning with differential privacy, promises the privacy-preserving release of high-utility models trained with sensitive data such as medical records. A classic mechanism for this purpose is DP-SGD, which is a differentially private version of the stochastic gradient descent (SGD) optimizer commonly used for DNN training. Subsequent approaches have improved various aspects of the model training process, including noise decay schedule, model architecture, feature engineering, and hyperparameter tuning. However, the core mechanism for enforcing DP in the SGD optimizer remains unchanged ever since the original DP-SGD algorithm, which has increasingly become a fundamental barrier limiting the performance of DP-compliant machine learning solutions. Motivated by this, we propose DPIS, a novel mechanism for differentially private SGD training that can be used as a drop-in replacement of the core optimizer of DP-SGD, with consistent and significant accuracy gains over the latter. The main idea is to employ importance sampling (IS) in each SGD iteration for mini-batch selection, which reduces both sampling variance and the amount of random noise injected to the gradients that is required to satisfy DP. Integrating IS into the complex mathematical machinery of DP-SGD is highly non-trivial. DPIS addresses the challenge through novel mechanism designs, fine-grained privacy analysis, efficiency enhancements, and an adaptive gradient clipping optimization. Extensive experiments on four benchmark datasets, namely MNIST, FMNIST, CIFAR-10 and IMDb, demonstrate the superior effectiveness of DPIS over existing solutions for deep learning with differential privacy.

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

↑