paper-with-me

홈 › Papers

In-Context Editing: Learning Knowledge from Self-Induced Distributions

2024-06-17 · Siyuan Qi, Bangcheng Yang, Kailin Jiang, Xiaobo Wang, Jiaqi Li, Yifan Zhong, Yaodong Yang, Zilong Zheng

In scenarios where language models must incorporate new information efficiently without extensive retraining, traditional fine-tuning methods are prone to overfitting, degraded generalization, and unnatural language generation. To address these limitations, we introduce Consistent In-Context Editing (ICE), a novel approach leveraging the model's in-context learning capability to optimize toward a contextual distribution rather than a one-hot target. ICE introduces a simple yet effective optimization framework for the model to internalize new knowledge by aligning its output distributions with and without additional context. This method enhances the robustness and effectiveness of gradient-based tuning methods, preventing overfitting and preserving the model's integrity. We analyze ICE across four critical aspects of knowledge editing: accuracy, locality, generalization, and linguistic quality, demonstrating its advantages. Experimental results confirm the effectiveness of ICE and demonstrate its potential for continual editing, ensuring that the integrity of the model is preserved while updating information.

📄 PDF Abstract BibTeX arXiv:2406.11194

Code (2)

bigai-ai/ICE 공식 구현 pytorch
EVOKE-LMM/EVOKE pytorch

Tasks

Image EditingIn-Context Learningknowledge editingText Generation

Similar Papers 제목 키워드 기반

Improving Atomic-Fact Recall via Focused Views in Unstructured Knowledge Editing

2026-10-02 · Ding Wu, Ye Zhang, Haoyu Wang, Tianci Liu hf

Large language models (LLMs) increasingly serve as general-purpose interfaces to factual knowledge, but their parameters do not automatically reflect information that changes after pretraining. Knowledge editing (KE) pro…

knowledge editing

Evaluating the Ripple Effects of Knowledge Editing in Language Models

2023-07-24 · Roi Cohen, Eden Biran, Ori Yoran, Amir Globerson 외

Modern language models capture a large body of factual knowledge. However, some facts can be incorrectly induced or become obsolete over time, resulting in factually incorrect generations. This has led to the development…

Diagnosticknowledge editingModel Editing

Beyond Local Edits: Embedding-Virtualized Knowledge for Broader Evaluation and Preservation of Model Editing

2026-02-02 · Shuainan Liu, Xuanang Chen, Ben He, Le Sun arxiv

Knowledge editing methods for large language models are commonly evaluated using predefined benchmarks that assess edited facts together with a limited set of related or neighboring knowledge. While effective, such evalu…

knowledge editing

Editing as Unlearning: Are Knowledge Editing Methods Strong Baselines for Large Language Model Unlearning?

2025-05-26 · Zexi Li, Xiangzhu Wang, William F. Shen, Meghdad Kurmanji 외

Large language Model (LLM) unlearning, i.e., selectively removing information from LLMs, is vital for responsible model deployment. Differently, LLM knowledge editing aims to modify LLM knowledge instead of removing it. …

In-Context Learningknowledge editingLanguage ModelingLanguage Modelling+1

EVEDIT: Event-based Knowledge Editing with Deductive Editing Boundaries

2024-02-17 · Jiateng Liu, Pengfei Yu, Yuji Zhang, Sha Li 외

The dynamic nature of real-world information necessitates efficient knowledge editing (KE) in large language models (LLMs) for knowledge updating. However, current KE approaches, which typically operate on (subject, rela…

knowledge editing