Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

LLM-Blender: Ensembling Large Language Models with Pairwise Ranking and Generative Fusion

About

We present LLM-Blender, an ensembling framework designed to attain consistently superior performance by leveraging the diverse strengths of multiple open-source large language models (LLMs). Our framework consists of two modules: PairRanker and GenFuser, addressing the observation that optimal LLMs for different examples can significantly vary. PairRanker employs a specialized pairwise comparison method to distinguish subtle differences between candidate outputs. It jointly encodes the input text and a pair of candidates, using cross-attention encoders to determine the superior one. Our results demonstrate that PairRanker exhibits the highest correlation with ChatGPT-based ranking. Then, GenFuser aims to merge the top-ranked candidates, generating an improved output by capitalizing on their strengths and mitigating their weaknesses. To facilitate large-scale evaluation, we introduce a benchmark dataset, MixInstruct, which is a mixture of multiple instruction datasets featuring oracle pairwise comparisons. Our LLM-Blender significantly outperform individual LLMs and baseline methods across various metrics, establishing a substantial performance gap.

Dongfu Jiang, Xiang Ren, Bill Yuchen Lin• 2023

Related benchmarks

TaskDatasetResultRank
Mathematical ReasoningGSM8K
Accuracy88.35
983
Multi-task Language UnderstandingMMLU
Accuracy81.22
842
Mathematical ReasoningSVAMP
Accuracy89.52
368
Mathematical ReasoningAQUA
Accuracy76.9
132
General ReasoningMMLU
MMLU Accuracy81
126
Mathematical ReasoningMultiArith
Accuracy97.29
116
Code GenerationHumanEval
Pass@188.8
108
Math Word Problem SolvingGSM8K
Accuracy91.3
91
Multi-task Language UnderstandingMMLU (test)
Normalized Accuracy60.27
76
Reward ModelingRewardBench
Accuracy87.1
70
Showing 10 of 31 rows

Other info

Follow for update