arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.09522cs.LG
收藏

无需重训练的即时模型合并:一种可扩展持续模型合并的序列方法

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

Wuhan University(武汉大学);Northeastern University(东北大学);Sun Yat-sen University(中山大学);Beijing Institute of Technology(北京理工大学);Nanyang Technological University(南洋理工大学)

Anke Tang, Enneng Yang, Li Shen, Yong Luo, Han Hu, Bo Du, Dacheng Tao

AI总结:

针对模型按序到达时传统同时合并内存高、任务干扰强的问题,提出无需训练的正交投影与自适应缩放持续合并方法,在 CLIP-ViT 上提升平均准确率 5-8%。

摘要:

深度模型合并是一个新兴研究方向,旨在结合多个经过微调的模型,以利用它们在不同任务和领域中的专门能力。当前的模型合并技术侧重于同时合并所有可用模型,其中基于权重插值的方法占据主导地位。然而,这些传统方法并不适用于模型按顺序出现的场景,并且通常面临较高的内存需求以及任务之间潜在干扰的问题。在本研究中,我们提出了一种无需训练、基于投影的持续合并方法,该方法通过权重矩阵的正交投影和自适应缩放机制按顺序处理模型。我们的方法通过将新的参数更新投影到与已有合并参数更新正交的子空间上,同时使用自适应缩放机制保持稳定的参数距离,从而实现任务特定知识的高效序列整合。该方法相对于模型数量保持恒定的内存复杂度,通过正交投影最小化任务间干扰,并通过自适应任务向量缩放保留先前已合并模型的性能。在 CLIP-ViT 模型上的大量实验表明,我们的方法实现了 5-8% 的平均准确率提升,同时在不同任务顺序下保持稳健性能。

英文摘要:

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 approaches. 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.

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

↑