Back to AI News
arxiv

Trajectory-Cost Optimization for Multi-Stage LLM Routing with Finite-Sample Deployment Guarantees

Researchers introduce Boundary-Adaptive Bellman Routing (BABR), a certified constrained-control framework for minimizing expected trajectory cost over finite acyclic model graphs. BABR decides whether to commit an answer, escalate to another model, or defer to a human based on action costs and downstream continuation values, rather than current-answer risk alone. The paper provides finite-sample certification for selective risk and minimum automation coverage, plus theoretical guarantees on policy structure and within-class population cost near-optimality. Code is available, and the authors report paired trajectory-cost improvements over topology-matched baselines while preserving certified operating regions.

AI Brief

It presents a concrete routing method that combines LLM serving-cost optimization with deployment-level statistical guarantees, useful for teams building cost-controlled multi-model systems.

arXiv:2612.02027v1 Announce Type: new Abstract: Multi-stage LLM routing reduces serving cost by deciding after each model call whether to commit the current answer, continue to another model, or defer to a human. Existing cost-aware routers lack finite-sample deployment guarantees, whereas risk-control methods certify prespecified policy families and typically treat cost only post hoc. Consequently, they may spend expensive model calls on queries unlikely to benefit from escalation and cannot directly minimize cost under explicit deployment constraints. To address this gap, we introduce Boundary-Adaptive Bellman Routing (BABR), a certified constrained-control framework for minimizing expected trajectory cost over finite acyclic model graphs under joint selective-risk and minimum-automation-coverage constraints. Its central principle is that routing should depend not only on the current-answer risk, but also on whether any legal continuation is worth its trajectory cost. BABR turns this principle into certified trajectory-level control: using action costs and downstream continuation values, it determines when to commit, which legal successor to invoke, and when to defer, while providing independent finite-sample certification of the selected policy for selective risk and minimum automation coverage. We further establish theoretical guarantees for policy structure, within-class population cost near-optimality, and joint finite-sample deployment validity. To the best of our knowledge, BABR is the first framework to combine post-call trajectory-cost optimization with finite-sample guarantees on both constraints. Across all evaluated settings, BABR outperforms strong topology-matched baselines in paired trajectory cost while preserving a certified operating region comparable to, and often larger than, those of the baselines. Code is available at https://github.com/XLIAaron/BABR.
Be the first to rate this article.

Comments & Questions (0)

Captcha
Please be respectful — let's keep the conversation friendly.

No comments yet

Be the first to comment!