Model merging enables powerful capabilities in neural networks without requiring additional training. In this paper, we introduce a novel perspective on model merging by leveraging the fundamental mechanisms of neural network representation. Our approach is motivated by the linear representation hypothesis, which states that neural networks encode information through linear combinations of feature vectors. We propose a method that superposes task-specific features from individual models into a merged model. Our approach specifically targets linear transformation matrices, which are crucial for feature activation and extraction in deep networks. By formulating the merging process as a linear system, we can preserve task-specific features from individual models and create merged models that effectively maintain multi-task capabilities compared to existing methods. Extensive experiments across diverse benchmarks and models demonstrate that our method outperforms existing techniques. Code is available at https://github.com/LARS-research/STF.
Towards Minimizing Feature Drift in Model Merging: Layer-wise Task Vector Fusion for Adaptive Knowledge Integration
Key Laboratory of Big Data & Artificial Intelligence in Transportation, Beijing, China(大数据与人工智能交通实验室,北京,中国);School of Computer Science and Technology, Beijing Jiaotong University, Beijing, China(北京交通大学计算机科学与技术学院,北京,中国);Frontiers Science Center for Smart High-Speed Railway System, Beijing Jiaotong University, Beijing, China(智能高速铁路系统前沿科学中心,北京交通大学,北京,中国);College of Computing and Data Science, Nanyang Technological University, Singapore(南洋理工大学计算与数据科学学院,新加坡)
No Task Left Behind: Isotropic Model Merging with Common and Task-Specific Subspaces
Warsaw University of Technology, Poland;IDEAS Research Center, Warsaw, Poland;Department of Information Engineering, Media Integration;Communication Center (MICC), University of Florence, Italy;NASK - PIB, National Research Institute, Warsaw, Poland;Gdańsk University of Technology, Poland;Computer Vision Center, Barcelona, Spain;Department of Computer Science, Universitat Autonoma de Barcelona, Spain
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)(哈尔滨工业大学(深圳))
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(华为技术有限公司,上海,中国)
Twin-Merging: Dynamic Integration of Modular Expertise in Model Merging
School of Computer Science & Technology, Huazhong University of Science and Technology(华中科技大学计算机科学与技术学院);Joint Laboratory of HUST and Pingan Property & Casualty Research (HPL)(华中科技大学与平安产险联合实验室);Ping An Property & Casualty Insurance Company of China, Ltd.(中国平安财产保险股份有限公司);The Chinese University of Hong Kong(香港中文大学)
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(墨尔本大学计算机与信息系统学院)
Merging without Forgetting: Continual Fusion of Task-Specific Models via Optimal Transport
Tsinghua University(清华大学);University of Oxford(牛津大学);East China Normal University(华东师范大学);Zhejiang University(浙江大学);Tencent(腾讯);Southern University of Science and 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(计算机科学学院,重庆大学)
PACT: Preserving Anchored Cores in Task-vectors for Model Merging
Shanghai Jiao Tong University(上海交通大学);Nanyang Technological University(南洋理工大学);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州))
City University of Hong Kong(香港城市大学);Tencent Jarvis Lab(腾讯 Jarvis 实验室);University of Technology Sydney(悉尼大学);University of Queensland(昆士兰大学);Jilin University(吉林大学);Westlake University(西湖大学)
Merging Multi-Task Models via Weight-Ensembling Mixture of Experts
National Engineering Research Center for Multimedia Software(国家多媒体软件工程技术研究中心);School of Computer Science, Wuhan University(武汉大学计算机学院);Hubei Luojia Laboratory(湖北珞珈实验室);Sun Yat-sen University(中山大学);JD Explore Academy(京东探索研究院);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);Nanyang Technological University(南洋理工大学)
Merging-Diverging Hybrid Transformer Networks for Survival Prediction in Head and Neck Cancer
School of Computer Science, The University of Sydney(悉尼大学计算机科学学院);Institute of Translational Medicine, Shanghai Jiao Tong University(上海交通大学转化医学研究院);Royal Prince Alfred Hospital(皇家阿尔弗雷德王子医院);Med-X Research Institute, Shanghai Jiao Tong University(上海交通大学Med-X研究院)