ScribeAgent: Towards Specialized Web Agents Using Production-Scale Workflow Data

Junhong Shen, Atishay Jain, Zedian Xiao, Ishan Amlekar, Mouad Hadji +2 more
11/22/2024
cs.CLcs.AI

No official code found. Best implementation: colonylabs/ScribeAgent (63 stars, last commit 2025-03-03).

Abstract

Large Language Model (LLM) agents are rapidly improving to handle increasingly complex web-based tasks. Most of these agents rely on general-purpose, proprietary models like GPT-4 and focus on designing better prompts to improve their planning abilities. However, general-purpose LLMs are not specifically trained to understand specialized web contexts such as HTML, and they often struggle with long-horizon planning. We explore an alternative approach that fine-tunes open-source LLMs using production-scale workflow data collected from over 250 domains corresponding to 6 billion tokens. This simple yet effective approach shows substantial gains over prompting-based agents on existing benchmarks -- ScribeAgent achieves state-of-the-art direct generation performance on Mind2Web and improves the task success rate by 7.3% over the previous best text-only web agents on WebArena. We further perform detailed ablation studies on various fine-tuning design choices and provide insights into LLM selection, training recipes, context window optimization, and effect of dataset sizes.

View on arXivView PDF

Code Implementations(1)

Code for ScribeAgent paper

635HTML, ShellNov 18, 20241 years ago

Similar Papers

Cite this paper

@article{shen2024scribeagent,
  title  = {ScribeAgent: Towards Specialized Web Agents Using Production-Scale Workflow Data},
  author = {Junhong Shen and Atishay Jain and Zedian Xiao and Ishan Amlekar and Mouad Hadji and Aaron Podolny and Ameet Talwalkar},
  year   = {2024},
  eprint = {2411.15004},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.15004v2}
}

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/2411.15004.svg)](https://codeofpaper.com/paper/2411.15004)

Discussion