TL;DR
Most LLM routers treat conversations like isolated trivia questions, picking the best model for the current prompt without considering where the chat is headed. ConvoRouter brings chess-like foresight to multi-turn conversations, using offline tree search and a clever "future-retrieval" trick to choose models that maximize overall goal completion across an entire session. Better yet, it accounts for real-world KV cache pricing, slashing API bills by ~80% while outperforming frontier models like GPT-5.1 and DeepSeek-V3.2.
What Problem Does This Paper Address?
Different LLMs have different superpowers—one might excel at coding, another at empathy or broad knowledge. LLM routing exploits this by dynamically sending each user query to the best-suited (or most cost-effective) model in a pool.
However, existing routers are myopic: they optimize for single-turn interactions. Real life is a multi-turn conversation. When an LLM answers a question, that specific response shapes what the user asks next, branching the conversation down a unique path. Furthermore, you often don't know if a user's overarching goal is met until several turns later (delayed rewards).
As illustrated above, a greedy router might pick a model that gives a high-scoring summary at Turn 1, inadvertently steering the user away from critical details needed by Turn 3. Additionally, constantly switching closed-source models mid-chat invalidates the KV cache (stored conversation history), forcing cloud APIs to re-process the entire chat history at full price. Routing needs long-term planning.
Methods
Running a lookahead search during a live user chat is way too slow. ConvoRouter solves this by doing the heavy thinking offline, then distilling that wisdom into a fast, lightweight router (built on a partially frozen Qwen2.5-0.5B encoder).
Here is how the pipeline works:
- Offline Exploration via MCTS: Using training data, the authors pair an LLM user simulator with a checklist-based reward model (which grades sub-goals as fulfilled, partially fulfilled, or unfulfilled). They run Monte Carlo Tree Search (MCTS) to simulate how different sequences of LLM choices play out over up to 8 turns, collecting the winningest trajectories.
- Behavior Cloning: A lightweight policy network is trained via supervised cross-entropy loss to imitate the expert MCTS decisions.
- Retrieval-based Future State Approximation (The Novel Twist): Imitating long-horizon choices from just the current chat history is tough for a tiny 0.5B model. Instead of asking the router to generate a predicted future, it uses a fixed text retriever (BGE-M3) to find a semantically similar conversation state from the offline MCTS bank, grabs its next state, and feeds that in as a "glimpse of the future." A learnable gating unit blends the current state with this retrieved future, dialing down the future signal if the retrieval match is noisy.
- Cache-Aware Cost Reward: For commercial APIs, the authors build an exact pricing formula into the reward function that penalizes cache invalidation when switching models across consecutive turns.
Datasets
The authors construct interactive environments (extracting user profiles and evaluation checklists) from four existing multi-turn datasets:
- ShareGPT: Real-world, open-domain user–LLM chats. They also carve out ShareGPT-LF, a non-overlapping holdout set of legal and financial topics to test cross-domain generalization.
- JDDC: Chinese e-commerce customer service dialogues.
- MedDG: Online medical consultation dialogues.
- UltraChat: 1,000 multi-turn instructional conversations used purely for zero-shot cross-dataset evaluation (paired with unseen simulator and evaluator LLMs to ensure fairness).
Key Insights and Ideas
- Greedy choices fail the long game: Even an oracle-like "Greedy Router" (which cheats at test time by simulating one step ahead) consistently trails the full MCTS Router by 6–7% in task success. Maximizing immediate turn quality genuinely hurts conversation-level outcomes.
- Looking ahead via retrieval is fast and reliable: Adding the retrieved future state boosts success rates by ~3.5% while adding just 0.01 seconds of latency per turn. Furthermore, the router's gating activation correlates positively ($r = 0.53$) with retrieval similarity—meaning the model learns when to trust its "imagination" and when to ignore it.
- Naive cost-aware routers give up: When penalized for API costs, standard routers (like KNN and Avengers) suffer policy collapse—they lazily route everything to the cheapest model (DeepSeek), abandoning routing altogether. ConvoRouter actually orchestrates model handoffs strategically, respecting KV cache blocks.
Key Results
Across open-source pools (Qwen3 4B–14B, Llama3 1B–8B) and closed-source pools (Qwen3-Max, DeepSeek-Chat-V3.2, GPT-5.1), ConvoRouter beats every single model and routing baseline:
- Breaking single-model ceilings: On open-source sets, ConvoRouter reaches an 82.98% average Success Rate (SR) on Qwen (+5.97% over Qwen3-14B) and 79.37% on Llama (+7.01% over Llama3.1-8B), outperforming existing routers like Avengers and RouterDC by over 5%.
- Cross-family synergy: Combining Qwen and Llama into a 6-model mixed pool pushes ShareGPT SR even higher to 88.32%.
- Massive cost savings: On the closed-source ShareGPT set, ConvoRouter hits 89.92% SR (~5% higher than GPT-5.1 or DeepSeek-V3.2 alone). Flipping on the cost-aware Balance setting drops total test-set API spend by ~80% (from $0.44 to $0.09) while sacrificing a mere 1.4% relative drop in success rate (88.69% SR).
Limitations and Future Work
The authors note that their evaluation is constrained by dataset scale—specifically in open-domain chats, where it is tricky to find organic conversations that have clear goals and verifiable checklists. Scaling up evaluation size and task diversity, alongside treating LLM routing as dynamic, session-level orchestration rather than stateless query matching, are highlighted as prime directions for future work.
Summary updated