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

LLM-TOPLA: 基于最大化多样性的高效大语言模型集成

LLM-TOPLA: Efficient LLM Ensemble by Maximising Diversity

Georgia Institute of Technology(佐治亚理工学院)

Selim Furkan Tekin, Fatih Ilhan, Tiansheng Huang, Sihao Hu, Ling Liu

AI总结:

针对大语言模型集成的性能提升需求,本文提出多样性优化的LLM-TOPLA集成方法,通过焦点多样性指标、剪枝算法和学习集成策略实现高效集成,在多个基准测试中显著优于现有最优集成方法。

摘要:

在训练阶段或推理阶段组合大语言模型(LLM),已被证实能比单个组件LLM带来显著的性能提升。本文提出LLM-TOPLA,这是一种经过多样性优化的LLM集成方法,具备三项独特特性:(i)我们引入焦点多样性指标,用于捕捉集成模型中各组件LLM之间的多样性与性能关联。(ii)我们开发了一种多样性优化的集成剪枝算法,从包含$N$个基础LLM的池中筛选出top-k子集成。我们的剪枝方法能推荐规模为$S$的高性能LLM子集成,其规模通常远小于$N$。(iii)我们采用“学习集成”方法为每个提示查询生成新输出,该方法可学习检测并解决集成模型中所有组件LLM之间的输出不一致问题。\n我们在四个不同基准上开展了广泛评估,结果显示该方法相较最优LLM集成方法取得了良好的性能提升:(i)在约束解集问题上,LLM-TOPLA在MMLU数据集上的准确率比性能最优的集成方法Mixtral高2.2%,在GSM8k数据集上比性能最优的LLM集成方法MoreAgent高2.1%。(ii)在生成类任务上,LLM-TOPLA在SearchQA数据集上的F1值是排名前二的模型Llama70b/Mixtral的$3.9\boldsymbol{\times}$,在XSum数据集上的ROUGE-1得分高出38以上。我们的代码与包含8个现代LLM在4个基准上输出结果的数据集,可访问https://github.com/git-disl/llm-topla获取。

英文摘要:

Combining large language models during training or at inference time has shown substantial performance gain over component LLMs. This paper presents LLM-TOPLA, a diversity-optimized LLM ensemble method with three unique properties: (i) We introduce the focal diversity metric to capture the diversity-performance correlation among component LLMs of an ensemble. (ii) We develop a diversity-optimized ensemble pruning algorithm to select the top-k sub-ensembles from a pool of $N$ base LLMs. Our pruning method recommends top-performing LLM subensembles of size $S$, often much smaller than $N$. (iii) We generate new output for each prompt query by utilizing a learn-to-ensemble approach, which learns to detect and resolve the output inconsistency among all component LLMs of an ensemble. Extensive evaluation on four different benchmarks shows good performance gain over the best LLM ensemble methods: (i) In constrained solution set problems, LLM-TOPLA outperforms the best-performing ensemble (Mixtral) by 2.2\% in accuracy on MMLU and the best-performing LLM ensemble (MoreAgent) on GSM8k by 2.1\%. (ii) In generative tasks, LLM-TOPLA outperforms the top-2 performers (Llama70b/Mixtral) on SearchQA by $3.9\mathrm{x}$ in F1, and on XSum by more than $38$ in ROUGE-1. Our code and dataset, which contains outputs of 8 modern LLMs on 4 benchmarks is available at https://github.com/git-disl/llm-topla

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

↑