CLOct 17, 2024

Web Agents with World Models: Learning and Leveraging Environment Dynamics in Web Navigation

Georgia Tech
arXiv:2410.13232v293 citationsh-index: 13ICLR
AI Analysis

This addresses the issue of irreversible errors in web navigation for autonomous agents, representing an incremental improvement by integrating world models into existing LLM frameworks.

The study tackled the problem of poor performance of LLM-based web agents in long-horizon tasks by introducing a world-model-augmented agent that simulates action outcomes, resulting in improved policy selection and cost- and time-efficiency compared to tree-search-based agents on WebArena and Mind2Web benchmarks.

Large language models (LLMs) have recently gained much attention in building autonomous agents. However, the performance of current LLM-based web agents in long-horizon tasks is far from optimal, often yielding errors such as repeatedly buying a non-refundable flight ticket. By contrast, humans can avoid such an irreversible mistake, as we have an awareness of the potential outcomes (e.g., losing money) of our actions, also known as the "world model". Motivated by this, our study first starts with preliminary analyses, confirming the absence of world models in current LLMs (e.g., GPT-4o, Claude-3.5-Sonnet, etc.). Then, we present a World-model-augmented (WMA) web agent, which simulates the outcomes of its actions for better decision-making. To overcome the challenges in training LLMs as world models predicting next observations, such as repeated elements across observations and long HTML inputs, we propose a transition-focused observation abstraction, where the prediction objectives are free-form natural language descriptions exclusively highlighting important state differences between time steps. Experiments on WebArena and Mind2Web show that our world models improve agents' policy selection without training and demonstrate our agents' cost- and time-efficiency compared to recent tree-search-based agents.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes