Skim:用于快速和高效网络代理的推测执行
Skim: Speculative Execution for Fast and Efficient Web Agents
AI总结:
Skim通过利用专门构建网站的可预测结构,提出了一种推测执行框架,以降低网络代理的任务成本和延迟,同时保持准确性。
摘要:
Skim是一种用于网络代理的推测执行框架,利用专门构建网站的可预测结构。当今网络代理的开销并非任务本身固有,而是由代理的组合方式决定:前沿模型推断、浏览器渲染和ReAct风格的规划被应用于每个任务的每一步,无论复杂度如何。Skim的关键观察是,网站在相同类型的查询中强制执行稳定的URL模式、答案格式和任务到轨迹的映射,因此大多数查询可以完全绕过这些重型组件。离线分析器在每个网站上捕获这些模式一次。在运行时,Skim将每个查询匹配到模板,合成目标URL,并使用小型模型提取答案。一个轻量级验证器将每个快速路径输出与查询和模式进行比对;罕见的不准确会级联到完整的代理,但通过快速路径的最终URL进行预热,以保持上游轨迹进度。在标准网络代理基准测试中,结合三个主干代理(WebVoyager、AgentOccam、BrowserUse),Skim将任务的中位成本降低了1.9倍,延迟减少了33.4%,且没有精度损失。
英文摘要:
Skim is a speculative execution framework for web agents that exploits the predictable structure of purpose-built websites. Today's web-agent expense is not intrinsic to the tasks but a property of how agents are composed: frontier-model inference, browser rendering, and ReAct-style planning are applied to every step of every task regardless of complexity. Skim's key observation is that websites enforce stable URL patterns, answer formats, and task-to-trajectory mappings across queries of the same type, so most queries can bypass these heavyweight components entirely. An offline profiler captures these patterns once per site. At runtime, Skim matches each query to a template, synthesizes the destination URL, and extracts the answer with a small model. A lightweight verifier gates each fast-path output against the query and schema; rare misspeculations cascade to the full agent, warm-started by the fast path's final URL to preserve upstream trajectory progress. Across standard web-agent benchmarks paired with three backboneagents (WebVoyager, AgentOccam, BrowserUse), Skim reduces median per-task cost by 1.9x and latency by 33.4% with no accuracy loss.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。