REPAIR: Robust Editing via Progressive Adaptive Intervention and Reintegration
Yisu Wang, Ming Wang, Haoyuan Song, Wenjie Huang, Chaozheng Wang, Yi Xie, Xuming Ran
TL;DR
REPAIR introduces a robust lifelong editing framework for large language models that mitigates instability and unintended ripple effects from sequential edits. It combines a dual-memory routing mechanism, distribution-aware inner-batch knowledge distillation, closed-loop error feedback with memory pruning, and loss-aware subspace merging via a weighted TIES operator to achieve precise, low-cost updates while preserving non-target knowledge. Empirical results across multiple model families and editing scales show improved editing accuracy, stronger generalization, and reduced hallucinations compared with prior baselines, demonstrating solid stability in large-scale sequential edits. The framework offers practical significance for continuously evolving LLMs by delivering reliable, auditable, and locality-preserving updates under realistic editing workloads.
Abstract
Post-training for large language models (LLMs) is constrained by the high cost of acquiring new knowledge or correcting errors and by the unintended side effects that frequently arise from retraining. To address these issues, we introduce REPAIR (Robust Editing via Progressive Adaptive Intervention and Reintegration), a lifelong editing framework designed to support precise and low-cost model updates while preserving non-target knowledge. REPAIR mitigates the instability and conflicts of large-scale sequential edits through a closed-loop feedback mechanism coupled with dynamic memory management. Furthermore, by incorporating frequent knowledge fusion and enforcing strong locality guards, REPAIR effectively addresses the shortcomings of traditional distribution-agnostic approaches that often overlook unintended ripple effects. Our experiments demonstrate that REPAIR boosts editing accuracy by 10%-30% across multiple model families and significantly reduces knowledge forgetting. This work introduces a robust framework for developing reliable, scalable, and continually evolving LLMs.
