Skip to main content
QUICK REVIEW

[Paper Review] GPT-4V(ision) is a Generalist Web Agent, if Grounded

Boyuan Zheng, Boyu Gou|arXiv (Cornell University)|Jan 3, 2024
Topic ModelingComputer Science8 citations
TL;DR

The paper proposes SeeAct, a generalist web agent using GPT-4V to understand rendered webpages and generate executable actions, with grounding strategies to map plans to HTML elements; online evaluation shows 50% task success with oracle grounding but grounding remains a bottleneck.

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.

Motivation & Objective

  • Assess whether a large multimodal model can serve as a generalist web agent capable of completing tasks on real-world websites.
  • Develop SeeAct to combine visual understanding of webpages with action grounding to HTML elements.
  • Evaluate grounding strategies and compare GPT-4V-based agents to text-only LLMs and fine-tuned models on Mind2Web.
  • Introduce online live-website evaluation to complement offline benchmarks.
  • Identify limitations in grounding accuracy and gap to oracle grounding, guiding future improvements.

Proposed method

  • Define action generation as a text-based description of a browser action.
  • Ground actions by converting descriptions into executable browser events (e,e,o,v).
  • Explore grounding methods: Element Attributes, Textual Choices, and Image Annotation.
  • Use Mind2Web as the evaluation dataset with both offline (cached websites) and online (live websites) settings.
  • Compare GPT-4V against text-only LLMs (GPT-4, GPT-3.5) and vision-tuned models (FLAN-T5, BLIP2-T5).
  • Present an online evaluation tool built on Playwright for live-web experiments.

Experimental results

Research questions

  • RQ1Can GPT-4V, when grounded, function effectively as a generalist web agent across diverse websites and tasks?
  • RQ2Which grounding strategies most effectively map textual action plans to HTML elements in complex webpage layouts?
  • RQ3How does online (live) evaluation compare to offline evaluation for web agents, and what characterizes the discrepancy?
  • RQ4What is the performance gap between oracle grounding and practical grounding, and can grounding via HTML-visual correspondence bridge it?

Key findings

  • With oracle grounding, SeeAct (GPT-4V) achieves 65.7%-70.0% step success and 62.1%-65.7% Ele. Acc across splits, outperforming all baselines.
  • Grounding remains the main bottleneck; best practical grounding (Textual Choices) substantially outperforms image-annotation grounding and approaches supervised fine-tuning.
  • SeeAct Choices consistently outperforms text-only GPT-4 across Cross-Task, Cross-Website, and Cross-Domain settings in offline evaluation.
  • Online evaluation shows SeeAct Choice delivering higher whole-task success than GPT-4 or FLAN-T5-XL, with oracle grounding pushing the rate to 50% across splits.
  • ICL (in-context learning) generally generalizes better to unseen websites than supervised fine-tuning, highlighting the benefit of large-model in-context capabilities.
  • There is a non-negligible gap (20-25%) between practical grounding and oracle grounding, underscoring grounding as a core challenge for web agents.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.