The Butterfly Effect of Model Editing: Few Edits Can Trigger Large Language Models Collapse
Wanli Yang, Fei Sun, Xinyu Ma, Xun Liu, Dawei Yin, Xueqi Cheng
TL;DR
This work reveals that even a single fact edit can trigger collapse in large language models, challenging the practicality of current model-editing approaches. By introducing ME-PPL, a perplexity-based surrogate, and two challenging benchmarks (HardCF and HardEdit), the authors demonstrate that most editing methods induce notable degradation in downstream tasks, especially under sequential edits. The study highlights significant risks in deploying editing techniques in real-world systems and calls for robust editing methods and stress-testing benchmarks to ensure reliability. The findings establish a framework for rapid collapse detection and provide a dataset to guide future research toward safer, more dependable model editing.
Abstract
Although model editing has shown promise in revising knowledge in Large Language Models (LLMs), its impact on the inherent capabilities of LLMs is often overlooked. In this work, we reveal a critical phenomenon: even a single edit can trigger model collapse, manifesting as significant performance degradation in various benchmark tasks. However, benchmarking LLMs after each edit, while necessary to prevent such collapses, is impractically time-consuming and resource-intensive. To mitigate this, we propose using perplexity as a surrogate metric, validated by extensive experiments demonstrating changes in an edited model's perplexity are strongly correlated with its downstream task performances. We further conduct an in-depth study on sequential editing, a practical setting for real-world scenarios, across various editing methods and LLMs, focusing on hard cases from our previous single edit studies. The results indicate that nearly all examined editing methods result in model collapse after only few edits. To facilitate further research, we have utilized GPT-3.5 to develop a new dataset, HardEdit, based on those hard cases. This dataset aims to establish the foundation for pioneering research in reliable model editing and the mechanisms underlying editing-induced model collapse. We hope this work can draw the community's attention to the potential risks inherent in model editing practices.
