SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2211.11031 · NeurIPS · 2023

Aging with GRACE: Lifelong Model Editing with Discrete Key-Value Adaptors

Yoon Kim, Hamid Palangi, Marzyeh Ghassemi, Swami Sankaranarayanan, Thomas Hartvigsen

arXiv · PDF · Open in the Atlas

Code that ran

5 of 6 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, 0 violated it and 1 has no contract verdict; 4 failures of our instrument; 1 no recorded run), measured 2026-11-23; 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/2211.11031.json · badge: /api/ran/2211.11031.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
thartvigsen/grace canonical (classifier label)
classifier basis: classifier_2025
5 ran · 1 no recorded run
FunctionStatusWhere it lives
GRACEAdapter Ran
ran on a synthesized input · constructed an object; no result was computed
thartvigsen/grace/grace/editors/grace.py
pointer only (licence: NONE) · get_code("467bfc390cd0171f")
How it ran

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

brackets_to_periods Ran
ran; our contract draft was wrong, not the code
thartvigsen/grace/grace/editors/grace.py
pointer only (licence: NONE) · get_code("63721a889bd2e371")
How it ran

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

euc Ran
ran; our contract draft was wrong, not the code
thartvigsen/grace/grace/editors/grace.py
pointer only (licence: NONE) · get_code("23f20472445d2d9f")
How it ran

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

parent_module Ran
ran; our contract draft was wrong, not the code
thartvigsen/grace/grace/editors/grace.py
pointer only (licence: NONE) · get_code("91636aa8f9228435")
How it ran

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

perturb_values Ran
ran; our contract draft was wrong, not the code
thartvigsen/grace/grace/editors/grace.py
pointer only (licence: NONE) · get_code("9bb744830e9ff1ac")
How it ran

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

GRACE Not yet run
unverified (harvested, no recorded run)
thartvigsen/grace/grace/editors/grace.py
pointer only (licence: NONE) · get_code("49a95891af0ae3b0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, thartvigsen/grace 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 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 4 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 4 later) and 2 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
parent_module
brick of this paper's assembly: helper
3 other papers
3 later · 2 only as an assembly brick
2312.11795 (2023-12)
MELO: Enhancing Model Editing with Neuron-Indexed Dynamic LoRA
2405.14768 (2024-05)
WISE: Rethinking the Knowledge Memory for Lifelong Model Editing of Large Language Models
2506.07899 (2025-06)
MEMOIR: Lifelong Model Editing with Minimal Overwrite and Informed Retention for LLMs
brackets_to_periods
brick of this paper's assembly: helper
2 other papers
2 later · 2 only as an assembly brick
2405.14768 (2024-05)
WISE: Rethinking the Knowledge Memory for Lifelong Model Editing of Large Language Models
2506.07899 (2025-06)
MEMOIR: Lifelong Model Editing with Minimal Overwrite and Informed Retention for LLMs
euc 1 other paper
1 later
2409.07497 (2024-09)
OneEdit: A Neural-Symbolic Collaboratively Knowledge Editing System
perturb_values
brick of this paper's assembly: helper
1 other paper
1 later
2409.07497 (2024-09)
OneEdit: A Neural-Symbolic Collaboratively Knowledge Editing System

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

Deployed language models decay over time due to shifting inputs, changing user needs, or emergent world-knowledge gaps. When such problems are identified, we want to make targeted edits while avoiding expensive retraining. However, current model editors, which modify such behaviors of pre-trained models, degrade model performance quickly across multiple, sequential edits. We propose GRACE, a lifelong model editing method, which implements spot-fixes on streaming errors of a deployed model, ensuring minimal impact on unrelated inputs. GRACE writes new mappings into a pre-trained model's latent space, creating a discrete, local codebook of edits without altering model weights. This is the first method enabling thousands of sequential edits using only streaming errors. Our experiments on T5, BERT, and GPT models show GRACE's state-of-the-art performance in making and retaining edits, while generalizing to unseen inputs. Our code is available at github.com/thartvigsen/grace.

For agents

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

get_harvested_code_for_paper("2211.11031")
get_code_for_paper("2211.11031")
have("2211.11031")

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

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

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

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

Connect an agent — have() is free.