SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2609.15571 · September 2026

GRIN+: Towards Fast Yet Effective Machine Unlearning for Imbalanced Medical Data

Junxiao Wang, Minghui Huang

arXiv · PDF · Open in the Atlas

Code that ran

9 of 11 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 3 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 5 failures of our instrument; 2 no recorded run), measured 2026-11-24; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2609.15571.json · badge: /api/ran/2609.15571.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
gzhu-hcai/Med-Unlearn canonical (classifier label)
classifier basis: census
9 ran · 2 no recorded run
FunctionStatusWhere it lives
compute_model_distance Ran
ran, honoured the contract we drafted
gzhu-hcai/Med-Unlearn/medu/evaluation/model_distances.py
pointer only (licence: NONE) · get_code("ec7624650add0d63")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gzhu-hcai/Med-Unlearn when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

generate_colors_from_colormap Ran
ran; our contract draft was wrong, not the code
gzhu-hcai/Med-Unlearn/medu/settings.py
pointer only (licence: NONE) · get_code("8eca59fde5d2565b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gzhu-hcai/Med-Unlearn when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

generate_configurations Ran
ran; our contract draft was wrong, not the code
gzhu-hcai/Med-Unlearn/pipeline/step_4_generate_original_and_naive_model_specs.py
pointer only (licence: NONE) · get_code("b0a60667936999fc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gzhu-hcai/Med-Unlearn when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_yaml Ran
ran; our contract draft was wrong, not the code
gzhu-hcai/Med-Unlearn/pipeline/step_4_generate_original_and_naive_model_specs.py
pointer only (licence: NONE) · get_code("27618803acf80c3a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gzhu-hcai/Med-Unlearn when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

loaders_config Ran
ran; our contract draft was wrong, not the code
gzhu-hcai/Med-Unlearn/medu/configurations.py
pointer only (licence: NONE) · get_code("ecaa1b256a4c8d93")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gzhu-hcai/Med-Unlearn when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

model_l2_norm Ran
ran, honoured the contract we drafted
gzhu-hcai/Med-Unlearn/medu/evaluation/model_distances.py
pointer only (licence: NONE) · get_code("97d311076774bb12")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gzhu-hcai/Med-Unlearn when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

models_l2_distance Ran
ran, honoured the contract we drafted
gzhu-hcai/Med-Unlearn/medu/evaluation/model_distances.py
pointer only (licence: NONE) · get_code("e14ac2a157e66977")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gzhu-hcai/Med-Unlearn when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

optuna_suggest_num_layers Ran
ran, violated the contract we drafted
gzhu-hcai/Med-Unlearn/medu/settings.py
pointer only (licence: NONE) · get_code("a7e97b3bd8d16e9d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gzhu-hcai/Med-Unlearn when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

resnet18 Ran
ran; our contract draft was wrong, not the code
gzhu-hcai/Med-Unlearn/medu/models/resnets.py
pointer only (licence: NONE) · get_code("8b2056f13edec7ac")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gzhu-hcai/Med-Unlearn when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

inspect_unlearning Not yet run
unverified (harvested, no recorded run)
gzhu-hcai/Med-Unlearn/pipeline/step_5_unlearn.py
pointer only (licence: NONE) · get_code("5534068ea45993e4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gzhu-hcai/Med-Unlearn when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

optuna_suggest_learning_rate Not yet run
unverified (harvested, no recorded run)
gzhu-hcai/Med-Unlearn/medu/settings.py
pointer only (licence: NONE) · get_code("358a1144643e8d4d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gzhu-hcai/Med-Unlearn when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 0 later) and 10 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
resnet18 95 other papers
94 dated earlier, 1 undated
1805.00907 (2018-05)
Glow: Graph Lowering Compiler Techniques for Neural Networks
1902.08153 (2019-02)
Learned Step Size Quantization
1904.01355 (2019-04)
FCOS: Fully Convolutional One-Stage Object Detection
and 92 more not named here

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-24.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

As deep learning models become fundamental to modern healthcare, the "Right to be Forgotten" mandated by privacy regulations like GDPR and HIPAA necessitates effective machine unlearning (MU) to remove sensitive patient data from trained models. However, existing MU techniques often struggle with a fundamental "privacy-efficiency-utility" (PEU) trilemma, particularly in medical scenarios where data is frequently characterized by severe class imbalance and long-tailed distributions. In such cases, standard unlearning methods can fail to protect key clinical knowledge or mistakenly delete features essential for diagnosing rare conditions due to the gradient dominance of majority classes. To address these challenges, we propose GRIN+, a novel machine unlearning framework designed for fast and precise data erasure in imbalanced medical scenarios. GRIN+ decouples unlearning-specific knowledge from generalized representations at the parameter level by analyzing the gradient contributions of both "forget" and "retain" sets. It introduces a class-adaptive influence scoring mechanism to rectify gradient dominance and employs a direction-constrained update strategy to prevent the unintended erosion of vital clinical knowledge. Comprehensive benchmarking across multiple medical datasets, including skin cancer (ISIC), brain tumor (MRI), and breast ultrasound (BUSI), demonstrates that GRIN+ achieves an optimal balance of the PEU trilemma. Experimental results show that GRIN+ maintains high diagnostic accuracy and robust privacy while significantly enhancing runtime efficiency compared to existing baselines. We open-source the GRIN+ code and benchmarks to support further research.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2609.15571")
get_code_for_paper("2609.15571")
have("2609.15571")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2609.15571.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2609.15571.svg)](https://syntology.ai/paper/2609.15571)

Connect an agent — have() is free.