Adapting Web Agents with Synthetic Supervision

Zhaoyang Wang, Yiming Liang, Xuchao Zhang, Qianhui Wu, Siwei Han +7 more
11/8/2025
16 citations
cs.LGcs.AIcs.CL

Official code: aiming-lab/SynthAgent (36 stars, Python, last commit 2026-04-26).

Abstract

Web agents struggle to adapt to new websites due to the scarcity of environment specific tasks and demonstrations. Recent works have explored synthetic data generation to address this challenge, however, they suffer from data quality issues where synthesized tasks contain hallucinations that cannot be executed, and collected trajectories are noisy with redundant or misaligned actions.

Show full abstract

In this paper, we propose SynthAgent, a fully synthetic supervision framework that aims at improving synthetic data quality via dual refinement of both tasks and trajectories. Our approach begins by synthesizing diverse tasks through categorized exploration of web elements, ensuring efficient coverage of the target environment. During trajectory collection, tasks are refined only when conflicts with observations are detected, which mitigates hallucinations while preserving task consistency. After collection, we conduct trajectory refinement with global context to mitigate potential noise or misalignments. Finally, we fine-tune open-source web agents on the refined synthetic data to adapt them to the target environment. Experimental results demonstrate that SynthAgent outperforms existing synthetic data methods, validating the importance of high-quality synthetic supervision. The code is publicly available at https://github.com/aiming-lab/SynthAgent.

View on arXivView PDF

Code Implementations(1)

SynthAgent: Adapting Web Agents with Synthetic Supervision, ACL 2026

361PythonNov 2, 20257 months ago

Similar Papers

Cite this paper

@article{wang2025adapting,
  title  = {Adapting Web Agents with Synthetic Supervision},
  author = {Zhaoyang Wang and Yiming Liang and Xuchao Zhang and Qianhui Wu and Siwei Han and Anson Bastos and Rujia Wang and Chetan Bansal and Baolin Peng and Jianfeng Gao and Saravan Rajmohan and Huaxiu Yao},
  year   = {2025},
  eprint = {2511.06101},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.06101v2}
}

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

Discussion