冲突解决与尖锐性感知最小化:多更新通用知识编辑
Conflict-Resolving and Sharpness-Aware Minimization for Generalized Knowledge Editing with Multiple Updates
AI总结:
CoRSA通过冲突解决与尖锐性感知最小化方法,提升多更新知识编辑的泛化能力和稳定性,实现比基线方法更高的性能。
摘要:
大型语言模型(LLMs)依赖内部知识来解决许多下游任务,因此保持其最新至关重要。由于完全重新训练成本高昂,先前的工作探索了高效的替代方法,如模型编辑和参数高效微调。然而,这些方法在实践中常常因在输入上的泛化能力差、稳定性有限以及知识冲突而失效。为了解决这些限制,我们提出了CoRSA(冲突解决与尖锐性感知最小化)训练框架,这是一种参数高效、整体性的多更新知识编辑方法。CoRSA同时解决多个挑战:它通过最小化损失曲率来提高对不同输入形式的泛化能力,并通过最大化新旧知识之间的边距来解决冲突。在三个广泛使用的事实编辑基准测试中,CoRSA在泛化方面取得了显著进步,其性能优于基线方法,平均绝对改进幅度为LoRA的12.42%和模型编辑方法的10%。在多次更新的情况下,它保持了高更新效率,同时将灾难性遗忘减少了27.82%相比LoRA。CoRSA还扩展到了代码领域,在更新效率上超过了最强的基线方法,达到了5.48%的Pass@5提升。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。