Skip to main content
QUICK REVIEW

[论文解读] From Pixels to UI Actions: Learning to Follow Instructions via Graphical User Interfaces

Peter Shaw, Mandar Joshi|arXiv (Cornell University)|May 31, 2023
Mobile Crowdsensing and CrowdsourcingComputer Science被引用 9
一句话总结

Pix2Act 使用像素级观测和通用鼠标/键盘动作空间来遵循 GUI 指令,在 MiniWob++ 上的表现超过众包工人,并在没有 DOM/HTML 访问的情况下建立 WebShop 基线,得益于像素级预训练和树搜索。

ABSTRACT

Much of the previous work towards digital agents for graphical user interfaces (GUIs) has relied on text-based representations (derived from HTML or other structured data sources), which are not always readily available. These input representations have been often coupled with custom, task-specific action spaces. This paper focuses on creating agents that interact with the digital world using the same conceptual interface that humans commonly use -- via pixel-based screenshots and a generic action space corresponding to keyboard and mouse actions. Building upon recent progress in pixel-based pretraining, we show, for the first time, that it is possible for such agents to outperform human crowdworkers on the MiniWob++ benchmark of GUI-based instruction following tasks.

研究动机与目标

  • 证明一个代理仅使用像素级观测和通用动作空间就能跟随 GUI 指令。
  • 在像素级设定下评估 MiniWob++ 和 WebShop 基准的性能。
  • 评估像素级预训练和树搜索对策略改进的影响。
  • 将现有 GUI 基准改编到浏览器环境中,统一观测/行动格式。
  • 与基于 DOM/HTML 的基线进行比较并分析泛化能力。

提出的方法

  • 在 Pix2Struct 的基础上创建一个像素到动作模型(Pix2Act),包含视觉编码器和文本解码器。
  • 在截图到类似 HTML 的表示上进行预训练,以将视觉信息映射到结构化输出。
  • 在人工演示的行为克隆上训练,并通过与环境交互进行微调。
  • 使用基于浏览器的通用环境(Selenium + Chrome),以像素观测和低级动作令牌(鼠标/键盘)为输入输出。
  • 将动作编码为文本令牌,并通过自回归 Transformer 借助束搜索解码;采用贪婪策略并进行适度的循环避免调整。
  • 可选地对策略改进应用蒙特卡罗树搜索(MCTS),使用基于 Pix2Struct 的值模型估算状态值。
Figure 1 : Our agent learns to follow instructions via Graphical User Interfaces (GUIs). Unlike most prior work studying instruction following for GUI-based tasks, our agent does not rely on text-based observations corresponding to DOM trees or HTML source code, or task-specific actions. Instead, ou
Figure 1 : Our agent learns to follow instructions via Graphical User Interfaces (GUIs). Unlike most prior work studying instruction following for GUI-based tasks, our agent does not rely on text-based observations corresponding to DOM trees or HTML source code, or task-specific actions. Instead, ou

实验结果

研究问题

  • RQ1代理是否可以仅使用像素级观测和通用低级动作来学习跟随 GUI 指令?
  • RQ2在没有 DOM/HTML 访问的情况下,像素级预训练对 GUI 指令跟随性能的影响如何?
  • RQ3在此像素基础 GUI 设置中,树搜索作为策略改进方法的有效性如何?
  • RQ4像素化方法如何在不同 GUI 基准(MiniWob++ 和 WebShop)之间迁移和泛化?
  • RQ5像素-only 方法在这些任务上与基于 DOM/HTML 的基线相差多少?

主要发现

  • Pix2Act 以像素输入实现的性能优于此前无 DOM 基线,在 MiniWob++ 上接近具 DOM 的方法。
  • 像素基模型的预训练显著提升了性能,在 BC 单独使用时,MiniWob++ 分数从 17.1 提升到 66.5,WebShop 从 1.1 提升到 46.7。
  • 树搜索进一步提升 MiniWob++ 的性能,达到比在相同基础模型下的贪婪策略更高的分数。
  • 在 MiniWob++ 上,预训练使对未见任务的泛化显著增强(有预训练时平均 28.3 vs 否则 7.6)。
  • Pix2Act 为像素化、无 DOM 的 WebShop 提供了首个基线,显示与非 DOM 方法的竞争力并突出与基于 HTML 的模型之间仍存在的差距。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。