English

Selective Pre-training for Private Fine-tuning

Machine Learning 2024-07-03 v3 Cryptography and Security

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.

Keywords

Cite

@article{arxiv.2305.13865,
  title  = {Selective Pre-training for Private Fine-tuning},
  author = {Da Yu and Sivakanth Gopi and Janardhan Kulkarni and Zinan Lin and Saurabh Naik and Tomasz Lukasz Religa and Jian Yin and Huishuai Zhang},
  journal= {arXiv preprint arXiv:2305.13865},
  year   = {2024}
}

Comments

Transactions on Machine Learning Research. Code available at https://github.com/dayu11/selective_pretraining_for_private_finetuning

R2 v1 2026-06-28T10:42:42.330Z