arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2110.06500cs.LGcs.CLcs.CRstat.ML
收藏

语言模型的差分私有微调

Differentially Private Fine-tuning of Language Models

Sun Yat-sen University(中山大学);Microsoft Research Asia(微软亚洲研究院);Microsoft(微软);Microsoft Research(微软研究院);University of Waterloo(滑铁卢大学);University of Washington(华盛顿大学)

Da Yu, Saurabh Naik, Arturs Backurs, Sivakanth Gopi, Huseyin A. Inan, Gautam Kamath, Janardhan Kulkarni, Yin Tat Lee, Andre Manoel, Lukas Wutschitz, Sergey Yekhanin, Huishuai Zhang

摘要:

我们为大规模预训练语言模型的差异化私有微调提供了更简单,更稀疏,更快速的算法,这些算法在许多标准NLP任务中实现了最先进的隐私与实用性权衡。我们针对这个问题提出了一个元框架,其灵感来自于最近高度参数高效的微调方法的成功。我们的实验表明,这些方法的差异化私有适应在三个重要方面优于以前的私有算法:实用性,隐私性以及私有训练的计算和内存成本。在许多常用的研究数据集上,私有模型的效用接近非私有模型。例如,在MNLI数据集上,我们使用RoBERTa-Large实现了$87.8\%$的准确度,使用RoBERTa-Base实现了$83.5\%$的准确度,隐私预算为$ε= 6.7$。相比之下,在没有隐私约束的情况下,Roberta-Large实现了$90.2\%$的准确性。我们的发现与自然语言生成任务相似。使用DART、GPT-2-Small、GPT-2-Medium、GPT-2-Large和GPT-2-XL进行的私人微调分别实现了38.5、42.0、43.1和43.8的BLEU评分(隐私预算为$ε= 6.8,δ=$ 1e-5),而非私人基线为$48.1$。我们所有的实验都表明,更大的模型更适合私人微调:虽然众所周知,它们在非私人情况下可以实现更高的准确性,但我们发现,当引入隐私时,它们也可以更好地保持其准确性。

英文摘要:

We give simpler, sparser, and faster algorithms for differentially private fine-tuning of large-scale pre-trained language models, which achieve the state-of-the-art privacy versus utility tradeoffs on many standard NLP tasks. We propose a meta-framework for this problem, inspired by the recent success of highly parameter-efficient methods for fine-tuning. Our experiments show that differentially private adaptations of these approaches outperform previous private algorithms in three important dimensions: utility, privacy, and the computational and memory cost of private training. On many commonly studied datasets, the utility of private models approaches that of non-private models. For example, on the MNLI dataset we achieve an accuracy of $87.8\%$ using RoBERTa-Large and $83.5\%$ using RoBERTa-Base with a privacy budget of $ε= 6.7$. In comparison, absent privacy constraints, RoBERTa-Large achieves an accuracy of $90.2\%$. Our findings are similar for natural language generation tasks. Privately fine-tuning with DART, GPT-2-Small, GPT-2-Medium, GPT-2-Large, and GPT-2-XL achieve BLEU scores of 38.5, 42.0, 43.1, and 43.8 respectively (privacy budget of $ε= 6.8,δ=$ 1e-5) whereas the non-private baseline is $48.1$. All our experiments suggest that larger models are better suited for private fine-tuning: while they are well known to achieve superior accuracy non-privately, we find that they also better maintain their accuracy when privacy is introduced.

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

↑