arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.03777cs.CLcs.AI
收藏

先确定再集成:大语言模型集成中Top-k并集的必要性

Determine-Then-Ensemble: Necessity of Top-k Union for Large Language Model Ensembling

City University of Hong Kong(香港城市大学);City University of Hong Kong Shenzhen Research Institute(香港城市大学深圳研究院);Huawei Noah’s Ark Lab(华为诺亚方舟实验室);North China University of Technology(北方工业大学);Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州))

Yuxuan Yao, Han Wu, Mingyang Liu, Sichun Luo, Xiongwei Han, Jie Liu, Zhijiang Guo, Linqi Song

AI总结:

本研究提出先确定兼容模型再集成的方法,并引入UniTE算法,通过并集各模型top-k令牌避免全词汇表对齐,显著提升大语言模型集成性能并降低计算开销。

摘要:

大语言模型(LLMs)在不同任务上表现出不同的优势和劣势,这促使近期研究探索集成模型以利用其互补优势。然而,现有的LLM集成方法常常忽视模型兼容性,并且在整个词汇表上进行概率对齐效率低下。在本研究中,我们实证调查了影响集成性能的因素,确定模型性能、词汇表大小和响应风格是关键决定因素,揭示了模型之间的兼容性对于有效集成至关重要。这一分析促成了简单而有效的模型选择策略的开发,该策略能够识别兼容的模型。此外,我们引入了UniTE(Union Top-k Ensembling),一种新颖的方法,通过聚焦每个模型的top-k令牌的并集来高效地组合模型,从而避免全词汇表对齐的需求并降低计算开销。在多个基准上的广泛评估表明,与现有方法相比,UniTE显著提升了性能,为LLM集成提供了更高效的框架。

英文摘要:

Large language models (LLMs) exhibit varying strengths and weaknesses across different tasks, prompting recent studies to explore the benefits of ensembling models to leverage their complementary advantages. However, existing LLM ensembling methods often overlook model compatibility and struggle with inefficient alignment of probabilities across the entire vocabulary. In this study, we empirically investigate the factors influencing ensemble performance, identifying model performance, vocabulary size, and response style as key determinants, revealing that compatibility among models is essential for effective ensembling. This analysis leads to the development of a simple yet effective model selection strategy that identifies compatible models. Additionally, we introduce the \textsc{Uni}on \textsc{T}op-$k$ \textsc{E}nsembling (\textsc{UniTE}), a novel approach that efficiently combines models by focusing on the union of the top-k tokens from each model, thereby avoiding the need for full vocabulary alignment and reducing computational overhead. Extensive evaluations across multiple benchmarks demonstrate that \textsc{UniTE} significantly enhances performance compared to existing methods, offering a more efficient framework for LLM ensembling.

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

↑