SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2412.00789 · ICML · 2025

A Cognac Shot To Forget Bad Memories: Corrective Unlearning for Graph Neural Networks

Ponnurangam Kumaraguru, Varshita Kolipaka, Akshit Sinha, Debangan Mishra, Sumit Kumar, Arvindh Arun, Shashwat Goel

arXiv · PDF · Open in the Atlas

Code that ran

16 of 20 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 1 violated it and 1 has no contract verdict; 14 failures of our instrument; 4 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; 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/2412.00789.json · badge: /api/ran/2412.00789.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
cognac-gnn-unlearning/corrective-unlearning-for-gnns canonical (classifier label)
classifier basis: classifier_2025
5 ran · 2 no recorded run
varshitakolipaka/corrective-unlearning-for-gnns marked official in Papers with Code
Papers with Code archive
11 ran · 2 no recorded run
FunctionStatusWhere it lives
BoundedKLDMean Ran
ran; our contract draft was wrong, not the code
varshitakolipaka/corrective-unlearning-for-gnns/trainers/gnndelete.py
pointer only (licence: NONE) · get_code("41fbee11514c9fe6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, varshitakolipaka/corrective-unlearning-for-gnns 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.

BoundedKLDSum Ran
ran; our contract draft was wrong, not the code
varshitakolipaka/corrective-unlearning-for-gnns/trainers/gnndelete.py
pointer only (licence: NONE) · get_code("d7211c3da551067a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, varshitakolipaka/corrective-unlearning-for-gnns 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.

CosineDistanceMean Ran
ran; our contract draft was wrong, not the code
varshitakolipaka/corrective-unlearning-for-gnns/trainers/gnndelete.py
pointer only (licence: NONE) · get_code("75453f8bbb9b082b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, varshitakolipaka/corrective-unlearning-for-gnns 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.

CosineDistanceSum Ran
ran; our contract draft was wrong, not the code
varshitakolipaka/corrective-unlearning-for-gnns/trainers/gnndelete.py
pointer only (licence: NONE) · get_code("6f5ab12828b66ccb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, varshitakolipaka/corrective-unlearning-for-gnns 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.

LinearCKA Ran
ran; our contract draft was wrong, not the code
varshitakolipaka/corrective-unlearning-for-gnns/trainers/gnndelete.py
pointer only (licence: NONE) · get_code("9bf51323e6eddd19")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, varshitakolipaka/corrective-unlearning-for-gnns 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.

RBFCKA Ran
ran; our contract draft was wrong, not the code
varshitakolipaka/corrective-unlearning-for-gnns/trainers/gnndelete.py
pointer only (licence: NONE) · get_code("d89212ddb4a1c029")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, varshitakolipaka/corrective-unlearning-for-gnns 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.

Trainer Ran
ran on a synthesized input · constructed an object; no result was computed
cognac-gnn-unlearning/corrective-unlearning-for-gnns/trainers/cognac.py
pointer only (licence: NONE) · get_code("82ceb13449ee8091")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cognac-gnn-unlearning/corrective-unlearning-for-gnns 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.

centering Ran
ran; our contract draft was wrong, not the code
varshitakolipaka/corrective-unlearning-for-gnns/trainers/gnndelete.py
pointer only (licence: NONE) · get_code("c4698c3471ae618b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, varshitakolipaka/corrective-unlearning-for-gnns 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.

compare_results Ran
ran; our contract draft was wrong, not the code
cognac-gnn-unlearning/corrective-unlearning-for-gnns/run_cognac_best.py
pointer only (licence: NONE) · get_code("9583d125295289a4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cognac-gnn-unlearning/corrective-unlearning-for-gnns 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.

distill_kl_loss Ran
ran; our contract draft was wrong, not the code
cognac-gnn-unlearning/corrective-unlearning-for-gnns/trainers/cognac.py
pointer only (licence: NONE) · get_code("aef32d5f9d2e066f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cognac-gnn-unlearning/corrective-unlearning-for-gnns 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.

get_loss_fct Ran
ran; our contract draft was wrong, not the code
varshitakolipaka/corrective-unlearning-for-gnns/trainers/gnndelete.py
pointer only (licence: NONE) · get_code("81920fffae01e70d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, varshitakolipaka/corrective-unlearning-for-gnns 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.

kernel_HSIC Ran
ran; our contract draft was wrong, not the code
varshitakolipaka/corrective-unlearning-for-gnns/trainers/gnndelete.py
pointer only (licence: NONE) · get_code("bcd0dd0a115414f9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, varshitakolipaka/corrective-unlearning-for-gnns 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.

linear_HSIC Ran
ran; our contract draft was wrong, not the code
varshitakolipaka/corrective-unlearning-for-gnns/trainers/gnndelete.py
pointer only (licence: NONE) · get_code("1736820e2d413f39")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, varshitakolipaka/corrective-unlearning-for-gnns 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.

rbf Ran
ran; our contract draft was wrong, not the code
varshitakolipaka/corrective-unlearning-for-gnns/trainers/gnndelete.py
pointer only (licence: NONE) · get_code("48b102488b75c27f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, varshitakolipaka/corrective-unlearning-for-gnns 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.

run_command Ran
ran, violated the contract we drafted
cognac-gnn-unlearning/corrective-unlearning-for-gnns/run_cognac_best.py
pointer only (licence: NONE) · get_code("f7b12db3f3b994f5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cognac-gnn-unlearning/corrective-unlearning-for-gnns 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.

time_it Ran
ran; our contract draft was wrong, not the code
cognac-gnn-unlearning/corrective-unlearning-for-gnns/trainers/cognac.py
pointer only (licence: NONE) · get_code("4630cf908a804bb0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cognac-gnn-unlearning/corrective-unlearning-for-gnns 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.

CognacTrainer Not yet run
unverified (harvested, no recorded run)
cognac-gnn-unlearning/corrective-unlearning-for-gnns/trainers/cognac.py
pointer only (licence: NONE) · get_code("a70915d6842ff5eb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cognac-gnn-unlearning/corrective-unlearning-for-gnns 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.

GNNDeleteNodeembTrainer Not yet run
unverified (harvested, no recorded run)
varshitakolipaka/corrective-unlearning-for-gnns/trainers/gnndelete.py
pointer only (licence: NONE) · get_code("2fff7bcfe4b696e5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, varshitakolipaka/corrective-unlearning-for-gnns 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.

Trainer Not yet run
unverified (harvested, no recorded run)
varshitakolipaka/corrective-unlearning-for-gnns/trainers/gnndelete.py
pointer only (licence: NONE) · get_code("a1288bc2236215bf")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, varshitakolipaka/corrective-unlearning-for-gnns 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.

parse_results_from_logs Not yet run
unverified (harvested, no recorded run)
cognac-gnn-unlearning/corrective-unlearning-for-gnns/run_cognac_best.py
pointer only (licence: NONE) · get_code("fa6364f2d155e1e9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cognac-gnn-unlearning/corrective-unlearning-for-gnns 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 20 samples lifted from this paper's linked repositories, 20 carry a function identity and 0 do not. Of the 19 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 19 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.

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-23.

Repositories linked to this paper

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

Abstract

Graph Neural Networks (GNNs) are increasingly being used for a variety of ML applications on graph data. Because graph data does not follow the independently and identically distributed (i.i.d.) assumption, adversarial manipulations or incorrect data can propagate to other data points through message passing, which deteriorates the model's performance. To allow model developers to remove the adverse effects of manipulated entities from a trained GNN, we study the recently formulated problem of Corrective Unlearning. We find that current graph unlearning methods fail to unlearn the effect of manipulations even when the whole manipulated set is known. We introduce a new graph unlearning method, Cognac, which can unlearn the effect of the manipulation set even when only 5% of it is identified. It recovers most of the performance of a strong oracle with fully corrected training data, even beating retraining from scratch without the deletion set, and is 8x more efficient while also scaling to large datasets. We hope our work assists GNN developers in mitigating harmful effects caused by issues in real-world data, post-training.

For agents

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

get_harvested_code_for_paper("2412.00789")
get_code_for_paper("2412.00789")
have("2412.00789")

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

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

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

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

Connect an agent — have() is free.