arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.07180cs.CL
收藏

从早期经验学习代理路由

Learning Agent Routing From Early Experience

AI Lab, Princeton University(普林斯顿大学人工智能实验室);University of Michigan(密歇根大学);Institute for Interdisciplinary Information Sciences (IIIS), Tsinghua University(清华大学交叉信息学院);Shanghai Jiao Tong University(上海交通大学);University of Edinburgh(爱丁堡大学);King’s College London(伦敦国王学院)

Yimin Wang, Jiahao Qiu, Xuan Qi, Xinzhe Juan, Jingzhe Shi, Zelin Zhao, Hongru Wang, Shilong Liu, Mengdi Wang

AI总结:

本文研究在冷启动条件下如何在轻量级LLM推理与完整代理执行间进行路由,提出无需训练的BoundaryRouter框架,通过早期行为经验和指导性推理决定是否直接使用LLM还是升级至代理,实验显示其在降低推理时间与提升性能方面优于其他方法。

摘要:

LLM代理在复杂推理任务上表现强劲,但存在高延迟和计算成本。实践中,许多查询位于先进LLM的能力边界内,无需完整代理执行,因此有效路由LLM与代理成为关键挑战。本文研究在现实冷启动条件下,如何在轻量级LLM推理与完整代理执行之间路由查询。为此,我们提出BoundaryRouter,一种无需训练的路由框架,利用早期行为经验与指导性推理决定是否直接使用LLM推理或升级至代理。BoundaryRouter通过在共享种子集上执行两个系统构建紧凑的经验记忆,并在推理时检索相似案例以指导路由决策。为评估此方法,我们引入RouteBench基准,涵盖领域内、改写和领域外的路由设置。实验表明,BoundaryRouter相比代理减少了60.6%的推理时间,相比直接LLM推理提升了28.6%的性能,优于基于提示和检索-only的路由方法平均37.9%和8.2%。

英文摘要:

LLM agents achieve strong performance on complex reasoning tasks but incur high latency and compute cost. In practice, many queries fall within the capability boundary of cutting-edge LLMs and do not require full agent execution, making effective routing between LLMs and agents a key challenge. We study the problem of routing queries between lightweight LLM inference and full agent execution under realistic cold-start settings. To address this, we propose BoundaryRouter, a training-free routing framework that uses early behavioral experience and rubric-guided reasoning to decide whether to answer a query with direct LLM inference or escalate to an agent. BoundaryRouter builds a compact experience memory by executing both systems on a shared seed set and retrieves similar cases at inference time to guide routing decisions. To evaluate this method, we introduce RouteBench, a benchmark covering in-domain, paraphrased, and out-of-domain route settings. Experiments show that BoundaryRouter reduces inference time by 60.6% compared to the agent while improving performance by 28.6% over direct LLM inference, outperforming prompt-based and retrieval-only routing by an average of 37.9% and 8.2%, respectively.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑