Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

RouterBench: A Benchmark for Multi-LLM Routing System

About

As the range of applications for Large Language Models (LLMs) continues to grow, the demand for effective serving solutions becomes increasingly critical. Despite the versatility of LLMs, no single model can optimally address all tasks and applications, particularly when balancing performance with cost. This limitation has led to the development of LLM routing systems, which combine the strengths of various models to overcome the constraints of individual LLMs. Yet, the absence of a standardized benchmark for evaluating the performance of LLM routers hinders progress in this area. To bridge this gap, we present RouterBench, a novel evaluation framework designed to systematically assess the efficacy of LLM routing systems, along with a comprehensive dataset comprising over 405k inference outcomes from representative LLMs to support the development of routing strategies. We further propose a theoretical framework for LLM routing, and deliver a comparative analysis of various routing approaches through RouterBench, highlighting their potentials and limitations within our evaluation framework. This work not only formalizes and advances the development of LLM routing systems but also sets a standard for their assessment, paving the way for more accessible and economically viable LLM deployments. The code and data are available at https://github.com/withmartian/routerbench.

Qitian Jason Hu, Jacob Bieker, Xiuyu Li, Nan Jiang, Benjamin Keigwin, Gaurav Ranganath, Kurt Keutzer, Shriyash Kaustubh Upadhyay• 2024

Related benchmarks

TaskDatasetResultRank
Mathematical ReasoningAMC
Accuracy45
151
Multi-hop Question AnsweringMuSiQue--
106
Mathematical ReasoningAIME 24
AIME 24 Accuracy26.7
84
Question AnsweringWebQuestions (WebQs)
Accuracy43.7
67
Multi-hop Question AnsweringBamboogle
Accuracy36
52
CodeHumanEval
HumanEval Accuracy76.2
50
CodingCoding Tasks (test)
Pass@193.8
42
Deep searchDeep Search Tasks (test)
Pass@186.3
42
Multi-hop Question Answering2Wiki--
41
General Question AnsweringNQ
Exact Match (EM)26.2
36
Showing 10 of 38 rows

Other info

Follow for update