arXiv cs.CL· Xiaohan Wang, Haozhen Zhang, Qingyuan Liu, Tao Feng, Wenya Wang·· 3 天前AI 评分26
RouteWeaver:将模式选择与执行编织进统一 LLM 路由
RouteWeaver: Weaving Mode Selection and Execution into Unified LLM Routing
AI 导读
RouteWeaver 是一个统一 LLM 路由框架,用单一策略整合单轮、多轮与智能体等路由模式,联合学习模式选择与模式内模型选择。其配套的 COMET-GRPO 将轨迹级优势拆分为模式选择与模式内执行两个信号,并引入渐进式探索,让路由器先学会执行各模式再决定何时使用。
正文 · 原文
Abstract:LLM routing dynamically selects and coordinates heterogeneous language models across diverse tasks. However, existing approaches are largely built around a predefined execution paradigm, such as single-round, multi-round, or agentic routing, which fixes how model calls are organized and limits adaptation to different query needs. We propose RouteWeaver, a unified routing framework that integrates these routing modes within a single LLM policy, jointly learning which mode to use and how to select models within that mode. To jointly optimize mode selection and within-mode execution, we develop COMET-GRPO (COordinated Mode-Execution Training), which decouples the trajectory-level advantage into separate signals for mode selection and within-mode execution, enabling more targeted credit assignment to each decision level. We further introduce progressive exploration, which gradually shifts training from externally assigned modes to autonomous selection, so that the router first learns how to execute each mode before deciding when to use it. We evaluate RouteWeaver across mathematics, coding, knowledge, logical reasoning, and factual recall. RouteWeaver achieves an average accuracy of 61.4%, an 11.03% relative improvement over the strongest baseline, and outperforms all compared baselines in each of the five domains. Ablations show that both COMET-GRPO and progressive exploration are important for adaptive routing; without progressive exploration, the routing policy collapses entirely to single-round execution.
| Comments: | Submitted to ICLR 2027 |
| Subjects: | Computation and Language (cs.CL) |
| Cite as: | arXiv:2610.19705 [cs.CL] |
| (or arXiv:2610.19705v1 [cs.CL] for this version) | |
| https://doi.org/10.48550/arXiv.2610.19705 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Xiaohan Wang [view email]
[v1]
Wed, 14 Oct 2026 07:33:05 UTC (2,987 KB)
来源:arXiv cs.CL · arxiv.org