NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Parameter-Efficient Multi-Task Model Fusion with Partial Linearization

Anke Tang, Li Shen, Yong Luo, Yibing Zhan, Han Hu, Bo Du, Yixin Chen, Dacheng Tao

Introduction

In the era of foundation models, deploying a single unified model that excels at many downstream tasks is highly desirable. While we can fine-tune separate versions of a model for specific domains (e.g., medical text, legal text, or distinct vision tasks), deploying dozens of specialized models is computationally impractical. Model fusion—specifically "task arithmetic"—offers a scalable solution by allowing us to merge these specialized weights into one unified multi-task model.

However, merging multiple specialized models often leads to "interference" that degrades overall performance. Because neural networks are highly non-linear, naively adding the weights of two non-linear models together causes task representations to interfere destructively. Recent research suggests that linearizing the entire model (fine-tuning in a "tangent space") makes merging much more effective. Unfortunately, this full linearization is computationally expensive, often requiring 2-3x the memory and time of standard fine-tuning.

This paper introduces L-LoRA (Linearized LoRA), a novel method that captures the "merging-friendly" properties of linear models while maintaining the extreme efficiency of parameter-efficient fine-tuning (PEFT).

The Partial Linearization Approach

To overcome the massive hardware overhead of full model linearization, the authors propose Partial Linearization. Instead of linearizing the massive pre-trained backbone, they focus exclusively on the LoRA (Low-Rank Adaptation) modules.

  1. Linearized LoRA (L-LoRA): The method applies a first-order Taylor expansion specifically to the trainable adapter parameters. This effectively treats the adapters as a linear function of their weights during the fine-tuning process.
  2. Tangent Space Fine-tuning: By training in this restricted "tangent space," the model learns task-specific updates that are more disentangled.
  3. Task Arithmetic: Because the updates are now linear, simple vector addition can be used to combine multiple tasks. If you have a task vector for Task A ($\nu_A$) and one for Task B ($\nu_B$), the multi-task model is simply the base model plus the sum of these vectors: $\theta = \theta_0 + \lambda_A\nu_A + \lambda_B\nu_B$.

This hybrid approach keeps the backbone fixed and non-linear while making the task-specific updates linear and easy to stack.

Key Insights: Why L-LoRA Works

The Orthogonality Advantage

A major breakthrough in the paper is the discovery that L-LoRA task vectors are significantly more orthogonal than standard LoRA vectors. In standard fine-tuning, task updates often overlap and compete for the same representational space. In L-LoRA, the tasks "stay in their own lanes," making them much easier to merge without destructive interference.

Task vector similarity across different fine-tuning methods

As shown in the correlation matrices above, L-LoRA fine-tuning results in significantly lower off-diagonal similarity scores compared to full fine-tuning and standard LoRA, demonstrating that the learned task vectors are highly orthogonal.

The Linear vs. Non-linear Trade-off

The authors acknowledge a fundamental trade-off. Non-linear models (standard LoRA) are slightly better at learning a single task because they are more expressive. However, linear models have a massive advantage when scaling to multiple tasks. Linearization acts as a regularizer that forces the model to learn disentangled weights, resulting in a much wider "low-error" region when interpolating between tasks.

Experimental Results

The researchers evaluated their method across two major domains:

  • Computer Vision: Using CLIP (ViT-B-16/32 and ViT-L-14) on seven diverse image classification tasks, including Stanford Cars, EuroSAT, and GTSRB.
  • Natural Language Processing (NLP): Using Flan-T5-Base on seven tasks from the GLUE benchmark.

Superior Multi-tasking: On the CLIP vision tasks, L-LoRA outperformed standard LoRA across all fusion algorithms (Simple Average, Task Arithmetic, Ties-Merging, and LoraHub). In many cases, it even outperformed Full Fine-Tuning (FFT), despite training less than 1% of the parameters.

Scalability: As the number of tasks increased from 2 to 7, the performance gap between L-LoRA and standard LoRA widened. L-LoRA proved much more robust as the multi-tasking requirements became more complex.

Efficiency: L-LoRA remains nearly as fast as standard LoRA. For example, on a CLIP-ViT-B-16, L-LoRA achieved ~3.24 iterations/sec compared to standard LoRA’s ~3.83 iterations/sec. Crucially, it used only ~9.2GB of VRAM, whereas full-model linearization would have required over 20GB.

Limitations and Future Directions

While highly effective for multi-task fusion, L-LoRA can sometimes show a slight dip in performance on a single, isolated task compared to standard LoRA due to the restricted expressive flexibility of linearization. Additionally, in NLP tasks, the choice of prompt templates significantly impacted L-LoRA's success, requiring more descriptive instructions to unlock its full potential.

Future work may explore "hybrid linearization," where specific layers or subsets of parameters remain non-linear to perfectly balance single-task accuracy with multi-task mergeability.

Summary updated

BibTeX
@inproceedings{tang2024parameter,
  author = {Anke Tang and Li Shen and Yong Luo and Yibing Zhan and Han Hu and Bo Du and Yixin Chen and Dacheng Tao},
  title = {{Parameter-Efficient Multi-Task Model Fusion with Partial Linearization}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=iynRvVVAmH},
}
Figure