Papers › Model Sparsity Can Simplify Machine Unlearning

Model Sparsity Can Simplify Machine Unlearning

11 Apr 2023NeurIPS 2023 11arXiv:2304.04934archive 2025-07-28

Jinghan Jia, Jiancheng Liu, Parikshit Ram, Yuguang Yao, Gaowen Liu, Yang Liu, Pranay Sharma, Sijia Liu

In response to recent data regulation requirements, machine unlearning (MU) has emerged as a critical process to remove the influence of specific examples from a given model. Although exact unlearning can be achieved through complete model retraining using the remaining dataset, the associated computational costs have driven the development of efficient, approximate unlearning techniques. Moving beyond data-centric MU approaches, our study introduces a novel model-based perspective: model sparsification via weight pruning, which is capable of reducing the gap between exact unlearning and approximate unlearning. We show in both theory and practice that model sparsity can boost the multi-criteria unlearning performance of an approximate unlearner, closing the approximation gap, while continuing to be efficient. This leads to a new MU paradigm, termed prune first, then unlearn, which infuses a sparse model prior into the unlearning process. Building on this insight, we also develop a sparsity-aware unlearning method that utilizes sparsity regularization to enhance the training process of approximate unlearning. Extensive experiments show that our proposals consistently benefit MU in various unlearning scenarios. A notable highlight is the 77% unlearning efficacy gain of fine-tuning (one of the simplest unlearning methods) when using sparsity-aware unlearning. Furthermore, we demonstrate the practical impact of our proposed MU methods in addressing other machine learning challenges, such as defending against backdoor attacks and enhancing transfer learning. Codes are available at https://github.com/OPTML-Group/Unlearn-Sparse.

PaperPDFConference PDFCodeCode 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="2304.04934")

Code

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

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

optml-group/unlearn-sparse officialmentioned in papermentioned on GitHubpytorchMIT 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

15 samples harvested; 5 ran; 2 honoured the contract we drafted; 10 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
3ran
10unverified

Licence: 0 of the 15 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 optml-group/unlearn-sparse. “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.

_get_batch optml-group/unlearn-sparse/src/optim/unlearn/FT_prune_bi.py official repository ran MIT (permissive) · 2258f6052be52592 · report
_iterative_unlearn_impl optml-group/unlearn-sparse/src/optim/unlearn/FT_prune_bi.py official repository ran MIT (permissive) · 9482799ff10081ca · report
fisher_information_martix OPTML-Group/Unlearn-Sparse/src/optim/unlearn/fisher.py official repository ran MIT (permissive) · c25079d6cf22a5e2 · report
l1_regularization optml-group/unlearn-sparse/src/optim/unlearn/FT.py official repository ran · honoured contract MIT (permissive) · cae29c9fba744465 · report
l2_regularization optml-group/unlearn-sparse/src/optim/unlearn/FT.py official repository ran · honoured contract MIT (permissive) · eac813c9d8e15efd · report
FT_iter optml-group/unlearn-sparse/src/optim/unlearn/FT_prune_bi.py official repository unverified MIT (permissive) · e97a7ed8049d7b1d · report
FT_prune_bi optml-group/unlearn-sparse/src/optim/unlearn/FT_prune_bi.py official repository unverified MIT (permissive) · 9f427b83aff6b7ac · report
accuracy OPTML-Group/Unlearn-Sparse/src/core/utils.py official repository unverified MIT (permissive) · f0c9a29156911331 · report
fisher OPTML-Group/Unlearn-Sparse/src/optim/unlearn/fisher.py official repository unverified MIT (permissive) · eb78e48639bff7ca · report
get_mean_var OPTML-Group/Unlearn-Sparse/src/optim/unlearn/fisher.py official repository unverified MIT (permissive) · e953ece8832f74dd · report
iterative_unlearn optml-group/unlearn-sparse/src/optim/unlearn/FT_prune_bi.py official repository unverified MIT (permissive) · e84afab70b6b9461 · report
load_checkpoint OPTML-Group/Unlearn-Sparse/src/core/utils.py official repository unverified MIT (permissive) · 9ddeab05b84d103f · report
parse_args OPTML-Group/Unlearn-Sparse/src/core/arg_parser.py official repository unverified MIT (permissive) · eb0fc3196c9d681c · report
sam_grad OPTML-Group/Unlearn-Sparse/src/optim/unlearn/Wfisher.py official repository unverified MIT (permissive) · bf11e731c537c74a · report
woodfisher OPTML-Group/Unlearn-Sparse/src/optim/unlearn/Wfisher.py official repository unverified MIT (permissive) · 83fc8f0570aaf3a5 · report

Tasks

Machine UnlearningTransfer Learningmodel

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