Manuscript Offprint

arXiv:2611.04931

Modulating Merging Strengths via Joint Loss Estimation for LoRA-based Continual Learning

Kun Gu, De Cheng, Zhipeng Xu, Lingfeng He, Di Xu, Nannan Wang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Continual learning (CL) aims to adapt models to new tasks while preserving previously learned knowledge. Recently, Low-Rank Adaptation (LoRA), a representative Parameter-Efficient Fine-Tuning (PEFT) method, has gained increasing attention in CL due to its efficiency and scalability. Several LoRA-based merging methods maintain a single inference model by scaling the newly learned LoRA update with one coefficient and merging it into the previous weights after each task. However, they usually control the whole update with a shared scalar factor, although different update elements may affect previous and current tasks in different ways. To address this issue, we propose Merging Strength Modulation via Joint Loss Estimation (M²LE). It consists of Hessian Information-guided Adaptive Merging (HIM) and Task Simulation Perturbation for Merging (TSP). Instead of searching for a global merge coefficient, HIM directly solves for the target merged update under a joint objective over previous and current tasks. Solving this objective gives an analytic solution that naturally takes the form of element-wise modulation over the current task LoRA update. To improve the stability of the learned update under subsequent merging, we introduce TSP which simulates different tasks interference. Experiments on multiple benchmarks show that M²LE consistently outperforms existing PEFT-based continual learning methods. Code is available at https://github.com/bbdeeer/M2LE_NeurIPS2026.

1 Introduction

Continual learning (CL) aims to enable models to learn continuously from a stream of tasks without retraining from scratch or accessing data from previous tasks [13, 25], which is essential for evolving open-world scenarios. A central challenge in CL is catastrophic forgetting: models must preserve previously learned capabilities during adapting to new tasks [17, 26]. In this work, we consider the challenging rehearsal-free Continual Learning setting, where the model must continually learn new tasks without storing past data and predict test samples over all seen tasks without task identities.

Recently, with the advancement of Pre-Trained Models (PTMs) [4], Parameter-Efficient Fine-Tuning (PEFT) methods have emerged as a promising solution for CL [31, 35, 43]. By updating a small number of parameters, PEFT-based methods enable efficient adaptation to new tasks while preserving general pre-trained knowledge, making it particularly suitable for rehearsal-free CL.

In the regime of PEFT-based CL, Low-Rank Adaptation (LoRA) [11] methods have gained increasing attention due to their efficiency and scalability. To maintain a single inference model, a common strategy is to merge the current task LoRA update into the accumulated model after each task [28], rather than storing a separate LoRA module per task. This controlled merging reduces interference with prior knowledge while enabling adaptation to the current task. Early studies mainly adopt EMA-style interpolation [20] or weight averaging [6], while recent approaches estimate the interpolation

✉Corresponding author

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

coefficient from joint objectives [28] or Bayesian formulations [16]. Despite these different designs, most existing methods still use a shared scalar factor to control the whole LoRA update. This naturally raises a question: should all LoRA parameters share the same merge strength, or should different positions in the LoRA update be treated differently during merging? To answer this question, we conduct a preliminary analysis in Fig. 1, where the LoRA update is split into two groups according to different normalized magnitudes [12]. We then assign an independent merge coefficient to each group. The results show that this simple grouped merge already outperforms the best shared factor merge, suggesting that different parts of the LoRA update may prefer different merge strengths.

Building on this observation, we propose a Merging Strength Modulation via Joint Loss Estimation (M²LE) framework for LoRA-based Continual Learning, consists of Hessian Information-guided Adaptive Merging (HIM) and Task Simulation Perturbation for Merging (TSP). Instead of searching for an interpolation coefficient, HIM directly formulates the optimization of the target merged update ΔWt∗\Delta W_t^* under a joint objective that accounts for losses on all seen tasks. Through a local quadratic approximation to the task-wise losses, we obtain an analytic solution, which naturally takes the form of an element-wise modulation of the current task LoRA update. Specifically, each element is adaptively scaled by the associated Hessian information, allowing the merging process to account for the varying sensitivity of individual parameter elements across tasks, thereby achieving a more fine-grained balance between old and new task performance. However, once the current task update is merged into the inference model, it becomes part of the fixed parameters and will be affected by subsequent task updates. If the merged update lies in a sharp local region, later merging steps can easily increase the loss on old tasks, resulting in forgetting. Therefore, besides determining how to merge the update, it is also important to shape the update itself before merging. To this end, we introduce TSP, which simulates cross-task interference during current task training. TSP induces a local parameter change with one subset of the current mini-batch and evaluates the resulting loss variation on another subset, thereby encouraging the learned update to remain stable during subsequent merging.

Our main contributions can be summarized as follows:

• We propose Hessian Information-guided Adaptive Merging (HIM), a parameter-adaptive merging algorithm derived from an approximated joint loss objective, enabling more fine-grained stability-plasticity balancing beyond a shared scalar merging coefficient.

• We propose Task Simulation Perturbation (TSP), a training strategy that simulates future cross-task interference through local parameter perturbations induced from label-disjoint subset, thereby encouraging flat solutions and improving LoRA merging stability.

• Extensive experiments demonstrate the effectiveness of our proposed method, achieving superior performances over state-of-the-art PEFT-based CL methods on multiple benchmarks.

References (54)