Measuring Forgetting of Memorized Training Examples
Authors:
- Matthew JagielskiMJMatthew Jagielski
- Om ThakkarOTOm Thakkar
- Florian TramèrFTFlorian Tramèr
- Daphne IppolitoDIDaphne Ippolito
- Katherine LeeKLKatherine Lee
- Nicholas CarliniNCNicholas Carlini
- Shuang SongSSShuang Song
- Abhradeep ThakurtaATAbhradeep Thakurta
- Nicolas PapernotNPNicolas Papernot
- Chiyuan ZhangCZChiyuan Zhang
Preprint
Abstract
Machine learning models exhibit two seemingly contradictory phenomena: training data memorization, and various forms of forgetting. In memorization, models overfit specific training examples and become susceptible to privacy attacks. In forgetting, examples which appeared early in training are forgotten by the end. In this work, we connect these phenomena. We propose a technique to measure to what extent models "forget" the specifics of training examples, becoming less susceptible to privacy attacks on examples they have not seen recently. We show that, while non-convex models can memorize data forever in the worst-case, standard image, speech, and language models empirically do forget examples over time. We identify nondeterminism as a potential explanation, showing that deterministically trained models do not forget. Our results suggest that examples seen early when training with extremely large datasets - for instance those examples used to pre-train a model - may observe privacy benefits at the expense of examples seen later.Keywords
All Related Versions
This publication has 10 references indexed in Scilit:
- Extracting Targeted Training Data from ASR Models, and How to Mitigate It2022
- Detecting Unintended Memorization in Language-Model-Fused ASR2022
- Membership Inference Attacks From First Principles2022
- Deduplicating Training Data Makes Language Models Better2022
- Disparate Vulnerability to Membership Inference AttacksProceedings on Privacy Enhancing Technologies, 2021
- BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding2019
- Hacking smart machines with smarter ones: How to extract meaningful data from machine learning classifiersInternational Journal of Security and Networks, 2015
- Genomic privacy and limits of individual detection in a poolNature Genetics, 2009
- Resolving Individuals Contributing Trace Amounts of DNA to Highly Complex Mixtures Using High-Density SNP Genotyping MicroarraysPLOS Genetics, 2008
- Catastrophic Interference in Connectionist Networks: The Sequential Learning Problem1989