Recently, model merging techniques have surfaced as a solution to combine multiple single-talent models into a single multi-talent model. However, previous endeavors in this field have either necessitated additional training or fine-tuning processes, or require that the models possess the same pre-trained initialization. In this work, we identify a common drawback in prior works w.r.t. the inconsistency of unit similarity in the weight space and the activation space. To address this inconsistency, we propose an innovative model merging framework, coined as merging under dual-space constraints (MuDSC). Specifically, instead of solely maximizing the objective of a single space, we advocate for the exploration of permutation matrices situated in a region with a unified high similarity in the dual space, achieved through the linear combination of activation and weight similarity matrices. In order to enhance usability, we have also incorporated adaptations for group structure, including Multi-Head Attention and Group Normalization. Comprehensive experimental comparisons demonstrate that MuDSC can significantly boost the performance of merged models with various task combinations and architectures. Furthermore, the visualization of the merged model within the multi-task loss landscape reveals that MuDSC enables the merged model to reside in the overlapping segment, featuring a unified lower loss for each task. Our code is publicly available at https://github.com/zju-vipa/training_free_model_merging.
Breaking the Likelihood-Quality Trade-off in Diffusion Models by Merging Pretrained Experts
Saarland University(萨尔兰大学);Helmholtz AI(亥姆霍兹人工智能研究所);Technical University of Munich(慕尼黑技术大学);CISPA Helmholtz Center for Information Security(亥姆霍兹信息安全部分研究所);MPI for Intelligent Systems, Tübingen(图宾根智能系统研究所)
On the Vulnerability of Parameter-Level Defenses to Model Merging
University of Science and Technology of China(中国科学技术大学);NLPR & MAIS, Institute of Automation, Chinese Academy of Sciences(自动化研究所国家工程实验室及机器智能研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院)
Southern University of Science and Technology(南方科技大学);Hong Kong University of Science and Technology(香港科技大学);Huawei Noah’s Ark Lab(华为诺亚方舟实验室);Peng Cheng Laboratory(鹏城实验室);Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州))
Raptor: Scalable Train-Free Embeddings for 3D Medical Volumes Leveraging Pretrained 2D Foundation Models
Computer Science Department, University of California, Los Angeles(计算机科学系,加州大学洛杉矶分校);Department of Computational Medicine, David Geffen School of Medicine, University of California, Los Angeles(计算医学系,大卫·格芬医学院,加州大学洛杉矶分校);Bioinformatics Interdepartmental Program, University of California, Los Angeles(生物信息学跨学科项目,加州大学洛杉矶分校);Department of Human Genetics, University of California, Los Angeles(人类遗传学系,加州大学洛杉矶分校)