AgentTrek: Agent Trajectory Synthesis via Guiding Replay with Web Tutorials

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Xu, Yiheng, Lu, Dunjie, Shen, Zhennan, Wang, Junli, Wang, Zekun, Mao, Yuchen, Xiong, Caiming, Yu, Tao
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866915180210814976
author Xu, Yiheng
Lu, Dunjie
Shen, Zhennan
Wang, Junli
Wang, Zekun
Mao, Yuchen
Xiong, Caiming
Yu, Tao
author_facet Xu, Yiheng
Lu, Dunjie
Shen, Zhennan
Wang, Junli
Wang, Zekun
Mao, Yuchen
Xiong, Caiming
Yu, Tao
contents Graphical User Interface (GUI) agents can automate complex tasks across digital environments, but their development is hindered by the scarcity of high-quality trajectory data for training. Existing approaches rely on expensive human annotation, making them unsustainable at scale. We propose AgentTrek, a scalable data synthesis pipeline that generates web agent trajectories by leveraging publicly available tutorials. Our three-stage method: (1) automatically harvests and filters tutorial-like texts from the internet using a specialized classification model, (2) transforms these texts into structured task specifications with step-by-step instructions, and (3) employs a visual-language model (VLM) agent to execute these instructions in real environments, while a VLM-based evaluator verifies trajectory correctness. The synthesized trajectories encompass multiple modalities, including text-based HTML observations with function-calling API actions, and vision-based screenshot observations with pixel-level actions. This multimodal data, enriched with chain-of-thought reasoning, enables agents to achieve state-of-the-art performance on both textual web browsing benchmarks (e.g., WebArena) and visual web grounding and browsing benchmarks (e.g., ScreenSpot Web and Multimodal Mind2Web). Furthermore, our fully automated approach significantly reduces data collection costs, achieving a cost of just $0.55 per high-quality trajectory without human annotators. Our work demonstrates that guided replay using web tutorials is a practical and scalable strategy for training advanced GUI agents, paving the way for more capable and autonomous digital assistants.
format Preprint
id arxiv_https___arxiv_org_abs_2412_09605
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle AgentTrek: Agent Trajectory Synthesis via Guiding Replay with Web Tutorials
Xu, Yiheng
Lu, Dunjie
Shen, Zhennan
Wang, Junli
Wang, Zekun
Mao, Yuchen
Xiong, Caiming
Yu, Tao
Computation and Language
Graphical User Interface (GUI) agents can automate complex tasks across digital environments, but their development is hindered by the scarcity of high-quality trajectory data for training. Existing approaches rely on expensive human annotation, making them unsustainable at scale. We propose AgentTrek, a scalable data synthesis pipeline that generates web agent trajectories by leveraging publicly available tutorials. Our three-stage method: (1) automatically harvests and filters tutorial-like texts from the internet using a specialized classification model, (2) transforms these texts into structured task specifications with step-by-step instructions, and (3) employs a visual-language model (VLM) agent to execute these instructions in real environments, while a VLM-based evaluator verifies trajectory correctness. The synthesized trajectories encompass multiple modalities, including text-based HTML observations with function-calling API actions, and vision-based screenshot observations with pixel-level actions. This multimodal data, enriched with chain-of-thought reasoning, enables agents to achieve state-of-the-art performance on both textual web browsing benchmarks (e.g., WebArena) and visual web grounding and browsing benchmarks (e.g., ScreenSpot Web and Multimodal Mind2Web). Furthermore, our fully automated approach significantly reduces data collection costs, achieving a cost of just $0.55 per high-quality trajectory without human annotators. Our work demonstrates that guided replay using web tutorials is a practical and scalable strategy for training advanced GUI agents, paving the way for more capable and autonomous digital assistants.
title AgentTrek: Agent Trajectory Synthesis via Guiding Replay with Web Tutorials
topic Computation and Language
url https://arxiv.org/abs/2412.09605