mlsanityData to 14 Oct 2026

Ensemble Learning for Large Language Models in Text and Code Generation: A Survey

arXiv 2503.13505 ↗First posted 13 Mar 2025cs.CL cs.AI cs.LGcited by 9

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2023GPT-4 Technical Reportcited by 18,396
  5. 2022Training language models to follow instructions with human feedbackcited by 15,971
  6. 2017Proximal Policy Optimization Algorithmscited by 15,215
  7. 2024The Llama 3 Herd of Modelscited by 14,715
  8. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  9. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  10. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  11. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  12. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
38 more
  1. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  2. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  3. 2023Visual Instruction Tuningcited by 7,869
  4. 2023BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Modelscited by 6,137
  5. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
  6. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
  7. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
  8. 2021Program Synthesis with Large Language Modelscited by 3,637
  9. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,509
  10. 2020Longformer: The Long-Document Transformercited by 3,413
  11. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,073
  12. 2022Scaling Instruction-Finetuned Language Modelscited by 3,024
  13. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
  14. 2020Learning to summarize from human feedbackcited by 2,588
  15. 2021Convex optimizationcited by 2,515
  16. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
  17. 2024Mixtral of Expertscited by 1,823
  18. 2020GLU Variants Improve Transformercited by 1,804
  19. 2016Concrete Problems in AI Safetycited by 1,642
  20. 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,631
  21. 2019Generating Long Sequences with Sparse Transformerscited by 1,546
  22. 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,407
  23. 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,396
  24. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
  25. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
  26. 2022Editing Models with Task Arithmeticcited by 1,120
  27. 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,076
  28. 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 853
  29. 2023TIES-Merging: Resolving Interference When Merging Modelscited by 818
  30. 2021BARTScore: Evaluating Generated Text as Text Generationcited by 722
  31. 2023Language Models are Super Mario: Absorbing Abilities from Homologous Models as a Free Lunchcited by 694
  32. 2023LLM-Blender: Ensembling Large Language Models with Pairwise Ranking and Generative Fusioncited by 564
  33. 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 479
  34. 2024Prometheus 2: An Open Source Language Model Specialized in Evaluating Other Language Modelscited by 446
  35. 2024Mixture-of-Agents Enhances Large Language Model Capabilitiescited by 438
  36. 2024Hybrid LLM: Cost-Efficient and Quality-Aware Query Routingcited by 372
  37. 2024OLMoE: Open Mixture-of-Experts Language Modelscited by 301
  38. 2022Prompting GPT-3 To Be Reliablecited by 260

50 most cited of 100 All 100 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 5; 2026: 4.

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Synthetic Data Generation Using Large Language Models: Advances in Text and Code
  2. 2024SpecFuse: Ensembling Large Language Models via Next-Segment Prediction
  3. 2024A Comprehensive Survey of Accelerated Generation Techniques in Large Language Models
  4. 2025Speed Always Wins: A Survey on Efficient Architectures for Large Language Models
  5. 2023Synthetic Data Generation with Large Language Models for Text Classification: Potential and Limitations
  6. 2024A Survey on Data Synthesis and Augmentation for Large Language Models
  7. 2023Synthetic Data Generation in Low-Resource Settings via Fine-Tuning of Large Language Models
  8. 2024CodeLutra: Boosting LLM Code Generation via Preference-Guided Refinement