arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.13232cs.CL

具有世界模型的Web智能体:在网页导航中学习并利用环境动态

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

Yonsei University(延世大学)

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

AI总结:

针对LLM网页智能体缺乏环境动态预测能力的问题,提出世界模型增强(WMA)智能体,通过模拟行动结果改进决策,在WebArena和Mind2Web上验证了无需训练即可提升策略选择且更高效。

摘要:

大语言模型(LLMs)近来在构建自主智能体方面受到了广泛关注。然而,当前基于LLM的网页智能体在长时程任务中的表现远非最优,常常产生诸如反复购买不可退款机票之类的错误。相比之下,人类能够避免这种不可逆转的错误,因为我们对自己的行为可能产生的结果(例如,损失金钱)有意识,这也被称为“世界模型”。受此启发,我们的研究首先从初步分析开始,确认了当前LLMs(例如GPT-4o、Claude-3.5-Sonnet等)中缺乏世界模型。然后,我们提出了一种世界模型增强(WMA)网页智能体,它通过模拟自身行动的结果来做出更好的决策。为了克服将LLMs训练为预测下一观察的世界模型所面临的挑战,例如观察中重复出现的元素和冗长的HTML输入,我们提出了一种以状态转移为中心的观察抽象方法,其中预测目标是自由形式的自然语言描述,专门突出时间步之间重要的状态差异。在WebArena和Mind2Web上的实验表明,我们的世界模型无需训练即可改进智能体的策略选择,并展示了我们的智能体相较于近期基于树搜索的智能体在成本和时效方面的优势。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑