Papers › Unified Gradient-Based Machine Unlearning with Remain Geometry Enhancement

Unified Gradient-Based Machine Unlearning with Remain Geometry Enhancement

29 Sep 2024arXiv:2409.19732archive 2025-07-28

Zhehao Huang, Xinwen Cheng, JingHao Zheng, Haoran Wang, Zhengbao He, Tao Li, Xiaolin Huang

Machine unlearning (MU) has emerged to enhance the privacy and trustworthiness of deep neural networks. Approximate MU is a practical method for large-scale models. Our investigation into approximate MU starts with identifying the steepest descent direction, minimizing the output Kullback-Leibler divergence to exact MU inside a parameters' neighborhood. This probed direction decomposes into three components: weighted forgetting gradient ascent, fine-tuning retaining gradient descent, and a weight saliency matrix. Such decomposition derived from Euclidean metric encompasses most existing gradient-based MU methods. Nevertheless, adhering to Euclidean space may result in sub-optimal iterative trajectories due to the overlooked geometric structure of the output probability space. We suggest embedding the unlearning update into a manifold rendered by the remaining geometry, incorporating second-order Hessian from the remaining data. It helps prevent effective unlearning from interfering with the retained performance. However, computing the second-order Hessian for large-scale models is intractable. To efficiently leverage the benefits of Hessian modulation, we propose a fast-slow parameter update strategy to implicitly approximate the up-to-date salient unlearning direction. Free from specific modal constraints, our approach is adaptable across computer vision unlearning tasks, including classification and generation. Extensive experiments validate our efficacy and efficiency. Notably, our method successfully performs class-forgetting on ImageNet using DiT and forgets a class on CIFAR-10 using DDPM in just 50 steps, compared to thousands of steps required by previous methods.

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="2409.19732")

Code

Syntology Ran 12 of 26 code samples harvested from 4 repositories linked to this paper; 14 have no recorded run. Of those that ran: 1 ran · honoured contract; 2 ran · our draft was wrong; 4 ran · fixture could not drive it; 5 ran with no contract checked.

By repository: community (archive-listed): 6 samples from 1 repository, 0 ran; found in paper text by Syntology: 19 samples from 3 repositories, 12 ran; 1 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

lioutang/unlearn-apollo-attack mentioned 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

26 samples harvested; 12 ran; 1 honoured the contract we drafted; 14 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.

1ran · honoured contract
2ran · our draft was wrong
4ran · fixture could not drive it
5ran
14unverified

Licence: 3 of the 26 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 4 repositories linked to this paper, official or community; each sample names its own and says which. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “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.

DistillLoss lioutang/unlearn-apollo-attack/unlearn/bad_teacher.py community (archive-listed) unverified MIT (permissive) · 3d829155d40ef755 · report
batched_loss_ lioutang/unlearn-apollo-attack/attacks/Apollo.py community (archive-listed) unverified MIT (permissive) · 900e51f145a62a95 · report
batched_models_ lioutang/unlearn-apollo-attack/attacks/Apollo.py community (archive-listed) unverified MIT (permissive) · 2c9afdad86950b96 · report
get_idx_loaders lioutang/unlearn-apollo-attack/attack.py community (archive-listed) unverified MIT (permissive) · 323d03d62e0533c7 · report
proj lioutang/unlearn-apollo-attack/attacks/Apollo.py community (archive-listed) unverified MIT (permissive) · 0d878f551236258c · report
setminus lioutang/unlearn-apollo-attack/attack.py community (archive-listed) unverified MIT (permissive) · f1ab27640c7765be · report
GA OPTML-Group/Unlearn-Saliency/Classification/unlearn/GA_prune.py found in paper text by Syntology ran · fixture could not drive it MIT (permissive) · 1b3f6a248551b312 · report
GetImageFolderLoader clear-nus/selective-amnesia/ddpm/classifier_evaluation.py found in paper text by Syntology ran MIT (permissive) · 29136f2953d790e8 · report
get_dataset_image_folder clear-nus/selective-amnesia/ddpm/train_classifier.py found in paper text by Syntology ran MIT (permissive) · 66de5a5babf9c9d8 · report
get_timestep_embedding clear-nus/selective-amnesia/ddpm/models/diffusion.py found in paper text by Syntology ran · fixture could not drive it fingerprinted MIT (permissive) · cb49209c125de1b4 · report
get_x_y_from_data_dict OPTML-Group/Unlearn-Saliency/Classification/unlearn/GA_prune.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · c7ae957080f6f740 · report
l2_penalty meghdadk/SCRUB/main_merged.py found in paper text by Syntology ran · honoured contract licence not identified · pointer only · 0885bc1a1a34f5eb · report
loss_function clear-nus/selective-amnesia/vae/model.py found in paper text by Syntology ran MIT (permissive) · 372b74ad7eb6ab5d · report
noise_estimation_loss clear-nus/selective-amnesia/ddpm/functions/losses.py found in paper text by Syntology ran MIT (permissive) · 36a45cceb1209d2f · report
nonlinearity clear-nus/selective-amnesia/ddpm/models/diffusion.py found in paper text by Syntology ran · our draft was wrong fingerprinted MIT (permissive) · 3137073275f8c21a · report
prob_mask_like clear-nus/selective-amnesia/ddpm/models/diffusion.py found in paper text by Syntology ran · fixture could not drive it MIT (permissive) · 3c6433dd421724e0 · report
read_images_folder clear-nus/selective-amnesia/ddpm/evaluator.py found in paper text by Syntology ran MIT (permissive) · 0bae0d076b1ae674 · report
validate OPTML-Group/Unlearn-Saliency/Classification/unlearn/GA_prune.py found in paper text by Syntology ran · fixture could not drive it MIT (permissive) · def64f7467ecb30c · report
GA_prune OPTML-Group/Unlearn-Saliency/Classification/unlearn/GA_prune.py found in paper text by Syntology unverified MIT (permissive) · 28baf7f344ef0caa · report
all_but_one_class_dataset clear-nus/selective-amnesia/ddpm/save_base_dataset.py found in paper text by Syntology unverified MIT (permissive) · d278a27b738c2136 · report
get_dataset clear-nus/selective-amnesia/ddpm/train_classifier.py found in paper text by Syntology unverified MIT (permissive) · 403a67ad5e70ec17 · report
noise_estimation_loss_conditional clear-nus/selective-amnesia/ddpm/functions/losses.py found in paper text by Syntology unverified MIT (permissive) · 657432e743b32d39 · report
run_epoch meghdadk/SCRUB/main_merged.py found in paper text by Syntology unverified licence not identified · pointer only · 9510c6df76e617f1 · report
save_checkpoint OPTML-Group/Unlearn-Saliency/Classification/unlearn/GA_prune.py found in paper text by Syntology unverified MIT (permissive) · 632b4796f64ea2f5 · report
warmup_lr OPTML-Group/Unlearn-Saliency/Classification/unlearn/GA_prune.py found in paper text by Syntology unverified MIT (permissive) · f1e544cbc00ca5fd · report
accuracy identical code first harvested elsewhere unverified licence of this copy not recorded · f0c9a29156911331 · report

Tasks

Machine Unlearning

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