Conflict-Resolving and Sharpness-Aware Minimization for Generalized Knowledge Editing with Multiple Updates

Duy Nguyen, Hanqi Xiao, Archiki Prasad, Elias Stengel-Eskin, Hyunji Lee, Mohit Bansal

Abstract

Large language models (LLMs) rely on internal knowledge to solve many downstream tasks, making it crucial to keep them up to date. Since full retraining is expensive, prior work has explored efficient alternatives such as model editing and parameter-efficient fine-tuning. However, these approaches often break down in practice due to poor generalization across inputs, limited stability, and knowledge conflict. To address these limitations, we propose the CoRSA (Conflict-Resolving and Sharpness-Aware Minimization) training framework, a parameter-efficient, holistic approach for knowledge editing with multiple updates. CoRSA tackles multiple challenges simultaneously: it improves generalization to different input forms and enhances stability across multiple updates by minimizing loss curvature, and resolves conflicts by maximizing the margin between new and prior knowledge. Across three widely used fact editing benchmarks, CoRSA achieves significant gains in generalization, outperforming baselines with average absolute improvements of 12.42% over LoRA and 10% over model editing methods. With multiple updates, it maintains high update efficacy while reducing catastrophic forgetting by 27.82% compared to LoRA. CoRSA also generalizes to the code domain, outperforming the strongest baseline by 5.48% Pass@5 in update efficacy.

Introduction

As the world evolves, the static knowledge embedded within Large Language Models (LLMs) during pre-training quickly becomes obsolete. While retraining models from scratch is computationally prohibitive, existing alternatives like model editing (e.g., MEMIT) or parameter-efficient fine-tuning (e.g., LoRA) face significant hurdles in real-world deployment. Specifically, these methods often struggle with generalization to paraphrased prompts, stability over sequential updates, and the persistent influence of outdated "prior" knowledge.

The Challenges of Knowledge Editing

Effective knowledge editing requires satisfying three critical criteria:

  1. Generalization: The model must recognize a new fact regardless of the prompt's phrasing.
  2. Stability under Multiple Updates: Sequential edits should not lead to "catastrophic forgetting," where new information corrupts previously learned updates.
  3. Conflict Resolution: LLMs often exhibit a "reversion" effect, where the strength of pre-trained priors causes the model to revert to old, incorrect facts even after an update.

The CoRSA Framework

To address these issues, we introduce CoRSA (Conflict-Resolving and Sharpness-Aware Minimization), a holistic optimization framework applied to LoRA adapters.

Overview of the CoRSA framework, addressing knowledge conflicts and update stability.

CoRSA integrates three primary technical components:

Conflicting Knowledge Suppression

Standard Supervised Fine-Tuning (SFT) increases the probability of a new fact but often fails to suppress the probability of the old, conflicting fact. CoRSA utilizes Direct Preference Optimization (DPO) to explicitly maximize the margin between the new knowledge (the preferred completion) and the outdated knowledge (the rejected completion). This active suppression prevents the model from "reactivating" old facts during inference.

Sharpness-Aware Minimization (SAM)

Generalization and stability are closely linked to the geometry of the loss landscape. Standard SFT often converges to "sharp" minima that are highly sensitive to parameter perturbations. CoRSA employs SAM to seek out "flat" regions in the parameter space. A flatter loss landscape ensures that subsequent updates—which act as additive perturbations to the weights—are less likely to degrade the performance of previously edited facts.

Gradient Conflict Resolution

Simultaneously optimizing for new knowledge (SFT) and suppressing old knowledge (DPO) can lead to conflicting gradients. To ensure stable convergence, CoRSA incorporates PCGrad, which projects conflicting gradients away from each other, allowing the model to learn both objectives effectively without instability.

Experimental Evaluation

We evaluated CoRSA across diverse domains to test factual recall, multi-hop reasoning, and structural logic:

  • Factual Knowledge: Using CounterFact, ZsRE, and MQuAKE-Remastered to test recall and multi-hop reasoning.
  • Temporal Updates: Using AToKe-ME to simulate sequential changes to the same subject over time.
  • Code Domain: Using CodeUpdateArena to test synthetic API updates and program synthesis.

Key Results

CoRSA demonstrates substantial improvements over existing baselines:

  • Superior Generalization: CoRSA achieved an average absolute improvement of 12.42% over standard LoRA and approximately 10% over specialized model editing methods like MEMIT.
  • Sequential Stability: In continual update scenarios, CoRSA reduced catastrophic forgetting by 27.82% compared to LoRA. On Llama-3.1-8B, it maintained a 98.04% update efficacy even after multiple sequential edits.
  • Eliminating "Zombie" Facts: While standard LoRA retained outdated knowledge in nearly 10% of cases on CounterFact, CoRSA reduced this retention to just 1.28% (and near-zero on MQuAKE).
  • Code Domain Success: CoRSA outperformed the strongest baseline (F-Learning) in the code domain by 5.48% (Pass@5), proving its versatility beyond simple factual triplets.

Conclusion

CoRSA provides a robust, parameter-efficient solution for the dynamic maintenance of LLM knowledge. By combining preference optimization for conflict resolution with sharpness-aware minimization for stability, it bridges the gap between efficient fine-tuning and reliable, long-term model editing. While the framework introduces a computational overhead (approximately 1.8× to 2.5× slower than standard LoRA), the gains in reliability and generalization make it a compelling choice for real-world applications.

Summary updated

BibTeX
@misc{nguyen2026conflict,
  author = {Duy Nguyen and Hanqi Xiao and Archiki Prasad and Elias Stengel-Eskin and Hyunji Lee and Mohit Bansal},
  title = {{Conflict-Resolving and Sharpness-Aware Minimization for Generalized Knowledge Editing with Multiple Updates}},
  year = {2026},
  eprint = {2602.03696},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.03696},
}
Figure