Ensemble Learning for Large Language Models in Text and Code Generation: A Survey
Not on the map. Why?
Abstract (arXiv)
Generative Pretrained Transformers (GPTs) are foundational Large Language Models (LLMs) for text generation. However, individual LLMs often produce inconsistent outputs and exhibit biases, limiting their representation of diverse language patterns. The closed-source nature of many powerful LLMs further restricts industry applications due to data privacy concerns. Inspired by successes in text generation, LLM ensemble techniques are now increasingly explored for code generation. This article reviews these emerging ensemble approaches to enhance understanding, encourage further research, and promote practical implementation in both text and code generation. We categorize LLM ensembles into seven main methods - weight merging, knowledge fusion, mixture-of-experts, reward ensemble, output ensemble, routing, and cascading - analyzing capabilities of those approaches. Our findings highlight key benefits such as improved diversity representation, enhanced output quality, and greater application flexibility. These insights aid model selection for real-world tasks and crucially, lay groundwork for extending ensemble strategies to multimodal LLMs.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 100 of its 119 references that are in the map. First posted on arXiv 13 Mar 2025.
Builds on
100 of 119 references.
References · 100
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023GPT-4 Technical Reportcited by 18,396
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2017Proximal Policy Optimization Algorithmscited by 15,215
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
38 more
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2023Visual Instruction Tuningcited by 7,869
- 2023BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Modelscited by 6,137
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,509
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,073
- 2022Scaling Instruction-Finetuned Language Modelscited by 3,024
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
- 2020Learning to summarize from human feedbackcited by 2,588
- 2021Convex optimizationcited by 2,515
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
- 2024Mixtral of Expertscited by 1,823
- 2020GLU Variants Improve Transformercited by 1,804
- 2016Concrete Problems in AI Safetycited by 1,642
- 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,631
- 2019Generating Long Sequences with Sparse Transformerscited by 1,546
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,407
- 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,396
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
- 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
- 2022Editing Models with Task Arithmeticcited by 1,120
- 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,076
- 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 853
- 2023TIES-Merging: Resolving Interference When Merging Modelscited by 818
- 2021BARTScore: Evaluating Generated Text as Text Generationcited by 722
- 2023Language Models are Super Mario: Absorbing Abilities from Homologous Models as a Free Lunchcited by 694
- 2023LLM-Blender: Ensembling Large Language Models with Pairwise Ranking and Generative Fusioncited by 564
- 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 479
- 2024Prometheus 2: An Open Source Language Model Specialized in Evaluating Other Language Modelscited by 446
- 2024Mixture-of-Agents Enhances Large Language Model Capabilitiescited by 438
- 2024Hybrid LLM: Cost-Efficient and Quality-Aware Query Routingcited by 372
- 2024OLMoE: Open Mixture-of-Experts Language Modelscited by 301
- 2022Prompting GPT-3 To Be Reliablecited by 260
50 most cited of 100 All 100 (JSON)
Built on by
Citing papers per year: 2025: 5; 2026: 4.
9 papers.
- 2026Token-Level LLM Collaboration via FusionRoutecited by 9
- 2025A Survey on Collaborating Small and Large Language Models for Performance, Cost-effectiveness, Cloud-edge Privacy, and Trustworthinesscited by 7
- 2025Generalizing Test-time Compute-optimal Scaling as an Optimizable Graphcited by 4
- 2025Wisdom and Delusion of LLM Ensembles for Code Generation and Repaircited by 3
- 2025Industrial LLM-based Code Optimization under Regulation: A Mixture-of-Agents Approachcited by 2
- 2026Inhibitory Attacks on Backdoor-based Fingerprinting for Large Language Modelscited by 1
- 2025Exploring the Heterogeneity of Tabular Data: A Diversity-aware Data Generator via LLMscited by 0
- 2026Ensemble Self-Training for Unsupervised Machine Translationcited by 0
- 2026Quantum-Inspired Trace-Augmented Evidence Selection for Reasoning over Structured Hypothesis Spacescited by 0
- 2026Quantum-Inspired Trace-Augmented Evidence Selection for Reasoning over Structured Hypothesis Spaces5 Jun 2026
- 2026Ensemble Self-Training for Unsupervised Machine Translation17 Mar 2026
- 2026Token-Level LLM Collaboration via FusionRoute8 Jan 2026
- 2026Inhibitory Attacks on Backdoor-based Fingerprinting for Large Language Models7 Jan 2026
- 2025Exploring the Heterogeneity of Tabular Data: A Diversity-aware Data Generator via LLMs26 Dec 2025
- 2025Generalizing Test-time Compute-optimal Scaling as an Optimizable Graph29 Oct 2025
- 2025Wisdom and Delusion of LLM Ensembles for Code Generation and Repair24 Oct 2025
- 2025A Survey on Collaborating Small and Large Language Models for Performance, Cost-effectiveness, Cloud-edge Privacy, and Trustworthiness14 Oct 2025
- 2025Industrial LLM-based Code Optimization under Regulation: A Mixture-of-Agents Approach5 Aug 2025
Similar, not cited
Close in wording, no citation either way
- 2025Synthetic Data Generation Using Large Language Models: Advances in Text and Code
- 2024SpecFuse: Ensembling Large Language Models via Next-Segment Prediction
- 2024A Comprehensive Survey of Accelerated Generation Techniques in Large Language Models
- 2025Speed Always Wins: A Survey on Efficient Architectures for Large Language Models
- 2023Synthetic Data Generation with Large Language Models for Text Classification: Potential and Limitations
- 2024A Survey on Data Synthesis and Augmentation for Large Language Models
- 2023Synthetic Data Generation in Low-Resource Settings via Fine-Tuning of Large Language Models
- 2024CodeLutra: Boosting LLM Code Generation via Preference-Guided Refinement