Papers › Zero-Shot Machine Unlearning

Zero-Shot Machine Unlearning

14 Jan 2022arXiv:2201.05629archive 2025-07-28

Vikram S Chundawat, Ayush K Tarun, Murari Mandal, Mohan Kankanhalli

Modern privacy regulations grant citizens the right to be forgotten by products, services and companies. In case of machine learning (ML) applications, this necessitates deletion of data not only from storage archives but also from ML models. Due to an increasing need for regulatory compliance required for ML applications, machine unlearning is becoming an emerging research problem. The right to be forgotten requests come in the form of removal of a certain set or class of data from the already trained ML model. Practical considerations preclude retraining of the model from scratch after discarding the deleted data. The few existing studies use either the whole training data, or a subset of training data, or some metadata stored during training to update the model weights for unlearning. However, in many cases, no data related to the training process or training samples may be accessible for the unlearning purpose. We therefore ask the question: is it possible to achieve unlearning with zero training samples? In this paper, we introduce the novel problem of zero-shot machine unlearning that caters for the extreme but practical scenario where zero original data samples are available for use. We then propose two novel solutions for zero-shot machine unlearning based on (a) error minimizing-maximizing noise and (b) gated knowledge transfer. These methods remove the information of the forget data from the model while maintaining the model efficacy on the retain data. The zero-shot approach offers good protection against the model inversion attacks and membership inference attacks. We introduce a new evaluation metric, Anamnesis Index (AIN) to effectively measure the quality of the unlearning method. The experiments show promising results for unlearning in deep learning models on benchmark vision data-sets. The source code is available here: https://github.com/ayu987/zero-shot-unlearning

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2201.05629")

Code

Syntology Ran 4 of 12 code samples harvested from 1 repository linked to this paper; 8 have no recorded run. Of those that ran: 2 ran · honoured contract; 2 ran with no contract checked.

By repository: official repository: 12 samples from 1 repository, 4 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

ayu987/zero-shot-unlearning officialmentioned in paperpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

12 samples harvested; 4 ran; 2 honoured the contract we drafted; 8 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · honoured contract
2ran
8unverified

Licence: 0 of the 12 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from ayu987/zero-shot-unlearning. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

accuracy ayu987/zero-shot-unlearning/utils.py official repository ran fingerprinted MIT (permissive) · c7442eb6f91cb5bd · report
attention ayu987/zero-shot-unlearning/unlearn.py official repository ran · honoured contract fingerprinted MIT (permissive) · b817aa66879a905d · report
attention_diff ayu987/zero-shot-unlearning/unlearn.py official repository ran · honoured contract fingerprinted MIT (permissive) · fa2c8ba3cdf9f1d6 · report
divergence ayu987/zero-shot-unlearning/unlearn.py official repository ran fingerprinted MIT (permissive) · 391f84dc0ccdbf82 · report
cifar10 ayu987/zero-shot-unlearning/datasets.py official repository unverified MIT (permissive) · 0cd5e4763f6a998c · report
collect_prob ayu987/zero-shot-unlearning/metrics.py official repository unverified MIT (permissive) · 7bdcc8445d5b5afd · report
entropy ayu987/zero-shot-unlearning/metrics.py official repository unverified MIT (permissive) · 5e5d6c342a945de8 · report
get_membership_attack_data ayu987/zero-shot-unlearning/metrics.py official repository unverified MIT (permissive) · 5f1241b5d7bd1a25 · report
mnist ayu987/zero-shot-unlearning/datasets.py official repository unverified MIT (permissive) · 3feecd531051919a · report
svhn ayu987/zero-shot-unlearning/datasets.py official repository unverified MIT (permissive) · 256e12097ffbad9e · report
training_step ayu987/zero-shot-unlearning/utils.py official repository unverified MIT (permissive) · 1616afe621b4a8da · report
validation_step ayu987/zero-shot-unlearning/utils.py official repository unverified MIT (permissive) · a3f20cf3082bb92e · report

Tasks

Machine UnlearningTransfer Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections