Built independently by an author, for readers. Read the story and support ChapterPal

keyword

editing efficacy

Editing efficacy is a metric and evaluation criterion in machine learning model editing that measures the success rate or degree to which an editing method successfully updates, inserts, or corrects specific targeted knowledge within a model. In the context of large language models, it assesses whether the edited model produces the intended target response when evaluated directly on the specified editing prompt, confirming that the targeted fact or behavior has been altered. This measurement serves as the foundational benchmark for determining whether an editing intervention successfully overrides outdated or erroneous information, and it is typically analyzed alongside other key model editing dimensions, including generalization across rephrased inputs, locality to ensure unrelated knowledge remains undisturbed, and portability to maintain consistency in downstream reasoning.

2 items

AnyEdit: Edit Any Knowledge Encoded in Language Models

AnyEdit: Edit Any Knowledge Encoded in Language Models

Houcheng Jiang, Junfeng Fang, Ningyu Zhang, Mingyang Wan, Guojun Ma, Xiang Wang, Xiangnan He, Tat-Seng Chua

OrganizationsByteDanceNational University of SingaporeUniversity of Science and Technology of ChinaZhejiang University

Why you should read this

Proposes AnyEdit, an autoregressive framework that breaks down complex, long-form knowledge into sequential chunks to iteratively edit key tokens, enabling existing model editing techniques to update diverse formats like code and mathematics without degrading accuracy over long outputs.

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 as “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. Our code is available at: https://github.com/jianghoucheng/AnyEdit.

Added

2026-10-03

Can We Edit Factual Knowledge by In-Context Learning?

Can We Edit Factual Knowledge by In-Context Learning?

Ce Zheng, Lei Li, Qingxiu Dong, Yuxuan Fan, Zhiyong Wu, Jingjing Xu, Baobao Chang

OrganizationsPeking UniversityShanghai Artificial Intelligence Laboratory

Why you should read this

Proposes an in-context knowledge editing framework that updates facts in large language models using structured demonstration prompts, achieving competitive editing performance without costly parameter updates or catastrophic forgetting.

Previous studies have shown that large language models (LLMs) like GPTs store massive factual knowledge in their parameters. However, the stored knowledge could be false or out-dated. Traditional knowledge editing methods refine LLMs via fine-tuning on texts containing specific knowledge. However, with the increasing scales of LLMs, these gradient-based approaches bring large computation costs. The trend of model-as-a-service also makes it impossible to modify knowledge in black-box LLMs. Inspired by in-context learning (ICL), a new paradigm based on demonstration contexts without parameter updating, we explore whether ICL can edit factual knowledge. To answer this question, we give a comprehensive empirical study of ICL strategies. Experiments show that in-context knowledge editing (IKE), without any gradient and parameter updating, achieves a competitive success rate compared to gradient-based methods on GPT-J (6B) but with much fewer side effects, including less over-editing on similar but unrelated facts and less knowledge forgetting on previously stored knowledge. We also apply the method to larger LMs with tens or hundreds of parameters like OPT-175B, which shows the scalability of our method. The code is available at https://github.com/pkunlp-icler/IKE.

Added

2026-09-26