arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.15978cs.AI
收藏

WebPilot:一种用于Web任务执行与策略性探索的通用自主多智能体系统

WebPilot: A Versatile and Autonomous Multi-Agent System for Web Task Execution with Strategic Exploration

LMU Munich(慕尼黑大学);Munich Center for Machine Learning(慕尼黑机器学习中心);Technical University of Munich(慕尼黑工业大学)

Yao Zhang, Zijian Ma, Yunpu Ma, Zhen Han, Yu Wu, Volker Tresp

AI总结:

针对LLM智能体在复杂Web任务中因动作空间庞大和状态不确定导致执行失败的问题,提出多智能体系统WebPilot,通过双优化策略改进MCTS,在WebArena上相对成功率提升93%。

摘要:

基于LLM的自主智能体在执行需要动态交互的复杂Web任务时,由于环境固有的不确定性和复杂性而经常失败。现有的基于LLM的Web智能体通常依赖于针对特定状态和动作设计的僵化专家策略,缺乏适应未见任务所需的灵活性和泛化能力。相比之下,人类擅长通过探索未知、持续调整策略以及通过探索解决模糊性来表现出色。为了模拟类似人类的适应性,Web智能体需要策略性探索和复杂决策。蒙特卡洛树搜索(MCTS)非常适合于此,但经典MCTS在Web任务中难以应对庞大的动作空间、不可预测的状态转移和不完整信息。鉴于此,我们开发了WebPilot,这是一个采用双优化策略的多智能体系统,旨在改进MCTS以更好地处理复杂的Web环境。具体而言,全局优化阶段通过将任务分解为可管理的子任务并持续完善该计划来生成高级计划,从而聚焦搜索过程并缓解经典MCTS中庞大动作空间带来的挑战。随后,局部优化阶段使用为复杂环境定制的MCTS执行每个子任务,有效解决不确定性并管理不完整信息。在WebArena和MiniWoB++上的实验结果证明了WebPilot的有效性。值得注意的是,在WebArena上,WebPilot使用GPT-4实现了SOTA性能,与并发的基于树搜索的方法相比,成功率相对提高了93%。WebPilot标志着通用自主智能体能力的重大进步,为在实际环境中实现更先进、更可靠的决策铺平了道路。

英文摘要:

LLM-based autonomous agents often fail to execute complex web tasks that require dynamic interaction due to the inherent uncertainty and complexity of these environments. Existing LLM-based web agents typically rely on rigid, expert-designed policies specific to certain states and actions, which lack the flexibility and generalizability needed to adapt to unseen tasks. In contrast, humans excel by exploring unknowns, continuously adapting strategies, and resolving ambiguities through exploration. To emulate human-like adaptability, web agents need strategic exploration and complex decision-making. Monte Carlo Tree Search (MCTS) is well-suited for this, but classical MCTS struggles with vast action spaces, unpredictable state transitions, and incomplete information in web tasks. In light of this, we develop WebPilot, a multi-agent system with a dual optimization strategy that improves MCTS to better handle complex web environments. Specifically, the Global Optimization phase involves generating a high-level plan by breaking down tasks into manageable subtasks and continuously refining this plan, thereby focusing the search process and mitigating the challenges posed by vast action spaces in classical MCTS. Subsequently, the Local Optimization phase executes each subtask using a tailored MCTS designed for complex environments, effectively addressing uncertainties and managing incomplete information. Experimental results on WebArena and MiniWoB++ demonstrate the effectiveness of WebPilot. Notably, on WebArena, WebPilot achieves SOTA performance with GPT-4, achieving a 93% relative increase in success rate over the concurrent tree search-based method. WebPilot marks a significant advancement in general autonomous agent capabilities, paving the way for more advanced and reliable decision-making in practical environments.

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

↑