Selective Pre-training for Private Fine-tuning
Da Yu, Sivakanth Gopi, Janardhan Kulkarni, Zinan Lin, Saurabh Naik, Tomasz Lukasz Religa, Jian Yin, Huishuai Zhang
TL;DR
This work tackles the challenge of training small, domain-specific language models under differential privacy with strict inference-time constraints. It introduces selective pre-training, a data-selection approach that uses a DP domain classifier to curate a public pre-training subset aligned with the private target distribution, enabling effective private fine-tuning on constrained models. Empirical results on Enron and GLUE show that selective pre-training yields state-of-the-art DP performance for small models and can let smaller models match larger non-private baselines, with private learning benefiting more from data quality than non-private setups. The method promises practical privacy-preserving model compression and reduced inference costs, while noting DP guarantees primarily apply to private data and that pre-training from scratch incurs additional compute cost.
Abstract
Text prediction models, when used in applications like email clients or word processors, must protect user data privacy and adhere to model size constraints. These constraints are crucial to meet memory and inference time requirements, as well as to reduce inference costs. Building small, fast, and private domain-specific language models is a thriving area of research. In this work, we show that a careful pre-training on a \emph{subset} of the public dataset that is guided by the private dataset is crucial to train small language models with differential privacy. On standard benchmarks, small models trained with our new framework achieve state-of-the-art performance. In addition to performance improvements, our results demonstrate that smaller models, through careful pre-training and private fine-tuning, can match the performance of much larger models that do not have access to private data. This underscores the potential of private learning for model compression and enhanced efficiency.
