Lune

ICLR2023Top-tier venue

Dataless Knowledge Fusion by Merging Weights of Language Models

Xisen Jin, Xiang Ren, Daniel Preotiuc-Pietro, Pengxiang Cheng

Abstract

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

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

176 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • TIES-Merging: Resolving Interference When Merging Models cites Federated Learning with Matched Averaging
  • TIES-Merging: Resolving Interference When Merging Models cites Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
  • TIES-Merging: Resolving Interference When Merging Models cites Linear Mode Connectivity and the Lottery Ticket Hypothesis
  • TIES-Merging: Resolving Interference When Merging Models cites Merging Models with Fisher-Weighted Averaging
  • TIES-Merging: Resolving Interference When Merging Models cites On the Convergence of FedAvg on Non-IID Data
  • MiniCache: KV Cache Compression in Depth Dimension for Large Language Models cites TIES-Merging: Resolving Interference When Merging Models
  • MiniCache: KV Cache Compression in Depth Dimension for Large Language Models cites 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 cites Merging Models with Fisher-Weighted Averaging
  • MiniCache: KV Cache Compression in Depth Dimension for Large Language Models cites Language Models are Super Mario: Absorbing Abilities from Homologous Models as a Free Lunch
  • Composing Parameter-Efficient Modules with Arithmetic Operation cites Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
  • Composing Parameter-Efficient Modules with Arithmetic Operation cites Merging Models with Fisher-Weighted Averaging
  • Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time cites Linear Mode Connectivity and the Lottery Ticket Hypothesis
  • Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time cites Merging Models with Fisher-Weighted Averaging
  • Merging Models with Fisher-Weighted Averaging cites Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
  • AdaMerging: Adaptive Model Merging for Multi-Task Learning cites Federated Learning with Matched Averaging
  • AdaMerging: Adaptive Model Merging for Multi-Task Learning cites Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
  • AdaMerging: Adaptive Model Merging for Multi-Task Learning cites Merging Models with Fisher-Weighted Averaging
  • AdaMerging: Adaptive Model Merging for Multi-Task Learning cites On the Convergence of FedAvg on Non-IID Data
  • Merging Models with Fisher-Weighted Averaging cites Federated Learning with Matched Averaging
  • Language Models are Super Mario: Absorbing Abilities from Homologous Models as a Free Lunch cites 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 cites Merging Models with Fisher-Weighted Averaging
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers176

  1. TIES-Merging: Resolving Interference When Merging ModelsPrateek Yadav, Derek Tam, Leshem Choshen, Colin A. Raffel et al.NeurIPS 2023 · 999 citations
  2. Language Models are Super Mario: Absorbing Abilities from Homologous Models as a Free LunchLe Yu, Bowen Yu, Haiyang Yu, Fei Huang et al.ICML 2024 · 605 citations
  3. AdaMerging: Adaptive Model Merging for Multi-Task LearningEnneng Yang, Zhenyi Wang, Li Shen, Shiwei Liu et al.ICLR 2024 · 230 citations
  4. Composing Parameter-Efficient Modules with Arithmetic OperationJinghan Zhang, Shiqi Chen, Junteng Liu, Junxian HeNeurIPS 2023 · 164 citations
  5. MiniCache: KV Cache Compression in Depth Dimension for Large Language ModelsAkide Liu, Jing Liu, Zizheng Pan, Yefei He et al.NeurIPS 2024 · 160 citations

Builds on17

  1. On the Convergence of FedAvg on Non-IID DataXiang Li, Kaixuan Huang, Wenhao Yang, Shusen Wang et al.ICLR 2020 · 2,930 citations
  2. Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timeMitchell Wortsman, Gabriel Ilharco, Samir Yitzhak Gadre, Rebecca Roelofs et al.ICML 2022 · 1,464 citations
  3. Federated Learning with Matched AveragingHongyi Wang, Mikhail Yurochkin, Yuekai Sun, Dimitris S. Papailiopoulos et al.ICLR 2020 · 1,368 citations
  4. Linear Mode Connectivity and the Lottery Ticket HypothesisJonathan Frankle, Gintare Karolina Dziugaite, Daniel M. Roy, Michael CarbinICML 2020 · 750 citations
  5. Merging Models with Fisher-Weighted AveragingMichael Matena, Colin RaffelNeurIPS 2022 · 741 citations

Related papers

  1. FroM: Frobenius Norm-Based Data-Free Adaptive Model MergingZijian Li, Xiaocheng Feng, Huixin Liu, Yichong Huang et al.EMNLP Findings 2025
  2. RankMean: Module-Level Importance Score for Merging Fine-tuned LLM ModelsGabriel J. Perin, Xuxi Chen, Shusen Liu, Bhavya Kailkhura et al.ACL Findings 2024 · 2 citations
  3. Knowledge Fusion By Evolving Weights of Language ModelsGuodong Du, Jing Li, Hanting Liu, Runhua Jiang et al.ACL Findings 2024 · 5 citations
  4. Twin-Merging: Dynamic Integration of Modular Expertise in Model MergingZhenyi Lu, Chenghao Fan, Wei Wei, Xiaoye Qu et al.NeurIPS 2024 · 139 citations
  5. Knowledge Fusion of Large Language ModelsFanqi Wan, Xinting Huang, Deng Cai, Xiaojun Quan et al.ICLR 2024 · 113 citations
Dusk over the sea between two cliffs drawn in fine vertical lines