Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Qi, Siyuan, Yang, Bangcheng, Jiang, Kailin, Wang, Xiaobo, Li, Jiaqi, Zhong, Yifan, Yang, Yaodong, Zheng, Zilong
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:https://arxiv.org/abs/2406.11194
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866916665333121024
author Qi, Siyuan
Yang, Bangcheng
Jiang, Kailin
Wang, Xiaobo
Li, Jiaqi
Zhong, Yifan
Yang, Yaodong
Zheng, Zilong
author_facet Qi, Siyuan
Yang, Bangcheng
Jiang, Kailin
Wang, Xiaobo
Li, Jiaqi
Zhong, Yifan
Yang, Yaodong
Zheng, Zilong
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2406_11194
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle In-Context Editing: Learning Knowledge from Self-Induced Distributions
Qi, Siyuan
Yang, Bangcheng
Jiang, Kailin
Wang, Xiaobo
Li, Jiaqi
Zhong, Yifan
Yang, Yaodong
Zheng, Zilong
Computation and Language
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.
title In-Context Editing: Learning Knowledge from Self-Induced Distributions
topic Computation and Language
url https://arxiv.org/abs/2406.11194