从早期经验学习代理路由
Learning Agent Routing From Early Experience
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分析而来,可能存在错误,请以论文正文为准。