RouteMoA: Dynamic Routing without Pre-Inference Boosts Efficient Mixture-of-Agents
Jize Wang, Han Wu, Zhiyuan You, Yiming Song, Yijun Wang, Zifei Shan, Yining Li, Songyang Zhang, Xinyi Le, Cailian Chen, Xinping Guan, Dacheng Tao
TL;DR
RouteMoA tackles the cost and latency of traditional mixture-of-agents by introducing a layer-wise dynamic routing framework that pre-filters models with a lightweight, query-aware scorer and then refines candidate quality with a mixture of self- and cross-assessment judges using posterior knowledge from prior outputs. A model-ranking step selects high-potential models by balancing performance, cost, and latency, enabling scalable operation over large and heterogeneous LLM pools. Empirical results show substantial efficiency gains (up to 89.8% cost reduction and 63.6% latency reduction in large pools) while maintaining or improving accuracy across diverse tasks and even strong out-of-distribution generalization. This approach offers a practical and scalable path for efficient multi-LLM collaboration in heterogeneous environments.
Abstract
Mixture-of-Agents (MoA) improves LLM performance through layered collaboration, but its dense topology raises costs and latency. Existing methods employ LLM judges to filter responses, yet still require all models to perform inference before judging, failing to cut costs effectively. They also lack model selection criteria and struggle with large model pools, where full inference is costly and can exceed context limits. To address this, we propose RouteMoA, an efficient mixture-of-agents framework with dynamic routing. It employs a lightweight scorer to perform initial screening by predicting coarse-grained performance from the query, narrowing candidates to a high-potential subset without inference. A mixture of judges then refines these scores through lightweight self- and cross-assessment based on existing model outputs, providing posterior correction without additional inference. Finally, a model ranking mechanism selects models by balancing performance, cost, and latency. RouteMoA outperforms MoA across varying tasks and model pool sizes, reducing cost by 89.8% and latency by 63.6% in the large-scale model pool.
