Synthetic Text Generation with Differential Privacy: A Simple and Practical Recipe
Authors:
- Huseyin A. InanHIHuseyin A. Inan
- Xuechen LiXLXuechen Li
- Robert SimRSRobert Sim
Preprint
Abstract
Privacy concerns have attracted increasing attention in data-driven products due to the tendency of machine learning models to memorize sensitive training data. Generating synthetic versions of such data with a formal privacy guarantee, such as differential privacy (DP), provides a promising path to mitigating these privacy concerns, but previous approaches in this direction have typically failed to produce synthetic data of high quality. In this work, we show that a simple and practical recipe in the text domain is effective: simply fine-tuning a pretrained generative language model with DP enables the model to generate useful synthetic text with strong privacy protection. Through extensive empirical analyses on both benchmark and private customer data, we demonstrate that our method produces synthetic text that is competitive in terms of utility with its non-private counterpart, meanwhile providing strong protection against potential privacy leakages.Keywords
All Related Versions
This publication has 21 references indexed in Scilit:
- Machine Unlearning2021
- Leveraging Hierarchical Representations for Preserving Privacy and Utility in Text2019
- Membership Inference Attacks Against Machine Learning Models2017
- Deep Learning with Differential Privacy2016
- Private Empirical Risk Minimization: Efficient Algorithms and Tight Error Bounds2014
- Differential Privacy: An Economic Method for Choosing Epsilon2014
- PrivBayes2014
- Stochastic gradient descent with differentially private updates2013
- No free lunch in data privacy2011
- Calibrating Noise to Sensitivity in Private Data Analysis2006