K-Edit: Language Model Editing with Contextual Knowledge Awareness

📅 2025-02-15
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
To address context inconsistency arising from single-point edits during knowledge updates in large language models (LLMs), this paper proposes a knowledge graph (KG)-guided contextual editing method. The core innovation lies in the first integration of KG structural consistency into model editing, introducing a “contextual editing” mechanism: multi-hop semantic associations are identified via KG embeddings; gradient projection is applied for parameter updates, while edge-propagation-driven contextual generation and multi-hop consistency constraints jointly optimize edited outputs. This approach ensures high single-edit accuracy while synchronously correcting associated knowledge, significantly improving multi-hop question answering performance. It supports up to thousands of concurrent edits, demonstrating strong scalability. Crucially, post-editing generalization capability remains intact—no degradation in downstream task performance is observed.

Technology Category

Application Category

📝 Abstract
As the world changes, we need to be able to update our models and correct false information without costly retraining. Knowledge-based model editing enables precise modifications to the weights of large language models in order to modify the information encoded within. Recent approaches have seen success in enabling recall of edited information for thousands of edits at once. However, these approaches fail to produce edits that account for associated contextual information. We present K-Edit, an effective approach to generating contextually consistent knowledge edits. By using knowledge graphs, which maintain contextual consistency when an edge is edited, we are able to generate additional extit{contextual edits} that ensure consistency of related information in the language model. Our experiments demonstrate significant improvements in multi-hop question answering while maintaining the general effectiveness and scalability of model edits.
Problem

Research questions and friction points this paper is trying to address.

Update models without retraining
Ensure contextual consistency in edits
Improve multi-hop question answering
Innovation

Methods, ideas, or system contributions that make the work stand out.

Contextual Knowledge Awareness
Knowledge Graphs Integration
Precision Model Editing
🔎 Similar Papers
No similar papers found.
E
Elan Markowitz
University of Southern California - Information Sciences Institute
Anil Ramakrishna
Anil Ramakrishna
Amazon
Machine LearningSentiment Analysis
Ninareh Mehrabi
Ninareh Mehrabi
Amazon
AI SafetyResponsible AI
Charith Peris
Charith Peris
Senior Applied Scientist, Amazon AGI
NLUGenerative AIResponsible AIAstrophysics
R
Rahul Gupta
Amazon AGI
K
Kai-Wei Chang
Amazon AGI, University of California - Los Angeles
A
A. Galstyan
Amazon AGI