arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.09608cs.LGcs.ITmath.IT
收藏

几何冲突:解释和控制LLM持续微调中的遗忘

Geometry Conflict: Explaining and Controlling Forgetting in LLM Continual Post-Training

The Hong Kong Polytechnic University, PolyU(香港理工大学,PolyU);The Hong Kong University of Science and Technology, HKUST(香港科学与技术大学,HKUST);PolyU-Daya Bay Technology and Innovation Research Institute(PolyU-大亚湾技术与创新研究院)

Yuanyi Wang, Yifan Yang, Su Lu, Yanggan Gu, Pengkai Wang, Wenjun Wang, Zhaoyi Yan, Congkai Xie, Jianmin Wu, Jialun Cao, Shing-Chi Cheung, Hongxia Yang

AI总结:

本文研究LLM持续微调中的遗忘现象,通过任务几何分析揭示遗忘驱动因素及控制方法,提出GCWM算法提升模型保留与最终性能。

摘要:

持续微调旨在扩展大语言模型(LLM)的新知识、技能和行为,但尚不清楚顺序更新何时促进能力迁移,何时导致灾难性遗忘。现有方法通过顺序微调、重放、正则化或模型合并缓解遗忘,但缺乏判断新更新是否有益或有害的标准。本文通过任务几何分析,研究三个问题:遗忘的驱动因素?顺序获取的能力如何转移或干扰?如何利用兼容性控制更新整合?我们通过任务几何分析发现,遗忘是状态相对的更新整合失败,当任务诱导的协方差几何与模型状态几何不一致时发生。顺序更新在与先前更新塑造的模型状态兼容时转移,当状态相对几何冲突高时干扰。受此发现启发,我们提出几何冲突Wasserstein合并(GCWM),一种无需数据的更新整合方法,通过高斯Wasserstein均值构造共享Wasserstein度量,并利用几何冲突作为门控机制进行几何感知修正。在Qwen3 0.6B--14B上,GCWM在领域持续和能力持续设置中均优于无数据基线,提升保留和最终性能,无需重放数据。这些结果将几何冲突识别为遗忘的解释信号和LLM持续微调的实用控制信号。

英文摘要:

Continual post-training aims to extend large language models (LLMs) with new knowledge, skills, and behaviors, yet it remains unclear when sequential updates enable capability transfer and when they cause catastrophic forgetting. Existing methods mitigate forgetting through sequential fine-tuning, replay, regularization, or model merging, but offer limited criteria for determining when incorporating new updates is beneficial or harmful. In this work, we study LLM continual post-training through three questions: What drives forgetting? When do sequentially acquired capabilities transfer or interfere? How can compatibility be used to control update integration? We address these questions through task geometry: we represent each post-training task by its parameter update and study the covariance geometry induced by the update. Our central finding is that: forgetting can be considered as a state-relative update-integration failure, it arises when the covariance geometries induced by tasks misalign with the geometry of the evolving model state. Sequential updates transfer when they remain compatible with the model state shaped by previous updates, and interfere when state-relative geometry conflict becomes high. Motivated by this finding, we propose Geometry-Conflict Wasserstein Merging (GCWM), a data-free update-integration method that constructs a shared Wasserstein metric via Gaussian Wasserstein barycenters and uses geometry conflict to gate geometry-aware correction. Across Qwen3 0.6B--14B on domain-continual and capability-continual settings, GCWM consistently outperforms data-free baselines, improving retention and final performance without replay data. These results identify geometry conflict as both an explanatory signal for forgetting and a practical control signal for LLM continual post-training.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑