DynEdit: Dynamic Entropy-Guided Sequential Editing for Large Language Models
Jinhu Fu, Yan Bai, Yihang Lou, Li Sun, Jiahong Wu, Xiangxiang Chu, Sen Su
NeurIPS page · Open on the map
Category: LLM Reasoning, Memory & RAG › LLM Knowledge Editing · Type: new method · Keywords: knowledge editing, large language models, entropy-guided editing, long-sequence editing, parameter-efficient updates, LLM maintenance
Summary
DynEdit introduces a dynamic entropy-guided sequential editing framework that adaptively focuses on high-entropy tokens to improve long-sequence knowledge editing in LLMs.
Explained to a 5-year-old
Big computer brains learn a lot of facts. Sometimes those facts get old or wrong. We want to fix them without teaching the whole brain again. This new idea looks at which parts of the text are confusing and edits those more. It helps the brain stay up-to-date and remember important things better.
Explained to a 5-year-old, longer
Large language models are computer programs that can talk and write. They store many facts about the world, like how a dog barks or why the sky is blue. Over time, some of those facts can become outdated or incorrect. Changing a model usually means retraining it completely, which takes a lot of time and computer power. Researchers want a faster way to update just the wrong facts. They noticed that some parts of a text are harder to understand, shown by a measure called entropy. These confusing parts often contain the most important information. The new method pays extra attention to those confusing parts when editing. It slides a window over the text, making the window bigger where the text is more confusing. Inside each window, it tweaks the model more for the tricky tokens. This helps fix the wrong facts while keeping the rest of the model stable. The approach works well on several tests, improving how well the model answers questions. It also keeps the model’s overall understanding close to perfect. By focusing on the hardest parts, the model learns faster and stays more accurate.
For a technical reader
The work addresses the challenge of updating knowledge in large language models for long documents without full model retraining. It observes that token entropy correlates with editing difficulty and semantic importance, and proposes a dynamic sliding-window scheme that expands coverage over high-entropy regions. Within each window, it applies entropy-guided token-level optimization to strengthen updates on information-dense tokens. Experiments across multiple benchmarks and backbone models demonstrate consistent improvements, achieving up to +14.0 BLEU points on paraphrase queries and near-saturated semantic scores.
Problem
Updating knowledge in large language models for long sequences is challenging because existing editors either cover too little or distribute editing effort uniformly, failing to target the most difficult and semantically important tokens. This limits effective knowledge editing without full model retraining.
Method
The approach computes token-level entropy to identify difficult and important tokens, then uses a non-uniform sliding window that expands coverage over high-entropy regions and applies entropy-guided token-level optimization to enhance updates on information-dense tokens within each window.
Results
The approach achieves up to +14.0 BLEU point improvements on challenging paraphrase queries and reaches near-saturated semantic scores across diverse knowledge domains, consistently beating competitive baselines.
Contributions
It shows that token entropy can indicate editing difficulty and semantic importance, and it proposes a dynamic framework that uses entropy to guide non-uniform sliding windows and token-level optimization for long-sequence editing. The paper also presents comprehensive experiments on several benchmarks and backbone models.
Practical relevance
Enables up-to-date knowledge in large language models for long documents without costly full retraining, supporting reliable deployment in real-world applications.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction