SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2311.09053 · 2023

Assessing Knowledge Editing in Language Models via Relation Perspective

arXiv · PDF · Open in the Atlas

Code that ran

12 of 16 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 1 has no contract verdict; 11 failures of our instrument; 4 no recorded run), measured 2026-11-22; 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/2311.09053.json · badge: /api/ran/2311.09053.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
weiyifan1023/knowledge-edit-based-on-relation-perspective canonical (classifier label)
classifier basis: census
11 ran · 3 no recorded run
weiyifan1023/RaKE canonical (classifier label)
classifier basis: classifier_2025
1 ran · 1 no recorded run
FunctionStatusWhere it lives
binary_log_probs Ran
ran; our contract draft was wrong, not the code
weiyifan1023/knowledge-edit-based-on-relation-perspective/baselines/mend/losses.py
pointer only (licence: NONE); the stored copy get_code serves, from MemEIC/MemEIC, is pointer only (licence: NONE) · get_code("27659a9c234ffb11")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, weiyifan1023/knowledge-edit-based-on-relation-perspective 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.

format_data Ran
ran; our contract draft was wrong, not the code
weiyifan1023/knowledge-edit-based-on-relation-perspective/baselines/kn/knowledge_neurons/plot_pararel_results.py
pointer only (licence: NONE) · get_code("2d71184c9abd680c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, weiyifan1023/knowledge-edit-based-on-relation-perspective 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_attributes Ran
ran; our contract draft was wrong, not the code
weiyifan1023/knowledge-edit-based-on-relation-perspective/baselines/kn/knowledge_neurons/knowledge_neurons/patch.py
pointer only (licence: NONE); the stored copy get_code serves, from JP-25/KnowBias, is pointer only (licence: NONE) · get_code("44b3ed63235aa487")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, weiyifan1023/knowledge-edit-based-on-relation-perspective 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_ff_layer Ran
ran; our contract draft was wrong, not the code
weiyifan1023/knowledge-edit-based-on-relation-perspective/baselines/kn/knowledge_neurons/knowledge_neurons/patch.py
pointer only (licence: NONE) · get_code("98b536c6d2cf8aa6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, weiyifan1023/knowledge-edit-based-on-relation-perspective 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.

hierarchical_subsequence Ran
ran on a synthesized input
weiyifan1023/knowledge-edit-based-on-relation-perspective/util/nethook.py
pointer only (licence: NONE) · get_code("920b394e7ad80c53")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, weiyifan1023/knowledge-edit-based-on-relation-perspective 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.

initialize_model_and_tokenizer_path Ran
ran; our contract draft was wrong, not the code
weiyifan1023/RaKE/experiments/evaluate.py
pointer only (licence: NONE) · get_code("a471bbccc070ceee")
How it ran

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

kl_loc_loss Ran
ran; our contract draft was wrong, not the code
weiyifan1023/knowledge-edit-based-on-relation-perspective/baselines/mend/losses.py
pointer only (licence: NONE); the stored copy get_code serves, from Wangzzzzzzzz/OTE-SE-Alignment, is pointer only (licence: NONE) · get_code("8b02eb3a3733d653")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, weiyifan1023/knowledge-edit-based-on-relation-perspective 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.

multiclass_log_probs Ran
ran; our contract draft was wrong, not the code
weiyifan1023/knowledge-edit-based-on-relation-perspective/baselines/mend/losses.py
pointer only (licence: NONE); the stored copy get_code serves, from Wangzzzzzzzz/OTE-SE-Alignment, is pointer only (licence: NONE) · get_code("8ccc8886c554a1ce")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, weiyifan1023/knowledge-edit-based-on-relation-perspective 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.

pararel Ran
ran; our contract draft was wrong, not the code
weiyifan1023/knowledge-edit-based-on-relation-perspective/baselines/kn/knowledge_neurons/knowledge_neurons/data.py
pointer only (licence: NONE) · get_code("aa0c34b20d17945d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, weiyifan1023/knowledge-edit-based-on-relation-perspective 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.

recursive_copy Ran
ran; our contract draft was wrong, not the code
weiyifan1023/knowledge-edit-based-on-relation-perspective/util/nethook.py
pointer only (licence: NONE) · get_code("b26d72aba7d1232f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, weiyifan1023/knowledge-edit-based-on-relation-perspective 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.

register_hook Ran
ran; our contract draft was wrong, not the code
weiyifan1023/knowledge-edit-based-on-relation-perspective/baselines/kn/knowledge_neurons/knowledge_neurons/patch.py
pointer only (licence: NONE) · get_code("c10dba9c17ddf3cd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, weiyifan1023/knowledge-edit-based-on-relation-perspective 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.

subsequence Ran
ran; our contract draft was wrong, not the code
weiyifan1023/knowledge-edit-based-on-relation-perspective/util/nethook.py
pointer only (licence: NONE) · get_code("440ff98c2b1ae1aa")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, weiyifan1023/knowledge-edit-based-on-relation-perspective 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_model Not yet run
unverified (harvested, no recorded run)
weiyifan1023/knowledge-edit-based-on-relation-perspective/baselines/mend/models.py
pointer only (licence: NONE); the stored copy get_code serves, from Wangzzzzzzzz/OTE-SE-Alignment, is pointer only (licence: NONE) · get_code("d9a5bcaef451668f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, weiyifan1023/knowledge-edit-based-on-relation-perspective 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.

get_tokenizer Not yet run
unverified (harvested, no recorded run)
weiyifan1023/knowledge-edit-based-on-relation-perspective/baselines/mend/models.py
pointer only (licence: NONE); the stored copy get_code serves, from Wangzzzzzzzz/OTE-SE-Alignment, is pointer only (licence: NONE) · get_code("87e77d8c9c3620e1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, weiyifan1023/knowledge-edit-based-on-relation-perspective 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.

main Not yet run
unverified (harvested, no recorded run)
weiyifan1023/RaKE/experiments/summarize.py
pointer only (licence: NONE) · get_code("bc3ad506e968adf7")
How it ran

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

pararel_expanded Not yet run
unverified (harvested, no recorded run)
weiyifan1023/knowledge-edit-based-on-relation-perspective/baselines/kn/knowledge_neurons/knowledge_neurons/data.py
pointer only (licence: NONE) · get_code("3797fe7fbf596567")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, weiyifan1023/knowledge-edit-based-on-relation-perspective 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 16 samples lifted from this paper's linked repositories, 16 carry a function identity and 0 do not. Of the 16 distinct functions with an identity, 11 are also present in other papers whose code we hold (9 with at least one paper dated earlier, 1 the same month, 11 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
subsequence 49 other papers
5 dated earlier, 44 later
2007.15646 (2020-07)
Rewriting a Deep Generative Model
2009.05041 (2020-09)
Understanding the Role of Individual Units in a Deep Neural Network
2110.04292 (2021-10)
Toward a Visual Concept Vocabulary for GAN Latent Space
and 46 more not named here
recursive_copy 48 other papers
3 dated earlier, 45 later
2207.02774 (2022-07)
Local Relighting of Real Scenes
2210.07229 (2022-10)
Mass-Editing Memory in a Transformer
2302.12461 (2023-02)
Analyzing And Editing Inner Mechanisms Of Backdoored Language Models
and 45 more not named here
hierarchical_subsequence 46 other papers
2 dated earlier, 44 later
2210.07229 (2022-10)
Mass-Editing Memory in a Transformer
2302.12461 (2023-02)
Analyzing And Editing Inner Mechanisms Of Backdoored Language Models
2312.07876 (2023-12)
Causality Analysis for Evaluating the Security of Large Language Models
and 43 more not named here
binary_log_probs 28 other papers
2 dated earlier, 26 later
2210.07229 (2022-10)
Mass-Editing Memory in a Transformer
2310.10322 (2023-10)
Evaluating the Reversal Curse in Model Editing
2024.acl-long.732 (2024 (year only))
MULFE: A Multi-Level Benchmark for Free Text Model Editing
and 25 more not named here
multiclass_log_probs 10 other papers
1 dated earlier, 9 later
2210.07229 (2022-10)
Mass-Editing Memory in a Transformer
2024.acl-long.732 (2024 (year only))
MULFE: A Multi-Level Benchmark for Free Text Model Editing
2401.07453 (2024-01)
Model Editing at Scale leads to Gradual and Catastrophic Forgetting
and 7 more not named here
kl_loc_loss 9 other papers
1 dated earlier, 8 later
2210.07229 (2022-10)
Mass-Editing Memory in a Transformer
2401.07453 (2024-01)
Model Editing at Scale leads to Gradual and Catastrophic Forgetting
2403.07175 (2024-03)
Rebuilding ROME : Resolving Model Collapse during Sequential Model Editing
and 6 more not named here
get_model 8 other papers
1 dated earlier, 7 later
2210.07229 (2022-10)
Mass-Editing Memory in a Transformer
2024.acl-long.732 (2024 (year only))
MULFE: A Multi-Level Benchmark for Free Text Model Editing
2401.07453 (2024-01)
Model Editing at Scale leads to Gradual and Catastrophic Forgetting
and 5 more not named here
get_tokenizer 8 other papers
1 dated earlier, 7 later
2210.07229 (2022-10)
Mass-Editing Memory in a Transformer
2024.acl-long.732 (2024 (year only))
MULFE: A Multi-Level Benchmark for Free Text Model Editing
2401.07453 (2024-01)
Model Editing at Scale leads to Gradual and Catastrophic Forgetting
and 5 more not named here
get_attributes 6 other papers
1 dated earlier, 1 the same month, 4 later · 1 only as an assembly brick
2202.05262 (2022-02)
Locating and Editing Factual Associations in GPT
2311.09060 (2023-11)
Do Localization Methods Actually Localize Memorized Data in LLMs? A Tale of Two Benchmarks
2024.naacl-long.176 (2024 (year only))
Do Localization Methods Actually Localize Memorized Data in LLMs? A Tale of Two Benchmarks
and 3 more not named here
get_ff_layer 2 other papers
2 later
2405.02421 (2024-05)
What does the Knowledge Neuron Thesis Have to do with Knowledge?
2406.10868 (2024-06)
Identifying Query-Relevant Neurons in Large Language Models for Long-Form Texts
register_hook 2 other papers
2 later
2405.02421 (2024-05)
What does the Knowledge Neuron Thesis Have to do with Knowledge?
2406.10868 (2024-06)
Identifying Query-Relevant Neurons in Large Language Models for Long-Form Texts

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

Repositories linked to this paper

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

Abstract

Knowledge Editing (KE) for modifying factual knowledge in Large Language Models (LLMs) has been receiving increasing attention. However, existing knowledge editing methods are entity-centric, and it is unclear whether this approach is suitable for a relation-centric perspective. To address this gap, this paper constructs a new benchmark named RaKE, which focuses on Relation based Knowledge Editing. In this paper, we establish a suite of innovative metrics for evaluation and conduct comprehensive experiments involving various knowledge editing baselines. We notice that existing knowledge editing methods exhibit the potential difficulty in their ability to edit relations. Therefore, we further explore the role of relations in factual triplets within the transformer. Our research results confirm that knowledge related to relations is not only stored in the FFN network but also in the attention layers. This provides experimental support for future relation-based knowledge editing methods.

For agents

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

get_harvested_code_for_paper("2311.09053")
get_code_for_paper("2311.09053")
have("2311.09053")

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

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

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

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

Connect an agent — have() is free.