Composition of Experts: A Modular Compound AI System Leveraging Large Language Models
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) have achieved remarkable advancements, but their monolithic nature presents challenges in terms of scalability, cost, and customization. This paper introduces the Composition of Experts (CoE), a modular compound AI system leveraging multiple expert LLMs. CoE leverages a router to dynamically select the most appropriate expert for a given input, enabling efficient utilization of resources and improved performance. We formulate the general problem of training a CoE and discuss inherent complexities associated with it. We propose a two-step routing approach to address these complexities that first uses a router to classify the input into distinct categories followed by a category-to-expert mapping to obtain desired experts. CoE offers a flexible and cost-effective solution to build compound AI systems. Our empirical evaluation demonstrates the effectiveness of CoE in achieving superior performance with reduced computational overhead. Given that CoE comprises of many expert LLMs it has unique system requirements for cost-effective serving. We present an efficient implementation of CoE leveraging SambaNova SN40L RDUs unique three-tiered memory architecture. CoEs obtained using open weight LLMs Qwen/Qwen2-7B-Instruct, google/gemma-2-9b-it, google/gemma-2-27b-it, meta-llama/Llama-3.1-70B-Instruct and Qwen/Qwen2-72B-Instruct achieve a score of 59.4 with merely 31 billion average active parameters on Arena-Hard and a score of 9.06 with 54 billion average active parameters on MT-Bench.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 18 of its 45 references that are in the map. First posted on arXiv 2 Dec 2024.
Builds on
18 of 45 references.
References · 18
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2023Mistral 7Bcited by 3,065
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,928
- 2024Mixtral of Expertscited by 1,785
- 2024MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmarkcited by 1,758
- 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,601
- 2024Chatbot Arena: An Open Platform for Evaluating LLMs by Human Preferencecited by 1,151
- 2022MTEB: Massive Text Embedding Benchmarkcited by 623
- 2023An Empirical Study of Catastrophic Forgetting in Large Language Models During Continual Fine-tuningcited by 622
- 2024WildChat: 1M ChatGPT Interaction Logs in the Wildcited by 598
6 more
- 2023LLM-Blender: Ensembling Large Language Models with Pairwise Ranking and Generative Fusioncited by 550
- 2024From Crowdsourced Data to High-Quality Benchmarks: Arena-Hard and BenchBuilder Pipelinecited by 484
- 2024Aya Dataset: An Open-Access Collection for Multilingual Instruction Tuningcited by 174
- 2023Routing to the Expert: Efficient Reward-guided Ensemble of Large Language Modelscited by 141
- 2024Constructing Domain-Specific Evaluation Sets for LLM-as-a-judgecited by 28
- 2024SambaNova SN40L: Scaling the AI Memory Wall with Dataflow and Composition of Expertscited by 18
Built on by
Citing papers per year: 2025: 5.
5 papers.
- 2025Doing More with Less: A Survey on Routing Strategies for Resource Optimisation in Large Language Model-Based Systemscited by 18
- 2025Training Domain Draft Models for Speculative Decoding: Best Practices and Insightscited by 9
- 2025Arch-Router: Aligning LLM Routing with Human Preferencescited by 9
- 2025A Novel Compound AI Model for 6G Networks in 3D Continuumcited by 3
- 2025CoE-Ops: Collaboration of LLM-based Experts for AIOps Question-Answeringcited by 0
- 2025CoE-Ops: Collaboration of LLM-based Experts for AIOps Question-Answering25 Jul 2025
- 2025Arch-Router: Aligning LLM Routing with Human Preferences19 Jun 2025
- 2025A Novel Compound AI Model for 6G Networks in 3D Continuum30 Apr 2025
- 2025Training Domain Draft Models for Speculative Decoding: Best Practices and Insights10 Mar 2025
- 2025Doing More with Less: A Survey on Routing Strategies for Resource Optimisation in Large Language Model-Based Systems1 Feb 2025