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

AutoWebGLM:一个基于大型语言模型的Web导航智能体

AutoWebGLM: A Large Language Model-based Web Navigating Agent

Tsinghua University(清华大学);Zhipu AI(智谱AI);Beijing U. of Posts and Telecoms(北京邮电大学);U. of Chinese Academy of Sciences(中国科学院大学)

Hanyu Lai, Xiao Liu, Iat Long Iong, Shuntian Yao, Yuxuan Chen, Pengbo Shen, Hao Yu, Hanchen Zhang, Xiaohan Zhang, Yuxiao Dong, Jie Tang

AI总结:

针对Web导航中HTML复杂性、操作多样性和开放域任务难度问题,基于ChatGLM3-6B开发AutoWebGLM,通过HTML简化、人机混合数据训练及强化学习与拒绝采样,构建双语基准AutoWebBench,实现超越GPT-4的导航性能。

摘要:

大型语言模型(LLMs)推动了许多智能Web智能体的发展,但由于三个因素,大多数现有智能体在现实世界的Web导航任务中表现远不尽如人意:(1)HTML文本数据的复杂性;(2)网页上操作的多样性;以及(3)由于Web的开放域性质导致的任务难度。鉴于这些挑战,我们基于ChatGLM3-6B开发了开源的AutoWebGLM。AutoWebGLM可作为强大的自动化Web导航智能体,其表现超越GPT-4。受人类浏览模式启发,我们首先设计了一种HTML简化算法,以简洁地表示网页并保留关键信息。随后,我们采用人机混合方法构建Web浏览数据用于课程训练。最后,我们通过强化学习和拒绝采样对模型进行自举,以进一步增强其对网页的理解、浏览器操作及高效的任务分解能力。为进行全面评估,我们建立了一个双语基准——AutoWebBench,用于现实世界的Web导航任务。我们在多个不同的Web导航基准上评估了AutoWebGLM,展示了其应对真实环境中挑战性任务的潜力。相关代码、模型和数据已发布在https://github.com/THUDM/AutoWebGLM。

英文摘要:

Large language models (LLMs) have fueled many intelligent web agents, but most existing ones perform far from satisfying in real-world web navigation tasks due to three factors: (1) the complexity of HTML text data (2) versatility of actions on webpages, and (3) task difficulty due to the open-domain nature of the web. In light of these challenges, we develop the open AutoWebGLM based on ChatGLM3-6B. AutoWebGLM can serve as a powerful automated web navigation agent that outperform GPT-4. Inspired by human browsing patterns, we first design an HTML simplification algorithm to represent webpages with vital information preserved succinctly. We then employ a hybrid human-AI method to build web browsing data for curriculum training. Finally, we bootstrap the model by reinforcement learning and rejection sampling to further facilitate webpage comprehension, browser operations, and efficient task decomposition by itself. For comprehensive evaluation, we establish a bilingual benchmark -- AutoWebBench -- for real-world web navigation tasks. We evaluate AutoWebGLM across diverse web navigation benchmarks, demonstrating its potential to tackle challenging tasks in real environments. Related code, model, and data are released at \url{https://github.com/THUDM/AutoWebGLM}.

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

↑