arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.11822cs.LGcs.CCcs.CRcs.DC
收藏

具有差分隐私的零冗余分布式学习

Zero redundancy distributed learning with differential privacy

Amazon Web Services AI(亚马逊云科技人工智能部门)

Zhiqi Bu, Justin Chiu, Ruixuan Liu, Sheng Zha, George Karypis

AI总结:

本文提出DP-ZeRO系统性解决方案,将差分隐私与零冗余优化器结合,实现大规模模型的高效训练,支持混合精度并达到标准ZeRO的计算通信效率。

摘要:

使用大模型的深度学习在众多领域取得了巨大成功。然而,在具有差分隐私(DP)的隐私保护机制下,训练数十亿参数的模型在训练速度、内存成本和通信效率方面极具挑战。一方面,在单个GPU上,DP优化具有与标准非私有优化相当的效率,但在多个GPU上,现有的DP分布式学习(如流水线并行)效率显著下降。另一方面,Zero Redundancy Optimizer (ZeRO) 是标准分布式学习的最先进解决方案,在大模型上展现出卓越的训练效率,但与DP兼容在技术上很复杂。在本工作中,我们开发了一种新的系统性解决方案DP-ZeRO,(I) 扩展可训练的DP模型规模(例如扩展至GPT-100B),(II) 获得与标准ZeRO相同的计算和通信效率,以及 (III) 实现混合精度DP训练。我们的DP-ZeRO如同标准ZeRO一样,具备训练任意规模模型的潜力,并在可训练参数数量上评估了世界上最大的DP模型。

英文摘要:

Deep learning using large models have achieved great success in a wide range of domains. However, training these models on billions of parameters is very challenging in terms of the training speed, memory cost, and communication efficiency, especially under the privacy-preserving regime with differential privacy (DP). On the one hand, DP optimization has comparable efficiency to the standard non-private optimization on a single GPU, but on multiple GPUs, existing DP distributed learning (such as pipeline parallel) has suffered from significantly worse efficiency. On the other hand, the Zero Redundancy Optimizer (ZeRO) is a state-of-the-art solution to the standard distributed learning, exhibiting excellent training efficiency on large models, but to work compatibly with DP is technically complicated. In this work, we develop a new systematic solution, DP-ZeRO, (I) to scale up the trainable DP model size, e.g. to GPT-100B, (II) to obtain the same computation and communication efficiency as the standard ZeRO, and (III) to enable mixed-precision DP training. Our DP-ZeRO, like the standard ZeRO, has the potential to train models with arbitrary size and is evaluated on the world's largest DP models in terms of the number of trainable parameters.

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

↑