Organizations: Anyscale · Department of Computer Science and Engineering, Mississippi State University · Institute of Computing Technology, Chinese Academy of Sciences · Institute of AI for Industries, Chinese Academy of Sciences
The remarkable performance of multimodal large language models (MLLMs) comes at the cost of substantial computational overhead, posing significant challenges to real-time deployment and cost effectiveness. Existing model routing approaches either decide from coarse request-level features alone or spend one or several extra language model passes to inspect the generated response, leaving the token-level uncertainty signals that emerge during generation unused. To address these limitations, we propose Pro-Router, a token-aware progressive model routing method with adaptive edge-cloud collaboration for efficient multimodal LLM inference. Pro-Router employs a two-stage progressive decision mechanism. First, a lightweight prompt pre-scorer module performs rapid pre-screening before token generation begins, guiding apparently simple requests to small models. Second, a token-aware verifier reads the sampling probability distribution of each token the small model generates, estimating the model's confidence in its own output to determine, per request, whether the answer ships or escalates to the cloud-based high-precision model. Furthermore, we design an adaptive edge-cloud serving pipeline that sizes every dispatch to each device's measured service rate, so both the edge and the cloud tiers stay fully utilized without manual parameter tuning and are not impacted by the network latency. Extensive experiments on multiple multimodal benchmark datasets and models demonstrate the effectiveness of Pro-Router. Compared to other methods, it achieves the highest routing accuracy and improves routing speed by more than 10x. Its serving pipeline also reaches more than 75% higher end-to-end throughput than the existing model routing pipeline. Our code is available at https://github.com/xinyuangui2/pro-router.
Figures & tables
Figure 1: The two options existing routing methods take. (a) Request-only routers score the difficulty of each request from the prompt alone, before any token is generated; requests under the threshold go to the small model and the rest go directly to the large model. (b) Response-based routers let the small model answer first and score the shipping confidence of each response; confident responses ship, and the rest escalate to the large model for regeneration.
Figure 2: The workflow of the proposed Pro-Router.
Figure 3: The structure of the token-aware verifier.
benchmark
type
ntest
C18
single-image, MCQ/numeric
682
A-OKVQA
single-image, MCQ+rationale
500
MathVerse
single-image, long-CoT math
400
MMStar
single-image, MCQ
369
HallusionBench
single-image, yes/no
394
RealWorldQA
single-image, short VQA
380
Table 1: The 15-benchmark evaluation suite, with eleven vision-language benchmarks (nine single-image, two multi-image) and four text benchmarks.
Figure 4: Routing accuracy summaries by small model, our verifier and the four baselines, showing (a) mean AUROC, (b) macro PGR, (c) AUARC, and (d) AUACC, all averaged over the benchmarks. Ours is highest on every metric and every model.
Figure 5: Per-request latency to produce the routing signal, on a log scale. The bars for P(True) and AutoMix are clipped at 200 ms with their true values annotated; our verifier adds 2 to 3 ms, 19 to 28 × less than the cheapest alternative.
Figure 6: (a) End-to-end pipeline throughput by routing signal with two edge devices. (b) End-to-end pipeline throughput by pipeline implementation, our pipeline versus the Ray Serve pipeline running the same routing signal.
Figure 7: Pipeline robustness and scalability. (a) End-to-end throughput under one-way network latency of 0, 200, and 1000 ms stays at 90% or more of the un-delayed pipeline for all three models. (b) End-to-end throughput in requests per second scales linearly in the number of edge devices N for both M=1 and M=3 cloud devices; the square markers at N=0 are the cloud-only deployments.
Variant
AUROC
Thrpt.
Latency
Qwen
LLaVA-OV
Pixtral
(req/s)
(ms)
Pro-Router (full)
0.805
0.753
0.685
124
754
Verifier input features
sampling distribution feats (ours)
0.805
0.753
0.685
124
754
hidden states (3584 / token)
0.758
0.647
0.673
95
932
Verifier architecture
2-layer transformer (ours)
0.805
0.753
0.685
124
754
quantile summary + MLP
0.691
0.701
0.669
118
783
Table 2: Ablation study. AUROC per model; end-to-end throughput (req/s) and end-to-end serving latency (ms). Each block varies one design choice, and (ours) marks the configuration used in Pro-Router.
Large language model (LLM) routing distributes inference work across different models, advancing the cost-quality Pareto frontier of LLM serving. While coarse-grained routing at the session or query level has been widely adopted in production systems, recent algorithmic work shows that fine-grained token-level routing can yield substantial efficiency and quality gains. However, efficiently serving token-level routed inference poses significant challenges to existing systems. Built on single-LLM assumptions, current systems suffer from severe step desynchronization and frequent batch admission delays under token-level routing, and they also impose high implementation complexity on developers. To address these challenges, we design TokenRouter, an efficient and developer-friendly serving system for token-level routed LLM inference. TokenRouter follows the principle of request-centric programming, model-centric execution: developers describe routing logic from the perspective of a single request, while the runtime launches a subserver for each LLM and dispatches requests asynchronously. Each subserver employs a delayed-batching scheduler, whose optimal hyperparameters are derived from a mathematical throughput model of the system. Across diverse routing algorithms, workloads, and model pairs, TokenRouter achieves 2.01-64.15x higher decoding throughput than existing systems, substantially advancing the serving efficiency of token-level LLM routing. Our code is available at https://github.com/thu-nics/TokenRouter.
Routing balances performance and cost in hybrid systems by escalating selected queries from a lightweight model to a powerful but expensive one. Hidden-state probes provide an effective routing signal by predicting the small model's correctness from hidden states it already computes. Although effective in text-only settings, their behavior on multimodal LLMs (MLLMs) is less understood. We find that correctness is harder to predict from hidden states when questions are paired with images rather than with captions of those images. Two training-free dependence measures, HSIC and label CKA, show the same pattern. We first investigate whether changing hidden states used by the probe improves correctness prediction for MLLMs. We propose Attention Probe, which learns an attention query to pool frozen token states into a routing feature and improves over the standard probe. However, pooling only recombines hidden states computed for answer generation, not for deciding whether the answer should be trusted. We therefore build a decision layer inside the existing MLLM and train it for the routing decision. The resulting router, ReLope (KL-Regularized LoRA Probe), adapts a separate copy of one MLLM layer with LoRA and regularizes it with a KL-penalized stochastic bottleneck. This decision branch shares the frozen lower layers and leaves the model's answer-generation path unchanged. ReLope attains the highest correctness prediction AUC on all five benchmarks and three backbones we evaluate and improves the accuracy versus cost trade-off at negligible overhead. These results suggest a new perspective and a practical technical path on routing: rather than reading decisions off states built for generation, routing decisions can be learned by a dedicated decision layer inside the model. Code: https://github.com/Spinozaaa/ReLope
Multimodal large language models (MLLMs) have heterogeneous strengths across OCR, chart understanding, spatial reasoning, visual question answering, cost, and latency. Effective MLLM routing therefore requires more than estimating query difficulty: a router must match the multimodal requirements of the current image-question input with the capabilities of each candidate model. We propose LatentRouter, a router that formulates MLLM routing as counterfactual multimodal utility prediction. Given an image-question query, LatentRouter extracts learned multimodal routing capsules, represents each candidate MLLM with a model capability token, and performs latent communication between these states to estimate how each model would perform if selected. A distributional outcome head predicts model-specific counterfactual quality, while a bounded capsule correction refines close decisions without allowing residual signals to dominate the prediction. The resulting utility-based policy supports performance-oriented and performance-cost routing, and handles changing candidate pools through shared per-model scoring with availability masking. Experiments on MMR-Bench and VL-RouterBench show that LatentRouter outperforms fixed-model, feature-level, and learned-router baselines. Additional analyses show that the gains are strongest on multimodal task groups where model choice depends on visual, layout-sensitive, or reasoning-oriented requirements, and that latent communication is the main contributor to the improvement. The code is available at: https://github.com/LabRAI/LatentRouter.
Xueqi Cheng, Yushun Dong
Department of Computer Science Florida State University University