WorkArena: How Capable Are Web Agents at Solving Common Knowledge Work Tasks?

Alexandre Drouin, Maxime Gasse, Massimo Caccia, Issam H. Laradji, Manuel Del Verme, Tom Marty, Léo Boisvert, Megh Thakkar, Quentin Cappart, David Vázquez, Nicolas Chapados, Alexandre Lacoste

TL;DR

This paper introduces WorkArena, a new benchmark for evaluating Large Language Model (LLM)-based web agents on real-world enterprise software tasks, and BrowserGym, a flexible environment for developing and testing these agents. Their findings reveal a significant gap in current LLM agent capabilities for complex work tasks, with a notable performance difference between open and closed-source models.

What Problem Does This Paper Address?

The paper addresses the challenge of building capable web agents that can automate tasks within enterprise software, which are crucial for knowledge workers. While existing benchmarks focus on simpler web interactions or synthetic environments, this work targets the complexity and realism of enterprise applications like ServiceNow. The goal is to measure how well current LLM-based agents can handle the diverse and often intricate workflows that characterize daily work in these systems, moving beyond basic web navigation to actual task completion.

Methods

The authors introduce BrowserGym, a Python environment built on Chromium and Playwright, designed for evaluating multimodal web agents. It supports a rich set of actions (including Python code execution and high-level primitives) and multimodal observations (HTML, accessibility trees, screenshots). BrowserGym is designed to be flexible, accommodating various agent architectures and observation/action spaces.

They also propose WorkArena, a benchmark consisting of 33 tasks and 19,912 instances, all based on the widely-used ServiceNow platform. These tasks are representative of common knowledge worker operations, such as filtering lists, filling forms, searching knowledge bases, and navigating service catalogs. A key innovation in WorkArena is the inclusion of "oracle functions" – hand-crafted solutions using Playwright – to ensure task feasibility, provide ground truth, and aid in benchmark maintenance.

Datasets

  • WorkArena: A newly introduced benchmark comprising 33 tasks and 19,912 unique instances, all derived from the ServiceNow platform. This benchmark is designed to be challenging due to the complex and dynamic nature of enterprise UIs.
  • MiniWoB: Used for agent configuration tuning and ablation studies.
  • WebArena: Used for evaluating agent performance and comparing results.

Key Insights and Ideas

  • Enterprise Software is a Hard Frontier: The complexity and non-standard nature of enterprise UIs (like ServiceNow) present a significant challenge for current LLM agents, far exceeding the difficulty of simpler web tasks.
  • Open vs. Closed Source LLMs: A Growing Divide: A substantial performance gap exists between closed-source models (like GPT-40) and open-source models (like Llama3) on these complex tasks, highlighting the need for continued development in open-source LLM capabilities for enterprise applications.
  • Chain-of-Thought is Crucial, But Not Sufficient: While chain-of-thought prompting is essential for agent performance, it doesn't guarantee success on its own, especially in complex environments.
  • More Features Aren't Always Better: Adding too many features (like extensive history or detailed action descriptions) can sometimes overwhelm weaker LLMs, leading to degraded performance. This suggests a need for careful agent design tailored to the LLM's capabilities.
  • Multimodal Input Offers Limited Gains (So Far): Augmenting agents with screenshots (GPT-40-V) showed only minor performance improvements, suggesting that current multimodal models may not be fully leveraging visual information for these specific types of tasks, or that vision-language models still have limitations in this domain.

Key Results

  • GPT-40 Dominates: GPT-40 achieved a 43% success rate on WorkArena, significantly outperforming GPT-3.5 (6.1%) and Llama3 (17.9%).
  • WorkArena is Challenging: Even the best-performing agent (GPT-40) only achieved a 42.7% success rate across all WorkArena tasks, indicating substantial room for improvement.
  • List-based tasks are Particularly Difficult: Agents struggled with list-based tasks requiring interaction with non-standard HTML widgets, showing a 0% success rate for all tested LLMs.
  • BrowserGym Features Impact Performance: Ablation studies showed that features like chain-of-thought and specific action/observation spaces significantly impacted agent performance, with varying effects across different LLMs.

Limitations and Future Work

  • Prompt Truncation: For models with limited context windows (GPT-3.5, Llama3), prompt truncation due to large HTML/AXTree observations can hinder performance.
  • Memory Can Hurt: While memory features (like use_think_history) can be beneficial for navigation-heavy tasks, they can sometimes lead agents to stick to early, potentially erroneous decisions, reducing self-correction.
  • Multimodal Performance: The limited gains from multimodal input suggest a need for further research into vision-language models and their application to complex web tasks.
  • Future Work: The authors plan to expand WorkArena with compositional tasks to create more realistic workflows and integrate more benchmarks into BrowserGym. They also aim to explore advanced reasoning, retrieval, and visual perception capabilities for agents.

Summary updated

BibTeX
@inproceedings{drouin2024workarena,
  author = {Alexandre Drouin and Maxime Gasse and Massimo Caccia and Issam H. Laradji and Manuel Del Verme and Tom Marty and Léo Boisvert and Megh Thakkar and Quentin Cappart and David Vázquez and Nicolas Chapados and Alexandre Lacoste},
  title = {{WorkArena: How Capable Are Web Agents at Solving Common Knowledge Work Tasks?}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=BRfqYrikdo},
}
Figure