AutoData: A Multi-Agent System for Open Web Data Collection

Tianyi Ma, Yiyue Qian, Zheyuan Zhang, Zehong Wang, Xiaoye Qian, Feifan Bai, Yifan Ding, Xuwei Luo, Shinan Zhang, Keerthiram Murugesan, Chuxu Zhang, Yanfang Ye

Introduction

High-quality, domain-specific data is fundamental to modern AI, yet its collection remains a significant bottleneck. Traditional web scrapers are often brittle, requiring constant manual maintenance as website layouts evolve. Conversely, Large Language Model (LLM)-based scrapers, while more adaptable, frequently suffer from "information overload" and prohibitive token costs. Processing raw HTML through LLMs can lead to "hallucinations" and logical errors. AutoData addresses these challenges by introducing a fully automated, end-to-end system for open web data collection that optimizes for accuracy, speed, and cost-effectiveness.

System Architecture and Methods

AutoData utilizes a multi-agent framework coordinated by a Manager Agent. The workload is distributed across two specialized functional units:

  1. Research Squad: Comprising Plan, Web, Tool, and Blueprint agents, this group explores target websites to understand their structure and distills collection logic into a "blueprint."
  2. Development Squad: Consisting of Engineering, Test, and Validation agents, this group translates the blueprint into executable Python code, performs debugging, and verifies the integrity of the collected data.
The AutoData system architecture, featuring the Research and Develop Squads coordinated by a Manager Agent and the OHCache system.

A core innovation of AutoData is the Oriented HyperGraph Cache System (OHCache). Unlike standard broadcast communication, which is noisy and expensive, OHCache employs:

  • Oriented Hyperedges: Messages are routed specifically to relevant agents.
  • Hyperedge Formatter: Standardizes communication into structured, machine-interpretable formats.
  • Local Cache System: Stores bulky HTML files locally, passing only "Cache IDs" between agents to drastically reduce token consumption.

Experimental Setup

The system was evaluated using Instruct2DS (Instruction to DataSet), a novel benchmark designed for live web data collection across three domains: Academic (paper metadata), Finance (S&P 500 trading info), and Sports (NBA/MLB statistics). Additional validation was conducted on the SWDE information extraction benchmarks and the HumanEval coding benchmark.

Key Results

AutoData significantly outperformed general-purpose agents such as Manus and AutoAgent across multiple metrics.

Performance comparison of AutoData against human baselines and other AI agents on the Instruct2DS benchmark.
  • Accuracy: AutoData achieved F1 scores exceeding 90% in all Instruct2DS domains.
  • Efficiency: The system completed tasks in an average of 5.58 minutes, approximately 3x faster than the leading baseline.
  • Cost-Effectiveness: At $0.57 per task, AutoData is significantly more affordable than competitors (e.g., Manus at $2.49).
  • Code Generation: Paired with GPT-4o, it reached a 92.5% Pass@1 on HumanEval, demonstrating high proficiency in code synthesis.

Key Insights

  • Structured Communication: Modeling agent interaction as an oriented hypergraph ensures agents receive only relevant context, reducing cognitive load and error rates.
  • Artifact Management: Using local caches and pointers (Cache IDs) for large HTML files mitigates the "token tax," making large-scale data collection financially viable.
  • Workflow Specialization: Separating research from development mimics human software engineering, resulting in more robust scraping scripts.

Limitations and Future Directions

While effective, AutoData faces challenges with heavy JavaScript-rendered content, login requirements, and anti-bot measures. Currently, the system is text-centric and does not support multimodal data like video or audio. Future work will focus on integrating PII detection and ensuring adherence to website licenses and API quotas to promote responsible automation.

Summary updated

BibTeX
@inproceedings{ma2025autodata,
  author = {Tianyi Ma and Yiyue Qian and Zheyuan Zhang and Zehong Wang and Xiaoye Qian and Feifan Bai and Yifan Ding and Xuwei Luo and Shinan Zhang and Keerthiram Murugesan and Chuxu Zhang and Yanfang Ye},
  title = {{AutoData: A Multi-Agent System for Open Web Data Collection}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=x2Rk0lSQra},
}
Figure