arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2307.12856cs.LGcs.AIcs.CL
收藏

一个具备规划、长上下文理解与程序合成能力的真实世界 WebAgent

A Real-World WebAgent with Planning, Long Context Understanding, and Program Synthesis

Google DeepMind(谷歌DeepMind);The University of Tokyo(东京大学)

Izzeddin Gur, Hiroki Furuta, Austin Huang, Mustafa Safdari, Yutaka Matsuo, Douglas Eck, Aleksandra Faust

AI总结:

本文提出 WebAgent,通过将指令分解为规范子指令、用 HTML-T5 总结长 HTML 文档并生成 Python 程序执行操作,在真实网站自动化中将成功率提升超过 50%,并在 MiniWoB 和 Mind2Web 上取得领先性能。

摘要:

预训练大语言模型(LLMs)最近在自主网页自动化中取得了更好的泛化能力和样本效率。然而,在真实网站上的性能仍然受到以下问题的影响:(1)开放域性,(2)有限的上下文长度,以及(3)缺乏对 HTML 的归纳偏置。我们提出了 WebAgent,一个由 LLM 驱动的智能体,它从自身经验中学习,按照自然语言指令在真实网站上完成任务。WebAgent 通过将指令分解为规范化的子指令来提前规划,将长 HTML 文档总结为与任务相关的片段,并通过从这些内容生成的 Python 程序在网站上执行操作。我们使用 Flan-U-PaLM 设计 WebAgent,用于有根据的代码生成,并使用 HTML-T5——一种针对长 HTML 文档的新型预训练 LLM,采用局部和全局注意力机制以及混合长跨度去噪目标——进行规划和总结。我们通过实验证明,我们的模块化方案将真实网站上的成功率提高了超过 50%,并且 HTML-T5 是解决各种 HTML 理解任务的最佳模型;在 MiniWoB 网页自动化基准上比先前方法取得了 18.7% 的更高成功率,并在离线任务规划评估 Mind2Web 上取得了最先进(SoTA)性能。

英文摘要:

Pre-trained large language models (LLMs) have recently achieved better generalization and sample efficiency in autonomous web automation. However, the performance on real-world websites has still suffered from (1) open domainness, (2) limited context length, and (3) lack of inductive bias on HTML. We introduce WebAgent, an LLM-driven agent that learns from self-experience to complete tasks on real websites following natural language instructions. WebAgent plans ahead by decomposing instructions into canonical sub-instructions, summarizes long HTML documents into task-relevant snippets, and acts on websites via Python programs generated from those. We design WebAgent with Flan-U-PaLM, for grounded code generation, and HTML-T5, new pre-trained LLMs for long HTML documents using local and global attention mechanisms and a mixture of long-span denoising objectives, for planning and summarization. We empirically demonstrate that our modular recipe improves the success on real websites by over 50%, and that HTML-T5 is the best model to solve various HTML understanding tasks; achieving 18.7% higher success rate than the prior method on MiniWoB web automation benchmark, and SoTA performance on Mind2Web, an offline task planning evaluation.

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

↑