SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2405.15349 · ICLR · 2025

Everything is Editable: Extend Knowledge Editing to Unstructured Data in Large Language Models

Huawei Shen, Xueqi Cheng, Jingcheng Deng, Zihao Wei, Liang Pang, Hanxing Ding

arXiv · PDF · Open in the Atlas

Code that ran

5 of 12 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; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 4 failures of our instrument; 7 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/2405.15349.json · badge: /api/ran/2405.15349.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
TrustedLLM/UnKE canonical (classifier label)
classifier basis: classifier_2025
5 ran · 7 no recorded run
FunctionStatusWhere it lives
get_causal_mask Ran
ran; our contract draft was wrong, not the code
TrustedLLM/UnKE/code/unke.py
pointer only (licence: NONE) · get_code("4c479fe8591c3b1b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, TrustedLLM/UnKE 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_optimizer_params Ran
ran; our contract draft was wrong, not the code
TrustedLLM/UnKE/code/unke.py
pointer only (licence: NONE) · get_code("38bfd17b85d0eb13")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, TrustedLLM/UnKE 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_parameter Ran
ran, honoured the contract we drafted
TrustedLLM/UnKE/code/unke.py
pointer only (licence: NONE) · get_code("9e86478d518093f8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, TrustedLLM/UnKE 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_qwen2_causal_mask Ran
ran; our contract draft was wrong, not the code
TrustedLLM/UnKE/code/unke.py
pointer only (licence: NONE) · get_code("6c6b2b6309e0acf6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, TrustedLLM/UnKE 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
TrustedLLM/UnKE/code/unke.py
pointer only (licence: NONE) · get_code("70f6ab8bde55420e")
How it ran

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

Config Not yet run
unverified (harvested, no recorded run)
TrustedLLM/UnKE/code/unke.py
pointer only (licence: NONE) · get_code("b914e7641a23c5d6")
How it ran

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

Trace Not yet run
unverified (harvested, no recorded run)
TrustedLLM/UnKE/code/unke.py
pointer only (licence: NONE) · get_code("c37190b098c7eb47")
How it ran

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

TraceDict Not yet run
unverified (harvested, no recorded run)
TrustedLLM/UnKE/code/unke.py
pointer only (licence: NONE) · get_code("58964585777d5e0a")
How it ran

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

compute_ks Not yet run
unverified (harvested, no recorded run)
TrustedLLM/UnKE/code/unke.py
pointer only (licence: NONE) · get_code("c225bf0a6d643a8d")
How it ran

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

compute_z Not yet run
unverified (harvested, no recorded run)
TrustedLLM/UnKE/code/unke.py
pointer only (licence: NONE) · get_code("d9998262dbf04f50")
How it ran

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

execute_batch_unke Not yet run
unverified (harvested, no recorded run)
TrustedLLM/UnKE/code/unke.py
pointer only (licence: NONE) · get_code("0a43e20a26bbf657")
How it ran

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

set_requires_grad Not yet run
unverified (harvested, no recorded run)
TrustedLLM/UnKE/code/unke.py
pointer only (licence: NONE) · get_code("6b1602732a4a731f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, TrustedLLM/UnKE 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 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 6 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 1 the same month, 4 later) and 6 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
recursive_copy
brick of this paper's assembly: helper
48 other papers
17 dated earlier, 4 the same month, 26 later, 1 same year, order not determinable
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
Trace
brick of this paper's assembly: helper
1 other paper
1 dated earlier
2309.15098 (2023-09)
Attention Satisfies: A Constraint-Satisfaction Lens on Factual Errors of Language Models
TraceDict
brick of this paper's assembly: helper
1 other paper
1 dated earlier
2309.15098 (2023-09)
Attention Satisfies: A Constraint-Satisfaction Lens on Factual Errors of Language Models
get_causal_mask
brick of this paper's assembly: helper
1 other paper
1 later · 1 only as an assembly brick
2604.12559 (2026-04)
FABLE: Fine-grained Fact Anchoring for Unstructured Model Editing
get_optimizer_params
brick of this paper's assembly: scheduler
1 other paper
1 later · 1 only as an assembly brick
2604.12559 (2026-04)
FABLE: Fine-grained Fact Anchoring for Unstructured Model Editing
get_qwen2_causal_mask
brick of this paper's assembly: helper
1 other paper
1 later · 1 only as an assembly brick
2604.12559 (2026-04)
FABLE: Fine-grained Fact Anchoring for Unstructured Model Editing

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

Recent knowledge editing methods have primarily focused on modifying structured knowledge in large language models. However, this task setting overlooks the fact that a significant portion of real-world knowledge is stored in an unstructured format, characterized by long-form content, noise, and a complex yet comprehensive nature. Techniques like "local layer key-value storage" and "term-driven optimization", as used in previous methods like MEMIT, are not effective for handling unstructured knowledge. To address these challenges, we propose a novel Unstructured Knowledge Editing method, namely UnKE, which extends previous assumptions in the layer dimension and token dimension. Firstly, in the layer dimension, we propose non-local block key-value storage to replace local layer key-value storage, increasing the representation ability of key-value pairs and incorporating attention layer knowledge. Secondly, in the token dimension, we replace "term-driven optimization" with "cause-driven optimization", which edits the last token directly while preserving context, avoiding the need to locate terms and preventing the loss of context information. Results on newly proposed unstructured knowledge editing dataset (UnKEBench) and traditional structured datasets demonstrate that UnKE achieves remarkable performance, surpassing strong baselines. In addition, UnKE has robust batch editing and sequential editing capabilities. The code is available in the repository: https://github.com/TrustedLLM/UnKE.

For agents

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

get_harvested_code_for_paper("2405.15349")
get_code_for_paper("2405.15349")
have("2405.15349")

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

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

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

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

Connect an agent — have() is free.