Peijun Shen
Author directory2026
Vertical Routing: A Cost-Efficient Collaboration Routing Framework
Si Shen | Peijun Shen | Danhao Zhu
Transactions of the Association for Computational Linguistics, Volume 14
Si Shen | Peijun Shen | Danhao Zhu
Transactions of the Association for Computational Linguistics, Volume 14
Routing Large and Small Language Models (LLMs SLMs) is commonly framed as query-level difficulty prediction, yet lightweight routers are often unreliable and stronger evaluators introduce non-trivial overhead. We propose VERTICAL ROUTING, a stage-level collaboration framework that avoids monolithic difficulty prediction by allocating the large model to critical subtasks and delegating the remaining generation to a small model. VERTICAL ROUTING instantiates two templates: (i) domain-specific templates that decompose a task into ordered stages with criticality scores, and (ii) a robust default template that follows a prefix-first prior for general queries. Under a token budget, we allocate large-model capacity to the most critical stages, or to a budgeted prefix under the default template. Experiments show that VERTICAL ROUTING outperforms the strongest baseline (RouterDC) by 2.0 points in the averaged metric, while significantly reducing token usage by 48.9% and large-model output share by 41.7%. Additionally, it enhances stability by lowering the standard deviation by 87.5%. These results highlight its advantages in accuracy, efficiency, and robustness.1