EMNLP Findings2022
Large-Scale Differentially Private BERT
Rohan Anil, Badih Ghazi, Vineet Gupta, Ravi Kumar, Pasin Manurangsi
摘要
In this work, we study the large-scale pretraining of BERT-Large (Devlin et al., 2019) with differentially private SGD (DP-SGD). We show that combined with a careful implementation, scaling up the batch size to millions (i.e., mega-batches) improves the utility of the DP-SGD step for BERT; we also enhance the training efficiency by using an increasing batch size schedule. Our implementation builds on the recent work of Subramani et al. (2020), who demonstrated that the overhead of a DP-SGD step is minimized with effective use of JAX (Bradbury et al., 2018;Frostig et al., 2018) primitives in conjunction with the XLA compiler (XLA team and collaborators, 2017). Our implementation achieves a masked language model accuracy of 60.5% at a batch size of 2M, for = 5, which is a reasonable privacy setting. To put this number in perspective, non-private BERT models achieve an accuracy of ∼70%.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 47 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Individual Privacy Accounting via a Rényi Filter 引用了 Deep Learning with Differential Privacy
- Quantifying Memorization Across Neural Language Models 引用了 The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
- Quantifying Memorization Across Neural Language Models 引用了 Deep Learning with Differential Privacy
- The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks 引用了 Deep Learning with Differential Privacy
- Large Language Models Can Be Strong Differentially Private Learners 引用了 The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
- Large Language Models Can Be Strong Differentially Private Learners 引用了 Differentially Private Fine-tuning of Language Models
- Differentially Private Fine-tuning of Language Models 引用了 Large Language Models Can Be Strong Differentially Private Learners
- Large Language Models Can Be Strong Differentially Private Learners 引用了 Deep Learning with Differential Privacy
- Differentially Private Fine-tuning of Language Models 引用了 The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
- Differentially Private Fine-tuning of Language Models 引用了 Deep Learning with Differential Privacy
- Emergent and Predictable Memorization in Large Language Models 引用了 Quantifying Memorization Across Neural Language Models
- Emergent and Predictable Memorization in Large Language Models 引用了 The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
- Emergent and Predictable Memorization in Large Language Models 引用了 Deep Learning with Differential Privacy
引用它的顶会 Paper47
- Large Language Models Can Be Strong Differentially Private LearnersXuechen Li, Florian Tramèr, Percy Liang, Tatsunori HashimotoICLR 2022 · 502 次引用
- Differentially Private Fine-tuning of Language ModelsDa Yu, Saurabh Naik, Arturs Backurs, Sivakanth Gopi 等ICLR 2022 · 494 次引用
- Emergent and Predictable Memorization in Large Language ModelsStella Biderman, USVSN Sai Prashanth, Lintang Sutawika, Hailey Schoelkopf 等NeurIPS 2023 · 205 次引用
- Quantifying Memorization Across Neural Language ModelsNicholas Carlini, Daphne Ippolito, Matthew Jagielski, Katherine Lee 等ICLR 2023 · 158 次引用
- Individual Privacy Accounting via a Rényi FilterVitaly Feldman, Tijana ZrnicNeurIPS 2021 · 124 次引用
它引用的 Paper13
- Deep Learning with Differential PrivacyMartín Abadi, Andy Chu, Ian J. Goodfellow, H. Brendan McMahan 等CCS 2016 · 7,620 次引用
- MLP-Mixer: An all-MLP Architecture for VisionIlya O. Tolstikhin, Neil Houlsby, Alexander Kolesnikov, Lucas Beyer 等NeurIPS 2021 · 3,862 次引用
- GShard: Scaling Giant Models with Conditional Computation and Automatic ShardingDmitry Lepikhin, HyoukJoong Lee, Yuanzhong Xu, Dehao Chen 等ICLR 2021 · 1,954 次引用
- The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural NetworksNicholas Carlini, Chang Liu, Úlfar Erlingsson, Jernej Kos 等USENIX Security 2019 · 1,386 次引用
- Large Batch Optimization for Deep Learning: Training BERT in 76 minutesYang You, Jing Li, Sashank J. Reddi, Jonathan Hseu 等ICLR 2020 · 1,170 次引用
相关 Paper
- Enabling Fast Differentially Private SGD via Just-in-Time Compilation and VectorizationPranav Subramani, Nicholas Vadivelu, Gautam KamathNeurIPS 2021 · 96 次引用
- Differentially Private Model CompressionFatemehsadat Mireshghallah, Arturs Backurs, Huseyin A. Inan, Lukas Wutschitz 等NeurIPS 2022 · 18 次引用
- Large Scale Private Learning via Low-rank ReparametrizationDa Yu, Huishuai Zhang, Wei Chen, Jian Yin 等ICML 2021 · 122 次引用
- Exploring the Limits of Differentially Private Deep Learning with Group-wise ClippingJiyan He, Xuechen Li, Da Yu, Huishuai Zhang 等ICLR 2023 · 4 次引用
- Training Text-to-Text Transformers with Privacy GuaranteesNatalia Ponomareva, Jasmijn Bastings, Sergei VassilvitskiiACL Findings 2022 · 9 次引用
