COMPASS:基于能力导向模型分析与自适应搜索、选择及工具使用的路由方法
COMPASS: Routing via Capability-Oriented Model Profiling with Adaptive Search, Selection, and Tool Use
AI总结:
该研究提出智能体式路由机制COMPASS,通过工具收集证据、可选检查候选答案,在LLMRouterBench与DeepSWE上较基线提升准确率、降低成本,还可适配扩展模型池。
摘要:
大语言模型(LLM)路由旨在以低成本选择能力适配的模型,但专用路由机制需随模型与任务变化更新。我们提出COMPASS,一种智能体式路由机制,其中LLM遵循路由规则,通过工具收集性能与成本证据,并可在选择模型前检查候选答案。在LLMRouterBench与DeepSWE上的评估显示,智能体式路由相比专用路由及训练型路由基线,无需路由特定训练即可提升准确率并降低模型调用成本。在LLMRouterBench上,COMPASS准确率达69.85%,成本为139.57美元,而RLCascadeRouter准确率为69.14%,成本为180.22美元;在固定五折交叉验证的DeepSWE上,COMPASS准确率达78.1%,成本为215美元,最佳单模型准确率为74.1%,成本为500美元。COMPASS还支持跨基准路由,可通过读取新评估记录适配扩展后的模型池,无需修改路由的权重或提示。
英文摘要:
LLM routing aims to select a capable model at low cost, but specialized routers can require updates as models and tasks change. We propose COMPASS, an agentic router in which an LLM follows a routing recipe, gathers performance and cost evidence through tools, and optionally inspects candidate answers before selecting a model. Our evaluations on LLMRouterBench and DeepSWE show that agentic routing can improve accuracy and lower model-call cost relative to specialized and trained routing baselines, without routing-specific training. On LLMRouterBench, COMPASS reaches 69.85% accuracy at \$139.57, compared with RLCascadeRouter's 69.14% at \$180.22. On DeepSWE under fixed five-fold cross-validation, it reaches 78.1% at \$215, compared with 74.1% at \$500 for the best single model. COMPASS also supports routing across benchmarks and adapts to an expanded model pool by reading new evaluation records, without changing the router's weights or prompt.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。