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

EdgeWise:通过选择性云委托将长视距智能体部署到边缘端

EdgeWise: Bringing Long-Horizon Agents to the Edge via Selective Cloud Delegation

Zeru Shi, Jindong Jiang, Ryo Hachiuma, Yonggan Fu, Byung-Kwan Lee, Peter Belcak, Saurav Muralidharan, Ayush Agarwal, Ruixiang Tang, Ambrish Dantrey, Pavlo Molch… 展开作者

Zeru Shi, Jindong Jiang, Ryo Hachiuma, Yonggan Fu, Byung-Kwan Lee, Peter Belcak, Saurav Muralidharan, Ayush Agarwal, Ruixiang Tang, Ambrish Dantrey, Pavlo Molchanov, Anjul Patney, Subhashree Radhakrishnan

AI总结:

EdgeWise是一种边缘-云协作框架,通过步骤级RL方法选择性将关键任务步骤委托给云端LLM,在SWE-Rebench和Terminal-Bench 2.1上分别降低62%、34%推理成本,性能与纯LLM相当或更优。

摘要:

复杂且长视距的智能体任务通常依赖部署在云端的前沿模型来实现优异性能。然而,对长视距轨迹的每一步都使用这些模型会产生大量推理成本,尽管并非所有步骤都需要相同水平的模型能力。在本文中,我们发现仅将大语言模型(LLM)分配给一小部分关键步骤,即可实现与完整LLM执行相当的性能,同时大幅降低推理成本。受此观察启发,我们提出EdgeWise,这是一种边缘-云协作框架,在本地设备上部署小型语言模型(SLM)作为主要求解器,并在需要更强模型能力时选择性地将关键步骤委托给云端LLM。为了在推理时无需额外模型即可实现自主委托,我们引入了一种步骤级强化学习(RL)方法,该方法联合优化任务求解与委托,并对单个委托决策进行细粒度信用分配。我们还引入了一种基于外部判断者的委托策略,并用其系统地研究边缘-云协作中的关键设计选择,包括何时委托、应如何做出委托决策、应共享何种上下文以及应多久调用一次云端LLM。实验表明,EdgeWise在SWE-Rebench上的推理成本降低了62%,在Terminal-Bench 2.1上降低了34%,同时性能与纯LLM执行相当或更优。我们还在本地工作站上部署了EdgeWise,在实际边缘-云环境中展示了相当的成本节约效果。

英文摘要:

Complex and long-horizon agent tasks often rely on frontier models deployed in the cloud to achieve strong performance. However, using these models for every step of a long-horizon trajectory incurs substantial inference cost, even though not all steps may require the same level of model capability. In this paper, we find that allocating the LLM to only a small subset of key steps can achieve performance comparable to full LLM execution while significantly reducing inference cost. Motivated by this observation, we propose EdgeWise, an edge-cloud collaboration framework that deploys an SLM on the local device as the primary solver and selectively delegates critical steps to a cloud LLM when stronger model capacity is needed. To enable autonomous delegation without additional models at inference time, we introduce a step-level RL method that jointly optimizes task solving and delegation, with fine-grained credit assignment for individual delegation decisions. We also introduce an external judge-based delegation strategy and use it to systematically investigate key design choices in edge-cloud collaboration, including when to delegate, how delegation decisions should be made, what context should be shared, and how frequently the cloud LLM should be invoked. Experiments show that EdgeWise matches or outperforms pure-LLM execution while reducing inference cost up to 62% on SWE-Rebench and 34% on Terminal-Bench 2.1. We further deploy EdgeWise on a local workstation, demonstrating comparable cost savings in a practical edge-cloud setting.

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

↑