Model-GLUE:面向野外大型模型库的民主化 LLM 扩展
Model-GLUE: Democratized LLM Scaling for A Large Model Zoo in the Wild
AI总结:
本文提出 Model-GLUE 扩展指南,通过基准评测、可合并模型聚类、最优合并选择与 model mixture 集成,在无需额外训练的情况下将多样化 Llama-2 模型库平均性能提升 5.61%。
摘要:
随着大型语言模型(LLM)在各类任务和专业领域中表现出色,基于现有模型扩展 LLM 引起了广泛关注,但在组合不同模型时面临性能下降的挑战。已有多种技术被提出用于聚合预训练 LLM,包括模型合并、混合专家(Mixture-of-Experts)和堆叠。尽管这些方法各有优点,但它们在多样化模型库上的全面比较以及协同应用仍未得到充分解决。针对这一研究空白,本文提出 Model-GLUE,这是一套全面的 LLM 扩展指南。首先,本文从对现有 LLM 扩展技术的基准评测开始,尤其是选择性合并以及多种 mixture 变体。利用基准测试结果中的洞察,我们针对具有不同架构和初始化特征的异构模型库,制定了模型选择与聚合的最优策略。我们的方法包括对可合并模型进行聚类、选择最优合并策略,以及通过 model mixture 集成各个聚类。最后,在基于 Llama-2 的多样化模型库上的实验表明,Model-GLUE 在无需额外训练的情况下实现了平均 5.61% 的性能提升。代码可在 https://github.com/Model-GLUE/Model-GLUE 获取。
英文摘要:
As Large Language Models (LLMs) excel across tasks and specialized domains, scaling LLMs based on existing models has garnered significant attention, which faces the challenge of decreasing performance when combining disparate models. Various techniques have been proposed for the aggregation of pre-trained LLMs, including model merging, Mixture-of-Experts, and stacking. Despite their merits, a comprehensive comparison and synergistic application of them to a diverse model zoo is yet to be adequately addressed. In light of this research gap, this paper introduces Model-GLUE, a holistic LLM scaling guideline. First, our work starts with a benchmarking of existing LLM scaling techniques, especially selective merging, and variants of mixture. Utilizing the insights from the benchmark results, we formulate an optimal strategy for the selection and aggregation of a heterogeneous model zoo characterizing different architectures and initialization.Our methodology involves the clustering of mergeable models and optimal merging strategy selection, and the integration of clusters through a model mixture. Finally, evidenced by our experiments on a diverse Llama-2-based model zoo, Model-GLUE shows an average performance enhancement of 5.61%, achieved without additional training. Codes are available at: https://github.com/Model-GLUE/Model-GLUE.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。