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

大规模NLP模型的有效DP-SGD机制

An Efficient DP-SGD Mechanism for Large Scale NLP Models

Amazon Alexa AI(亚马逊 Alexa 人工智能);University of Massachusetts, Lowell(马萨诸塞大学洛厄尔分校)

Christophe Dupuy, Radhika Arava, Rahul Gupta, Anna Rumshisky

摘要:

深度学习的最新进展极大地提高了许多自然语言理解(NLU)任务的性能。然而,用于训练NLU模型的数据可能包含私人信息,例如地址或电话号码,特别是当从人类受试者中提取时。期望底层模型不暴露包含在训练数据中的私有信息。差分私有随机梯度下降(DP-SGD)已被提出作为一种机制来建立隐私保护模型。然而,DP-SGD的训练速度可能非常慢。在这项工作中,我们提出了一种更有效的DP-SGD,用于使用GPU基础设施进行训练,并将其应用于基于LSTM和Transformer架构的微调模型。我们报告了更快的训练时间,以及准确性,理论上的隐私保证和成员推断攻击的成功,并观察到与DP-SGD的拟议变体进行微调可以产生有竞争力的模型,而不会显着降低训练时间和改善隐私保护。我们还观察到,如宽松的理论$ε, δ$可以转化为显着的实际隐私收益。

英文摘要:

Recent advances in deep learning have drastically improved performance on many Natural Language Understanding (NLU) tasks. However, the data used to train NLU models may contain private information such as addresses or phone numbers, particularly when drawn from human subjects. It is desirable that underlying models do not expose private information contained in the training data. Differentially Private Stochastic Gradient Descent (DP-SGD) has been proposed as a mechanism to build privacy-preserving models. However, DP-SGD can be prohibitively slow to train. In this work, we propose a more efficient DP-SGD for training using a GPU infrastructure and apply it to fine-tuning models based on LSTM and transformer architectures. We report faster training times, alongside accuracy, theoretical privacy guarantees and success of Membership inference attacks for our models and observe that fine-tuning with proposed variant of DP-SGD can yield competitive models without significant degradation in training time and improvement in privacy protection. We also make observations such as looser theoretical $ε, δ$ can translate into significant practical privacy gains.

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

↑