FREE-Merging:用于高效模型合并的傅里叶变换
FREE-Merging: Fourier Transform for Efficient Model Merging
AI总结:
针对模型合并中的任务干扰,本文提出频域过滤方法 FR-Merging,并结合轻量任务专家模块形成 FREE-Merging,在低成本下实现多领域性能提升。
摘要:
随着深度学习的快速发展,面向各种任务的开源模型日益丰富。然而,单个微调模型往往难以满足用户的多样化需求。因此,模型合并作为一种将现有模型能力整合到统一模型中的高效方法应运而生。尽管如此,现有模型合并方法仍面临性能与部署成本之间棘手的权衡,这主要源于任务干扰。我们首次揭示,任务干扰在模型参数的频域中十分明显,但当前研究只关注空间域解决方案,而这些方案在应对频域干扰方面基本无效。为缓解频域干扰的影响,我们提出 FR-Merging,这是一种以极小计算开销有效过滤 backbone 上有害频域干扰的创新方法。由于无成本方法不可避免会带来性能损失,我们提出一个轻量级的任务特定专家模块,用于动态补偿合并过程中的信息损失。所提出的框架 FREE-Merging(带专家的 FR-Merging)在训练成本、推理延迟、存储需求和性能之间取得了均衡权衡。我们在 CV、NLP 和多模态领域的多个任务上证明了 FR-Merging 与 FREE-Merging 的有效性,并表明它们能够灵活适配特定需求。
英文摘要:
With the rapid growth of deep learning, there is an increasing availability of open-source models for various tasks. However, single fine-tuned models often fall short of meeting the diverse needs of users. Model merging has thus emerged as an efficient method to integrate the capabilities of existing models into a unified model. Nevertheless, existing model merging methods face challenging trade-offs between performance and deployment costs, primarily due to task interference. For the first time, we reveal that task interference is evident in the frequency domain of model parameters, yet current efforts only focus on spatial domain solutions, which are largely ineffective in addressing frequency domain interference. To mitigate the impact of frequency domain interference, we propose FR-Merging, an innovative method that effectively filters harmful frequency domain interference on the backbone with minimal computational overhead. Since performance loss is inevitable with cost-free methods, we propose a lightweight task-specific expert module that dynamically compensates for information loss during merging. This proposed framework, FREE-Merging (FR-Merging with experts), strikes a balanced trade-off between training cost, inference latency, storage requirements, and performance. We demonstrate the effectiveness of both FR-Merging and FREE-Merging on multiple tasks across CV, NLP, and Multi-Modal domains and show that they can be flexibly adapted to specific needs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。