Model merging combines fine-tuned experts into one network without retraining, and closed-form methods compute each merged layer from statistics of its input activations. However, these statistics are measured on a single expert, while in the merged model, each layer receives activations from the merged layers that precede it. Recent work re-measures these statistics in the merged model but still forms them from a single network. We formulate closed-form methods as a linear system and show that they use the same matrix on both sides. We then introduce CrossMean, which replaces this matrix on one side with a bilinear statistic that pairs merged and expert activations. From the same statistics, we also derive a label-free criterion that indicates the task sets in which accounting for the merged activations improves the merge more. Empirically, task sets with a lower criterion value show a larger improvement. On the eight-task benchmark of each vision backbone that we tested and on BERT encoders, CrossMean improves on merging with statistics measured on the experts, and with all linear layers merged, it also improves on re-measuring these statistics in the merged model. These results suggest that merging benefits from pairing merged and expert activations.
Training-Free Transformer Merging via Sequential Local Operator Alignment
CISPA Helmholtz Center for Information Security(CISPA赫尔姆霍茨信息安全中心);Munich Center for Machine Learning(慕尼黑机器学习中心);Technical University of Munich(慕尼黑工业大学);Massachusetts Institute of Technology(麻省理工学院)
Fine-Grained Model Merging via Modular Expert Recombination
Department of Data Science and Artificial Intelligence, The Hong Kong Polytechnic University(数据科学与人工智能系,香港理工大学);College of Computer Science, Chongqing University(计算机科学学院,重庆大学)
FeatCal: Feature Calibration for Post-Merging Models
The Hong Kong Polytechnic University (PolyU)(香港理工大学);The Chinese University of Hong Kong(香港中文大学);PolyU-Daya Bay Technology and Innovation Research Institute(PolyU-大亚湾技术与创新研究院)
SurgeryV2: Bridging the Gap Between Model Merging and Multi-Task Learning with Deep Representation Surgery
Northeastern University(东北大学);School of Cyber Science and Technology, Shenzhen Campus of Sun Yat-sen University(中山大学深圳校区网络与空间科学学院);University of Maryland(马里兰大学);Nanyang Technological University(南洋理工大学)
针对模型合并多任务学习中的表征偏差问题,本文提出 Surgery 和 SurgeryV2 模块,通过逐层对齐合并模型与专家模型的表征,显著缩小与传统多任务学习的性能差距。
Scalable Model Merging with Progressive Layer-wise Distillation
Institute for Interdisciplinary Information Sciences, Tsinghua University(清华大学交叉信息研究院);School of Computer Science, Beijing Institute of Technology(北京理工大学计算机学院);Shanghai Qizhi Institute(上海启智研究院)
MAGIC: Achieving Superior Model Merging via Magnitude Calibration
State Key Laboratory for Novel Software Technology(新型软件技术国家重点实验室);National Institute of Healthcare Data Science(医疗数据科学国家研究院);Nanjing University(南京大学);Shanghai Jiao Tong University Medical School Affiliated Ruijin Hospital(上海交通大学附属瑞金医院医学院);School of Computer Science and Engineering(计算机科学与工程学院);Key Lab of Computer Network and Information Integration(计算机网络与信息集成重点实验室);Southeast University(东南大学)
AP-BMM: Approximating Capability-Cost Pareto Sets of LLMs via Asynchronous Prior-Guided Bayesian Model Merging
Guangdong Provincial Key Laboratory of Novel Security Intelligence Technologies(广东新型安全智能技术重点实验室);Institute of Cyberspace Security(网络空间安全研究院);School of Computer Science and Technology(计算机科学与技术学院)
The Hong Kong Polytechnic University (PolyU)(香港理工大学);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));The Chinese University of Hong Kong(香港中文大学);PolyU-Daya Bay Technology and Innovation Research Institute(香港理工大学-大亚湾科技创新研究院)
PSO-Merging: Merging Models Based on Particle Swarm Optimization
Key Laboratory of Intelligent Information Processing, Institute of Computing Technology, Chinese Academy of Sciences (ICT/CAS)(中国科学院智能信息处理重点实验室,计算技术研究所);Key Laboratory of AI Safety, Chinese Academy of Sciences(中国科学院人工智能安全重点实验室);University of Chinese Academy of Sciences, Beijing, China(中国科学院大学)
Merge, Then Compress: Demystify Efficient SMoE with Hints from Its Routing Policy
The University of North Carolina at Chapel Hill(北卡罗来纳大学教堂山分校);The University of Texas at Austin(德克萨斯大学奥斯汀分校);The Chinese University of Hong Kong(香港中文大学);MIT(麻省理工学院);Harvard University(哈佛大学)
Model Merging by Uncertainty-Based Gradient Matching
Technical University of Darmstadt(达姆施塔特工业大学);Hessian Center for AI (hessian.AI)(黑森人工智能中心);RIKEN Center for Advanced Intelligence Project(理化学研究所先进智能项目中心);University of Edinburgh(爱丁堡大学)
School of Computation, Information and Technology, Technical University of Munich(计算、信息与技术学院,慕尼黑技术大学);Helmholtz Munich(海德堡-慕尼黑研究中心);Tübingen AI Center, University of Tübingen(图宾根人工智能中心,图宾根大学)