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

聊天LLM的知识融合:初步技术报告

Knowledge Fusion of Chat LLMs: A Preliminary Technical Report

FuseAI Research Team(FuseAI研究团队)

Fanqi Wan, Ziyi Yang, Longguang Zhong, Xiaojun Quan, Xinting Huang, Wei Bi

AI总结:

本文提出FusionChat框架,通过两阶段方法实现聊天LLM的知识融合:先对结构不同的源LLM进行轻量级微调得到统一目标LLM,再基于参数变化比率在参数空间合并,实验证明FusionChat-7B性能超越GPT-3.5并接近Mixtral-8x7B-Instruct。

摘要:

最近,FuseLLM引入了知识融合的概念,通过轻量级持续训练将多个结构不同的LLM的集体知识转移到目标LLM中。在本报告中,我们扩展了FuseLLM框架的可扩展性和灵活性,以实现聊天LLM的融合,从而产生了FusionChat。FusionChat包含两个主要阶段。首先,我们对结构和规模不同的源LLM进行知识融合,通过轻量级微调得到多个结构和大小相同的目标LLM。然后,这些目标LLM在参数空间内合并,其中我们提出了一种基于微调前后参数矩阵变化比率来确定合并权重的新方法。我们使用三个具有不同架构和规模的著名聊天LLM来验证我们的方法,即NH2-Mixtral-8x7B、NH2-Solar-10.7B和OpenChat-3.5-7B。涵盖各种聊天领域的实验结果证明了FusionChat-7B在7B和34B规模上的广泛聊天LLM中的优越性,甚至超过了GPT-3.5(March)并接近Mixtral-8x7B-Instruct。

英文摘要:

Recently, FuseLLM introduced the concept of knowledge fusion to transfer the collective knowledge of multiple structurally varied LLMs into a target LLM through lightweight continual training. In this report, we extend the scalability and flexibility of the FuseLLM framework to realize the fusion of chat LLMs, resulting in FusionChat. FusionChat comprises two main stages. Firstly, we undertake knowledge fusion for structurally and scale-varied source LLMs to derive multiple target LLMs of identical structure and size via lightweight fine-tuning. Then, these target LLMs are merged within the parameter space, wherein we propose a novel method for determining the merging weights based on the variation ratio of parameter matrices before and after fine-tuning. We validate our approach using three prominent chat LLMs with diverse architectures and scales, namely NH2-Mixtral-8x7B, NH2-Solar-10.7B, and OpenChat-3.5-7B. Experimental results spanning various chat domains demonstrate the superiority of FusionChat-7B across a broad spectrum of chat LLMs at 7B and 34B scales, even surpassing GPT-3.5 (March) and approaching Mixtral-8x7B-Instruct.

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

↑