Knowledge Editing in Language Models via Adapted Direct Preference Optimization
Amit Rozner, Barak Battash, Lior Wolf, Ofir Lindenbaum

TL;DR
This paper introduces Knowledge Direct Preference Optimization (KDPO), a novel method for efficiently editing knowledge in large language models by continually updating their stored information without retraining.
Contribution
The paper presents KDPO, a new online approach for knowledge editing in LLMs that improves localization and effectiveness of knowledge updates compared to existing methods.
Findings
KDPO achieves comparable or better performance than previous methods.
It effectively handles multiple sequential knowledge edits.
Ablation studies confirm the advantages of KDPO over standard DPO.
Abstract
Large Language Models (LLMs) can become outdated over time as they may lack updated world knowledge, leading to factual knowledge errors and gaps. Knowledge Editing (KE) aims to overcome this challenge using weight updates that do not require expensive retraining. We propose treating KE as an LLM alignment problem. Toward this goal, we introduce Knowledge Direct Preference Optimization (KDPO), a variation of the Direct Preference Optimization (DPO) that is more effective for knowledge modifications. Our method is based on an online approach that continually updates the knowledge stored in the model. We use the current knowledge as a negative sample and the new knowledge we want to introduce as a positive sample in a process called DPO. We also use teacher-forcing for negative sample generation and optimize using the positive sample, which helps maintain localized changes. We tested our…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
Taxonomy
TopicsNatural Language Processing Techniques · Speech and dialogue systems · Semantic Web and Ontologies
MethodsDirect Preference Optimization
