TensorX
返回文献探索

Paper · arXiv 2410.13232

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

Hyungjoo Chae, Namyoung Kim, Kai Tzu-iunn Ong, Minju Gwak, Gwanwoo Song, Jihoon Kim, Sunghwan Kim, Dongha Lee, Jinyoung Yeo

44 upvotesOctober 17, 2024arXiv 预印本
AI 摘要

A World-model-augmented web agent improves decision-making by simulating action outcomes, overcoming training challenges with free-form natural language descriptions of state differences.

world modelLLM-based web agentslong-horizon tasksweb agentsGPT-4oClaude-3.5-SonnetWorld-model-augmented (WMA) web agenttransition-focused observation abstractionWebArenaMind2Webcost-efficiencytime-efficiencytree-search-based agents

Abstract

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.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
Web Agents with World Models: Learning and Leveraging Environment Dynamics in Web Navigation | TensorX