Large Language Models Can Self-Improve At Web Agent Tasks

Ajay Patel, Markus Hofmarcher, Claudiu Leoveanu-Condrei, Marius-Constantin Dinu, Chris Callison-Burch +1 more
5/30/2024
cs.LGcs.AIcs.CL

No official code found. Best implementation: AjayP13/webdreamer (12 stars, MIT, last commit 2024-08-05).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

AjayP13/webdreamerCommunity100%
MIT

Training LLMs as web agents with synthetic data. πŸ€–πŸŒ

124Shell, PythonMar 22, 20242 years agoMIT

Similar Papers

Cite this paper

@article{patel2024large,
  title  = {Large Language Models Can Self-Improve At Web Agent Tasks},
  author = {Ajay Patel and Markus Hofmarcher and Claudiu Leoveanu-Condrei and Marius-Constantin Dinu and Chris Callison-Burch and Sepp Hochreiter},
  year   = {2024},
  eprint = {2405.20309},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.20309v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.20309.svg)](https://codeofpaper.com/paper/2405.20309)

Discussion