arXiv:2602.20502cs.AIcs.LG2026-02被引 7

用状态机记忆让GUI代理从逐步操作变程序化执行,效率提升11.8倍

ActionEngine: From Reactive to Programmatic GUI Agents via State Machine Memory

  • 双代理架构:爬取代理离线构建可更新的状态机记忆
  • 在线执行仅需1次LLM调用,Reddit任务成功率95%(基准66%)
  • 支持界面变化自修复,适合高可靠性自动化场景

现有GUI代理依赖逐步调用视觉语言模型:截图、推理动作、执行、重复,导致成本和延迟随步骤增加,且缺乏对已访问页面的持久记忆。我们提出ActionEngine,一种无需训练的框架,通过新颖的双代理架构实现从反应式执行到程序化规划的转变:爬取代理通过离线探索构建可更新的GUI状态机记忆;执行代理利用该记忆生成完整的可执行Python程序用于在线任务执行。为应对界面变化,执行失败时触发基于视觉的重新定位回退机制,修复动作并更新记忆。该设计显著提升效率与准确率:在WebArena基准的Reddit任务上,平均仅需一次LLM调用即达95%任务成功率(最强纯视觉基线为66%),成本降低11.8倍,端到端延迟减少2倍。整体方案结合全局程序规划、爬虫验证的动作模板及节点级执行与局部验证修复,实现可扩展且可靠的GUI交互。

原文摘要 · Abstract (English)

Existing Graphical User Interface (GUI) agents operate through step-by-step calls to vision language models--taking a screenshot, reasoning about the next action, executing it, then repeating on the new page--resulting in high costs and latency that scale with the number of reasoning steps, and limited accuracy due to no persistent memory of previously visited pages. We propose ActionEngine, a training-free framework that transitions from reactive execution to programmatic planning through a novel two-agent architecture: a Crawling Agent that constructs an updatable state-machine memory of the GUIs through offline exploration, and an Execution Agent that leverages this memory to synthesize complete, executable Python programs for online task execution. To ensure robustness against evolving interfaces, execution failures trigger a vision-based re-grounding fallback that repairs the failed action and updates the memory. This design drastically improves both efficiency and accuracy: on Reddit tasks from the WebArena benchmark, our agent achieves 95% task success with on average a single LLM call, compared to 66% for the strongest vision-only baseline, while reducing cost by 11.8x and end-to-end latency by 2x. Together, these components yield scalable and reliable GUI interaction by combining global programmatic planning, crawler-validated action templates, and node-level execution with localized validation and repair.

GUI代理状态机程序化规划自动化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。