AdaptRouter: Adaptive Routing across Evolving Tasks and Models

Jingpu Yang, Fengxian Ji, Tianhao Li, Juanfan Wu, Yufeng Wang, Shuxin Zheng, Xiaoqing ZhangarXiv 2026

It’s late, your brain is a bit fried, and you’re looking at your API bill for foundation models. You’re likely thinking: “Why did I just pay GPT-4 prices to have it summarize a three-sentence email?”

This is the "Model Routing" problem. In a perfect world, a smart "concierge" would look at every incoming request and send it to the cheapest model that can actually do the job. But the world isn't perfect—new models are released every week, old ones get retired, and the types of questions users ask are constantly shifting. Most routers are static; if the model pool changes, you have to retrain the whole thing from scratch.

Enter AdaptRouter.

TL;DR

AdaptRouter is a "plug-and-play" concierge for LLMs that learns to pick the best model for a task on the fly. By treating model descriptions as "cards" (inputs) rather than fixed outputs, it can adapt to new models and tasks without forgetting what it already knows or requiring massive retraining. It delivers high-end performance at a fraction of the cost—beating top-tier models like GPT-6.1 Sol by 22 points while costing less than a third as much.

What Problem Does This Paper Address?

The authors tackle the "moving target" problem of AI infrastructure. Foundation models are evolving faster than we can build tools to manage them. Specifically:

  1. Task Evolution: User queries change over time (e.g., shifting from simple chat to complex coding).
  2. Pool Evolution: New models (experts) enter the market, and old ones are repriced or retired.
  3. Catastrophic Forgetting: When you update a router to handle a new task, it often "forgets" how to route the old ones.
  4. The Cost-Quality Trap: If you tell a router to save money, it might get "lazy" and pick a cheap, wrong model over an expensive, correct one.

Methods

The secret sauce of AdaptRouter is Card-Conditioned Routing. Instead of having a fixed output layer (e.g., "Output 1 = GPT-4, Output 2 = Llama-3"), the router reads a "card" for each expert that describes its capabilities and cost. This makes the expert pool an input to the model.

Figure 1: Task-aware routing with AdaptRouter. The router selects one expert per question from task require- ments, expert capabilities, and cost.

Key technical highlights include:

  • Dual-Path Learning: For "open-weight" models (where running them is cheap), it uses Reinforcement Learning (RL) to explore and learn. For "paid APIs" (where exploration is expensive), it queries each expert once, caches the result, and uses those as "soft labels" for training.
  • Quality-First Advantage: The authors designed a loss function that provably prevents cost from overriding quality. If a model is wrong, it doesn't matter how cheap it is—the router won't pick it.
  • Compact Backbone: The router itself is tiny (0.8B parameters), meaning the "decision-making" step is incredibly fast (~0.2 seconds) and doesn't eat up the savings it's trying to generate.
Figure 2: Overview of AdaptRouter. A decision model maps a question and expert cards to a policy πθ; in the open-weight setting, sampled experts are scored by quality and cost, and a quality-first advantage updates πθ. The API setting instead reuses collected expert feedback with soft-target cross-entropy and expected regret to avoid repeated paid exploration. Each adaptation stage inherits the previous policy and optimizer state; pool expansion updates the cards without changing the router architecture.

Datasets

The researchers put AdaptRouter through a gauntlet of 15 text and vision benchmarks, including:

  • LLMRouterBench, MMR-Bench V2, and RobustRouteBench: To test general routing across diverse tasks.
  • Sequential Tasks: A stream of datasets (MATH-500, ChartQA, MMLU-Pro, HumanEval+, IFEval) to test if the router forgets old tricks when learning new ones.
  • API Suite: 10 benchmarks (like Omni-MATH and LongBench v2) specifically for testing routing between high-end closed-source models.

Key Insights and Ideas

  • The "Card" Trick: By making experts part of the input, you can add a new model to your pool just by writing a short text description. No architectural changes required.
  • No Replay Needed: Unlike traditional "continual learning" that requires re-training on old data to prevent forgetting, AdaptRouter’s policy-gradient approach stays "anchored" to correctness, losing only 0.4 points on earlier tasks while others lost up to 7.0.
  • The "Aha" on API Costs: You don't need to run RL on expensive APIs. Caching feedback once and using it as a soft target is enough to train a world-class router without burning your budget during the training phase.

Key Results

  • Efficiency: On a suite of 15 benchmarks, AdaptRouter reached 97% of a 9B reasoning expert's accuracy at only 12.6% of the cost.
  • Superiority: In the API pool, it outperformed GPT-6.1 Sol and GPT-6 Astra (low) by over 22 points while operating at under a third of their cost.
  • Scaling: As the expert pool grew from 3 to 10 models, the router actually got smarter, with accuracy rising from 67.2% to 72.1%.
Figure 4: Effect of the trade-off coefficient λ. Ac- curacy versus cost of routers trained with different λ on the M5 expert pool (four-benchmark test questions). Cost is shown as a percentage of the Qwen3.5-9B (T) cost.

Limitations and Future Work

While impressive, AdaptRouter has a few boundaries:

  • One at a Time: It currently selects exactly one expert per question. It doesn't yet handle "cascades" (trying a cheap model first, then an expensive one if it fails) or "ensembles" (asking three models and voting).
  • Feedback Dependency: It requires an automatic scorer or judge to provide the "native feedback" during training. If your task is so subjective that a machine can't grade it, the router can't learn it.
  • Sequential Only: The study looked at task changes and pool changes as separate sequences; the authors leave "simultaneous" changes (new tasks and new models arriving at the same time) for future research.

Summary updated

Abstract

Model routing assigns each query to a suitable foundation model, but tasks and available models keep changing, and existing routers are either untrained for the pool at hand or fit once and forget earlier tasks when updated. We present AdaptRouter, an adaptive router trained by policy learning: a compact multimodal decision model reads each question with cards describing the current experts and learns from native task feedback, without routing labels, to select one frozen expert. Open-weight and API experts share the router, its inputs, and the quality-cost trade-off but use different losses: cheap open-weight experts are explored with RL, whereas paid API experts are queried once and their cached feedback is reused as soft labels. New tasks are learned without replay, new experts enter as cards, and an open-weight quality-first advantage provably keeps cost from overriding quality. Across four task stages, AdaptRouter loses at most 0.4 points on earlier tasks, whereas feedback-trained routers lose up to 7.0, and as its pool grows from three to ten experts, its accuracy rises from 67.2% to 72.1%. On five API models, it exceeds GPT-6.1 Sol and GPT-6 Astra (low) by over 22 points at under a third of their cost.
BibTeX
@misc{yang2026adaptrouter,
  author = {Jingpu Yang and Fengxian Ji and Tianhao Li and Juanfan Wu and Yufeng Wang and Shuxin Zheng and Xiaoqing Zhang},
  title = {{AdaptRouter: Adaptive Routing across Evolving Tasks and Models}},
  year = {2026},
  eprint = {2611.30162},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.30162},
}
Figure