Large language models (LLMs) excel at factual recall yet still propagate stale or incorrect knowledge. In-context knowledge editing offers a gradient-free remedy suitable for black-box APIs, but current editors rely on static demonstration sets chosen by surface-level similarity, leading to two persistent obstacles: (i) a quantity-quality trade-off, and (ii) lack of adaptivity to task difficulty. We address these issues by dynamically selecting supporting demonstrations according to their utility for the edit. We propose Dynamic Retriever for In-Context Knowledge Editing (DR-IKE), a lightweight framework that (1) trains a BERT retriever with REINFORCE to rank demonstrations by editing reward, and (2) employs a learnable threshold to prune low-value examples, shortening the prompt when the edit is easy and expanding it when the task is hard. DR-IKE performs editing without modifying model weights, relying solely on forward passes for compatibility with black-box LLMs. On the COUNTERFACT benchmark, it improves edit success by up to 17.1%, reduces latency by 41.6%, and preserves accuracy on unrelated queries, demonstrating scalable and adaptive knowledge editing. The code is available at https://github.com/mwnafee/DR-IKE .
EtCon: Edit-then-Consolidate for Reliable Knowledge Editing
Wuhan University(武汉大学);Shanghai Innovation Institute(上海创新研究院);Fudan University(复旦大学);Shanghai Jiao Tong University(上海交通大学);University of Science and Technology of China(中国科学技术大学)
Enhancing Agentic Textual Graph Retrieval with Synthetic Stepwise Supervision
Institute for AI Industry Research (AIR), Tsinghua University(人工智能产业研究院(AIR),清华大学);Peking University(北京大学);School of Information, Renmin University of China(中国人民大学信息学院);Harbin Institute of Technology(哈尔滨工业大学);North China Electric Power University(华北电力大学);GDS Holdings Limited(GDS控股有限公司)
PACE: Improving Prompt with Actor-Critic Editing for Large Language Model
Key Laboratory of High Confidence Software Technologies (Peking University)(高可信软件技术重点实验室(北京大学));School of Computer Science, Peking University(北京大学计算机学院)
Learning to Edit Knowledge via Instruction-based Chain-of-Thought Prompting
Beijing University of Posts and Telecommunications(北京邮电大学);Peking University(北京大学);Huawei Technologies Ltd.(华为技术有限公司);Chongqing University of Posts and Telecommunications(重庆邮电大学)
Do correct answers have stable latent knowledge support?
University of Sydney(悉尼大学);Nanjing University of Science and Technology(南京理工大学);Edith Cowan University(伊迪斯科文大学);National University of Singapore(新加坡国立大学)
SWE-Edit: Rethinking Code Editing for Efficient SWE-Agent
Microsoft(微软);Department of Computer Sciences, University of Wisconsin–Madison(威斯康星大学麦迪逊分校计算机科学系);Stanford Institute for Human-Centered Artificial Intelligence (HAI), Stanford University(斯坦福大学人机交互研究所)
MILA - Quebec AI Institute(MILA - 魁北克人工智能研究所);Microsoft(微软公司);UNC Chapel Hill(北卡罗来纳大学教堂山分校);North Carolina State University(北卡罗来纳州立大学);Massachusetts Institute of Technology(麻省理工学院);Google DeepMind(谷歌DeepMind)
SPARK: Adaptive Parametric Knowledge Participation for Faithful Retrieval-Augmented Generation
School of Computer Science and Engineering, Northeastern University, Shenyang, China(东北大学计算机科学与工程学院,沈阳,中国);Department of Computer Science and Technology, Tsinghua University, Beijing, China(清华大学计算机科学与技术系,北京,中国)