The Workload-Router-Pool Architecture for LLM Inference Optimization: A Vision Paper from the vLLM Semantic Router Project
Organizations: vLLM Semantic Router Project · MBZUAI · McGill University · Mila ·
Abstract
Over the past year, the vLLM Semantic Router project has released a series of work spanning: (1) core routing mechanisms -- signal-driven routing, context-length pool routing, router performance engineering, policy conflict detection, low-latency embedding models, category-aware semantic caching, user-feedback-driven routing adaptation, hallucination detection, and hierarchical content-safety classification for privacy and jailbreak protection; (2) fleet optimization -- fleet provisioning and energy-efficiency analysis; (3) agentic and multimodal routing -- multimodal agent routing, tool selection, CUA security, and multi-turn context memory and safety; (4) governance and standards -- inference routing protocols and multi-provider API extensions. Each paper tackled a specific problem in LLM inference, but the problems are not independent; for example, fleet provisioning depends on the routing policy, which depends on the workload mix, shifting as organizations adopt agentic and multimodal workloads. This paper distills those results into the Workload-Router-Pool (WRP) architecture, a three-dimensional framework for LLM inference optimization. Workload characterizes what the fleet serves (chat vs. agent, single-turn vs. multi-turn, warm vs. cold, prefill-heavy vs. decode-heavy). Router determines how each request is dispatched (static semantic rules, online bandit adaptation, RL-based model selection, quality-aware cascading). Pool defines where inference runs (homogeneous vs. heterogeneous GPU, disaggregated prefill/decode, KV-cache topology). We map our prior work onto a 3x3 WRP interaction matrix, identify which cells we have covered and which remain open, and propose twenty-one concrete research directions at the intersections, each grounded in our prior measurements, tiered by maturity from engineering-ready to open research.
Figures & tables
| Short name | Title / venue | W | R | P |
|---|---|---|---|---|
| PoolRouting [ 12 ] | Token-Budget-Aware Pool Routing (arXiv) | |||
| FleetOpt [ 13 ] | Analytical Fleet Provisioning with C&R (arXiv) | |||
| 1/W Law [ 15 ] | Context-Length Routing and Energy Efficiency (arXiv) | |||
| FeedbackDet [ 7 ] | mmBERT-32K Feedback Detector (HuggingFace) | |||
| AVR [ 16 ] | Adaptive VLM Routing for CUAs (arXiv) | |||
| MPExt [ 21 ] | Multi-Provider Extensions for Agentic AI (IETF) |
| Workload | Router | Pool | |
|---|---|---|---|
| Workload | CDF archetypes [ 13 ] ; traces [ 23 , 26 ] | AVR [ 16 ] (modality); VCD [ 18 ] (safety); SafetyL1/L2 [ 10 , 11 ] (content safety); FeedbackDet [ 7 ] (chat adapt.); HaluGate [ 8 ] (factual valid.); sparse—see Opportunities 1 and 4 | FleetOpt [ 13 ] (CDF sizing); 1/W Law [ 15 ] (energy); sparse—see Opportunity 16 |
| Router | FleetOpt [ 13 ] (compression changes CDF); WhenToReason [ 5 ] | vLLM-SR [ 1 ] (signals); ProbPol [ 2 ] (conflicts); FastRouter [ 3 ] (latency); mmBERT-Embed [ 4 ] (embeddings); OATS [ 17 ] (tools); SemCache [ 6 ] (caching); HaluGate [ 8 ] (validation) | FleetOpt [ 13 ] (co-design ); sparse—see Opportunities 11 and 15 |
| Pool | FleetSim [ 14 ] (topology cost); 1/W [ 15 ] (topology energy) | sparse—see Opportunity 12 | FleetSim [ 14 ] (A10G/A100/H100); Mélange [ 63 ] ; DistServe [ 44 ] |
| # | Opportunity | Tier | Primary barrier |
| 2 | HaluGate model reputation routing | Engineering | Sample size per (model, domain) cell |
| 5 | Token-budget enforcement for agents | Engineering | Domain-specific budget model calibration |
| 8 | Follow-the-sun pool rebalancing | Engineering | Sliding-window CDF estimation + FleetOpt |
| 12 | KV-cache retention directives | Engineering | Retention-directive API integration |
| 15 | Governance-as-code | Engineering | Extend DSL with WRP constraints |
| 19 | Request-level RBAC enforcement | Engineering | Gateway hook + JWT integration |
| # | Opportunity | Monitor (observable) | Knob (control) | Evaluate (metric) |
|---|---|---|---|---|
| 1 | Session-length RL | Session trajectories (model, tool, outcome per turn) | Model + tool selection policy | Median session length (turns, tokens) |
| 2 | HaluGate reputation | Per-response hallucination verdicts | Per-(model, domain) routing weights | Hallucination rate per domain |
| 3 | Cumulative risk | Per-turn SafetyL1 confidence scores | Safety escalation threshold | FPR vs. attack catch rate |
| 4 | Failure-class routing | Multi-signal outcome per (model, domain, failure class) | Failure-class routing weights | Oracle-utility capture rate |
| 5 | Token budget | Per-session token counter + failure-driven context bloat | Budget threshold + domain-specific compression policy | Token waste from failed sessions |
| 17 | Joint tool–model optimization | Per-(domain, turn, tool, model) outcomes + transition graph | Tool subset + resolving model + transition priors per dispatch | Aggregate session cost task-completion rate |
LLM Routing
Large language model routing selects models, tools, experts, or inference strategies to balance answer quality, cost, latency, and deployment constraints.
See all 349 papers