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

路由到专家:大语言模型的高效奖励引导集成

Routing to the Expert: Efficient Reward-guided Ensemble of Large Language Models

Alibaba Inc.(阿里巴巴集团)

Keming Lu, Hongyi Yuan, Runji Lin, Junyang Lin, Zheng Yuan, Chang Zhou, Jingren Zhou

AI总结:

本文提出Zooter,一种奖励引导的路由方法,通过蒸馏奖励训练路由函数,将查询分配给具有专业知识的LLM,实现高效集成,平均性能优于最佳单模型。

摘要:

大语言模型(LLM)的互补潜力假设现成的LLM在广泛领域和任务中具有异构的专业知识,因此LLM的集成可以实现持续更好的性能。现有的LLM集成方法主要关注奖励模型对输出的排名,导致显著的计算开销。为了解决这个问题,我们重新审视了LLM的互补潜力,并通过挖掘现成奖励模型的潜在专业知识进一步阐述它。我们提出了Zooter,一种奖励引导的路由方法,在训练查询上蒸馏奖励以训练路由函数,该函数可以精确地将每个查询分配给具有相关专业知识的LLM。我们还整合了基于标签的标签增强,以减轻在将奖励用作银标准监督时不确定性带来的噪声。Zooter在推理中显示出计算效率,因为它仅引入了路由函数的一小部分计算开销,与奖励模型排名方法相比。我们在包含26个子集的综合基准集合上评估了Zooter,涵盖不同领域和任务。Zooter平均优于最佳单一模型,并在44%的任务上排名第一,甚至超过了多种奖励模型排名方法。

英文摘要:

The complementary potential of Large Language Models (LLM) assumes off-the-shelf LLMs have heterogeneous expertise in a wide range of domains and tasks so that an ensemble of LLMs can achieve consistently better performance. Existing ensemble methods for LLMs mainly focus on reward model ranking of outputs, leading to significant computation overhead. To combat this issue, we revisit the complementary potential of LLMs and further elaborate it by mining latent expertise with off-the-shelf reward models. We propose Zooter, a reward-guided routing method distilling rewards on training queries to train a routing function, which can precisely distribute each query to the LLM with expertise about it. We also integrate a tag-based label enhancement to mitigate noise from uncertainty when using rewards as silver supervision. Zooter shows computation efficiency in inference as it introduces only a minor computation overhead of a routing function compared with reward model ranking methods. We evaluate Zooter on a comprehensive benchmark collection with 26 subsets on different domains and tasks. Zooter outperforms the best single model on average and ranks first on 44% of tasks, even surpassing multiple reward model ranking methods.

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

↑