Skip to content

Research / Preprint

  • Category: Preprint
  • research-paper
  • ai-agents
  • self-improvement
  • evaluation

Large Language Models Can Self-Improve At Web Agent Tasks

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

Year
2024
Citations
62
Length
27 pages

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.

Cite this paper

@misc{patel2024large,
  author        = {Patel, Ajay and Hofmarcher, Markus and Leoveanu-Condrei, Claudiu and Dinu, Marius-Constantin and Callison-Burch, Chris and Hochreiter, Sepp},
  title         = {Large Language Models Can {Self-Improve} At Web Agent Tasks},
  howpublished  = {arXiv:2405.20309},
  eprint        = {2405.20309},
  archivePrefix = {arXiv},
  year          = {2024},
  date          = {2024-10-01},
  pagetotal     = {27},
  url           = {https://www.dinu.at/research/large-language-models-can-self-improve-at-web-agent-tasks},
}