Trajectory-Cost Optimization for Multi-Stage LLM Routing with Finite-Sample Deployment Guarantees
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…
- arXiv
- 2612.02027
- Authors
- Xueyang Li, Naihao Xu, Gelei Xu, Ching-Hao Chiu, Kun Huang and 2 more
- Categories
- cs.AI · cs.LG