evolutionary-model-merge.mdupdated 2026-07-226091 words
ダブルクリックで英日反転
Applied Sciences · Artificial Intelligence

Evolutionary Model Merge — Sakana AI's evolutionary search over model combination space

EN

Evolutionary Model Merge (EvoMerge) is a technique from Sakana AI that uses evolutionary algorithms to automatically discover optimal recipes for combining existing pretrained models — no additional training data required. The resulting models can surpass fine-tuning baselines and outperform much larger models on targeted benchmarks.

The Core Idea: Automating Model Merging

  • Model merging combines weights from multiple pretrained models into one. Previously this was done manually via heuristics (e.g., SLERP, TIES, DARE) with human-chosen layer weights and merge ratios.
  • EvoMerge replaces human guesswork with CMA-ES (Covariance Matrix Adaptation Evolution Strategy) — an evolutionary optimisation algorithm that searches the merge configuration space automatically.
  • Two search spaces: Parameter Space (PS) — how to interpolate weights layer by layer; Data Flow Space (DFS) — which model's layers to route tokens through at inference time. DFS enables merging models with different architectures and sizes (up to 21B from 7B components).
  • Fitness is evaluated by running the candidate merged model on a task-specific benchmark; the evolutionary loop iterates until convergence.

Models Produced & Benchmarks

  • EvoLLM-JP-v1-7B: merged shisa-gamma-7b-v1 (Japanese LLM) + WizardMath-7B + Abel-7B-002 (math specialists). Achieved 52.0% on MGSM-JA (Japanese math reasoning) vs. ~30% for source models individually — and beat fine-tuning baselines (which peaked at 43.2%).
  • EvoLLM-JP-A-v1-7B: Apache 2.0 variant using Arithmo2-Mistral-7B as the math component — commercially licensable.
  • EvoVLM-JP (Llama-3 base): vision-language model for Japanese culture-specific understanding; achieved SOTA on Japanese multimodal benchmarks.
  • Scaling confirmed up to 13B; DFS merging can synthesise a 21B-class model from 7B components by interleaving their layers.

Why It Matters: Compute-Efficient Democratisation

  • No gradient updates — only evolutionary search + inference evaluation. Creating EvoLLM-JP cost a fraction of training an equivalent model from scratch.
  • Discovers non-obvious combinations: a Japanese general model + two English math models → a Japanese math model. A human would not have attempted this merge.
  • All weights released on HuggingFace under research or Apache 2.0 licenses — accessible to any organisation with modest GPU resources.
  • Published in Nature Machine Intelligence (2024), doi: 10.1038/s42256-024-00975-8. ArXiv: 2403.13187 (March 19, 2024).

Sakana AI — Timeline & Background

  • 2023: Founded in Tokyo by David Ha (former head of Google Brain Japan, known for neuroevolution / weight agnostic networks) and Llion Jones (co-author of 'Attention Is All You Need', the original Transformer paper). Independent company, not a Google spin-off.
  • 2024 Q1: Evolutionary Optimization of Model Merging Recipes paper + EvoLLM-JP / EvoVLM-JP release (March 2024).
  • 2024 Q3: 'The AI Scientist' paper — automated scientific discovery system that writes, executes, and peer-reviews its own research papers. Demonstrated on NeurIPS workshop submissions.
  • Focus: nature-inspired AI — evolution, self-organisation, emergent behaviour applied to modern deep learning.
EvoMerge reframes the question from 'how do we train a capable model?' to 'how do we find the right recipe for combining capable models that already exist?' — a shift that dramatically lowers the compute and data barrier for building domain-specialised AI.
応用科学 · 人工知能

Evolutionary Model Merge — 進化的探索で​モデル合成レシピを​自動発見する​Sakana AIの​手法

JP

EvoMerge​(エボマージ)は​Sakana AIが​開発した​技術で、​進化的アルゴリズム​(evolutionary algorithm)を​使い、​既存の​学習済みモデル同士の​最適な​組み合わせを​自動探索する。​追加の​学習データ不要で、​ファインチューニング​(fine-tuning、​追加学習)の​上限を​上回る​性能を​7Bクラスの​モデルで​達成した。

核心アイデア:モデルマージの​自動化

  • モデルマージ​(model merging)​=複数の​学習済みモデルの​重みを​合成し1つの​モデルに​する​手法。​従来は​SLERP・TIES・DAREなどの​アルゴリズムを​人間が​パラメータを​手動で​決めて​使っていた。
  • EvoMergeは​人間の​勘を​**CMA-ES​(共分散行列適応進化戦略)​**に​置き換える。​マージ設定の​空間を​進化的に​探索し、​最良レシピを​自動発見する。
  • 探索​空間は​2種類:**パラメータ​空間​(PS)​**=層ごとの​重み補間の​割合、​**データフロー​空間​(DFS)​**=推論時に​どの​モデルの​層を​通るかの​ルーティング。​DFSに​より​異なる​サイズの​モデル​(7B×2→21B相当)の​組み合わせも​可能。
  • 適合度​(fitness)の​評価:候補モデルを​タスク固有ベンチマークで​実行し、​その​精度を​スコアと​して​次世代の​探索に​反映する。

生成された​モデルと​ベンチマーク

  • **EvoLLM-JP-v1-7B**:shisa-gamma-7b-v1​(日本語LLM)​+WizardMath-7B+Abel-7B-002​(数学特化)を​合成。​日本語数学推論ベンチマークMGSM-JAで​**52.0%**を​達成。​各ソースモデル単体≒30%・ファインチューニング上限43.2%を​どちらも​上回った。
  • **EvoLLM-JP-A-v1-7B**:Apache 2.0ライセンス版。​数学モデルを​Arithmo2-Mistral-7Bに​差し替え、​商用利用​可能に​した​バリアント。
  • **EvoVLM-JP**​(Llama-3ベース)​:日本文化特有の​コンテンツを​理解する​ビジョン言語モデル​(vision-language model)。​日本語マルチモーダルベンチマークで​SOTA​(当時最高水準)を​達成。
  • 13Bへの​スケールも​確認済み。​DFSで​7Bコンポーネントから​21Bクラス相当を​合成可能。

なぜ重​要か​:計算効率と​民主化

  • 勾配更新​(gradient update)​ゼロ=学習コスト不要。​進化的探索+推論評価だけで​完結する​ため、​EvoLLM-JP作成コストは​同等モデルを​ゼロから​学習する​場合の​数分の​一。
  • 人間が​試みない​マージを​発見する​:​「日本語汎用モデル+英語数学モデル2本」​→​「日本語数学モデル」と​いう​非自明な​組み合わせ。
  • 全重みを​HuggingFaceで​研究用・Apache 2.0ライセンスで​公開。​中規模GPUが​あればどの​組織でも​利用できる。
  • Nature Machine Intelligence​(2024年)​掲載​(doi: 10.1038/s42256-024-00975-8)。​ArXiv: 2403.13187​(2024年3月19日)。

Sakana AI — 沿革

  • **2023年**: 東京設立。​共同創​業者:David Ha​(デイヴィッド・ハ。​元Google Brain Japan責任者、​ニューロエボリューション研究で​著名)​+Llion Jones​(ライオン・ジョーンズ。​「Attention Is All You Need」​=Transformerの​原論文の​共著者)。​Google系スピンオフではなく​独立会社。
  • **2024年3月**: Evolutionary Optimization of Model Merging Recipes論文発表+EvoLLM-JP / EvoVLM-JP公開。
  • **2024年Q3**:​「The AI Scientist」​論文発表——実験立案→コード実行→論文執筆→査読を​自動化する​AI研究者システム。​NeurIPSワークショップへの​投稿で​実証。
  • **研究哲学**: 進化・​自己組織化・創発​(emergent behaviour)を​現代の​ディープラーニングに​応用する​「自然に​インスパイアされた​AI」。
EvoMergeは​問いを​「どうやって​強い​モデルを​学習するか」から​「既存の​強い​モデルを​どう​組み合わせるか」へ​転換する。​計算コストと​データの​壁を​大幅に​下げ、​ドメイン特化AIの​構築を​中小組織に​開放した点で、​学習パラダイムへの​実質的な​代替提案に​なっている。
148 notestil