Model Editing Harms General Abilities of Large Language Models: Regularization to the Rescue

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Gu, Jia-Chen, Xu, Hao-Xiang, Ma, Jun-Yu, Lu, Pan, Ling, Zhen-Hua, Chang, Kai-Wei, Peng, Nanyun
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866916423886962688
author Gu, Jia-Chen
Xu, Hao-Xiang
Ma, Jun-Yu
Lu, Pan
Ling, Zhen-Hua
Chang, Kai-Wei
Peng, Nanyun
author_facet Gu, Jia-Chen
Xu, Hao-Xiang
Ma, Jun-Yu
Lu, Pan
Ling, Zhen-Hua
Chang, Kai-Wei
Peng, Nanyun
contents Model editing is a technique that edits the large language models (LLMs) with updated knowledge to alleviate hallucinations without resource-intensive retraining. While current model editing methods can effectively modify a model's behavior within a specific area of interest, they often overlook the potential unintended side effects on the general abilities of LLMs such as reasoning, natural language inference, and question answering. In this paper, we raise concerns that model editing's improvements on factuality may come at the cost of a significant degradation of the model's general abilities. We systematically analyze the side effects by evaluating four popular editing methods on three LLMs across eight representative tasks. Our extensive empirical experiments show that it is challenging for current editing methods to simultaneously improve factuality of LLMs and maintain their general abilities. Our analysis reveals that the side effects are caused by model editing altering the original model weights excessively, leading to overfitting to the edited facts. To mitigate this, a method named RECT is proposed to regularize the edit update weights by imposing constraints on their complexity based on the RElative Change in weighT. Evaluation results show that RECT can significantly mitigate the side effects of editing while still maintaining over 94% editing performance.
format Preprint
id arxiv_https___arxiv_org_abs_2401_04700
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Model Editing Harms General Abilities of Large Language Models: Regularization to the Rescue
Gu, Jia-Chen
Xu, Hao-Xiang
Ma, Jun-Yu
Lu, Pan
Ling, Zhen-Hua
Chang, Kai-Wei
Peng, Nanyun
Computation and Language
Model editing is a technique that edits the large language models (LLMs) with updated knowledge to alleviate hallucinations without resource-intensive retraining. While current model editing methods can effectively modify a model's behavior within a specific area of interest, they often overlook the potential unintended side effects on the general abilities of LLMs such as reasoning, natural language inference, and question answering. In this paper, we raise concerns that model editing's improvements on factuality may come at the cost of a significant degradation of the model's general abilities. We systematically analyze the side effects by evaluating four popular editing methods on three LLMs across eight representative tasks. Our extensive empirical experiments show that it is challenging for current editing methods to simultaneously improve factuality of LLMs and maintain their general abilities. Our analysis reveals that the side effects are caused by model editing altering the original model weights excessively, leading to overfitting to the edited facts. To mitigate this, a method named RECT is proposed to regularize the edit update weights by imposing constraints on their complexity based on the RElative Change in weighT. Evaluation results show that RECT can significantly mitigate the side effects of editing while still maintaining over 94% editing performance.
title Model Editing Harms General Abilities of Large Language Models: Regularization to the Rescue
topic Computation and Language
url https://arxiv.org/abs/2401.04700