Cited by 62Topic ModelingNatural Language Processing TechniquesEvolutionary Algorithms and Applications

Evolutionary optimization of model merging recipes

Open access
Akiba, Takuya, Shing, Makoto, Tang, Yujin, Sun, Qi, Ha, David·2025·Nature Machine Intelligence

Abstract

Large language models (LLMs) have become increasingly capable, but their development often requires substantial computational resources. Although model merging has emerged as a cost-effective promising approach for creating new models by combining existing ones, it currently relies on human intuition and domain knowledge, limiting its potential. Here we propose an evolutionary approach that overcomes this limitation by automatically discovering effective combinations of diverse open-source models, harnessing their collective intelligence without requiring extensive additional training data or compute. Our approach operates in both parameter space and data flow space, allowing optimization beyond just the weights of the individual models. This approach even facilitates cross-domain merging, generating models such as a Japanese LLM with math reasoning capabilities. Surprisingly, our Japanese math LLM achieved state-of-the-art performance on a variety of established Japanese LLM benchmarks, even surpassing models with substantially more parameters, despite not being explicitly trained for such tasks. Furthermore, a culturally aware Japanese vision–language model generated through our approach demonstrates its effectiveness in describing Japanese culture-specific content, outperforming previous Japanese vision–language models. This work not only contributes new state-of-the-art models back to the open-source community but also introduces a new paradigm for automated model composition, paving the way for exploring alternative, efficient approaches to foundation model development.

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1038/s42256-024-00975-8

Cites

17 of 17 references verified0 citation errors · 0 not checkable

Statistics

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Cites

Flagged first, then by citations

1 of the 18 references couldn’t be matched to a known paper.

Research works printed but not linked: 16

  1. Yadav, P., Tam, D., Choshen, L., Raffel, C. A. & Bansal, M. Ties-merging: resolving interference when merging models. In Advances in Neural Information Processing Systems Vol. 36 (eds Oh, A. et al.) 7093-7115 (Curran Associates, 2023).
  2. Yu, L., Yu, B., Yu, H., Huang, F. & Li, Y. Language models are Super Mario: absorbing abilities from homologous models as a free lunch. In International Conference on Machine Learning Vol. 235 (eds Salakhutdinov, R. et al.) 57755-57775 (PMLR, 2024); https:// proceedings.mlr.press/v235/yu24p.html
  3. Ainsworth, S. K., Hayase, J. & Srinivasa, S. S.Git re-basin: merging models modulo permutation symmetries. In The Eleventh International Conference on Learning Representations (OpenReview.net, 2023).
  4. Matena, M. S. & Raffel, C. A. Merging models with fisher-weighted averaging. Adv. Neural Inf. Process. Syst. 35, 17703-17716 (2022).
  5. Hansen, N. in Towards a New Evolutionary Computation: Advances In the Estimation of Distribution Algorithms (eds Lozano, J. A. et al.) 75-102 (Springer, 2006).
  6. Meng, K., Bau, D., Andonian, A. & Belinkov, Y. Locating and editing factual associations in gpt. Adv. Neural Inf. Process. Syst. 35, 17359-17372 (2022).
  7. Sun, Q., Pickett, M., Nain, A. K. & Jones, L. Transformer layers as painters. Preprint at https://arxiv.org/abs/2407.09298 (2024). · arXiv
  8. Ha, D., Dai, A. & Le, Q. V. Hypernetworks. In International Conference on Learning Representations (OpenReview.net, 2017); https://openreview.net/forum?id=rkpACe1lx
  9. Li, J., Li, D., Savarese, S. & Hoi, S. Blip-2: bootstrapping language-image pre-training with frozen image encoders and large language models. In International Conference on Machine Learning Vol. 202 (eds Krause, A. et al.) 19730-19742 (PMLR, 2023); https://proceedings.mlr.press/v202/li23q.html
  10. Liu, H., Li, C., Wu, Q. & Lee, Y. J. Visual instruction tuning. In Advances in Neural Information Processing Systems Vol. 36 (eds Oh, A. et al.) 34891-34916 (Curran Associates, 2023).
  11. White, T. Sampling generative networks. Preprint at https://arxiv. org/abs/1609.04468 (2016).
  12. Lin, S., Wang, A. & Yang, X. Sdxl-lightning: progressive adversarial diffusion distillation. Preprint at https://arxiv.org/abs/2402.13929 (2024). · arXiv
  13. Jiang, A. Q. et al. Mistral 7b. Preprint at https://arxiv.org/ abs/2310.06825 (2023). · arXiv
  14. Lapata, M., Blunsom, P. & Koller, A.) 427-431 (Association for Computational Linguistics, 2017).
  15. Tang, Y., Tian, Y., Ha, Da. EvoJAX: hardware-accelerated neuroevolution. In Proc. the Genetic and Evolutionary Computation Conference Companion 308-311 (Association for Computing Machinery, 2022).
  16. Shimizu, N., Rong, N. & Miyazaki, T. Visual question answering dataset for bilingual image understanding: a study of cross-lingual transfer using attention maps. In Proc. 27th International Conference on Computational Linguistics, 1918-1928 (Association for Computational Linguistics, 2018); http://aclweb.org/anthology/C18-1163

Cited by

Sorted by citations

Authors
Akiba, T., Shing, M., Tang, Y., Sun, Q., & Ha, D.
Affiliations
  • Sakana AI (Japan) (JP)
  • Institute of Science Tokyo (JP)
Corresponding author
Ha, David
Venue
Nature Machine Intelligence
Published
2025-01-27
Volume
7
Issue
2
Pages
195-204
ISSN
2522-5839 (ISSN-L)
OpenAlex
W4406844855
Cited by
58
References
18
Citations by year
2026: 24 · 2025: 27 · 2024: 7
FWCI
20.63
Type
journal article
Language
en
Open access
Locations
  • Nature Machine Intelligence (publishedVersion, cc-by)
  • arXiv (Cornell University) (submittedVersion)
  • arXiv (Cornell University)
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
  • Physical Sciences › Computer Science › Artificial Intelligence › Natural Language Processing Techniques
  • Physical Sciences › Computer Science › Artificial Intelligence › Evolutionary Algorithms and Applications
Keywords
model merging, evolutionary optimization, large language models, open-source models, cultural awareness, parameter space optimization

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review