Zhijun Chen, Jingzheng Li, Pengpeng Chen, Zhuoran Li, Kai Sun, Yuankai Luo, Qianren Mao, Dingqi Yang, Hailong Sun, Philip S. Yu
If you like our project, please give it a star ⭐ to show your support.
For this emerging topic, we hope this project can provide some reference for researchers and look forward to more interesting studies!
🔥🔥🔥 This is a collection of papers on LLM Ensemble.
It's based on our survey paper: Harnessing Multiple Large Language Models: A Survey on LLM Ensemble.
[Always] We will try to make this list updated frequently. If you found any error or any missed/new paper, please don't hesitate to contact us.
[2025/02/19] We will release our paper on arXiv in the next few days. Stay tuned.
Paper Abstract:
LLM Ensemble---which involves the comprehensive use of multiple large language models (LLMs), each aimed at handling user queries during the downstream inference, to benefit from their individual strengths---has gained substantial attention recently. The widespread availability of LLMs, coupled with their varying strengths and out-of-the-box usability, has profoundly advanced the field of LLM Ensemble. This paper presents the first systematic review of recent developments in LLM Ensemble. First, we introduce our taxonomy of LLM Ensemble and discuss several related research problems. Then, we provide a more in-depth classification of methods under the broad categories of ``ensemble-before-inference, ensemble-during-inference, ensemble-after-inference'', and review all relevant methods. Finally, we introduce related benchmarks and applications, summarize existing studies, and suggest several future research directions. A curated list of papers on LLM Ensemble is available at https://github.com/junchenzhi/Awesome-LLM-Ensemble.

Figure 1: Illustration of LLM Ensemble Taxonomy. (Note that for (b) ensemble-during-inference paradigm, there is also a process-level ensemble approach that we have not represented in the figure, mainly because that this approach is instantiated by a single method.)
-
(a) Ensemble before inference.
In essence, this approach employs a routing algorithm prior to LLM inference to allocate a specific query to the most suitable model, allowing the selected model that is specialized for the query and typically more cost-efficient inference to perform the task. Existing methods can be classified into two categories, depending on whether the router necessitates the use of pre-customized data for pre-training:- (a,1) Pre-training router;
- (a,2) Non pre-training router.
-
(b) Ensemble during inference.
As the most granular form of ensemble among the three broad categories, this type of approach encompasses:- (b,1) Token-level ensemble methods, which integrate the token-level outputs of multiple models at the finest granularity of decoding;
- (b,2) Span-level ensemble methods, which conduct ensemble at the level of a sequence fragment (e.g., a span of four words);
- (b,3) Process-level ensemble methods, which select the optimal reasoning process step-by-step within the reasoning chain for a given complex reasoning task. Note that for these ensemble-during-inference methods, the aggregated text segments will be concatenated with the previous text and fed again to models.
-
(c) Ensemble after inference.
These methods can be classified into two categories:- (c,1) Non cascade methods, which perform ensemble using multiple complete responses contributed from all LLM candidates;
- (c,2) Cascade methods, which consider both performance and inference costs, progressively reasoning through a chain of LLM candidates largely sorted by model size to find the most suitable inference response.
Year | Title | Name | Code |
---|---|---|---|
2024 | PickLLM: Context-Aware RL-Assisted Large Language Model Routing | PickLLM | - |
2024 | Eagle: Efficient Training-Free Router for Multi-LLM Inference | Eagle | - |
2024 | Blending Is All You Need: Cheaper, Better Alternative to Trillion-Parameters LLM | Blending | - |
Year | Title | Name | Code |
---|---|---|---|
2024 | Cool-Fusion: Fuse Large Language Models without Training | Cool-Fusion | - |
2024 | Hit the Sweet Spot! Span-Level Ensemble for Large Language Models | SweetSpan | - |
2024 | SpecFuse: Ensembling Large Language Models via Next-Segment Prediction | SpecFuse | - |
Year | Title | Name | Code |
---|---|---|---|
2024 | Ensembling Large Language Models with Process Reward-Guided Tree Search for Better Complex Reasoning | LE-MCTS | - |
Year | Title | Name | Code |
---|---|---|---|
2024 | More Agents Is All You Need | Agent-Forest | Official |
2024 | Smoothie: Label Free Language Model Routing | SMOOTHIE | Official |
2023 | Getting MoRE out of Mixture of Language Model Reasoning Experts | MoRE | Official |
2023 | LLM-Blender: Ensembling Large Language Models with Pairwise Ranking and Generative Fusion | LLM-Blender | Official |
2024 | LLM-TOPLA: Efficient LLM Ensemble by Maximising Diversity | LLM-TOPLA | Official |
2024 | URG: A Unified Ranking and Generation Method for Ensembling Language Models | URG | - |
Year | Title | Name | Code |
---|---|---|---|
2023 | EcoAssistant: Using LLM Assistant More Affordably and Accurately | EcoAssistant | Official |
2024 | Large Language Model Cascades with Mixture of Thoughts Representations for Cost-efficient Reasoning | - | Official |
2022 | Model Cascading: Towards Jointly Improving Efficiency and Accuracy of NLP Systems | Model Cascading | - |
2023 | Cache & Distil: Optimising API Calls to Large Language Models | neural caching | Official |
2023 | A Unified Approach to Routing and Cascading for LLMs | Cascade Routing | Official |
2023 | When Does Confidence-Based Cascade Deferral Suffice? | - | - |
2023 | FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performance | FrugalGPT | - |
2024 | Language Model Cascades: Token-level uncertainty and beyond | - | - |
2023 | AutoMix: Automatically Mixing Language Models | AutoMix | - |
2024 | Dynamic Ensemble Reasoning for LLM Experts | DER | - |
Year | Title | Benchmark Name | Evaluation Goal | Code |
---|---|---|---|---|
2023 | LLM-BLENDER: Ensembling Large Language Models with Pairwise Ranking and Generative Fusion | MixInstruct | Performance | Official |
2024 | RouterBench: A Benchmark for Multi-LLM Routing System | RouterBench | Performance and cost | Official |
Beyond the methods presented before, the concept of LLM Ensemble has found applications in a variety of more specialized tasks and domains. Here we give some examples:
Year | Title | Name | Task | Code |
---|---|---|---|---|
2023 | Ensemble-Instruct: Generating Instruction-Tuning Data with a Heterogeneous Mixture of LMs | Ensemble-Instruct | Instruction-Tuning Data Generation | Official |
2024 | Bayesian Calibration of Win Rate Estimation with LLM Evaluators | BWRS, Bayesian Dawid-Skene | Win Rate Estimation | Official |
2024 | PromptMind Team at MEDIQA-CORR 2024: Improving Clinical Text Correction with Error Categorization and LLM Ensembles | - | SQL generation | - |