atlas

Research map / Large language models / Reasoning and chain of thought

RouteLLM: Learning to Route LLMs from Preference Data

ICLR 2025 · Large language models › Reasoning and chain of thought · approach: Routing, pruning and distillation for reasoning

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes a framework for training binary LLM routers (strong vs. weak model) from human preference data (Chatbot Arena) augmented with MMLU golden labels and GPT-4-judged Nectar data, reducing GPT-4 calls by over 2x while keeping quality.

Problem

Choosing between an expensive strong LLM and a cheap weak LLM per query trades off cost against response quality; routers must generalize out-of-domain and across model pairs without retraining.

Approach

Learn a win-prediction model from human preference labels (Chatbot Arena, tiered models) and augment with golden-labeled and LLM-judge-labeled data; compare four router architectures (similarity-weighted Bradley-Terry ranking, matrix factorization, BERT classifier, Llama 3 8B causal classifier) with a threshold for cost-quality control and new metrics (CPT, APGR).

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add GPT-4-judge preference data to Arena trainingLLM routers · MT BenchAPGR: 0.391 -> 0.751 (BERT); 0.573 -> 0.679 (Causal LLM); 0.580 -> 0.802 (Matrix Factorization); 0.610 -> 0.759 (SW Ranking)Helped
Add golden-labeled MMLU data to Arena trainingLLM routers · MMLU 5-shotAPGR: 0.502 -> 0.572 (BERT); 0.499 -> 0.600 (Causal LLM); 0.524 -> 0.597 (Matrix Factorization); 0.473 -> 0.603 (SW Ranking)Helped
Add GPT-4-judge preference data to Arena trainingLLM routers · GSM8K 8-shotAPGR: 0.438 -> 0.531 (BERT); 0.461 -> 0.622 (Causal LLM); 0.4746 -> 0.565 (Matrix Factorization); 0.4753 -> 0.568 (SW Ranking)Helped
Train BERT router on Arena preferences rather than using the random routerBERT router · MT BenchAPGR: 0.500($\pm$0.02) -> 0.391Hurt
Train routers on Arena preferences without benchmark-specific augmentationLLM routers · MMLU 5-shotAPGR: 0.500($\pm$0) baseline; Arena routers: 0.473–0.524No clear effect
Train routers on Arena preferences without benchmark-specific augmentationLLM routers · GSM8K 8-shotAPGR: 0.497($\pm$0.01) baseline; Arena routers: 0.438, 0.461, 0.4746, 0.4753Hurt
Use the trained router on Claude 3 Opus / Claude 3 Sonnet without retrainingLLM routers · MT BenchAPGR: 0.493 ($\pm$0.033) baseline; router values 0.656–0.772Helped
Use the trained router on Llama 3.1 70B / Llama 3.1 8B without retrainingLLM routers · MT BenchAPGR: 0.512 ($\pm$0.017) baseline; router values 0.673–0.767Helped

Surprising findings

Limitations

Experimental setup

Datasets: Chatbot Arena 80k battles MMLU validation split Nectar MT Bench MMLU GSM8K

Benchmarks: MT Bench MMLU GSM8K

Metrics: CPT(50%) CPT(80%) APGR PGR cost saving ratio router overhead cost

Baselines: Random router BERT classifier Unify AI Martian Hybrid-LLM Zooter FrugalGPT AutoMix LLM-Blender

Builds on: Bradley-Terry model Hybrid-LLM Chatbot Arena Nectar dataset

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy