Paper · 2023-07-24 · cs.CL
Evaluating the Ripple Effects of Knowledge Editing in Language Models
Defines six "ripple effect" criteria for knowledge editing: facts that must change or stay after an edit. Builds RippleEdits from Wikidata and tests ROME, MEMIT, MEND and an in-context prompt on GPT-2 XL, GPT-J, GPT-NeoX and LLaMA-7B. Author-reported: weight editors often miss implied facts; in-context editing scores best on average.
Model editingIn-context learningknowledge-editingbenchmarkevaluation
arXivPDFCodeMarkdown15 min read
AI-compiled by claude-haiku-5-5 on 2026-10-18, not yet reviewed by a human. Every claim cites its source; check it when a detail matters.
In plain words
Fixing one fact in a language model can leave the model inconsistent. Tell it that Jack Depp is the son of Johnny Depp, and it should also come to believe that Jack Depp is the sibling of Lily-Rose Depp. The usual tests for editing methods check the edited fact, its rewordings, and some unrelated facts. They do not check the facts that should follow from the edit.
The paper defines six kinds of these follow-on checks. They cover logical consequences (siblings are symmetric), two-step questions that pass through the new fact, alias names of the same person, and facts that must stay put. It turns them into a benchmark of edits, with questions for each, built from Wikidata. Editing methods that change the model's weights pass the direct check but often miss the follow-on facts. The simplest method, which puts the new fact into the prompt, scores best on this benchmark.
For an engineer, the takeaway is that an edit can look correct on its own test and still leave the model inconsistent elsewhere.
TL;DR
- A factual edit is treated as a change to a knowledge graph; its "ripple effect" is the set of other facts the model should then also change or keep §3.
- Six criteria test this: logical generalization, two compositionality tests, subject aliasing, preservation, and relation specificity §3.1.
- RippleEdits is built from three Wikidata-derived subsets (Recent, Random, Popular) with templated natural-language queries §4.1 tab. 1.
- Author-reported: ROME, MEMIT and MEND get consistent scores on aliasing but low scores on logical generalization and composition; an in-context editing (ICE) prompt scores best on average §5.2 tab. 3 tab. 4 tab. 5.
- The official code is MIT-licensed and covers benchmark data, generation scripts and evaluation; several numbers in the paper do not match the released code (see Paper vs code).
Problem
A factual edit replaces an object for a subject and relation, (e, r, o) → (e, r, o*) §2. Standard evaluation checks that the model generates o* for paraphrases of the query, and that unrelated facts are unchanged §1. The authors argue this misses implied changes: if z is the mother of e, the children of z are e's siblings, so an edit to the mother should also change the sibling answers §1. Their running example is injecting "Jack Depp is the son of Johnny Depp", which should also make "Jack Depp is the sibling of Lily-Rose Depp" true [abstract].
The paper assumes the ripple effects that matter are the modified facts within a 2-hop distance of the edited subject or object §3.1. It states two limits. The benchmark relies on Wikidata, which may be incomplete or outdated. It does not test the edit's own paraphrases or subject specificity, and it does not check distant facts §6, Limitations. Editing popular entities is expected to produce more ripple effects (higher severity) §3.
Method
Evaluation criteria §3.1 fig. 2
For an edit δ: (e, r, o) → (e, r, o*), the criteria are:
- Logical generalization (LG). Relations obey constraints. Sibling is symmetric, and Location is transitive. Check the implied facts about e, o and o* after the edit §3.1.
- Compositionality I (CI). For a fact (o, r′, z) about the old object, and (o*, r′, z*) about the new object, expect the composed relation r∘r′ of e to change from z to z* §3.1.
- Compositionality II (CII). For a fact (e′, r′, e) with e as object, expect the composed relation r′∘r of e′ to change from o to o* §3.1.
- Subject aliasing (SA). For each alias e′ of e, expect (e′, r, o) → (e′, r, o*) §3.1.
- Preservation (PV). If r is one-to-many, the other existing objects (e, r, o′) with o′ ≠ o* must remain §3.1.
- Relation specificity (RS). Facts (e, r″, ·) for relations not depending on r must not change §3.1.
Relations are split into a set of N_rel = 54 basic relations, each with a manual phrase, a set D_r of dependent relations, and logical rules §4.1 §4.2. For the mother example, D_r includes sibling, sister, brother, aunt and uncle §4.1. The code encodes the same dependency lists in its relation table relation.py.
Benchmark construction §4.1 fig. 3
The pipeline has four steps.
- Collect triplets from Wikidata. Three types:
- Recent: triplets modified in a window of 250 days after July 2022, used as injection edits §4.1.
- Random: 10 buckets of entities by number of triplets; N_ent entities are sampled per bucket, then one triplet per entity. These are modification edits §4.1.
- Popular: subjects among the top-1000 most viewed Wikipedia pages in at least one month of 2020–2022 §4.1.
- Generate edits. Recent: the target is the triplet itself. Random and Popular: the target object o′ ≠ o is sampled from N_cand candidate objects of the same relation §4.1 §4.2.
- Generate tests. For each criterion, collect test triplets from Wikidata neighbourhoods. The sets are S(e) (triplets with e as subject) and T(e) (triplets with e as object) §4.1.
- Phrase in natural language. One template per relation, for example "The date of birth of
is". The PV query for a multi-valued relation is phrased to exclude the new object, for example "The award received by which is not <o*> is" §4.1.
Statistics are in tab. 1. Each edit has 18.8 to 26.8 queries on average tab. 1 §4.2. A manual check of 200 random queries found 100% sound and 98.5% grammatical §4.3.
Editing methods §5.1
- ROME: a rank-one update to MLP weights of a Transformer layer §5.1.
- MEMIT: an extension of ROME for editing many facts at once §5.1. In the released code each evaluated edit is applied as a single-request batch, then the weights are restored modeleditor.py modeleditor.py.
- MEND: a network that transforms gradients to produce local edits §5.1.
- ICE (in-context editing): no weight change. The prompt is prefixed with the edit, "Imagine that <o*> would have been <P_r>", where P_r is a manual proposition for r, such as "The mother of
" §5.1 fig. 5. The released code uses a different prefix (see Paper vs code).
Evaluation protocol §5.1
An edit is kept only if (a) the model generates the original objects for the test queries before the edit, and (b) it generates o* for (e, r) after the edit. Each test case is scored on its queries. Per example, the score is the mean accuracy over its executed test queries; the result is then averaged over examples §5.1 evaluation.py.
A generation counts as correct if one alias of the target appears in the text. Generation is capped at 20 tokens §5.1.
# Score one editing method on one RippleEdits subset [§5.1]
# Scoring follows the released code [code: src/testrunner.py#L26-L66]
def score_example(model, editor, example):
# Keep only test cases whose condition queries the unedited model answers [§5.1]
executable = []
for test_case in example.test_cases:
if all(answers_correctly(model, q) for q in test_case.conditions):
executable.append(test_case)
# Apply the edit; if it does not take, the example is discarded [§5.1]
editor.edit(model, example.fact)
if not answers_correctly(model, example.fact.query):
editor.restore(model)
return None
# Score each executed test case on the edited model [§5.1]
passed = []
for test_case in executable:
passed.append(all_queries_pass(model, test_case))
editor.restore(model)
if not passed:
return None
return sum(passed) / len(passed) # mean per example # [0, 1]The per-axis average then runs over examples where the edit succeeded and at least one test was executed evaluation.py.
In-context editing prompt §5.1 fig. 5
# In-context editing (ICE): prepend the edit to the query [§5.1]
# Paper template: "Imagine that <o*> would have been <P_r>" [§5.1]
# Released code: "Imagine that " + full edit sentence + newline [code: src/modeleditor.py#L29-L35]
def ice_prompt(edit_sentence, query_prompt):
context = "Imagine that " + edit_sentence + "\n"
return context + query_promptThe edit sentence is the relation phrase for the subject followed by the new target and a period, for example "The name of the mother of X is Y." fact.py relation.py.
Hyperparameters
Benchmark construction
| Name | Value | Where | Notes |
|---|---|---|---|
| relations N_rel | 54 | §4.2 | Manual phrases and logical rules per relation. The code enum has about 53 entries relation.py |
| Recent window | 250 days | §4.1 | Code: 4 facts per day per relation, offset from run date recently_modified_facts.py |
| Random buckets | 10 | §4.1 | Uniform by number of triplets per entity |
| N_ent (per bucket) | 200 | §4.1 §4.2 | Code main uses fake_size = 2000 with 4 facts per subject build_benchmark.py |
| N_cand | 100,000 | §4.2 | Candidate objects per relation; not verified in code |
| Popular subjects | top-1000 pages | §4.1 | Monthly views, 2020–2022. Code main uses 1000 with 3 facts per subject, commented out build_benchmark.py |
| test queries per edit | 18.8 to 26.8 | tab. 1 | Per subset |
Editing methods
ROME hyperparameters are the official ones of Meng et al., per model file, except LLaMA which the authors adjusted §5.1. Values from the released files:
| Parameter | ROME GPT-2 XL | ROME GPT-J | ROME LLaMA-7B | ROME GPT-NeoX-20B |
|---|---|---|---|---|
| layers | [17] | [5] | [5] | [15] |
| rewrite module | transformer.h.{}.mlp.c_proj | transformer.h.{}.mlp.fc_out | model.layers.{}.mlp.down_proj | gpt_neox.layers.{}.mlp.dense_4h_to_h |
| v_loss_layer | 47 | 27 | 31 | 43 |
| v_num_grad_steps | 20 | 20 | 20 | 20 |
| v_lr | 5e-1 | 5e-1 | 5e-1 | 5e-1 |
| v_weight_decay | 0.5 | 0.5 | 0.5 | 0.5 |
| clamp_norm_factor | 4 | 4 | 4 | 4 |
| kl_factor | 0.0625 | 0.0625 | 0.0625 | 0.0625 |
| mom2 dataset / samples / dtype | wikipedia / 100000 / float32 | same | same | same |
| context_template_length_params | [[5, 10], [10, 10]] | same | same | same |
| fact_token | subject_last | same | same | same |
Sources: gpt2-xl.json EleutherAI_gpt-j-6B.json llama-7b.json EleutherAI_gpt-neox-20b.json
MEMIT (only GPT-2 XL and GPT-J have files in the release; the paper reports MEMIT on those two only tab. 3 tab. 4 tab. 5):
| Parameter | MEMIT GPT-2 XL | MEMIT GPT-J |
|---|---|---|
| layers | [13, 14, 15, 16, 17] | [3, 4, 5, 6, 7, 8] |
| layer_selection | all | all |
| v_loss_layer | 47 | 27 |
| v_num_grad_steps | 20 | 25 |
| clamp_norm_factor | 0.75 | 0.75 |
| mom2_update_weight | 20000 | 15000 |
| v_lr / v_weight_decay / kl_factor | 5e-1 / 0.5 / 0.0625 | same |
Sources: gpt2-xl.json EleutherAI_gpt-j-6B.json
MEND (GPT-2 XL and GPT-J): lr_scale 1.0, n_toks 10, counterfact false, zsre false, mini false gpt2-xl.json EleutherAI_gpt-j-6B.json. The paper does not state these values §5.1.
Inference
| Name | Value | Where | Notes |
|---|---|---|---|
| max generated tokens | 20 | §5.1 | Code uses a different budget, see Paper vs code |
| decoding | not stated in paper | queryexecutor.py queryexecutor.py | Code uses temperature 0 |
| models | GPT2-XL 1.5B; GPT-J 6B; LLaMA 7B; GPT-NeoX 20B | §5.1 | HF ids: gpt2-xl, EleutherAI/gpt-j-6B, huggyllama/llama-7b, EleutherAI/gpt-neox-20b queryexecutor.py |
| ICE model | text-davinci-003 (GPT-3, 175B) | §5.1 | Only ICE; GPT2-M, GPT2-L used for size analysis §5.2 |
| examples per run | not stated in paper | evaluation.py | Code main samples 200 per subset |
Results
Author-reported. Setup: RippleEdits subsets Recent, Random and Popular §4.2; edits and queries kept only when the pre-edit and post-edit conditions hold §5.1 tab. 2. Scores are accuracies in percent. Models: GPT-2 (= GPT2-XL, 1.5B), GPT-J, GPT-NeoX, LLaMA-7B, and GPT-3 for ICE §5.1. In the compiled tables, the labels are macros: "GPT-Neo" in the tables is GPT-NeoX-20B in the text.
Table numbers are assigned by source order in the LaTeX, since no compiled PDF was available.
Edits and tests kept after filtering tab. 2:
| Model | Recent edits | Recent tests | Random edits | Random tests | Popular edits | Popular tests |
|---|---|---|---|---|---|---|
| GPT-2 | 853 | 29% | 689 | 33% | 722 | 71% |
| GPT-J | 801 | 33% | 717 | 34% | 760 | 76% |
| GPT-NeoX | 989 | 45% | 801 | 46% | 828 | 86% |
| LLaMA | 847 | 44% | 796 | 49% | 784 | 87% |
| GPT-3 (ICE) | 822 | 55% | 760 | 74% | 665 | 94% |
Averaged over ROME, MEMIT and MEND for the parametric rows tab. 2 caption.
Dataset statistics tab. 1:
| Statistic | Recent | Random | Popular |
|---|---|---|---|
| # of factual edits | 2,000 | 1,000 | 1,000 |
| # of queries per edit | 26.8 | 18.8 | 25.6 |
| # of queries per criterion | 5.24 | 3.1 | 4.2 |
| # of LG queries | 2.5 | 3.6 | 2.6 |
| # of CI queries | 11.7 | 4.7 | 6.1 |
| # of CII queries | 5.1 | 5.1 | 3.9 |
| # of SA queries | 1.8 | 1.3 | 4.7 |
| # of PV queries | 0.6 | 0.4 | 0.5 |
| # of RS queries | 5.1 | 3.7 | 7.8 |
| Subject triplets count | 31.7 | 13.3 | 115.2 |
| Subject page back-links | 278.1 | 121.6 | 3934.5 |
| Subject page views | 189.6 | 67.91 | 7376.5 |
| Object triplets count | 192.4 | 46.4 | 39.5 |
| Object page back-links | 18634.2 | 3065.0 | 2136.0 |
| Object page views | 2852.4 | 1379.7 | 1176.7 |
Recent subset accuracy tab. 3:
| Model / method | LG | CI | CII | SA | PV | RS | Avg. |
|---|---|---|---|---|---|---|---|
| GPT-2 ROME | 20.2 | 35.6 | 46.8 | 86.8 | 100 | 55.4 | 57.5 |
| GPT-2 MEMIT | 21.8 | 30.3 | 46.2 | 92.9 | 100 | 56.8 | 58.0 |
| GPT-2 MEND | 28.9 | 23.7 | 20.7 | 87.1 | 100 | 51.9 | 52.1 |
| GPT-J ROME | 15.2 | 29.5 | 50.5 | 90.3 | 99.4 | 60.0 | 57.5 |
| GPT-J MEMIT | 18.0 | 35.0 | 48.1 | 88.4 | 98.6 | 42.2 | 55.0 |
| GPT-NeoX ROME | 27.2 | 54.3 | 69.4 | 98.9 | 98.4 | 80.3 | 71.4 |
| GPT-NeoX ICE | 48.3 | 29.0 | 62.2 | 100 | 99.4 | 80.7 | 69.9 |
| LLaMA ROME | 16.7 | 47.8 | 50.0 | 93.6 | 97.6 | 59.3 | 60.8 |
| LLaMA ICE | 59.6 | 74.8 | 85.0 | 100 | 99.5 | 77.9 | 82.8 |
| GPT-3 ICE | 33.3 | 100 | 91.3 | 100 | 100 | 73.1 | 82.8 |
Random subset accuracy tab. 4:
| Model / method | LG | CI | CII | SA | PV | RS | Avg. |
|---|---|---|---|---|---|---|---|
| GPT-2 ROME | 53.6 | 31.6 | 44.4 | 94.9 | 9.9 | 38.9 | 45.5 |
| GPT-2 MEMIT | 58.4 | 30.5 | 49.8 | 100 | 20.0 | 36.2 | 49.1 |
| GPT-2 MEND | 62.5 | 16.7 | 14.6 | 91.3 | 17.7 | 30.1 | 38.8 |
| GPT-J ROME | 53.8 | 40.8 | 49.9 | 93.8 | 15.2 | 39.4 | 48.8 |
| GPT-J MEMIT | 53.0 | 35.7 | 48.2 | 95.6 | 18.2 | 39.9 | 48.4 |
| GPT-NeoX ROME | 61.6 | 49.4 | 57.1 | 100 | 30.8 | 50.7 | 58.3 |
| GPT-NeoX ICE | 78.6 | 90.0 | 55.6 | 100 | 100 | 61.9 | 81.0 |
| LLaMA ROME | 54.3 | 35.5 | 49.5 | 96.0 | 17.8 | 38.9 | 48.7 |
| LLaMA ICE | 71.1 | 73.8 | 80.3 | 100 | 100 | 69.6 | 82.5 |
| GPT-3 ICE | 69.0 | 83.3 | 89.7 | 100 | 100 | 100 | 90.3 |
Popular subset accuracy tab. 5:
| Model / method | LG | CI | CII | SA | PV | RS | Avg. |
|---|---|---|---|---|---|---|---|
| GPT-2 ROME | 5.7 | 46.4 | 21.8 | 100 | 100 | 18.5 | 48.7 |
| GPT-2 MEMIT | 6.7 | 45.2 | 21.2 | 100 | 100 | 24.3 | 49.6 |
| GPT-2 MEND | 25.9 | 10.7 | 5.4 | 100 | 100 | 21.2 | 43.9 |
| GPT-J ROME | 5.5 | 44.1 | 21.0 | 98.6 | 99.0 | 22.3 | 48.4 |
| GPT-J MEMIT | 7.0 | 45.9 | 23.7 | 100 | 100 | 24.8 | 50.2 |
| GPT-NeoX ROME | 36.4 | 29.4 | 41.6 | 100 | 100 | 50.8 | 59.7 |
| GPT-NeoX ICE | 37.5 | 92.4 | 40.1 | 100 | 100 | 74.4 | 74.1 |
| LLaMA ROME | 22.0 | 37.4 | 16.2 | 100 | 100 | 20.6 | 49.4 |
| LLaMA ICE | 57.2 | 85.1 | 67.6 | 100 | 100 | 78.0 | 81.3 |
| GPT-3 ICE | 31.0 | 86.1 | 65.6 | 100 | 100 | 83.8 | 77.7 |
Parametric methods on GPT-2 XL, by criterion, averaged over the three subsets tab. 6:
| Criterion | MEND | ROME | MEMIT |
|---|---|---|---|
| RS | 34.4 | 37.6 | 39.1 |
| LG | 39.1 | 26.5 | 29.0 |
| CI | 17.0 | 37.9 | 35.3 |
| CII | 13.6 | 37.7 | 39.1 |
Error types on 200 failures tab. 7:
| Model / method | No effect | Abstaining | Noise |
|---|---|---|---|
| GPT-2 ROME | 27% | 31% | 42% |
| GPT-2 ICE | 32% | 27% | 41% |
| GPT-NeoX ROME | 24% | 40% | 36% |
| GPT-NeoX ICE | 10% | 65% | 25% |
| LLaMA ROME | 20.5% | 45% | 34.5% |
| LLaMA ICE | 11% | 71% | 18% |
Headline claims, author-reported §5.2:
- Parametric editors are effective on the edited fact but often fail the follow-on criteria; their average accuracy is reported as 38–66 §5.2. The per-subset averages in tab. 3–tab. 5 for ROME, MEMIT and MEND span 38.8–71.4.
- ICE is best on average across subsets. Against ROME it is more than 10 points better on GPT-NeoX and 29 points better on LLaMA §5.2 (subset averages of the tables give +11.9 and +29.2).
- Aliasing (SA) is high for all methods: at least 86.8 in every setting §5.2 tab. 3–tab. 5.
- LG for ROME on GPT-J is 53.8 on Random and 5.5 on Popular tab. 4 tab. 5. Popular entities produce more ripple effects §5.2.
- Editing performance grows with model size for ROME (GPT2-M, GPT2-L, GPT2-XL, GPT-J, LLaMA, GPT-NeoX) §5.2 fig. 6.
- Failures of ROME are mostly noise; for ICE on GPT-NeoX and LLaMA, abstention is the most common failure §5.3 tab. 7.
- GPT-3 abstains on 49% of 100 sampled LG queries, versus 28% for LLaMA under ICE §5.3.
Paper vs code
Code paths are relative to the repository at code_commit. The repository is github.com/edenbiran/RippleEdits (MIT, copyright Eden Biran); the paper's abstract footnote links it §1.
- Generation budget. Paper: at most 20 tokens §5.1. Code:
execute_querypasseslen(prompt) + 30, wherelencounts characters, as the length for Hugging Facegenerate, which counts tokens queryexecutor.py queryexecutor.py. The GPT-3 path passes the same value asmax_tokensqueryexecutor.py. The effective budget is not 20 tokens. - Preservation matching. Paper: correct if the generation matches at least one of the objects §5.1. Code:
_verify_answerrequires every target group to match queryexecutor.py. The PV query passes all existing objects as target groups build_benchmark_tests.py. So the code requires all preserved objects to appear. - ICE template. Paper: "Imagine that <o*> would have been <P_r>" §5.1. Code: "Imagine that " + relation phrase + target + ".", then a newline modeleditor.py fact.py.
- Recent window. Paper: 250 days after July 2022 §4.1. Code: day offsets from the run date,
start_in_days_ago=irecently_modified_facts.py, with k = 250 and 4 per day recently_modified_facts.py. - Subset sizes. Paper: 2,000 Recent, 1,000 Random, 1,000 Popular edits tab. 1; the abstract says 5K §1. The table sums to 4,000. Released files contain 1948 Recent, 1922 Random and 885 Popular examples (counted from
"example_type"indata/benchmark/*.json). The code's main also builds Random with 2000 edits and Popular with 1000 but commented out build_benchmark.py. - Evaluation sample. Paper: edit counts up to 989 per model tab. 2. Code's main samples 200 examples per subset evaluation.py. The paper's reported counts cannot come from one 200-example run; sample size is not stated in the paper.
- Relation count. Paper: N_rel = 54 §4.2. The enum in
src/relation.pylists about 53 relations. - Decoding. Paper: not stated. Code:
temperature=0in both Hugging Face and OpenAI calls queryexecutor.py queryexecutor.py. - MEMIT. Paper: "editing many facts at once" §5.1. Code: each edit is a batch of one request, then the weights are restored modeleditor.py modeleditor.py.
- MEMIT hyperparameters for LLaMA and GPT-NeoX. Not in the release; the paper's tables omit those rows tab. 3–tab. 5. Code would fail on
hparams/MEMIT/{model}.jsonfor those models. - Sibling logic. Code's LG for Sibling uses the children of the subject's mothers and fathers build_logical_constraints.py, consistent with the paper's rule §3.1.
No other discrepancies were found after checking the criteria, the ROME and MEND hyperparameters, and the answer matching.
Pitfalls
- Matching is substring-based and case-sensitive. Code checks
alias in generationfor every alias queryexecutor.py. Single-character aliases are dropped unless numeric query.py. - The match runs on prompt plus completion. Only the ICE context is removed queryexecutor.py; the query text stays. So words in the prompt can count as matches. For example, the PV prompt contains "which is not <o*>".
- Generation post-processing. Leading newlines, spaces, colons, commas and semicolons are stripped utils.py. Other output is not normalised.
- Filtering changes the denominator. Only edits that apply and test queries answered before the edit are scored §5.1. Coverage ranges from 29% to 94% of tests tab. 2, so per-subset averages cover different queries per model.
- ICE does not change weights §5.1. Its scores measure conditioning on the prompt, not a stored edit. Compare the two families with that in mind.
- Restore and working directory. ROME, MEMIT and MEND editors call
os.chdir('./memit')and restore original weights afterwards modeleditor.py. Running from a different directory breaks the hyperparameter paths, and a failed restore carries edits into later examples. - Model names are labels. The paper's macros print GPT-2 for GPT2-XL and GPT-Neo for GPT-NeoX-20B. Use the HF ids from the Hyperparameters section.
- Averages in the text. The text says parametric methods average 38–66 §5.2. The tables show per-subset averages of 38.8–71.4 for these methods.
- Numbering. Table and figure numbers here follow source order and may differ from the published PDF.
- Version. This card uses arXiv v2 (updated 2023-12-20). The licence was recorded by
wikillm fetchfrom the arXiv record. - Where weight editors fail. MEND has the lowest scores on CI and CII on GPT-2 XL (17.0 and 13.6) tab. 6, and the highest LG (39.1) on the same model. A method chosen by one criterion can be weak on another.
Lineage
- Builds on: MEND Mitchell et al.; arXiv 2110.11309. ROME and MEMIT are cited as Meng et al. (2022, 2023); the paper's bibliography gives no arXiv ids for them, so no link is given §5.1.
- Compared against: ROME, MEMIT and MEND §5.1; in-context editing (ICE), the authors' baseline §5.1.
- Related benchmarks: zsRE and CounterFact §3.2; MQuAKE, a concurrent multi-hop editing benchmark §3.2.
- Superseded by: not stated.
Source and license
Adapted from “Evaluating the Ripple Effects of Knowledge Editing in Language Models” by Roi Cohen, Eden Biran, Ori Yoran, Amir Globerson, Mor Geva (arXiv:2307.12976), used under CC BY 4.0. Changes: condensed and restructured for implementation, with tables, equations and algorithms taken from the paper and its code, each cited to its source. Not affiliated with or endorsed by the authors. Code citations refer to https://github.com/edenbiran/RippleEdits at commit 54f3b88af489 (MIT). Any quoted code is shown under that license.