AI
Reinforcement Learning System Automates Extraction of Web Data at Scale
Researchers introduce SCRIBES, a framework that learns reusable scripts to extract structured information from HTML tables, lists, and other semi-structured web content without processing each page individually.
Extracting meaningful structured data from the semi-structured content scattered across the web—think HTML tables, lists, and infoboxes—has long been a thorny problem. The formatting obstacles and inconsistencies make it difficult to reliably pull together factual information at scale. Existing solutions either fail to generalize well or demand heavy computational overhead, since they require running language models on every single webpage.
A New Script-Based Approach#
Researchers have developed SCRIBES (SCRIpt-Based Semi-Structured Content Extraction at Web-Scale), a reinforcement learning system designed to tackle this challenge more efficiently. Rather than treating each webpage in isolation, SCRIBES takes a different tack: it learns to generate reusable extraction scripts that can be applied to clusters of structurally similar pages within the same site. By recognizing layout patterns that repeat across a website, the system can build generalizable instructions once and reuse them across many pages.
Training on Real-World Data#
The framework strengthens its performance through iterative training using synthetic annotations derived from actual CommonCrawl data harvested from the wild web. This approach to learning from authentic, large-scale web content helps the system adapt to the messy realities of real-world HTML structures.
Results and Impact#
In testing, SCRIBES outperformed competing approaches by more than 13% when evaluated on script quality. The gains extend downstream as well: when integrated into question-answering tasks with GPT-4o, the system boosted accuracy by over 4%. These improvements demonstrate that the method's resource-efficient design doesn't sacrifice performance—making it practical for extracting information from the vast amounts of semi-structured data available online.

