Papers › AnyEdit: Edit Any Knowledge Encoded in Language Models
AnyEdit: Edit Any Knowledge Encoded in Language Models
Houcheng Jiang, Junfeng Fang, Ningyu Zhang, Guojun Ma, Mingyang Wan, Xiang Wang, Xiangnan He, Tat-Seng Chua
Large language models (LLMs) often produce incorrect or outdated information, necessitating efficient and precise knowledge updates. Current model editing methods, however, struggle with long-form knowledge in diverse formats, such as poetry, code snippets, and mathematical derivations. These limitations arise from their reliance on editing a single token's hidden state, a limitation we term "efficacy barrier". To solve this, we propose AnyEdit, a new autoregressive editing paradigm. It decomposes long-form knowledge into sequential chunks and iteratively edits the key token in each chunk, ensuring consistent and accurate outputs. Theoretically, we ground AnyEdit in the Chain Rule of Mutual Information, showing its ability to update any knowledge within LLMs. Empirically, it outperforms strong baselines by 21.5% on benchmarks including UnKEBench, AKEW, and our new EditEverything dataset for long-form diverse-formatted knowledge. Additionally, AnyEdit serves as a plug-and-play framework, enabling current editing methods to update knowledge with arbitrary length and format, significantly advancing the scope and practicality of LLM knowledge editing.
In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.
Code
No code repository is listed for this paper in the archive or in Syntology's graph.
Code Syntology ran Syntology
Not run by Syntology. Nothing on this page verifies that the listed code works.
Tasks
Results from the paper archive 2025-07-28
| Task | Dataset | Model | Metric | Value | Rank at snapshot | Leaderboard | Report |
|---|---|---|---|---|---|---|---|
| Image Editing | ImgEdit-Data | AnyEdit | Action | 2.65 | #7 of 9 | Archive leaderboard | report |
| Image Editing | ImgEdit-Data | AnyEdit | Add | 3.18 | #7 of 9 | Archive leaderboard | report |
| Image Editing | ImgEdit-Data | AnyEdit | Adjust | 2.95 | #7 of 9 | Archive leaderboard | report |
| Image Editing | ImgEdit-Data | AnyEdit | Background | 2.24 | #7 of 9 | Archive leaderboard | report |
| Image Editing | ImgEdit-Data | AnyEdit | Extract | 1.88 | #7 of 9 | Archive leaderboard | report |
| Image Editing | ImgEdit-Data | AnyEdit | Hybrid | 1.56 | #7 of 9 | Archive leaderboard | report |
| Image Editing | ImgEdit-Data | AnyEdit | Overall | 2.45 | #7 of 9 | Archive leaderboard | report |
| Image Editing | ImgEdit-Data | AnyEdit | Remove | 2.23 | #7 of 9 | Archive leaderboard | report |
| Image Editing | ImgEdit-Data | AnyEdit | Replace | 2.47 | #7 of 9 | Archive leaderboard | report |
| Image Editing | ImgEdit-Data | AnyEdit | Style | 2.85 | #7 of 9 | Archive leaderboard | report |
Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.
Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections