Merging on the Fly Without Retraining: A Sequential Approach to Scalable Continual Model Merging

An-Ke Tang, En-Neng Yang, Li Shen, Yong Luo, Han Hu +3 more
1/1/2025
lora-peft-merging

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Deep model merging represents an emerging research direction that combines multiple fine-tuned models to harness their specialized capabilities across different tasks and domains. Current model merging techniques focus on merging all available models simultaneously, with weight interpolation-based methods being the predominant approach.

Show full abstract

However, these conventional approaches are not well-suited for scenarios where models become available sequentially, and they often suffer from high memory requirements and potential interference between tasks. In this study, we propose a training-free projection-based continual merging method that processes models sequentially through orthogonal projections of weight matrices and adaptive scaling mechanisms. Our method operates by projecting new parameter updates onto subspaces orthogonal to existing merged parameter updates while using an adaptive scaling mechanism to maintain stable parameter distances, enabling efficient sequential integration of task-specific knowledge. Our approach maintains constant memory complexity to the number of models, minimizes interference between tasks through orthogonal projections, and retains the performance of previously merged models through adaptive task vector scaling. Extensive experiments on CLIP-ViT models demonstrate that our method achieves a 5-8% average accuracy improvement while maintaining robust performance in different task orderings. Code is publicly available at https://github.com/tanganke/opcm/ .

DOISemantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{tang2025merging,
  title  = {Merging on the Fly Without Retraining: A Sequential Approach to Scalable Continual Model Merging},
  author = {An-Ke Tang and En-Neng Yang and Li Shen and Yong Luo and Han Hu and Le-Fei Zhang and Bo Du and Da-Cheng Tao},
  year   = {2025},
  doi    = {10.52202/085713-2747},
  url    = {https://doi.org/10.52202/085713-2747},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/c606f3d7a76d810ec5ee502e8d81fbf635afb4a4.svg)](https://codeofpaper.com/paper/c606f3d7a76d810ec5ee502e8d81fbf635afb4a4)

Discussion