SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2411.00204 · 2024

RESTOR: Knowledge Recovery in Machine Unlearning

arXiv · PDF · Open in the Atlas

Code that ran

4 of 7 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; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 4 failures of our instrument; 3 no recorded run); 1 of them was also run on the host, not in the jail, by the peer-agreement lane that set its level, 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/2411.00204.json · badge: /api/ran/2411.00204.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
k1rezaei/restor canonical (classifier label)
classifier basis: census
2 ran · 3 no recorded run
copy not recorded community
not in the paper's declared repositories
2 ran · 0 no recorded run
FunctionStatusWhere it lives
load_yaml Ran
ran; our contract draft was wrong, not the code
this paper's copy was not recorded; identical code first harvested from mehrdadsaberi/msa_unlearning
pointer only · get_code("83396ec95592fb23")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

evaluate_judge_output Ran
ran; our contract draft was wrong, not the code
k1rezaei/restor/evaluation/chat_gpt_eval/judge.py
code served (permissive licence) · get_code("0e97fe2f81c1f785")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import json

# Construct a valid output string that represents judge evaluations
# The function expects a JSON string with a list of atoms, each containing:
# - 'judgment': string that may contain 'Accept' or 'Reject'
# - 'question': string
# - 'output': string
# - 'answers': string or list

judge_outputs = [
    {
        'judgment': 'Accept',
        'question': 'What is 2+2?',
        'output': '4',
        'answers': '4'
    },
    {
        'judgment': 'Reject',
        'question': 'What is 3+3?',
        'output': '5',
        'answers': '6'
    },
    {
        'judgment': 'Accept',
        'question': 'What is 1+1?',
        'output': '2',
        'answers': '2'
    }
]

output_str = json.dumps(judge_outputs)

ARGS = {
    'output': output_str
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_context Ran
ran; our contract draft was wrong, not the code
k1rezaei/restor/evaluation/eval_utils.py
code served (permissive licence) · get_code("07cdcb5843a038df")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Construct the context dictionary
# context[pid] should be a list of dictionaries with 'entity', 'question', and 'answer' keys
context = {
    "pid_1": [
        {"entity": "entity_A", "question": "What is the capital?", "answer": "Paris"},
        {"entity": "entity_B", "question": "What is 2+2?", "answer": "4"},
        {"entity": "entity_C", "question": "What is the color of the sky?", "answer": "Blue"},
        {"entity": "entity_D", "question": "What is the largest planet?", "answer": "Jupiter"},
        {"entity": "entity_E", "question": "What is H2O?", "answer": "Water"},
        {"entity": "entity_F", "question": "What is the speed of light?", "answer": "3e8 m/s"},
    ]
}

# Define parameters
pid = "pid_1"
qid = "entity_B"  # This entity will be skipped
num_of_examples = 5

ARGS = {
    "pid": pid,
    "context": context,
    "qid": qid,
    "num_of_examples": num_of_examples
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
load_yaml Ran
ran; our contract draft was wrong, not the code
this paper's copy was not recorded; identical code first harvested from mehrdadsaberi/msa_unlearning
pointer only · get_code("fd8d7039bbcb386b")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

evaluate_model_next_token_pred Not yet run
unverified (harvested, no recorded run)
k1rezaei/restor/evaluation/eval_model_next_token_pred.py
code served (permissive licence) · get_code("bf748ba496264524")
How it ran

no invocation recorded.

evaluate_model_on_fact_dataset Not yet run
unverified (harvested, no recorded run)
k1rezaei/restor/evaluation/eval_utils.py
code served (permissive licence) · get_code("81e189b7f7c80d2f")
How it ran

no invocation recorded.

evaluate_model_opinion_on_fact_dataset Not yet run
unverified (harvested, no recorded run)
k1rezaei/restor/evaluation/mcqa_eval/mcqa_utils.py
code served (permissive licence) · get_code("1534bf33a80e946f")
How it ran

no invocation recorded.

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 2 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 2 later) and 5 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
load_yaml 4 other papers
4 later
2506.20941 (2025-06)
Revisiting the Past: Data Unlearning with Model State History
2511.00117 (2025-11)
DCcluster-Opt: Benchmarking Dynamic Multi-Objective Optimization for Geo-Distributed Data Center Workloads
2605.21076 (2026-05)
GradeLegal: Automated Grading for German Legal Cases *
and 1 more not named here
load_yaml 1 other paper
1 later
2506.20941 (2025-06)
Revisiting the Past: Data Unlearning with Model State History

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

Large language models trained on web-scale corpora can memorize undesirable data containing misinformation, copyrighted material, or private or sensitive information. Recently, several machine unlearning algorithms have been proposed to eliminate the effect of such datapoints from trained models -- that is, to approximate a model that had never been trained on these datapoints in the first place. However, evaluating the effectiveness of unlearning algorithms remains an open challenge. Previous work has relied on heuristics -- such as verifying that the model can no longer reproduce the specific information targeted for removal while maintaining accuracy on unrelated test data. These approaches inadequately capture the complete effect of reversing the influence of datapoints on a trained model. In this work, we propose the RESTOR framework for machine unlearning evaluation, which assesses the ability of unlearning algorithms for targeted data erasure, by evaluating the ability of models to forget the knowledge introduced in these datapoints, while simultaneously recovering the model's knowledge state had it never encountered these datapoints. RESTOR helps uncover several novel insights about popular unlearning algorithms, and the mechanisms through which they operate -- for instance, identifying that some algorithms merely emphasize forgetting but not recovering knowledge, and that localizing unlearning targets can enhance unlearning performance.

For agents

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

get_harvested_code_for_paper("2411.00204")
get_code_for_paper("2411.00204")
have("2411.00204")

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

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

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

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

Connect an agent — have() is free.