Skip to main content
QUICK REVIEW

[论文解读] GPT-4V(ision) is a Generalist Web Agent, if Grounded

Boyuan Zheng, Boyu Gou|arXiv (Cornell University)|Jan 3, 2024
Topic ModelingComputer Science被引用 8
一句话总结

本论文提出 SeeAct,一种使用 GPT-4V 的通用型网页代理,能够理解渲染后的网页并生成可执行动作,具有将计划映射到 HTML 元素的 grounding 策略;在线评估在 oracle grounding 下显示 50% 的任务成功率,但 grounding 仍然是瓶颈。

ABSTRACT

The recent development on large multimodal models (LMMs), especially GPT-4V(ision) and Gemini, has been quickly expanding the capability boundaries of multimodal models beyond traditional tasks like image captioning and visual question answering. In this work, we explore the potential of LMMs like GPT-4V as a generalist web agent that can follow natural language instructions to complete tasks on any given website. We propose SEEACT, a generalist web agent that harnesses the power of LMMs for integrated visual understanding and acting on the web. We evaluate on the recent MIND2WEB benchmark. In addition to standard offline evaluation on cached websites, we enable a new online evaluation setting by developing a tool that allows running web agents on live websites. We show that GPT-4V presents a great potential for web agents -- it can successfully complete 51.1 of the tasks on live websites if we manually ground its textual plans into actions on the websites. This substantially outperforms text-only LLMs like GPT-4 or smaller models (FLAN-T5 and BLIP-2) specifically fine-tuned for web agents. However, grounding still remains a major challenge. Existing LMM grounding strategies like set-of-mark prompting turns out to be not effective for web agents, and the best grounding strategy we develop in this paper leverages both the HTML structure and visuals. Yet, there is still a substantial gap with oracle grounding, leaving ample room for further improvement. All code, data, and evaluation tools are available at https://github.com/OSU-NLP-Group/SeeAct.

研究动机与目标

  • 评估一个大型多模态模型是否能够充当通用型网页代理,在真实网站上完成任务。
  • 开发 SeeAct,将网页的视觉理解与对 HTML 元素的动作 grounding 相结合。
  • 评估 grounding 策略,并将基于 GPT-4V 的代理与文本型 LLM、以及在 Mind2Web 上的微调模型进行比较。
  • 引入在线实时网站评测,以补充离线基准。
  • 识别 grounding 精度的局限性以及与 oracle grounding 的差距,为未来改进提供指导。

提出的方法

  • 将动作生成定义为对浏览器操作的文本描述。
  • 通过将描述转换为可执行的浏览器事件(e,e,o,v)来 grounding 动作。
  • 探索 grounding 方法:Element Attributes(元素属性)、Textual Choices(文本选择)、Image Annotation(图像注释)。
  • 以 Mind2Web 作为评估数据集,包含离线(缓存网站)和在线(实时网站)设定。
  • 将 GPT-4V 与文本型 LLM(GPT-4、GPT-3.5)以及视觉微调模型(FLAN-T5、BLIP2-T5)进行对比。
  • 提供一个基于 Playwright 的在线评估工具用于实时网页实验。

实验结果

研究问题

  • RQ1当进行 grounding 时,GPT-4V 能否在不同网站和任务中有效地作为通用网页代理运行?
  • RQ2哪些 grounding 策略最有效地将文本动作计划映射到复杂网页布局中的 HTML 元素?
  • RQ3在线(实时)评测与离线评测在网页代理中的异同是什么,差异的特征是什么?
  • RQ4oracle grounding 与实际 grounding 之间的性能差距有多大,是否可通过 HTML-可视对应来弥合?

主要发现

  • 在 oracle grounding 下,SeeAct(GPT-4V)在不同拆分中实现 65.7%-70.0% 的 step 成功率和 62.1%-65.7% 的 Ele. Acc,优于所有基线。
  • grounding 仍是主要瓶颈;最佳实践 grounding(Textual Choices)显著优于图像注释 grounding,并接近有监督微调。
  • SeeAct Choices 在离线评估的 Cross-Task、Cross-Website、Cross-Domain 设置中持续超过文本型 GPT-4。
  • 在线评估显示 SeeAct Choice 的整体任务成功率高于 GPT-4 或 FLAN-T5-XL,且 oracle grounding 将该比率推至各拆分的 50%。
  • ICL(在上下文学习)通常对未见网站的泛化优于有监督微调,凸显大模型在上下文中的能力的好处。
  • 实践 grounding 与 oracle grounding 之间存在不可忽略的差距(20-25%),强调 grounding 是网页代理的核心挑战。

阅读本论文

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

在 Nubint 中阅读本论文

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