EMAFusion: A Self-Optimizing System for Seamless LLM Selection and Integration
Not on the map. Why?
Abstract (arXiv)
While recent advances in large language models (LLMs) have significantly enhanced performance across diverse natural language tasks, the high computational and financial costs associated with their deployment remain substantial barriers. Existing routing strategies partially alleviate this challenge by assigning queries to cheaper or specialized models, but they frequently rely on extensive labeled data or fragile task-specific heuristics. Conversely, fusion techniques aggregate multiple LLM outputs to boost accuracy and robustness, yet they often exacerbate cost and may reinforce shared biases. We introduce EMAFusion, a new framework that self-optimizes for seamless LLM selection and reliable execution for a given query. Specifically, EMAFusion integrates a taxonomy-based router for familiar query types, a learned router for ambiguous inputs, and a cascading approach that progressively escalates from cheaper to more expensive models based on multi-judge confidence evaluations. Through extensive evaluations, we find EMAFusion outperforms the best individual models by over 2.6 percentage points (94.3% vs. 91.7%), while being 4X cheaper than the average cost. EMAFusion further achieves a remarkable 17.1 percentage point improvement over models like GPT-4 at less than 1/20th the cost. Our combined routing approach delivers 94.3% accuracy compared to taxonomy-based (88.1%) and learned model predictor-based (91.7%) methods alone, demonstrating the effectiveness of our unified strategy. Finally, EMAFusion supports flexible cost-accuracy trade-offs, allowing users to balance their budgetary constraints and performance needs.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 40 of its 49 references that are in the map. First posted on arXiv 14 Apr 2025.
Builds on
40 of 49 references.
References · 40
- 2023GPT-4 Technical Reportcited by 18,396
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,224
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,073
- 2022Language Models (Mostly) Know What They Knowcited by 1,856
- 2023Improving Factuality and Reasoning in Language Models through Multiagent Debatecited by 1,784
28 more
- 2022Fast Inference from Transformers via Speculative Decodingcited by 1,653
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,407
- 2023Instruction-Following Evaluation for Large Language Modelscited by 1,228
- 2024Tulu 3: Pushing Frontiers in Open Language Model Post-Trainingcited by 1,053
- 2023Math-Shepherd: Verify and Reinforce LLMs Step-by-step without Human Annotationscited by 928
- 2021GLaM: Efficient Scaling of Language Models with Mixture-of-Expertscited by 897
- 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 853
- 2024RouteLLM: Learning to Route LLMs with Preference Datacited by 682
- 2023Prometheus: Inducing Fine-grained Evaluation Capability in Language Modelscited by 575
- 2023LLM-Blender: Ensembling Large Language Models with Pairwise Ranking and Generative Fusioncited by 564
- 2024Smarter, Better, Faster, Longer: A Modern Bidirectional Encoder for Fast, Memory Efficient, and Long Context Finetuning and Inferencecited by 554
- 2025Humanity's Last Examcited by 491
- 2024Measuring short-form factuality in large language modelscited by 373
- 2016Expert Gate: Lifelong Learning with a Network of Expertscited by 372
- 2024Skywork-Reward: Bag of Tricks for Reward Modeling in LLMscited by 327
- 2024More Agents Is All You Needcited by 180
- 2023Large Language Model Routing with Benchmark Datasetscited by 172
- 2024GraphRouter: A Graph-based Router for LLM Selectionscited by 165
- 2020Augmented SBERT: Data Augmentation Method for Improving Bi-Encoders for Pairwise Sentence Scoring Taskscited by 138
- 2024A Unified Approach to Routing and Cascading for LLMscited by 80
- 2024Ensemble Learning for Heterogeneous Large Language Models with Deep Parallel Collaborationcited by 67
- 2024Harnessing the Power of Multiple Minds: Lessons Learned from LLM Routingcited by 46
- 2022Automatic Generation of Socratic Subquestions for Teaching Math Word Problemscited by 43
- 2024Eagle: Efficient Training-Free Router for Multi-LLM Inferencecited by 35
- 2023The ART of LLM Refinement: Ask, Refine, and Trustcited by 29
- 2025Doing More with Less: A Survey on Routing Strategies for Resource Optimisation in Large Language Model-Based Systemscited by 20
- 2023SCREWS: A Modular Framework for Reasoning with Revisionscited by 16
- 2024SMART: Self-learning Meta-strategy Agent for Reasoning Taskscited by 3
Built on by
Not cited yet.