Exploring Model Kinship for Merging Large Language Models
Abstract
Model merging has become one of the key technologies for enhancing the capabilities and efficiency of Large Language Models (LLMs). However, our understanding of the expected performance gains and principles when merging any two models remains limited. In this work, we introduce model kinship, the degree of similarity or relatedness between LLMs, analogous to biological evolution. With comprehensive empirical analysis, we find that there is a certain relationship between model kinship and the performance gains after model merging, which can help guide our selection of candidate models. Inspired by this, we propose a new model merging strategy: Top-k Greedy Merging with Model Kinship, which can yield better performance on benchmark datasets. Specifically, we discover that using model kinship as a criterion can assist us in continuously performing model merging, alleviating the degradation (local optima) in model evolution, whereas model kinship can serve as a guide to escape these traps. Code is available at https://github.com/zjunlp/ModelKinship.
Community
We introduce model kinship, the degree of similarity or relatedness between LLMs, analogous to biological evolution.
Hi Ningyu, your work is awesome! I'm curious to know how your solutions can be integrated into designing agents.
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- What Matters for Model Merging at Scale? (2024)
- Merging in a Bottle: Differentiable Adaptive Merging (DAM) and the Path from Averaging to Automation (2024)
- Parameter Competition Balancing for Model Merging (2024)
- Model-GLUE: Democratized LLM Scaling for A Large Model Zoo in the Wild (2024)
- Realistic Evaluation of Model Merging for Compositional Generalization (2024)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment:
@librarian-bot
recommend
Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper