Deep Unlearning via Randomized Conditionally Independent Hessians

Ronak Mehta, Sourav Pal, Vikas Singh, Sathya N. Ravi
4/15/2022
cs.CVcs.LG

Official code: vsingh-group/LCODEC-deep-unlearning (25 stars, Python, MIT, PyTorch, last commit 2022-07-09).

Abstract

Recent legislation has led to interest in machine unlearning, i.e., removing specific training samples from a predictive model as if they never existed in the training dataset. Unlearning may also be required due to corrupted/adversarial data or simply a user's updated privacy requirement.

Show full abstract

For models which require no training (k-NN), simply deleting the closest original sample can be effective. But this idea is inapplicable to models which learn richer representations. Recent ideas leveraging optimization-based updates scale poorly with the model dimension d, due to inverting the Hessian of the loss function. We use a variant of a new conditional independence coefficient, L-CODEC, to identify a subset of the model parameters with the most semantic overlap on an individual sample level. Our approach completely avoids the need to invert a (possibly) huge matrix. By utilizing a Markov blanket selection, we premise that L-CODEC is also suitable for deep unlearning, as well as other applications in vision. Compared to alternatives, L-CODEC makes approximate unlearning possible in settings that would otherwise be infeasible, including vision models used for face recognition, person re-identification and NLP models that may require unlearning samples identified for exclusion. Code can be found at https://github.com/vsingh-group/LCODEC-deep-unlearning/

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

Code for CVPR22 paper "Deep Unlearning via Randomized Conditionally Independent Hessians"

255Python, ShellMar 27, 20224 years agoMIT
data-deletiondata-removaldeep-learningdeep-unlearninggdpr+7 more

Similar Papers

Cite this paper

@article{mehta2022deep,
  title  = {Deep Unlearning via Randomized Conditionally Independent Hessians},
  author = {Ronak Mehta and Sourav Pal and Vikas Singh and Sathya N. Ravi},
  year   = {2022},
  eprint = {2204.07655},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.07655}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2204.07655.svg)](https://codeofpaper.com/paper/2204.07655)

Discussion