用自进化课程训练开源大模型,让网页智能体性能超商用模型。
WebRL: Training LLM Web Agents via Self-Evolving Online Curriculum Reinforcement Learning
- 自动生成新任务的动态课程,解决训练数据稀缺问题
- 成功率从4.8%提升至42.4%,超越GPT-4-Turbo和GPT-4o
- 适合想用开源模型打造高性能网页代理的研究者
大型语言模型(LLMs)在基于网络的任务中展现出巨大潜力,但现有网页智能体严重依赖昂贵的专有API,而开源模型缺乏决策能力。本文提出WebRL,一种自进化在线课程强化学习框架,用于训练高性能的开源大模型网页智能体。该框架应对三大挑战:训练任务稀缺、反馈信号稀疏以及在线学习中的策略分布漂移。具体包括:1)从失败尝试中生成新任务的自进化课程;2)基于结果监督的鲁棒奖励模型(ORM);3)自适应强化学习策略以保证持续改进。我们将WebRL应用于Llama-3.1和GLM-4模型,使其成为高效网页代理。在WebArena-Lite上,Llama-3.1-8B的成功率从4.8%提升至42.4%,GLM-4-9B从6.1%提升至43%。这些开源模型显著优于GPT-4-Turbo(17.6%)和GPT-4o(13.9%),并超越此前基于开源模型的最佳成果(AutoWebGLM,18.2%)。结果表明,WebRL有效缩小了开源与专有模型在网页智能体上的性能差距,为更可及、更强的自主网页交互系统铺平道路。
原文摘要 · Abstract (English)
Large language models (LLMs) have shown remarkable potential as autonomous agents, particularly in web-based tasks. However, existing LLM web agents heavily rely on expensive proprietary LLM APIs, while open LLMs lack the necessary decision-making capabilities. This paper introduces WebRL, a self-evolving online curriculum reinforcement learning framework designed to train high-performance web agents using open LLMs. WebRL addresses three key challenges in building LLM web agents, including the scarcity of training tasks, sparse feedback signals, and policy distribution drift in online learning. Specifically, WebRL incorporates 1) a self-evolving curriculum that generates new tasks from unsuccessful attempts, 2) a robust outcome-supervised reward model (ORM), and 3) adaptive reinforcement learning strategies to ensure consistent improvements. We apply WebRL to transform open Llama-3.1 and GLM-4 models into proficient web agents. On WebArena-Lite, WebRL improves the success rate of Llama-3.1-8B from 4.8% to 42.4%, and from 6.1% to 43% for GLM-4-9B. These open models significantly surpass the performance of GPT-4-Turbo (17.6%) and GPT-4o (13.9%) and outperform previous state-of-the-art web agents trained on open LLMs (AutoWebGLM, 18.2%). Our findings demonstrate WebRL's effectiveness in bridging the gap between open and proprietary LLM-based web agents, paving the way for more accessible and powerful autonomous web interaction systems.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。