Training Data Leakage Analysis in Language Models
Huseyin A. Inan, Osman Ramadan, Lukas Wutschitz, Daniel Jones, Victor, R\"uhle, James Withers, Robert Sim

TL;DR
This paper introduces a methodology and metrics to assess and compare the privacy risks of language models leaking user-specific training data, using numerical studies on RNN and Transformer models.
Contribution
It proposes a novel approach to quantify user-level data leakage in language models and evaluates mitigation strategies like differential privacy.
Findings
Metrics effectively measure data leakage in language models.
Transformer models show different leakage patterns compared to RNNs.
Mitigation techniques can reduce the risk of user data leakage.
Abstract
Recent advances in neural network based language models lead to successful deployments of such models, improving user experience in various applications. It has been demonstrated that strong performance of language models comes along with the ability to memorize rare training samples, which poses serious privacy threats in case the model is trained on confidential user content. In this work, we introduce a methodology that investigates identifying the user content in the training data that could be leaked under a strong and realistic threat model. We propose two metrics to quantify user-level data leakage by measuring a model's ability to produce unique sentence fragments within training data. Our metrics further enable comparing different models trained on the same data in terms of privacy. We demonstrate our approach through extensive numerical studies on both RNN and Transformer…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsPrivacy-Preserving Technologies in Data · Adversarial Robustness in Machine Learning · Artificial Intelligence in Healthcare and Education
MethodsLinear Layer · Absolute Position Encodings · Position-Wise Feed-Forward Layer · Residual Connection · Label Smoothing · Dropout · Dense Connections · Attention Is All You Need · Layer Normalization · Softmax
