小型语言模型(SLMs)应处于主导地位?关于将本地模型作为云编写智能体程序解释器的研究
Should SLMs be in the Driver's Seat? A Study of Local Models as Interpreters in Cloud-Written Agent Programs
AI总结:
该研究提出中间架构,让云编写的程序将用户数据相关问题交给本地SLM,在AppWorld上使仅代码智能体成功率提升最多14.9个百分点,缩小了与云托管ReAct循环的差距且保留用户数据本地性。
摘要:
执行用户提供任务的最准确智能体由大型云托管模型驱动,这些模型通过读取用户的私有数据解决任务。由小到可在边缘设备运行的模型驱动的智能体可将数据保留在本地,但结果差得多。第三种选择是让云模型编写设备执行的程序:数据保持本地,但由于程序是在看到任何数据之前编写的,因此当某一步依赖于仅在运行时出现的内容的解释时,程序会失败。我们探索一种中间架构,其中云编写的程序通过普通函数调用将关于用户数据的有界问题推迟给小型本地模型。在AppWorld上,这在我们评估的主干模型和测试分区的所有六种组合中,将仅代码智能体的成功率提高了多达14.9个百分点,在将用户数据保留在设备上的同时,大幅缩小了与云托管ReAct循环的差距。
英文摘要:
The most accurate agents executing user-provided tasks are driven by large, cloud-hosted models, which solve them by reading the private data of the user. Agents powered by models small enough to run on edge devices keep that data local, but yield far worse results. A third option is to have cloud models write a program that devices execute: the data stays local, but as the program is written before any data is seen, it fails whenever a step depends on interpreting content that appears only at run time. We explore an intermediate architecture, in which the cloud-written program defers bounded questions over user data to a small local model through an ordinary function call. On AppWorld this improves the success rate of a code-only agent in all six combinations of backbone model and test partition we evaluate, by up to 14.9pp, recovering a substantial part of the gap to a cloud-hosted ReAct loop while keeping user data on the device.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。