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

复仇者联盟:联合较小语言模型挑战专有巨头的简单配方

The Avengers: A Simple Recipe for Uniting Smaller Language Models to Challenge Proprietary Giants

Northeastern University(东北大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Northwestern Polytechnical University(西北工业大学);Beijing Institute of Technology(北京理工大学);The University of Tokyo(东京大学);Singapore Management University(新加坡管理学院)

Yiqun Zhang, Hao Li, Chenxu Wang, Linyao Chen, Qiaosheng Zhang, Peng Ye, Shi Feng, Daling Wang, Zhen Wang, Xinrun Wang, Jia Xu, Lei Bai, Wanli Ouyang, Shuyue Hu

AI总结:

提出复仇者联盟配方,通过嵌入、聚类、评分和投票联合10个小型开源模型,在15个数据集上超越GPT-4系列,数学任务提升18.21%。

摘要:

专有巨头正日益主导着不断增大的语言模型的竞赛。开源的小型模型能否在广泛的任务中保持竞争力?在本文中,我们提出了复仇者联盟(Avengers)——一种利用这些较小模型的集体智慧的简单配方。复仇者联盟基于四个轻量级操作:(i)嵌入:使用文本嵌入模型对查询进行编码;(ii)聚类:根据语义相似性对查询进行分组;(iii)评分:评估每个模型在每个聚类内的性能;(iv)投票:通过重复采样和投票改进输出。在推理时,每个查询被嵌入并分配到其最近的聚类。该聚类中表现最佳的模型被选择用于通过重复采样生成响应。值得注意的是,使用10个开源模型(每个约70亿参数),复仇者联盟在涵盖数学、编程、逻辑推理、常识知识和情感任务的15个多样化数据集上的平均性能超过了GPT-4o、4.1和4.5。特别是,它在数学任务上超过GPT-4.1达18.21%,在代码任务上超过7.46%。此外,复仇者联盟在分布外泛化方面表现出色,并且在各种嵌入模型、聚类算法、集成策略及其唯一参数——聚类数量——的不同取值下保持稳健。

英文摘要:

Proprietary giants are increasingly dominating the race for ever-larger language models. Can open-source, smaller models remain competitive across a broad range of tasks? In this paper, we present the Avengers -- a simple recipe that leverages the collective intelligence of these smaller models. The Avengers builds upon four lightweight operations: (i) embedding: encode queries using a text embedding model; (ii) clustering: group queries based on their semantic similarity; (iii) scoring: scores each model's performance within each cluster; and (iv) voting: improve outputs via repeated sampling and voting. At inference time, each query is embedded and assigned to its nearest cluster. The top-performing model(s) within that cluster are selected to generate the response with repeated sampling. Remarkably, with 10 open-source models (~7B parameters each), the Avengers surpasses GPT-4o, 4.1, and 4.5 in average performance across 15 diverse datasets spanning mathematics, coding, logical reasoning, general knowledge, and affective tasks. In particular, it surpasses GPT-4.1 on mathematics tasks by 18.21% and on code tasks by 7.46%. Furthermore, the Avengers delivers superior out-of-distribution generalization, and remains robust across various embedding models, clustering algorithms, ensemble strategies, and values of its sole parameter -- the number of clusters.

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

↑