Privacy Regularization: Joint Privacy-Utility Optimization in Language Models
Fatemehsadat Mireshghallah, Huseyin A. Inan, Marcello Hasegawa, Victor Rühle, Taylor Berg-Kirkpatrick, Robert Sim
TL;DR
Neural language models memorize training data, creating privacy risks when trained on user-generated content. The authors propose two privacy-regularization strategies—adversarial training with a discriminator and a discriminator-free triplet-based loss—to jointly optimize privacy and utility during training. Through exposure metrics and tab-attacks on Avocado and Reddit datasets, the methods achieve competitive privacy with substantially lower training overhead and less disparate impact than differential privacy. These results suggest practical, scalable pathways for privacy-preserving language modeling without the harsh utility penalties or subgroup biases associated with DP.
Abstract
Neural language models are known to have a high capacity for memorization of training samples. This may have serious privacy implications when training models on user content such as email correspondence. Differential privacy (DP), a popular choice to train models with privacy guarantees, comes with significant costs in terms of utility degradation and disparate impact on subgroups of users. In this work, we introduce two privacy-preserving regularization methods for training language models that enable joint optimization of utility and privacy through (1) the use of a discriminator and (2) the inclusion of a triplet-loss term. We compare our methods with DP through extensive evaluation. We show the advantages of our regularizers with favorable utility-privacy trade-off, faster training with the ability to tap into existing optimization approaches, and ensuring uniform treatment of under-represented subgroups.
