arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2207.01206cs.CLcs.AIcs.LG
收藏

WebShop:面向可扩展的真实世界Web交互与接地语言代理

WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agents

Princeton University(普林斯顿大学)

Shunyu Yao, Howard Chen, John Yang, Karthik Narasimhan

摘要:

现有的基准接地语言在交互式环境中要么缺乏现实世界的语言元素,或证明难以扩大规模,由于大量的人类参与收集数据或反馈信号。为了弥合这一差距,我们开发了WebShop --一个模拟的电子商务网站环境,其中包含$1.18$百万种真实世界的产品和$12,087$众包文本说明。给定指定产品需求的文本指令,代理需要浏览多种类型的网页并发布各种操作来查找、定制和购买物品。WebShop为语言基础提供了几个挑战,包括理解组合指令,查询(重新)公式化,理解和处理网页中的嘈杂文本,以及执行战略探索。我们收集了超过$1,600$的任务演示,并使用强化学习、模仿学习和预训练的图像和语言模型对各种代理进行训练和评估。我们的最佳模型实现了$29\%$的任务成功率,其性能优于基于规则的算法($9.6\%$),但远低于人类专家性能($59\%$)。我们还分析了代理和人类的轨迹和消融各种模型组件,为开发具有更强语言理解和决策能力的未来代理提供见解。最后,我们表明,在WebShop上训练的代理表现出非平凡的仿真到现实迁移时,在amazon.com和ebay.com进行评估,表明在开发实用的基于Web的代理,可以在野外的潜在价值的WebShop。

英文摘要:

Existing benchmarks for grounding language in interactive environments either lack real-world linguistic elements, or prove difficult to scale up due to substantial human involvement in the collection of data or feedback signals. To bridge this gap, we develop WebShop -- a simulated e-commerce website environment with $1.18$ million real-world products and $12,087$ crowd-sourced text instructions. Given a text instruction specifying a product requirement, an agent needs to navigate multiple types of webpages and issue diverse actions to find, customize, and purchase an item. WebShop provides several challenges for language grounding including understanding compositional instructions, query (re-)formulation, comprehending and acting on noisy text in webpages, and performing strategic exploration. We collect over $1,600$ human demonstrations for the task, and train and evaluate a diverse range of agents using reinforcement learning, imitation learning, and pre-trained image and language models. Our best model achieves a task success rate of $29\%$, which outperforms rule-based heuristics ($9.6\%$) but is far lower than human expert performance ($59\%$). We also analyze agent and human trajectories and ablate various model components to provide insights for developing future agents with stronger language understanding and decision making abilities. Finally, we show that agents trained on WebShop exhibit non-trivial sim-to-real transfer when evaluated on amazon.com and ebay.com, indicating the potential value of WebShop in developing practical web-based agents that can operate in the wild.

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

↑