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

大型语言模型能够在 Web 智能体任务中自我改进

Large Language Models Can Self-Improve At Web Agent Tasks

University of Pennsylvania(宾夕法尼亚大学);ExtensityAI;Johannes Kepler University Linz(约翰内斯·开普勒大学林茨分校);NXAI

Ajay Patel, Markus Hofmarcher, Claudiu Leoveanu-Condrei, Marius-Constantin Dinu, Chris Callison-Burch, Sepp Hochreiter

AI总结:

本文基于 WebArena 研究 LLM 智能体的自我改进,通过三类合成数据微调使任务完成率提升 31%,并提出更细粒度的评估指标。

摘要:

由于缺乏训练数据,训练模型作为能够在复杂环境(例如 Web 浏览器)中有效导航并执行动作的智能体,通常一直具有挑战性。最近,大型语言模型(LLM)已经展示出一定能力,能够以零样本或少样本方式作为智能体在新颖环境中导航,并且完全由作为提示的自然语言指令引导。近期研究还表明,LLM 有能力通过自我改进,即在模型自身生成的数据上进行微调,来超越其基础性能。在本工作中,我们利用 WebArena 基准,探究 LLM 在复杂环境中的长时程任务上,能够在多大程度上自我改进其作为智能体的性能。在 WebArena 中,智能体必须自主地在网页上导航并执行动作,以实现指定目标。我们探索了在三种不同的合成训练数据混合上进行微调,并通过一种自我改进流程,在 WebArena 基准上使任务完成率相较基础模型提升 31%。此外,我们还贡献了新的评估指标,用于评估经过微调的智能体模型的性能、鲁棒性、能力以及轨迹质量;相比当前用于衡量自我改进的简单、聚合层面的基准分数,这些指标能够在更大程度上完成评估。

英文摘要:

Training models to act as agents that can effectively navigate and perform actions in a complex environment, such as a web browser, has typically been challenging due to lack of training data. Large language models (LLMs) have recently demonstrated some capability to navigate novel environments as agents in a zero-shot or few-shot fashion, purely guided by natural language instructions as prompts. Recent research has also demonstrated LLMs have the capability to exceed their base performance through self-improvement, i.e. fine-tuning on data generated by the model itself. In this work, we explore the extent to which LLMs can self-improve their performance as agents in long-horizon tasks in a complex environment using the WebArena benchmark. In WebArena, an agent must autonomously navigate and perform actions on web pages to achieve a specified objective. We explore fine-tuning on three distinct synthetic training data mixtures and achieve a 31\% improvement in task completion rate over the base model on the WebArena benchmark through a self-improvement procedure. We additionally contribute novel evaluation metrics for assessing the performance, robustness, capabilities, and quality of trajectories of our fine-tuned agent models to a greater degree than simple, aggregate-level benchmark scores currently used to measure self-improvement.

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

↑