When Machine Unlearning Jeopardizes Privacy
Open Access
- 12 November 2021
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 896-911
Abstract
The right to be forgotten states that a data owner has the right to erase their data from an entity storing it. In the context of machine learning (ML), the right to be forgotten requires an ML model owner to remove the data owner's data from the training set used to build the ML model, a process known asmachine unlearning. While originally designed to protect the privacy of the data owner, we argue that machine unlearning may leave some imprint of the data in the ML model and thus create unintended privacy risks. In this paper, we perform the first study on investigating the unintended information leakage caused by machine unlearning. We propose a novel membership inference attack that leverages the different outputs of an ML model's two versions to infer whether a target sample is part of the training set of the original model but out of the training set of the corresponding unlearned model. Our experiments demonstrate that the proposed membership inference attack achieves strong performance. More importantly, we show that our attack in multiple cases outperforms the classical membership inference attack on the original ML model, which indicates that machine unlearning can have counterproductive effects on privacy. We notice that the privacy degradation is especially significant for well-generalized ML models where classical membership inference does not perform well. We further investigate four mechanisms to mitigate the newly discovered privacy risks and show that releasing the predicted label only, temperature scaling, and differential privacy are effective. We believe that our results can help improve privacy protection in practical implementations of machine unlearning. \footnoteOur code is available at \urlhttps://github.com/MinChen00/UnlearningLeaks.Keywords
All Related Versions
Funding Information
- Purdue University (Bilsland Dissertation Fellowship)
- David and Lucile Packard Foundation (Packard Fellowship)
- Helmholtz Association (ZT-I-OO1 4)
- National Science Foundation (1931443)
This publication has 10 references indexed in Scilit:
- GAN-Leaks: A Taxonomy of Membership Inference Attacks against Generative Models2020
- Five Years of the Right to be Forgotten2019
- Comprehensive Privacy Analysis of Deep Learning: Passive and Active White-box Inference Attacks against Centralized and Federated Learning2019
- Property Inference Attacks on Fully Connected Neural Networks using Permutation Invariant Representations2018
- Machine Learning with Membership Privacy using Adversarial Regularization2018
- Privacy Risk in Machine Learning: Analyzing the Connection to Overfitting2018
- Efficient Repair of Polluted Machine Learning Systems via Causal Unlearning2018
- Machine Learning Models that Remember Too Much2017
- The Right to be Forgotten in the Media: A Data-Driven StudyProceedings on Privacy Enhancing Technologies, 2016
- Model Inversion Attacks that Exploit Confidence Information and Basic Countermeasures2015