LGCLCRAug 3, 2021

Large-Scale Differentially Private BERT

arXiv:2108.01624v1328 citations
Originality Incremental advance
AI Analysis

This work addresses privacy concerns in training large language models for applications requiring data confidentiality, but it is incremental as it builds on existing DP-SGD methods and optimizations.

The authors tackled the problem of large-scale pretraining of BERT-Large with differentially private SGD, achieving a masked language model accuracy of 60.5% at a batch size of 2M for ε=5.36, compared to non-private BERT models at ~70%.

In this work, we study the large-scale pretraining of BERT-Large 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 its efficiency by using an increasing batch size schedule. Our implementation builds on the recent work of [SVK20], who demonstrated that the overhead of a DP-SGD step is minimized with effective use of JAX [BFH+18, FJL18] primitives in conjunction with the XLA compiler [XLA17]. Our implementation achieves a masked language model accuracy of 60.5% at a batch size of 2M, for $ε= 5.36$. To put this number in perspective, non-private BERT models achieve an accuracy of $\sim$70%.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes