arXiv Science⌕ Search

arXiv subjects

Boxiao Du

Publications and source records attributed to Boxiao Du.

2 recordsLinked to original sources

CoordRoute: Coordinated Multi-Model Routing for Maximum Compute-Budget Utility

Model routing sends each request to one of several large language models (LLMs) of different sizes. In practice, requests share a fixed compute budget: a spending cap on rented model APIs or the capacity of a private GPU cluster. Most existing routers do not account for the total budget: each decides a request on its own, so per-request optima are not optimal overall. We advocate coordinated routing, which allocates the budget across requests to maximize its utility, their total satisfaction, along a predict-plan-rectify route: predict what each model would give and cost, plan the choice against later requests, and rectify it during generation. Each step faces a challenge: a request's gain from each model is uncertain before generation, later arrivals are unknown when a request must start, and observing answers during generation consumes the budget itself. CoordRoute addresses them with relative demand prediction, which compares candidate models through past requests that lead to the same routing choices; a lookahead solver, which charges each choice for what its compute could earn for later requests; and budget-aware runtime correction, which drops or upgrades in-flight requests at the same price, inspecting answers only when it pays off. On Azure Conversation and BurstGPT traces, CoordRoute improves total satisfaction by 18.72% over the strongest existing router.

cs.DC↗

GoodServe: Globally-coordinated Routing of Agentic LLM Inferences for High Goodput

Agentic applications consume LLM inferences as complete outputs: a code patch or database query is useful only after its last token arrives. Their performance is thus measured by end-to-end deadline satisfaction and goodput, the number of inferences completed within their deadlines. In heterogeneous GPU pools, existing greedy routers favor the fastest or least-loaded instance, often wasting powerful GPUs on requests that could meet their deadlines on weaker ones. Maximizing goodput instead requires globally coordinated routing, informed by uncertain output lengths and dynamic instance performance. We present GoodServe, a goodput-oriented routing system that addresses these challenges through a predict-and-rectify design. A task-gated mixture-of-experts predictor estimates request output lengths, while an EMA-smoothed black-box estimator tracks queuing delays and per-token speeds, accounting for prefix-cache reuse. A just-enough policy routes each request to the weakest instance capable of meeting its deadline and rejects requests that cannot finish on time. Periodic risk checks trigger migration of endangered requests using token IDs, at 7-15 times lower cost than KV-cache transfer. On a four-GPU heterogeneous testbed with three agentic benchmarks, GoodServe achieves the highest goodput across all evaluated SLO levels, improving over the best existing router by up to 31.0%. Its routing overhead remains 5 ms per request at 10,000 requests per second across 512 simulated instances.

cs.DC↗