Dataless Knowledge Fusion by Merging Weights of Language Models
Xisen Jin, Xiang Ren, Daniel Preotiuc-Pietro, Pengxiang Cheng
摘要
Fine-tuning pre-trained language models has become the prevalent paradigm for building downstream NLP models. Oftentimes fine-tuned models are readily available but their training data is not, due to data privacy or intellectual property concerns. This creates a barrier to fusing knowledge across individual models to yield a better single model. In this paper, we study the problem of merging individual models built on different training data sets to obtain a single model that performs well both across all data set domains and can generalize on out-ofdomain data. We propose a dataless knowledge fusion method that merges models in their parameter space, guided by weights that minimize prediction differences between the merged model and the individual models. Over a battery of evaluation settings, we show that the proposed method significantly outperforms baselines such as Fisher-weighted averaging or model ensembling. Further, we find that our method is a promising alternative to multi-task learning that can preserve or sometimes improve over the individual models without access to the training data. Finally, model merging is more efficient than training a multi-task model, thus making it applicable to a wider set of scenarios. 1
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 176 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- TIES-Merging: Resolving Interference When Merging Models 引用了 Federated Learning with Matched Averaging
- TIES-Merging: Resolving Interference When Merging Models 引用了 Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
- TIES-Merging: Resolving Interference When Merging Models 引用了 Linear Mode Connectivity and the Lottery Ticket Hypothesis
- TIES-Merging: Resolving Interference When Merging Models 引用了 Merging Models with Fisher-Weighted Averaging
- TIES-Merging: Resolving Interference When Merging Models 引用了 On the Convergence of FedAvg on Non-IID Data
- MiniCache: KV Cache Compression in Depth Dimension for Large Language Models 引用了 TIES-Merging: Resolving Interference When Merging Models
- MiniCache: KV Cache Compression in Depth Dimension for Large Language Models 引用了 Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
- MiniCache: KV Cache Compression in Depth Dimension for Large Language Models 引用了 Merging Models with Fisher-Weighted Averaging
- MiniCache: KV Cache Compression in Depth Dimension for Large Language Models 引用了 Language Models are Super Mario: Absorbing Abilities from Homologous Models as a Free Lunch
- Composing Parameter-Efficient Modules with Arithmetic Operation 引用了 Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
- Composing Parameter-Efficient Modules with Arithmetic Operation 引用了 Merging Models with Fisher-Weighted Averaging
- Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time 引用了 Linear Mode Connectivity and the Lottery Ticket Hypothesis
- Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time 引用了 Merging Models with Fisher-Weighted Averaging
- Merging Models with Fisher-Weighted Averaging 引用了 Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
- AdaMerging: Adaptive Model Merging for Multi-Task Learning 引用了 Federated Learning with Matched Averaging
- AdaMerging: Adaptive Model Merging for Multi-Task Learning 引用了 Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
- AdaMerging: Adaptive Model Merging for Multi-Task Learning 引用了 Merging Models with Fisher-Weighted Averaging
- AdaMerging: Adaptive Model Merging for Multi-Task Learning 引用了 On the Convergence of FedAvg on Non-IID Data
- Merging Models with Fisher-Weighted Averaging 引用了 Federated Learning with Matched Averaging
- Language Models are Super Mario: Absorbing Abilities from Homologous Models as a Free Lunch 引用了 Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
- Language Models are Super Mario: Absorbing Abilities from Homologous Models as a Free Lunch 引用了 Merging Models with Fisher-Weighted Averaging
引用它的顶会 Paper176
- TIES-Merging: Resolving Interference When Merging ModelsPrateek Yadav, Derek Tam, Leshem Choshen, Colin A. Raffel 等NeurIPS 2023 · 999 次引用
- Language Models are Super Mario: Absorbing Abilities from Homologous Models as a Free LunchLe Yu, Bowen Yu, Haiyang Yu, Fei Huang 等ICML 2024 · 605 次引用
- AdaMerging: Adaptive Model Merging for Multi-Task LearningEnneng Yang, Zhenyi Wang, Li Shen, Shiwei Liu 等ICLR 2024 · 230 次引用
- Composing Parameter-Efficient Modules with Arithmetic OperationJinghan Zhang, Shiqi Chen, Junteng Liu, Junxian HeNeurIPS 2023 · 164 次引用
- MiniCache: KV Cache Compression in Depth Dimension for Large Language ModelsAkide Liu, Jing Liu, Zizheng Pan, Yefei He 等NeurIPS 2024 · 160 次引用
它引用的 Paper17
- On the Convergence of FedAvg on Non-IID DataXiang Li, Kaixuan Huang, Wenhao Yang, Shusen Wang 等ICLR 2020 · 2,930 次引用
- Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timeMitchell Wortsman, Gabriel Ilharco, Samir Yitzhak Gadre, Rebecca Roelofs 等ICML 2022 · 1,464 次引用
- Federated Learning with Matched AveragingHongyi Wang, Mikhail Yurochkin, Yuekai Sun, Dimitris S. Papailiopoulos 等ICLR 2020 · 1,368 次引用
- Linear Mode Connectivity and the Lottery Ticket HypothesisJonathan Frankle, Gintare Karolina Dziugaite, Daniel M. Roy, Michael CarbinICML 2020 · 750 次引用
- Merging Models with Fisher-Weighted AveragingMichael Matena, Colin RaffelNeurIPS 2022 · 741 次引用
相关 Paper
- FroM: Frobenius Norm-Based Data-Free Adaptive Model MergingZijian Li, Xiaocheng Feng, Huixin Liu, Yichong Huang 等EMNLP Findings 2025
- RankMean: Module-Level Importance Score for Merging Fine-tuned LLM ModelsGabriel J. Perin, Xuxi Chen, Shusen Liu, Bhavya Kailkhura 等ACL Findings 2024 · 2 次引用
- Knowledge Fusion By Evolving Weights of Language ModelsGuodong Du, Jing Li, Hanting Liu, Runhua Jiang 等ACL Findings 2024 · 5 次引用
- Twin-Merging: Dynamic Integration of Modular Expertise in Model MergingZhenyi Lu, Chenghao Fan, Wei Wei, Xiaoye Qu 等NeurIPS 2024 · 139 次引用
- Knowledge Fusion of Large Language ModelsFanqi Wan, Xinting Huang, Deng Cai, Xiaojun Quan 等ICLR 2024 · 113 次引用
