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

扩展主动计算:智能体何时能预判任务

Scaling Proactive Compute: When Agents Anticipate the Task

Stanford University(斯坦福大学);Meta

Shayan Talaei, Gino Chiaranaipanich, Amirreza Zeinali, Amir Youssefi, Azalia Mirhoseini, Amin Saberi

AI总结:

该研究提出主动计算概念,通过预算强制扩展其在 token 层面的应用,经多基准实验验证,主动计算可提升大语言模型性能、降低测试时工作量与成本,是测试时计算的互补扩展维度。

摘要:

智能体通常在任务到来前就可获取环境上下文,如代码仓库或公司文件系统,但它们会花费大量时间等待任务到达及工具调用返回。智能体可利用该时间预判任务并做准备,此过程称为主动计算。我们通过预算强制在 token 层面扩展主动计算,测量性能、计算成本与测试时效率的变化,评估四个模型家族在九个基准上的表现,涵盖软件工程、法律工作、算法推理与数学领域。任务到达前(离线场景),128k-token 的研究使 T=64 的求解器在 SWE-QA-Pro 上达到原本需 15 倍测试预算的准确率,在 StudyBench 上则为 7 倍。主动学习减少了求解器的测试时工作量:在 SWE-QA-Pro 上,16k-token 的学习使测试时推理量减半以上,工具调用次数减少至十分之一且性能匹配。当上下文超出单个窗口(如 Harvey LAB 的 112M-token 法律文件系统),我们设计结构化与多智能体学习方法,其测试时效率随主动计算增长持续提升。任务到达后(在线场景),在命令运行时持续工作的智能体在八个 MLE-Bench 任务上达到人类中位数分数的速度快 1.6-2.0 倍。总体而言,这些结果确立主动计算为扩展大语言模型性能的另一维度,与测试时计算互补。

英文摘要:

Agents often have access to the context of their environment, like a code repository or a company's filesystem, even before the task arrives. Yet they spend much of their time waiting for the task to arrive and for each tool call to return. Agents can use this time to anticipate the task and prepare for it, spending what we call proactive compute. We scale proactive compute at the token level using budget forcing and measure how performance, computational cost, and test-time efficiency change with it, evaluating four model families over nine benchmarks spanning software engineering, legal work, algorithmic reasoning, and mathematics. Before the task arrives (offline case), a 128k-token study lets a solver at T=64 reach accuracy that otherwise takes a 15x larger test budget on SWE-QA-Pro and 7x on StudyBench. Proactive studying reduces the test-time work the solver needs: on SWE-QA-Pro, a 16k-token study more than halves test-time reasoning and cuts tool calls tenfold at matched performance. When the context outgrows one context window, as in Harvey LAB's 112M-token legal filesystem, we design structured and multi-agent studying methods whose test-time efficiency keeps improving as proactive compute grows. After the task arrives (online case), agents that keep working while their commands run reach the median human score 1.6-2.0x sooner on eight MLE-Bench tasks. Overall, these results establish proactive compute as another axis of scaling large language model performance, complementary to test-time compute.

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

↑