LLM-Blender: Ensembling Large Language Models with Pairwise Ranking and Generative Fusion
Jiang, Dongfu, Ren, Xiang, Lin, Bill Yuchen
–arXiv.org Artificial Intelligence
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.
arXiv.org Artificial Intelligence
Jun-30-2023
- Country:
- North America
- United States > California (0.14)
- Canada > Quebec
- Montreal (0.04)
- Europe
- France (0.04)
- Sweden > Stockholm
- Stockholm (0.04)
- Spain > Andalusia
- Granada Province > Granada (0.04)
- Portugal > Lisbon
- Lisbon (0.14)
- Ireland > Leinster
- County Dublin > Dublin (0.04)
- Germany
- Berlin (0.04)
- North Rhine-Westphalia > Cologne Region
- Bonn (0.04)
- Denmark > Capital Region
- Copenhagen (0.04)
- Asia > Middle East
- Jordan (0.04)
- UAE > Abu Dhabi Emirate
- Abu Dhabi (0.04)
- Africa > Ethiopia
- Addis Ababa > Addis Ababa (0.04)
- North America
- Genre:
- Research Report > New Finding (1.00)
- Technology: