arXiv:2512.23017cs.LG2025-12被引 7

用正交初始化和时间感知融合,让LoRA持续学习保持内存恒定且不遗忘旧知识。

Merge before Forget: A Single LoRA Continual Learning via Continual Merging

  • 正交初始化新任务的LoRA,从旧参数中提取基向量避免干扰。
  • 通过时间感知缩放平衡新旧知识,在多个Llama模型上提升性能。
  • 适合资源受限场景下的大模型持续学习,内存不随任务增长。

参数高效持续学习已成为大型语言模型缓解灾难性遗忘、适应新任务的有前景方法。现有低秩适配(LoRA)持续学习方法通常保留并冻结先前学习的LoRA或生成数据表示以克服遗忘,常利用这些支持新LoRA学习新任务。但这类方法不仅导致计算内存随任务增长、存储空间有限,还因缺乏有效LoRA融合机制而存在潜在任务干扰。本文提出一种新型持续学习方法:对新任务的LoRA进行正交初始化,并将所有更新序列化合并到单一统一的LoRA中。该方法通过从已学LoRA中提取正交基来初始化新任务学习,进一步利用LoRA组件的内在非对称性,采用时间感知缩放机制在持续融合中平衡新旧知识。所提方法在任务数量增加时保持恒定内存复杂度,通过正交基初始化减少新旧任务干扰,并通过自适应缩放提升非对称融合性能。我们提供理论分析支持设计,并在多种基于Llama模型的持续学习基准上进行大量实验,验证了方法的有效性和效率。

原文摘要 · Abstract (English)

Parameter-efficient continual learning has emerged as a promising approach for large language models (LLMs) to mitigate catastrophic forgetting while enabling adaptation to new tasks. Current Low-Rank Adaptation (LoRA) continual learning techniques often retain and freeze previously learned LoRAs or generate data representations to overcome forgetting, typically utilizing these to support new LoRAs learn new tasks. However, these methods not only ignore growing computational memory with tasks and limited storage space but also suffer from potential task interference due to the lack of effective LoRA merging mechanisms. In this paper, we propose a novel continual learning method that orthogonally initializes and sequentially merges LoRAs updates into a single unified LoRA. Our method leverages orthogonal basis extraction from previously learned LoRA to initialize the learning of new tasks, further exploits the intrinsic asymmetry property of LoRA components by using a time-aware scaling mechanism to balance new and old knowledge during continual merging. Our approach maintains constant memory complexity with respect to the number of tasks, minimizes interference between past and new tasks via orthogonal basis initialization, and improves performance over asymmetric LoRA merging via adaptive scaling. We provide theoretical analysis to justify our design and conduct extensive experiments across diverse continual learning benchmarks using various Llama models, demonstrating the effectiveness and efficiency of our method.

持续学习LoRA大模型参数高效

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。