English

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

Computation and Language 2024-12-06 v2 Artificial Intelligence

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.

Keywords

Cite

@article{arxiv.2411.15004,
  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},
  journal= {arXiv preprint arXiv:2411.15004},
  year   = {2024}
}
R2 v1 2026-06-28T20:09:06.724Z