arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.00487cs.CL
收藏

变形时刻:通过多目标优化释放多个大语言模型的潜力

It's Morphing Time: Unleashing the Potential of Multiple LLMs via Multi-objective Optimization

East China Normal University(华东师范大学);Southern University of Science and Technology(南方科技大学);Shanghai Jiao Tong University(上海交通大学)

Bingdong Li, Zixiang Di, Yanting Yang, Hong Qian, Peng Yang, Hao Hao, Ke Tang, Aimin Zhou

AI总结:

本文提出MM-MO方法,将大语言模型合并形式化为多目标优化问题,通过从弱到强的采集函数增强、Fisher信息筛选和稀疏性指标,自动搜索最优合并配置,减少人工干预并提升模型泛化性能。

摘要:

本文提出了一种新方法,通过黑箱多目标优化算法解决大语言模型合并中的多目标优化问题。模型合并的目标是将多个在不同任务上各有所长的模型组合成一个单一模型,使其性能超过任何一个源模型。然而,模型合并面临两个重大挑战:第一,现有方法严重依赖人类知识或直觉;第二,在有限的评估次数内很难获得优秀的模型合并配置。为解决这些挑战,我们将模型合并形式化为一个多目标优化问题,并提出了一种名为MM-MO的自动化优化方法。该方法利用多目标优化算法在多个任务上自主搜索最优合并配置,从而减少了对人工干预的需求。在MM-MO中,采用了一种从弱到强的方法来增强采集函数,使先前评估过的较优配置能够指导新配置的搜索。同时,利用Fisher信息对这些配置进行筛选,提高了识别高质量合并配置的可能性。此外,我们设计了一个稀疏性指标作为额外的优化目标,以增强模型在不同任务上的泛化性能。我们与其他主流模型合并方法进行了全面实验,结果表明所提出的MM-MO算法在实现高质量模型合并方面具有竞争力和有效性。

英文摘要:

In this paper, we introduce a novel approach for addressing the multi-objective optimization problem in large language model merging via black-box multi-objective optimization algorithms. The goal of model merging is to combine multiple models, each excelling in different tasks, into a single model that outperforms any of the individual source models. However, model merging faces two significant challenges: First, existing methods rely heavily on human knowledge or intuition. Second, it's difficult to obtain the great model merging configuration in limited evaluations. To address these challenges, we formalize model merging as a multi-objective optimization problem and propose an automated optimization approach named MM-MO. This method leverages multi-objective optimization algorithms to autonomously search for optimal merging configurations across various tasks, alleviating the need for human intervention. In MM-MO, a weak-to-strong method is employed to enhance the acquisition function, allowing previously evaluated superior configurations to guide the search for new ones. Meanwhile, Fisher information is applied to screen these configurations, increasing the possibility of identifying high-quality merging configuration. Additionally, we designed a sparsity metric as an additional optimization objective to enhance the model's generalization performance across different tasks. We conducted comprehensive experiments with other mainstream model merging methods, demonstrating that the proposed MM-MO algorithm is competitive and effective in achieving high-quality model merging.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑