Differentially Private Language Models Benefit from Public Pre-training
Gavin Kerrigan, Dylan Slack, Jens Tuyls
TL;DR
The paper tackles the challenge of privacy-preserving language modeling by pretraining a base model on public data and then privately fine-tuning it on a private corpus using DP-SGD. It demonstrates that DP fine-tuning can significantly improve private-domain perplexity and make DP training feasible, even when training data is limited or out-of-distribution. The results across small and large feedforward architectures show that pre-training confers substantial benefits for privacy-enabled models, though performance remains below state-of-the-art non-private baselines. The work suggests a practical path for deploying high-quality, privacy-protecting language models and points to future work with more advanced architectures and longer training regimes.
Abstract
Language modeling is a keystone task in natural language processing. When training a language model on sensitive information, differential privacy (DP) allows us to quantify the degree to which our private data is protected. However, training algorithms which enforce differential privacy often lead to degradation in model quality. We study the feasibility of learning a language model which is simultaneously high-quality and privacy preserving by tuning a public base model on a private corpus. We find that DP fine-tuning boosts the performance of language models in the private domain, making the training of such models possible.
