# Poster 30026

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/30026

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Hi, my name is So. I'm a research engineer at Sakana AI. In this video, I will discuss our work on nature-inspired method for merging large language models to create an integrated model with multiple skills. First, what is model merging? In short, it is a method for creating a new model by combining more than two existing models. There are several approaches to model merging. One such method is parameter space merging. In this approach, given several accessible model parameters,
To be carried from the model that share the same architecture, the corresponding weights are merged, for example using linear interpolation. Then, why is model merging necessary? There are two main advantages. Advantage one is flexible tradition on open models. By merging different open source models, we unlock the knowledge each one contains without requiring the original training data.
An advantage too is cost-effective model construction. Merging doesn't require traditional training methods like gradient descent, so you don't even need a specialized GPU. The objective of this work is to apply a nature-inspired model merging method to enhance the adaptability, efficiency, and capability of foundation models across diverse domains.
We focus on quality diversity methods, specifically utilizing MAP-Elites. MAP-Elites is inspired by evolutionary biology, where an ecological niche denotes the relationship a species has with its environment, defined by its unique abilities and characteristics. Similarly, MAP-Elites maintain an archive of solutions where each cell represents a set of behavioral characteristics, besets and contains the highest quality solution.
discovered for that behavior. Our work had three key methods.
The first method is that of a circuit QD, is namely cyclic circuit diversity (BCs and quality cyclical swapping). In our setting, BCs and quality are performance for code generation, operation system and database operation. Cells are divided by their performance metrics and each cell stores the best large language model itself in each cell niche. When all tasks are trained simultaneously, for example in fine-tuning process,
You typically have to explicitly balance each task data and carefully tune a single objective for all tasks. In contrast, handling each task cyclically focuses on one task at a time with a direct performance matrix. Number one, this eliminates the usual struggle of data ratio tuning in fine tuning. And number two, it allows a skill specific optimization that goes straight to the core of each task.
This is a video illustration for PsyQQD. In each generation, PsyQQD focuses on archive. It samples LRMs from the archive to start as parents and merge them, introduce mutation, evaluate the children and compare them with LRM in the classified self. In the subsequent generation, PsyQQD swaps PC and quality and repeat the process. By iterating this cycle, PsyQQD evolves LRM in a population -based manner.
As for method two and three, we apply new method for crossover and mutation as well. For crossover, we employ model merging. To the best of our knowledge, this is the first approach that uses model merging itself as a crossover mechanism. In addition, we add a SVD-based mutation. In short, we sample a vector and multiply to singular value to introduce or reduce the influence of each principal direction on the parameter space. This approach preserves the matrix foundational structure.
by flexibly modified how strongly each direction contribute allowing exploration beyond the simple linear combination of parents models. This is the main result. This time we use LAMA 8B instruct as base model. For experiment we have access to three task datasets, so we fine tune the base model to create expert models for each task.
And we match those three expert models by CQKD. First, you can see our CQKD success of obtaining higher performance overall compared to the base models. Secondary, row 6, we also fine-tune the base model with combined all three task dataset, which is basically first option when you have an access to the training data. CQKD shows the better performance. We think there are two main reasons. First, next token prediction does not always improve the task performance.
Performance. How much you precisely predict next token is not necessarily related with the task performance. Second, when you combine the dataset to fine-tune model, you need to care about data ratio. PsychoQD illuminates those necessity.
Third, we also prepare other module merging method for comparison. Overall, our methods still outperform other methods. Finally, ours is the best among all baseline that approaches that performance of GPT 3.5 table, highlighting the effectiveness of our approach.
