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

探索使用分组裁剪的差异私有深度学习的极限

Exploring the Limits of Differentially Private Deep Learning with Group-wise Clipping

University of Science and Technology of China(中国科学技术大学);Stanford University(斯坦福大学);Sun Yat-sen University(中山大学);Microsoft Research Asia(微软亚洲研究院);Microsoft Research(微软研究院)

Jiyan He, Xuechen Li, Da Yu, Huishuai Zhang, Janardhan Kulkarni, Yin Tat Lee, Arturs Backurs, Nenghai Yu, Jiang Bian

摘要:

差异私有深度学习最近在计算效率和隐私-效用权衡方面取得了进展。我们探讨是否有可能沿着这两个轴进一步改进,并提供肯定的答案,利用两个实例化的\emph{group-wise clipping}。为了减少私人学习的计算时间开销,我们证明了\emph{per-layer clipping},其中每个神经网络层的梯度分别裁剪,允许裁剪与差分私人优化中的反向传播一起执行。这导致私有学习与非私有学习一样具有内存效率,并且对于许多感兴趣的工作流程,每次训练更新几乎一样快。虽然具有恒定阈值的每层裁剪往往表现不佳,但具有自适应阈值的每层裁剪在给定的训练时期约束下匹配或优于平坦裁剪,因此在更少的壁时间内获得类似或更好的任务性能。为了探索差异私有深度学习中缩放(预训练)模型的限制,我们私下微调了1750亿参数的GPT-3。我们通过\emph{per-device clipping}绕过了与裁剪分布在多个设备上的梯度相关的缩放挑战,\emph{per-device clipping}在其主机设备上分别裁剪每个模型块的梯度。在总结任务中,使用每设备裁剪的私下微调GPT-3在$ε=1$上实现的任务性能优于通过非私下微调最大GPT-2所实现的性能。

英文摘要:

Differentially private deep learning has recently witnessed advances in computational efficiency and privacy-utility trade-off. We explore whether further improvements along the two axes are possible and provide affirmative answers leveraging two instantiations of \emph{group-wise clipping}. To reduce the compute time overhead of private learning, we show that \emph{per-layer clipping}, where the gradient of each neural network layer is clipped separately, allows clipping to be performed in conjunction with backpropagation in differentially private optimization. This results in private learning that is as memory-efficient and almost as fast per training update as non-private learning for many workflows of interest. While per-layer clipping with constant thresholds tends to underperform standard flat clipping, per-layer clipping with adaptive thresholds matches or outperforms flat clipping under given training epoch constraints, hence attaining similar or better task performance within less wall time. To explore the limits of scaling (pretrained) models in differentially private deep learning, we privately fine-tune the 175 billion-parameter GPT-3. We bypass scaling challenges associated with clipping gradients that are distributed across multiple devices with \emph{per-device clipping} that clips the gradient of each model piece separately on its host device. Privately fine-tuning GPT-3 with per-device clipping achieves a task performance at $ε=1$ better than what is attainable by non-privately fine-tuning the largest GPT-2 on a summarization task.

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

↑