TL;DR
No single multimodal AI model rules them all—one might excel at reading dense receipts while another shines at interpreting complex charts, all at wildly different costs. LatentRouter is a lightweight matchmaking system that looks at an image-question pair, lets the query and candidate models "negotiate" in a continuous mathematical space, and predicts how well each model would perform before a single expensive API call is made. It achieves state-of-the-art routing accuracy while adding less than a tenth of a millisecond in overhead.
What Problem Does This Paper Address?
If you are building a system with Multimodal Large Language Models (MLLMs), always defaulting to the biggest, smartest model on the market will quickly burn through your compute budget and ruin your latency. You need a router—a traffic cop that sends easy queries to cheap models and specialized queries to the right experts.
While routing is well-studied for text-only LLMs, multimodal routing is a different beast. You can't just gauge a prompt's difficulty from the text alone; a simple question like "What is the trend here?" could be paired with a blurry street sign, a dense financial table, or a 3D geometry diagram. Converting images into text captions or OCR transcripts just to route them is slow and loses crucial spatial details. Thus, a multimodal router faces a dual challenge: extracting compact, visual-textual signals from the query, and matching those exact requirements against the quirky, specialized strengths of available models.
Methods
Instead of treating routing as a standard classification problem (mapping a query to a fixed Model ID), the authors frame it as counterfactual utility prediction: estimating the exact quality and cost outcome for every candidate model as if it were chosen, and then picking the highest-utility option.
LatentRouter does this in three stages:
- Routing States: Rather than squishing the image and question into a single vector—which blurs distinct factors like layout vs. text density—the router uses cross-attention to extract 7 learned multimodal routing capsules (think of these as compact, specialized summary tokens of the query). Meanwhile, each candidate MLLM is represented by a capability token built from its historical calibration stats, latency, average cost, and accuracy on similar past queries.
- Latent Communication: Over $H=2$ rounds, capsules and capability tokens interact. Models attend to the query capsules from their own capability perspective, compare themselves pairwise against other available models (via masked self-attention), and send feedback back to the capsules to highlight the visual signals that best distinguish the top contenders.
- Counterfactual Utility & Selection: A shared prediction head outputs a quality distribution (mean and uncertainty) for each model, nudged by a bounded capsule correction (capped via a $\tanh$ function so noisy residual signals can refine close calls without hijacking confident predictions). Finally, the router subtracts a ridge-regression-estimated cost penalty ($\lambda \hat{c}_i$) and picks the winner.
Datasets
The authors evaluate LatentRouter on two recent, standard MLLM routing benchmarks (no new datasets are introduced):
- MMR-Bench: Evaluates 11 candidate MLLMs across OCR, general Visual Question Answering (VQA), and multimodal reasoning, scored via normalized Area Under the Curve (nAUC) over the cost-quality frontier.
- VL-RouterBench: Evaluates 17 candidate MLLMs across general VQA, STEM reasoning, chart/OCR, and document understanding, evaluated using its official Rank Score.
Key Insights and Ideas
- Why interaction matters (Preference Reversals): Routers that score queries and models independently always rank models in the same order. LatentRouter's interaction layers allow preference reversals—recognizing that Model A beats Model B on dense OCR, while Model B beats Model A on spatial math.
- Ranking beats raw calibration: In predicting counterfactual outcomes, LatentRouter only modestly improves Mean Squared Error over simpler baselines, but significantly jumps ahead in ranking metrics (NDCG, Spearman correlation). Latent communication specifically sharpens the relative ordering among the top-tier candidates where close decisions happen.
- Plug-and-play model pools: Because the router uses a shared scoring head and masks out unavailable models during attention, you can drop models from the pool (e.g., if an API goes down) or adjust your cost-vs-quality budget ($\lambda$) on the fly without retraining the router.
- Shallow communication is enough: Performance peaks at just $H=2$ rounds of latent communication and then saturates, keeping the router tiny and fast.
Key Results
LatentRouter outperforms training-free, feature-level (e.g., KNN, KMeans), and learned routers (including adapted text routers like RouteLLM and GraphRouter, plus the multimodal ECVL router) across every setting:
- MMR-Bench (nAUC): Achieves 0.792 (performance-oriented) and 0.786 (cost-oriented), beating the strongest baselines (0.759 in both).
- VL-RouterBench (Rank Score): Reaches 0.815 (performance-oriented) and 0.812 (cost-oriented), surpassing the runner-up R2-Router (0.790 and 0.785).
- Task-level gains: Improvements are largest on OCR, Chart, and Math tasks where fine-grained layout and reasoning cues dictate model success, with smaller (though positive) gains on general VQA.
- Blink-and-you-miss-it latency: LatentRouter boasts the lowest inference latency among all learned routers at roughly 0.06 ms—negligible compared to the seconds required for MLLM generation.
Limitations and Future Work
Because the experiments rely on pre-collected benchmark routing traces and pre-extracted features, the authors note that live deployment studies are an important next step. Furthermore, because capability tokens rely on historical calibration profiles from training splits, handling brand-new MLLMs on the fly requires adaptive calibration methods. Finally, the authors plan to extend this single-turn setup into multi-step multimodal routing for more complex, agentic workflows.
Summary updated