Parameter-level model merging is an emerging paradigm in multi-task learning with significant promise. Previous research has explored its connections with prediction-level model ensembling-commonly viewed as the upper bound for merging-to reveal the potential of achieving performance consistency between the two. However, this observation relies on certain preconditions, such as being limited to two models, using ViT-based models, and all models are fine-tuned from the same pre-trained checkpoint. To further understand the intrinsic connections between model merging and model ensembling, this paper explores an interesting possibility: If these restrictions are removed, can performance consistency still be achieved between merging and ensembling? To answer this question, we first theoretically establish a performance correlation between merging and ensembling. We find that even when previous restrictions are not met, there is still a way for model merging to attain a near-identical and superior performance similar to that of ensembling. To verify whether our findings are practical, we introduce a validation framework termed Neural Ligand (NeuLig). The learning process of NeuLig is meticulously designed with a specialized loss function supported by theoretical foundations. Experimental results demonstrate the robust resilience of NeuLig in terms of both model scale and the number of collaborating models. For instance, for the case involving 5 CLIP-ViT-B/32 models, parameter-level merging achieves the same performance as prediction-level ensembling (merging: 95.44% vs. ensembling: 95.46%).
School of Computer Science and Engineering, Southeast University, Nanjing, China(东南大学计算机科学与工程学院,南京,中国);Key Laboratory of New Generation Artificial Intelligence Technology and Its Interdisciplinary Applications (Southeast University), Ministry of Education, China(新一代人工智能技术及其跨学科应用国家重点实验室(东南大学),中华人民共和国,中国);Huawei Technologies, Shanghai, China(华为技术有限公司,上海,中国)
CALM: Consensus-Aware Localized Merging for Multi-Task Learning
Institute for Artificial Intelligence, Tsinghua University (THUAI)(人工智能研究所,清华大学);Beijing National Research Center for Information Science and Technology (BNRist)(北京国家信息科学与技术研究中心);Department of Automation, Tsinghua University(自动化系,清华大学);East China Normal University (ECNU)(华东师范大学);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));School of Computing and Information Systems, The University of Melbourne(墨尔本大学计算机与信息系统学院)
To See a World in a Spark of Neuron: Disentangling Multi-task Interference for Training-free Model Merging
Xiamen University Malaysia(马来西亚厦门大学);The Hong Kong Polytechnic University(香港理工大学);Columbia University(哥伦比亚大学);Duke University(杜克大学);Harbin Institute of Technology (Shenzhen)(哈尔滨工业大学(深圳))
City University of Hong Kong(香港城市大学);Tencent Jarvis Lab(腾讯 Jarvis 实验室);University of Technology Sydney(悉尼大学);University of Queensland(昆士兰大学);Jilin University(吉林大学);Westlake University(西湖大学)
Multi-Prototypes Convex Merging Based K-Means Clustering Algorithm
Xidian University(西安电子科技大学);The Chinese University of Hong Kong(香港中文大学);City University of Hong Kong(香港城市大学);Hong Kong Centre for Cerebro-Cardiovascular Health Engineering(香港心脑血管健康工程中心)
Multi-Study Boosting: Theoretical Considerations for Merging vs. Ensembling
Harvard T.H. Chan School of Public Health(哈佛陈曾熙公共卫生学院);Dana-Farber Cancer Institute(达纳-法伯癌症研究所);Harvard University(哈佛大学);Boston University School of Public Health(波士顿大学公共卫生学院)
Graph embedding using multi-layer adjacent point merging model
Graduate School of Fundamental Science and Engineering, WASEDA University(早稻田大学基础理工学研究生院);Department of Computer Science and Communication Engineering, WASEDA University(早稻田大学计算机科学与通信工程系)
Merging versus Ensembling in Multi-Study Prediction: Theoretical Insight from Random Effects
Massachusetts General Hospital(麻省总医院);Dana Farber Cancer Institute(丹娜法伯癌症研究院);Harvard T.H. Chan School of Public Health(哈佛陈曾熙公共卫生学院);Boston University School of Public Health(波士顿大学公共卫生学院)
Accelerating Multi-Model Inference by Merging DNNs of Different Weights
Seoul National University(首尔国立大学);Qualcomm AI Research(高通人工智能研究院)
已被证明在机器学习任务上表现良好的标准化DNN模型被广泛使用,并经常被原样采用以解决下游任务,形成了迁移学习范式。然而,当从GPU服务器的集群服务这种DNN模型的多个实例时,用于提高GPU利用率的现有技术(诸如GPU)是不适用的,因为模型通常由于微调而不共享权重。我们提出了一种融合多个DNN模型的技术,这些模型共享相同的架构,但具有不同的权重和不同的输入。通过将操作替换为更一般的对应操作,可以使Networds成为可能,这些操作允许一组权重仅与某组输入相关联。在ResNet-50、ResNeXt-50、BERT和XLNet上进行的实验表明,NetCore在合并32个模型实例时,可以将DNN推理时间在NVIDIA V100 GPU上加快3.6倍,在TITAN Xp GPU上加快3.0倍,同时仅使用少量额外的GPU内存。
AdaMerging: Adaptive Model Merging for Multi-Task Learning
Northeastern University(东北大学);University of Oxford(牛津大学);Nanyang Technological University(南洋理工大学);University of Maryland(马里兰大学);JD Explore Academy(京东探索研究院)