---
title: "LLM-Based Web Data Collection for Research Dataset Creation"
description: "The paper tests a way to turn web searches into structured research datasets, with checks for source evidence and a review step for researchers."
canonical: "https://research.elamur.ai/free/en/papers/berkane-2025-llm-based-web-data-collection/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/berkane-2025-llm-based-web-data-collection/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2025](https://md.research.elamur.ai/free/en/papers/2025/) / LLM-Based Web Data Collection for Research Dataset Creation

# LLM-Based Web Data Collection for Research Dataset Creation

Paper · 2025 · Thomas Berkane, Marie-Laure Charpignon and Maimuna S. Majumder

**Authors:** [Thomas Berkane](https://md.research.elamur.ai/free/en/authors/thomas-berkane/), Marie-Laure Charpignon and Maimuna S. Majumder · **Year:** 2025 · **Venue:** Findings of the Association for Computational Linguistics: EMNLP 2025 · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

[Cited by **3** papers in our library of more than 163,000 papers whose bibliographies we read](https://md.research.elamur.ai/free/en/papers/berkane-2025-llm-based-web-data-collection/cited-by/) · Findings of the Association for Computational Linguistics: EMNLP 2025 · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2025.findings-emnlp.674/)
- [PDF](https://aclanthology.org/2025.findings-emnlp.674.pdf)
- [DOI 10.18653/v1/2025.findings-emnlp.674](https://doi.org/10.18653/v1/2025.findings-emnlp.674)

## Summary

Putting together a research dataset from the web can mean reading hundreds of pages for facts that appear only briefly in each source. A news article might give a download count for a public health app, but a researcher studying adoption over time needs other counts, from other dates and places, in a consistent format. Berkane and colleagues present a framework that begins with a plain-language description of the desired dataset and ends with structured records that a researcher can inspect. It automates search, document screening, extraction and preliminary quality checks, while giving users a say in what gets searched, what gets recorded and how questionable entries are handled.

The framework turns a research question into reusable search templates, fills them with categories supplied by the user, and searches Google for each resulting query. It screens pages for relevance and can divide a long date range into shorter search periods or request results for a particular country. It then converts webpages and PDFs to text and extracts the fields specified for the dataset. Each candidate record comes with a short passage from the source. The framework checks that this passage exists in the original text and flags entries that look suspicious in the assembled dataset. A researcher can inspect the evidence, resolve flags and remove duplicates.

The authors evaluate the framework on COVID-19 contact tracing app downloads in selected U.S. states, climate events in Haiti and Cameroon, and police misconduct in Tennessee. On all these tasks, it recovers the largest share of the manually validated reference records and achieves the highest F1 score, a measure that combines coverage and precision. For app downloads, its F1 score is 82.8, compared with 45.2 for ChatGPT Deep Research and 11.5 for Perplexity Deep Research. Some competing tools achieve higher precision by returning fewer records. The component tests show that flagging questionable entries improves F1 on each task and that searching shorter date intervals makes a particularly large difference for the Tennessee records.

The paper also follows a public health researcher through an app-download collection session. The researcher finds the templated searches helpful, but cleaning takes more time than any other reported stage, and the resulting dataset has lower recall than the authors’ experimental run. The climate experiment illustrates another limit: the framework accepted earthquakes attributed to the wrong country by a source. A passage gives the researcher something specific to check, and the source itself can still be wrong. The authors release the implementation in their `web-data-collection` repository.

## Deep dive: LLM-Based Web Data Collection for Research Dataset Creation

The paper tests a way to turn web searches into structured research datasets, with checks for source evidence and a review step for researchers. · about 40 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### From a finding on a page to a record in a dataset

A researcher who needs a single historical download count can search for it, read the surrounding text and decide how to interpret it. Building a dataset adds several obligations. The researcher must search across the same categories consistently, decide when accounts refer to the same observation, and record the result in a form that supports comparison. The work is especially demanding when a useful number is incidental to the purpose of the page that reports it. A local announcement can have exactly the right figure even though its title and main subject concern something else.

The authors distinguish between access to a document and access to the data it contains. Collecting links to reports is a meaningful intermediate result. A dataset still requires decisions about which statements count as observations and which fields each observation needs. A report about a public health app can mention both the date on which it was published and the date to which a count applies. Treating these as interchangeable can put an accurate number in the wrong place in a time series. The task connects [Information retrieval & search](https://md.research.elamur.ai/free/en/topics/information-retrieval/) with [Information extraction](https://md.research.elamur.ai/free/en/concepts/information-extraction/).

This distinction also explains why the authors focus on discovering individual observations. A search for an existing dataset is worthwhile when another organization has already assembled the material. The paper studies problems for which no central repository supplies the desired records. In that setting, the component pieces may be public and the assembled dataset may still take considerable effort to create. The authors give examples of uses for this kind of work, including reconstructing event timelines from news, tracking attention to a topic and aggregating observations for subsequent analysis.

The early Johns Hopkins University COVID-19 dashboard illustrates the pressure that volume can place on collection. The paper describes how its contributors initially drew case and death counts by hand from reports in news and social media. That process became difficult to sustain and moved towards automation. The dashboard is an example of the motivating problem, separate from the app-download task used in the paper’s own evaluation. Both involve finding numerical records across dispersed sources, and the dashboard example shows why automating the search and reading work can matter even when the desired fields are clearly defined.

Changes in access provide a second motivation. The authors point to the closure of CrowdTangle and restrictions on access to the Twitter and Reddit APIs. An API can give researchers a regular way to obtain records from a platform. As those routes narrow, researchers with limited time or funding may have to assemble data more independently. The framework is designed around public web material. Its role in this setting is to reduce the work needed to locate and interpret accessible sources.

#### What earlier collection methods already offered

Manual search gives the researcher direct control over relevance and interpretation. Someone following an emerging event can recognize that a source uses an unexpected place name or that the wording of a report calls for caution. That judgment is hard to sustain over a large search, especially when the same operation has to be repeated for different places or years. The authors treat missed pages, missed observations and recording mistakes as problems of scale as well as judgment.

Web scraping offers a way to collect regular material from known sites. When relevant information occupies predictable parts of a page, software can use that structure to locate it. The paper points out that open-ended research collection often begins before the relevant sites are known. A single task can turn up local news, public agencies and PDF reports. Site-specific extraction logic would have to account for each new source and for changes to familiar sources. That is the difficulty the authors see with relying on conventional scraping for the entire workflow.

Curated collections address some of those problems by gathering and organizing web material in advance. The authors discuss Media Cloud and Google News for news, HealthMap for public health, and specialized services for legal and economic information. These resources can be valuable when their coverage fits a research question. Their subject boundaries, access conditions and collection choices also shape what a researcher can study with them. A search designed for an emerging event may have to reach sources beyond the usual collections before a dedicated dataset becomes available.

The paper also describes how services that use language to interpret a request and synthesize web results have changed what users can obtain from a search. ChatGPT Search and Perplexity can answer with current web material, and deep research services can spend longer exploring sources before producing a report. A report is suited to explaining what the sources collectively say. A research dataset needs more regularity at the level of individual observations, including consistent fields and a way to inspect the evidence for a particular row. The authors treat that as a different deliverable from a synthesized answer. [Large language models](https://md.research.elamur.ai/free/en/concepts/large-language-models/)

Several components of the framework already had precedents in earlier work. Query reformulation changes the wording of a request to make the search more effective. Query variation produces several ways to ask for the same kind of result. Reranking takes candidates returned by an existing search system and scores their relevance again for the task at hand. These approaches address different moments in retrieval. Generating several queries changes which pages may enter the candidate pool. Scoring candidates after the search changes which pages from that pool receive further attention.

The authors also cite previous extraction work, including the use of conversational systems to collect materials data from scientific papers and the use of Crawl4AI to obtain structured information from web content. Their stated concern is that a system may return information that seems factual even when the source fails to support it. They connect their approach to earlier uses of source citations and highlighted passages. A citation locates the document, while a passage directs the reviewer to the evidence that is supposed to justify a particular extraction. [A Survey on Hallucination in Large Language Models](https://md.research.elamur.ai/free/en/papers/huang-2023-survey-hallucination-large-language-models/) · [Self-Verification Improves Few-Shot Clinical Information Extraction](https://md.research.elamur.ai/free/en/papers/gero-2023-self-verification-improves-few-shot/)

The contribution is to connect these kinds of operation around the creation of a dataset. Choices made early in the process affect what becomes possible later. A page that never appears in the search pool cannot contribute a row. A page that passes screening may still lose the decisive sentence during text pruning. A row extracted from the remaining text can look plausible until it is compared with an adjacent observation. The authors give the researcher opportunities to intervene at these points because each one concerns a different judgment about the data.

### The method, step by step

The workflow begins with the user describing what they want to collect. That description supplies the subject of the search and the meaning of the records expected at the end. A separate file supplies the categories across which collection should take place. The framework uses this specification to propose both the wording of searches and the structure of the output. The researcher can inspect those proposals before the costlier work of searching and extracting begins.

From dataset specification to reviewed records The steps in order.

#### Describe what should vary across searches

The authors use a CSV file, a text format for tabular data, to tell the framework what to substitute into a search. The header names the placeholders. The values under those headings are the terms that can fill them. A placeholder is a named slot in a search expression, written between braces. The description can say what constitutes the desired dataset, while the CSV makes explicit which countries, applications or other categories the search should cover.

The distinction is easiest to see in the app-download task. The field `state_and_app_name` holds paired labels such as Alabama GuideSafe and Arizona Covid Watch. The paired label keeps the app name associated with the state when the template expands. A query can use that label alongside terms about app adoption or download totals. The question behind the search stays the same when the state and app change. The place and program named in the query change together.

For a template with several placeholders, the framework constructs queries using every combination of their values. A climate search can therefore pair a place with an event type and repeat the same phrasing for other combinations. This is useful when a dataset is meant to cover a common set of categories across countries. It also means the user’s choice of placeholders matters to the search scope. A joint placeholder represents combinations already selected by the user. Separate placeholders ask the system to expand the sets of terms across one another.

Claude 3.7 Sonnet receives the dataset description and the CSV header to generate the templates. The requested output is a JSON array of search expressions. JSON is a structured format that allows the program to read each expression separately and fill the placeholders mechanically. The user can check that every template is usable with the supplied values and that the expressions would plausibly appear in searches for an individual observation.

The prompt asks for short, direct queries aimed at pages that contain a useful piece of evidence or a small group of observations. The authors avoid using the request as an opportunity for elaborate wording. Their experience while developing the method was that simple Google queries worked better for finding these pages. The procedure gives the wording generator discretion over search phrasing and leaves the research scope visible in the description and CSV. The authors discuss their choice of plain instructions in connection with [ExpertPrompting](https://md.research.elamur.ai/free/en/papers/xu-2023-expertprompting-instructing-large-language-models/).

This stage produces a set of concrete searches that can be inspected. The researcher can see whether a template has drifted towards finding general background or an already compiled table. They can also see whether the wording presupposes a term that relevant sources might omit. A defect here can affect an entire category of searches once the template is expanded. Reviewing a reusable expression therefore serves a different purpose from inspecting the results of a single query.

#### Search, deduplicate and screen the candidates

After the user approves the templates, the framework substitutes the values and submits the resulting queries to Google. It uses Selenium to collect the titles and URLs from search-result pages. The paper describes a default maximum of five results pages per query, based on the authors’ observation that the return from additional pages falls off quickly. Users can change the depth. Requesting more results gives weaker-ranked pages a chance to enter the pool and increases the number of candidates to examine.

The system removes duplicate URLs. This is useful because different phrasings or category combinations can lead to the same document. URL deduplication happens before the framework knows what each document says. Duplicate records are a separate problem later. The same download total, for example, can appear in separate articles at different addresses. Removing repeated addresses reduces redundant document processing while leaving those separate reports available.

The framework can request an optional date range using Google’s date filters. When filtering is enabled, it also searches without the filter so that pages without usable date metadata can still surface. The search filter concerns dates available to the search engine. The intended date field in a dataset may refer to an event described within the document. Retaining an unrestricted route into the candidate pool is especially pertinent when a later account contains an observation from the period of interest.

Google’s own ordering determines the candidates the framework can initially see. The authors point to factors such as site authority, personalization and search engine optimization as reasons this order may differ from what a dataset builder wants. To screen the candidates, the framework uses an existing reranker to score each result title against the query that found it. The score ranges from 0 to 1. A result is kept when its score exceeds a threshold that the user can change. The default threshold is 0.2.

At this stage, the reranker has the title and query as its basis for judgment. It can assign a high score to a result whose title closely matches the topic, even if the document ultimately lacks a usable record. A result that reports a useful number in passing can receive a lower score if its title is about something broader. The threshold controls how much of that uncertainty is carried into the extraction stage. More permissive screening makes extraction responsible for resolving more weak candidates.

The optional snowball step extends discovery beyond the initial results. Snowball sampling here means following links on relevant pages to see whether those pages point to additional sources. The framework uses Crawl4AI to collect the links, checks their relevance against the original query and adds qualifying candidates to the pool. The authors emphasize PDFs as a use case. A relevant webpage may serve mainly as the route to a linked document that actually contains the observation. The authors describe repeating this link-following process as a possibility.

The title filter and snowball step thus operate on different sources of evidence about a document. The search engine identifies pages that look pertinent from its index and ranking. A link supplies an additional route from a page already deemed pertinent. The framework applies a relevance decision to the newly discovered links as well. Finding a document through a source with an appropriate topic leaves open whether the linked material contains a usable observation.

#### Adjust the date and location of retrieval

The paper treats recency bias as a property of which pages surface. Google can give recently updated pages greater prominence. That matters when the goal is to reconstruct events far enough into the past that newer pages dominate a search across the whole study period. Increasing search depth and dividing the date range address this problem in different ways. Greater depth asks for more of the same result list. Dividing the range creates a separate result list for each interval.

The authors call their approach time-chunking. For a date range longer than one year, the optional procedure divides the range into equal intervals, each at most one year long, and runs date-filtered searches for the intervals. The authors chose the maximum interval empirically after observing that retrieval rates were relatively stable within a year and began to fall for longer spans. Reserving a search for each interval gives earlier material an opportunity to appear among the returned results for that interval.

Geolocation changes the location associated with a query. Google offers a `gl` parameter, which the framework sets when the user specifies a country. Without a specified country, the framework defaults to the user’s location. According to the authors, searching from the country of interest can increase the prominence of local outlets and other relevant organizations. This is especially pertinent when the people searching and the events they are studying are in different countries.

The date and location switches act before extraction. They change the candidate sources that can be inspected. The text attached to a resulting record still has to identify the relevant time and place. A result retrieved through a Cameroon setting can describe another country, just as a result found in a date interval can discuss events outside that interval. In the workflow these settings guide discovery, and the source text supplies the evidence about the record.

#### Decide what a record will contain

The schema is the contract for the records the framework will produce. It names the fields, tells the extractor what each one means and specifies the kind of value it expects. The framework prompts Claude 3.7 Sonnet to generate a Pydantic schema from the dataset description and the CSV headings. Pydantic provides the structured field definitions used to represent the extracted records. The prompt asks for an integer, a string or a Boolean value for each field, depending on its purpose, and for a description of every field. Dates use the specified `YYYY-MM-DD` format.

The schema includes a field for each placeholder as a way of recording the categories to which an observation belongs. It also includes fields inferred from the description. For case counts, for example, the categories might be country and year, while the measured quantity is the count. A date field and a short supporting text span are part of the general schema procedure. The categories explain where the observation belongs in the intended dataset, and the supporting span is there so the researcher can inspect its source evidence.

A schema also gives the researcher a chance to make distinctions that are less important during search. A state and app name can work well together in a query, where naming the program helps locate reports. The researcher in the case study preferred to keep only the state as the corresponding output field because the app could be inferred. Search terms and analysis fields serve different purposes. A researcher can keep a useful identifier in the retrieval input while simplifying the eventual record.

This stage specifies form as well as meaning. A raw download count can be represented as an integer, but the field type alone cannot determine whether a number found in the source refers to downloads, active users or a percentage of residents. The field description and extraction instructions do that work. The framework allows the researcher to add instructions at extraction time, including restrictions about which observations to include. The opportunity to edit the schema comes before those instructions are applied to the documents.

#### Prepare documents and extract the observations

Crawl4AI converts webpages to Markdown, a text representation that retains basic document structure. The framework removes hyperlinks from the resulting text. For PDFs it uses Mistral OCR to obtain Markdown, bringing both source formats into a common representation for subsequent processing. Link discovery and text preparation have different purposes in this design. The links can lead the system to additional documents, while the extraction step works on the prepared content of documents already selected.

Pages often expend much of their text on subjects that are immaterial to the search, including navigation and other surrounding material. The system divides a document into chunks, truncates oversized chunks and scores the chunks against the original search query. In the standard configuration it retains those above the 90th percentile. A percentile threshold is relative to the score distribution being used to screen text. The intention is to send the most promising parts of a document for extraction while reducing the amount of text processed.

Dates get a separate opportunity to survive pruning. Publication information can appear in a short block that has little textual similarity to the topic of the query. The framework keeps any chunk whose relevance to the word `date` exceeds 0.2, regardless of how well it scores against the search query. That preserves some potentially important temporal context. The extraction still needs to decide which date, if any, belongs to the observation under the field definition.

The page filter and the chunk filter solve related problems at different scales. Page screening decides whether to spend effort processing a document. Chunk screening decides what part of a retained document is shown for extraction. A page can pass the first filter and still lose the material a researcher wanted if the relevant chunk falls below the second threshold. The authors make the chunk percentile adjustable, so the user can decide how aggressively to narrow the material before extraction.

After pruning, Crawl4AI uses Claude 3.7 Sonnet to extract the relevant observations and represent them as JSON under the schema. A document can yield several observations if it contains evidence for several rows. The source passage travels with the row, allowing checks at the level of an individual claim even when other claims came from the same document. The output is data in specified fields that can be assembled across sources.

The workflow calls on Claude at several points, each with different inputs and a different requested output. Generating search templates uses the description and placeholder names. Defining the schema uses the description and field requirements. Extraction uses document text and that schema. Quality control subsequently uses the assembled dataset. The paper reports these as prompting and processing steps. The description, structured inputs, adjustable settings and prompts specify how the existing services are used for a particular collection.

#### Check the evidence and inspect the assembled dataset

The first quality check is called source grounding. The framework looks for the returned supporting passage in the original page text and retains records whose passage can be found there. This checks a concrete claim made by the extraction system about its own evidence. If it supplied a passage that it invented or altered enough that it cannot be found, the record fails the check. A researcher reviewing a retained record can locate the words on which it was based.

A second check considers the dataset as a whole. The framework sends the collected rows in CSV form, together with the description of the desired dataset, for a quality review. The prompt asks for a separate response for each row, identified by its index. An index is the row identifier used to connect the response back to the record. The result is either a brief account of a suspicious feature or an indication that the review found no issue. The check proposes problems for attention and leaves the rows for the user to assess.

Looking at a whole dataset makes some defects visible that would be hard to recognize page by page. Several articles may repeat a count, producing rows that appear to represent separate observations until they are compared. Cumulative totals may fall over time, which can draw attention to a date mismatch, a change in what was counted or another inconsistency worth inspecting. A flag provides a reason to examine the row in relation to its source and its neighbors. A researcher decides whether the inconsistency is an error, a legitimate feature of the data or a question requiring more evidence.

The grounding check and dataset review therefore test different properties. Grounding tests whether an evidence passage can be located. Quality control looks for reasons an extracted row may be questionable. Source accuracy and the interpretation of its statements require further judgment. The case study and the climate results show how these layers can separate in practice.

### Experiments and results

#### Three collection tasks with different kinds of records

The authors choose tasks with distinct subject matter and with no central collection for the requested data. Together they require the framework to recover numerical observations, dates for events and descriptions of individual incidents. The differences matter for evaluation because the same notion of a match can be appropriate for one kind of record and overly strict or permissive for another.

The app-download task seeks reported totals for COVID-19 contact tracing apps in U.S. states from 2020 to 2022. The authors restrict the evaluation to the first five states in alphabetical order because of computing limits. They search for Alabama GuideSafe, Arizona Covid Watch, California Covid Notify, Colorado Exposure Notifications and Connecticut Covid Alert. The measured quantity is the app’s download count at a specified time. A report about the existence or launch of an app is only a potential lead unless it also helps establish the desired observation.

The climate task concerns events in Haiti and Cameroon from 2021 to 2023. The input categories are country and event type, with earthquake, flood and drought as the event types. Here the objective is to identify an occurrence and place it in a timeline. The evaluation can use the day to distinguish earthquakes, while droughts are treated at the level of a year. The framework needs to find material across the specified categories, after which the matching rules define how precisely an occurrence must be located in time.

The police misconduct task covers incidents and their types in Tennessee from 2015 to 2024. The paper lists no search placeholders for this task. It asks for cases within a defined jurisdiction and period, with the identity of the incident established by details such as the officer, timing and type of misconduct. The long study period makes this task particularly informative about the difference between searching the full period and allocating searches to shorter stretches of time.

The framework uses 3 query templates on each task. For app downloads, the experimental configuration collects 5 results pages per query and uses a page relevance threshold of 0.1. The date filtering range is 2020-01—2022-12, geolocation is set to the U.S., and snowball sampling is off. For climate events, it collects 3 results pages per query and uses a threshold of 0.4 over 2021-01—2023-12. The configuration specifies Haiti and Cameroon for geolocation and leaves snowball sampling off. For police misconduct, it collects 2 results pages per query, uses a threshold of 0.3 and filters for 2015-01—2024-12. It sets geolocation to the U.S. and enables snowball sampling.

The authors say computing limits shaped the choice of search depth, template count and relevance cutoffs. The settings show that the framework was evaluated as a configurable workflow. A comparison across tasks reflects the different sources, target records and settings together. The controlled comparisons later in the paper are more informative when asking what an individual feature contributed.

#### How a reference dataset was built

An experiment needs an answer to the question of which records count as correct. For these tasks, a preexisting list would have undermined the reason for collecting data from scratch. The researchers instead combine observations found by the automated systems with observations from manual search. They validate the records by hand and merge them into a reference for each task, removing duplicate entries and entries without required fields. An event without a recoverable occurrence date, for example, would leave a gap in a timeline.

For every task, the manual search runs 10 queries on Google and reviews the first 10 result pages returned by each one. It contributes to a pool that also includes outputs from the authors’ framework, ChatGPT Search, ChatGPT Deep Research and Perplexity Deep Research. The authors report that the framework found 4 app-download records, 5 climate-event records and 4 police-misconduct records missed by the manual search. Human discovery is therefore one route into the reference alongside the systems being evaluated.

Pooling credits a method for a genuine observation even when every other contributor missed it. It also defines the scope of recall in the experiment. The reference includes the validated observations that the study’s discovery processes turned up. A record missed by all of them is outside that accounting. The authors say each reference contains fewer than 100 entries, making manual matching feasible. They describe the union as a way to get as much coverage as possible within the evaluation.

The comparison uses Perplexity Deep Research, ChatGPT-4o Search, and ChatGPT-4o Deep Research as its baselines. Each is run once per task. The systems receive the same dataset descriptions and the same placeholder names and values, with the baseline prompt asking for each record’s date and other required fields. The baseline responses come back as reports. The researchers parse them manually to put their observations into a form that can be compared with the reference. The authors’ framework already outputs structured records.

The paper excludes conventional scraping systems from this benchmark. Its argument is that writing extractors around known website layouts addresses a different task from discovering unknown sources across the open web. The comparison consequently concerns tools capable of working from a description and searching across sources. The manual search has a role in building the reference, and the separate user evaluation is where the authors set out to compare a researcher using the framework with a researcher using Google.

#### What counts as a correct record

Matching is manual and specific to each task. App-download records match when the state and download count agree and the dates fall within a one-week window. This can accommodate two sources publishing the same total on nearby dates. Earthquake records match on country and exact day. Floods match on country and dates within one week. Droughts are matched by country and year. Police misconduct records are matched by incident using the officer, time and type of misconduct.

These rules define the unit of credit. For example, the flood comparison can treat reports published around the same occurrence as evidence for the same event even when they describe its timing differently within the permitted window. Applying the earthquake rule to a drought would impose a level of temporal precision that the authors consider inappropriate to that record type. Domain judgments enter both the definition of the output fields and the decision that an output corresponds to an existing reference entry.

Before scoring, the researchers remove duplicate observations and exclude material outside the specified place or period. They review both flagged and unflagged extractions. They also recognize some entries as correct when a user could readily repair the issue. A date missing from the output can qualify if checking the source can recover it. An erroneous date supplied as fact is treated differently. The paper applies the readily fixable criterion to the baselines as well and says a framework extraction mistake that escaped its quality-control flag is counted as incorrect.

This protocol makes the scores measures of collectable records with a defined amount of human review. They include the value of finding a usable source even when an easily supplied field is missing. They also depend on the reviewer distinguishing simple repairs from wrong content. The matching rules give that decision a basis in each task, and judging the evidence remains part of the comparison.

Recall measures how much of the reference dataset a method recovers. Precision measures how much of its scored output qualifies as correct. Taking the harmonic mean of recall and precision yields F1, a combined score that drops when either measure is weak. A tool can be very precise by returning only the easiest observations. Its recall shows how much of the reference is left to find. The reported combination makes coverage particularly relevant to interpreting the comparison.

#### App downloads

The framework reaches recall of 75.0, precision of 92.3 and F1 of 82.8 on app downloads. ChatGPT Deep Research reaches recall of 29.2 and precision of 100.0, with F1 of 45.2. ChatGPT Search has recall of 6.3, precision of 100.0 and F1 of 11.8. Perplexity Deep Research also has recall of 6.3, with precision of 75.0 and F1 of 11.5. Among the baselines, ChatGPT Deep Research gives the strongest combination of coverage and precision.

F1 score by system on COVID-19 app downloads The framework achieves the highest F1 score.

**The numbers**

| System or setting | F1 score |
| --- | --- |
| ChatGPT Search | 11.8 |
| ChatGPT Deep Research | 45.2 |
| Perplexity Deep Research | 11.5 |
| Authors’ framework (this paper) | 82.8 |

The paper reports F1 advantages of 37.6 percentage points over ChatGPT Deep Research and 71.3 percentage points over Perplexity Deep Research for this task. The precision scores show the trade involved in the larger collection. Both ChatGPT tools return outputs with precision of 100.0 under this task’s scoring rules. The authors’ framework brings in a substantially larger share of the reference, alongside some entries that fail validation. F1 rewards the extra coverage while accounting for those errors.

This is a case where looking at the quality of individual answers could lead to a different impression from looking at the needs of a dataset builder. A search answer can contain only correct facts and leave most known observations undiscovered. The dataset is meant to support comparisons across states and dates. Missing observations affect what those comparisons can cover. The high precision of a short return and the relatively broad coverage of the framework are both observable properties of the results.

#### Climate events

For climate events, the framework records recall of 73.6, precision of 75.0 and F1 of 74.3. ChatGPT Deep Research reaches 30.2 recall, 88.9 precision and 45.1 F1. Perplexity Deep Research records 11.3 recall, 100.0 precision and 20.3 F1. ChatGPT Search reaches 5.7 recall, 100.0 precision and 10.7 F1. The framework again retrieves the largest share of the reference, and its precision is the lowest among the methods on this task.

F1 score by system on the Haiti and Cameroon climate events task The framework leads on F1 for the climate event timelines.

**The numbers**

| System or setting | F1 score |
| --- | --- |
| ChatGPT Search | 10.7 |
| Perplexity Deep Research | 20.3 |
| ChatGPT Deep Research | 45.1 |
| Authors’ framework (this paper) | 74.3 |

The authors trace some of the framework’s errors to a website that assigned earthquakes to Cameroon incorrectly. The extracted content inherited the source’s geographical mistake, and the record review did not flag it. Manual inspection later identified the problem. This failure identifies a limit in what the retrieval and extraction pipeline can establish. Finding a page through a relevant query, recording the statement accurately and locating its supporting passage can all succeed while the observation remains wrong.

This example also shows why precision and source traceability are different measures. Traceability gives a reviewer the means to investigate the error. Precision counts the consequences of the error in the scored output. A system can do well at preserving the path back to a source and still return questionable rows if a source’s statements are accepted without adequate scrutiny. In this task, checking the association between an event and a country was material to the final evaluation.

#### Police misconduct

On police misconduct, the framework achieves 78.2 recall, 93.5 precision and 85.2 F1. ChatGPT Deep Research reaches 30.9 recall, 100.0 precision and 47.2 F1. Perplexity Deep Research records 12.7 recall, 100.0 precision and 22.6 F1. ChatGPT Search reaches 7.3 recall, 80.0 precision and 13.3 F1. The authors’ system recovers a larger share of the validated incidents while retaining high precision.

F1 score by system on the Tennessee police misconduct task The framework achieves the highest F1 score for finding and characterizing incidents.

**The numbers**

| System or setting | F1 score |
| --- | --- |
| ChatGPT Search | 13.3 |
| Perplexity Deep Research | 22.6 |
| ChatGPT Deep Research | 47.2 |
| Authors’ framework (this paper) | 85.2 |

ChatGPT Deep Research ranks behind the framework by F1 in every task. Perplexity Deep Research places ahead of ChatGPT Search on climate events and misconduct. The app-download results reverse those two baselines, with 11.8 for ChatGPT Search and 11.5 for Perplexity Deep Research. The exact task results therefore qualify the paper’s broad description of the ordering below the leading systems.

The authors attribute part of ChatGPT Search’s low recall to the limited set of search results it can handle in a response. A short search answer has little opportunity to assemble evidence from the many pages required by these tasks. The framework breaks the work into separate searches and extraction calls. The benchmark establishes how the systems performed under the given prompts. The paper treats the search context as an explanation for part of the outcome, and the reported comparison does not vary context size independently.

Across the tasks, the authors identify incorrect dates as the most frequent extraction mistake. They also observe more duplicates in the framework’s output, particularly for widely reported events. The same observation in separate sources can help a researcher check it, and the sources can also create several rows for a single event. Since duplicates are removed for scoring, the F1 results leave that cleaning work outside the measure. The per-task reports therefore describe both the recovery of new observations and the need to reconcile repeated evidence.

#### Processing costs

Extraction through the Anthropic API accounts for most of the framework cost reported in the paper. The authors give roughly $0.023 as the average extraction cost for a single webpage and describe query generation, schema generation, PDF conversion and quality control as small additions in their setup. Those expenses concern the processing services. Researcher time is measured separately in the user evaluation.

The app-download experiment reports 816 pages processed, a total cost of $5.19 and an average of $0.14 per data point. The climate experiment reports 766 pages, $5.07 in total and $0.13 per data point. The police misconduct experiment reports 783 pages, $6.12 in total and $0.14 per data point. As the method screens pages before extraction, a large retrieval count can include material that never reaches the paid extraction stage. These figures are the processing costs reported for the experimental configurations.

The cost per data point covers a different practical question from F1. A researcher can use F1 to see how much of the known material was collected and how dependable the scored output was. The cost figures indicate what the authors paid to run the processing stages for those tasks. Cleaning remains a separate use of time, and the user study offers an example of how much work can remain between automated output and a usable dataset.

#### What happened when a researcher used the workflow

The case study follows a PhD-level public health researcher collecting contact tracing app data for the same five state and app pairs and a target period of 2020–2022. The interface guides the user through the stages with brief explanations. After providing the description and values for the placeholders, the researcher uses the three query templates provided by default. The generated searches use variations on terms for COVID apps, contact tracing and exposure notifications. Each expression can be reused for all the state and app labels.

For retrieval, the researcher selects U.S. geolocation, enables time-chunking, configures five result pages per query and sets the page relevance threshold to 0.2. The case study reports 816 pages retrieved and 153 passing that threshold. The peer-reviewed comparison uses a lower threshold of 0.1 for the experimental app-download configuration. The difference is consequential because the threshold determines what the extraction stage can inspect.

The user simplifies the generated schema by retaining the state in its first field, given that the corresponding app can be inferred. The extraction is then run without additional user instructions and returns 74 candidate observations. Some counts are duplicates. Other entries pose interpretation problems, such as a source expressing adoption as a percentage when the dataset needs a raw count. A missing date can sometimes be recovered by opening a collapsed YouTube description that the extraction did not access. These examples require different remedies, even when they are all summarized as rows in need of cleaning.

After reviewing and cleaning the output, the researcher has 27 validated data points. The paper shows them as time series by state. Against the experimental app-download reference, the case-study dataset has 61.4 recall, 84.4 precision and 71.1 F1. The authors attribute the gap from their own experimental outcome mainly to the higher relevance threshold and to manual errors during cleaning. This session brings both decisions into view. The researcher chooses what enters the automated extraction, and later judgments determine which records survive into the dataset.

The reported times also distinguish system latency from hands-on work. Query generation takes about 1 minute, retrieval involves 4 minutes waiting for the search results to be collected, and extraction involves 12 minutes of waiting. Manual cleaning takes 31 minutes after the automated review. The researcher finds templating helpful for repetitive search and values discovering information from other states. The main difficulties are choosing parameters, reviewing many entries, dealing with duplicates and interpreting some of the flags.

The paper also describes a comparison between two groups of 10 participants on the app-download task. One group uses the framework and the other does manual Google search. The protocol records total elapsed time in both groups, active working time for the framework group, and recall, precision and F1 for both. The authors say the results are pending institutional review. The completed case study shows how one researcher worked with the interface, while the paper supplies the design of the group comparison without its outcome.

### What the ablations show

#### Turning on one feature at a time

An ablation changes a component of a system to test what that component contributes. Here the authors start with a raw framework and enable individual features while leaving the other tested features off. They examine source grounding, quality-control flags, time-chunking and geolocation. Each variant is compared with the raw run for the same task. This makes the experiment easier to interpret as a series of individual additions. It leaves the interactions among jointly enabled features for the full system comparison.

The raw framework already has useful capabilities. It can generate searches, retrieve pages and extract structured content. The ablation therefore asks what additional safeguards and search settings contribute to an existing collection process. The answer depends on where the raw process falls short in a particular task. A search that seldom surfaces older pages has a different bottleneck from a search that retrieves useful texts and occasionally produces an unsupported entry.

#### Grounding mostly affects what survives extraction

With Claude 3.7 Sonnet used for extraction, grounding changes the climate result by removing a hallucinated observation. Climate recall stays at 64.2, precision rises from 68.0 to 69.4, and F1 goes from 66.0 to 66.7. For app downloads, the grounding variant has the same recall of 70.8, precision of 89.5 and F1 of 79.1 as the raw framework. Police misconduct also shows the same recall of 14.5, precision of 61.5 and F1 of 23.5 with grounding alone.

That pattern fits what the component is designed to detect. Looking for a supporting passage removes a row when the passage cannot be found. It cannot recover records on pages that failed retrieval. It also cannot resolve every form of extraction or source error. A small change in the primary ablation means that few outputs in these runs were removed in a way reflected by the task scores.

The authors separately test the same check with GPT-4.1-nano, which they use as a cheaper extraction option that they expect to be more prone to unsupported output. The grounding check removes 8.5% of extracted records on app downloads, 11.4% on climate events and 12.2% on police misconduct. These percentages measure the extracted records removed for inadequate grounding. They show how frequently this filter fired in the additional experiment. The paper does not give paired final precision and recall for that comparison, so the figures cannot establish how correctly the filter separated valid and invalid records overall.

The two experiments together show that the frequency of grounding failures depends on the extractor. They also establish a practical distinction between the automatic test and the audit information. Even when a passage check removes few rows, retaining an identifiable span gives the human reviewer a specific piece of evidence to inspect. The erroneous earthquake attributions show the continuing need to assess what the span supports and whether the source is credible.

#### Quality-control flags improve the scored output

Enabling the quality-control review alone raises F1 on every task. For app downloads, recall goes from 70.8 to 75.0, precision from 89.5 to 92.3, and F1 from 79.1 to 82.8. For climate events, recall goes from 64.2 to 67.9, precision from 68.0 to 73.5, and F1 from 66.0 to 70.6. For police misconduct, recall remains at 14.5, precision goes from 61.5 to 88.9, and F1 goes from 23.5 to 25.0.

The improvement is evaluated under a rule that gives credit for some recoverable records when a reviewer can make a straightforward fix. The component itself returns flags. It helps identify an issue and can direct attention to a row with evidence that would otherwise be harder to use. The score measures that contribution in the review protocol. The case study’s unclear flags and missed errors show why a change in F1 tells only part of the story about the reviewer’s effort.

The misconduct result illustrates another constraint. Higher precision under quality control coexists with very low recall when the raw searches have retrieved few relevant historical sources. An assembled dataset can be better screened without becoming much more complete. To recover the missing observations, the system needs an intervention earlier in the pipeline, where the candidate source pool is formed.

#### Time-chunking changes historical coverage

The largest change attributed to an individual feature is on police misconduct. With time-chunking, recall rises from 14.5 to 78.2, precision from 61.5 to 86.0, and F1 from 23.5 to 81.9. The authors connect this to the task’s 10-year span. Searching dates in separate blocks lets historical pages surface in the result lists for their own periods. The comparison provides strong evidence for the importance of that setting in this collection.

For app downloads, adding time-chunking alone keeps the raw scores at 70.8 recall, 89.5 precision and 79.1 F1. For climate events, the time-chunked variant has 66.0 recall, 68.6 precision and 67.3 F1, compared with raw scores of 64.2, 68.0 and 66.0. The value of the feature thus varies across the tasks tested. The longer historical search is the case where separate date intervals make the clearest difference.

In the misconduct ablation, recall with time-chunking is 78.2, the same as recall for the full framework. Precision is 86.0 with that feature alone and 93.5 for the full configuration. This suggests that finding the relevant historical sources accounts for much of the recovery seen on that task. The remaining precision difference belongs to the comparison between the time-chunking variant and the full configuration. The experiment does not assign the difference to a particular combination of the other features.

#### Geolocation matters most in the cross-country task

The geolocation variant changes the climate results from 64.2 recall, 68.0 precision and 66.0 F1 in the raw run to 69.8 recall, 71.2 precision and 70.5 F1. The app-download and misconduct scores stay at their respective raw levels. That pattern is consistent with a change in source mix being more consequential for the task involving Haiti and Cameroon than for the tasks centered on the U.S.

The paper’s description of the location contrast is ambiguous. The main experiment specifies Haiti and Cameroon as the climate geolocations, and the discussion credits geolocation with retrieving more relevant local sources. The ablation discussion also describes the condition in terms of always querying from the U.S. The table identifies the climate improvement associated with the geolocation variant. The prose leaves the direction of the exact location comparison unclear.

Taken together, the controlled changes relate particular kinds of failure to particular stages of collection. The historical search addresses records that never reach extraction. Grounding removes some claims when the returned evidence cannot be located. Quality-control review draws attention to questionable rows that have already entered the dataset. Geolocation can change the sources to which all those later checks are applied. The experiments show where those changes had an effect under the study’s conditions.

### Limitations

#### Limits the authors identify

The authors state that the framework cannot collect content behind access restrictions such as paywalls. Its accessible sources are also subject to change. A page can be edited or deleted after the dataset is made, which may prevent a subsequent reviewer from seeing the same evidence. The authors propose integrating historical access through the Wayback Machine. In the reported work, a stored passage and source address support auditing when the underlying material is still available in a form that can be checked.

Search is another source of incompleteness. A relevant document may fall beyond the retrieved pages or outside the search engine’s coverage. It may be returned and then fail the relevance filter. The authors recommend manual supplementary searches when coverage is particularly important. They also say Google’s personalization continues to affect reproducibility in spite of the recency and geography options. The settings can change how the framework requests search results, while the search engine retains control of the results it makes available.

The current processing scope is text on webpages and in PDF documents. The authors name images and videos as important sources for future support. The case study shows that a gap can arise even when useful information exists as text on a site associated with video. A description hidden behind an interface control may escape automated extraction, leaving the user to open the material and inspect it by hand. The paper proposes improving the framework’s ability to reveal such information.

The user study identifies several sources of friction. The appropriate relevance threshold can be hard to judge without experience. Duplicate entries require decisions about which observations already have a corresponding row. Some quality-control flags are unclear or spurious, even as other problems escape review. The authors discuss better duplicate detection, assistance with conversions and improved flagging as possible developments. They also identify automatic selection of bias settings and automatic matching against reference datasets as future work.

The paper situates the design within ethical and legal constraints on web scraping. It describes collecting public material, limiting request rates, and extracting short snippets to accompany records. It also notes that publicly accessible content can include sensitive personal information. The reported system has no automated detection or anonymization for that problem. The authors place responsibility for the intended use of the extracted material and applicable safeguards with the researcher.

#### Limits apparent in the evaluation

The strongest coverage result concerns recall against a pooled reference, whose contents are the manually validated observations found during the study. The construction suits a task with no definitive list, but it makes the coverage statement conditional on that pool. Sources missed by every discovery route are missing from the denominator. A high score shows that the framework found much of the known material under the study’s definition of a record. Estimating the amount of undiscovered material would require evidence beyond the reference assembled here.

The tested methods also help create the reference against which they are scored. This is a way to credit unique correct findings. It means the reference is partly determined by the systems and search procedures chosen for the experiment. A different set of discovery routes could contribute additional validated records and change what counts as broad coverage. The manual search enlarges the pool while sharing the basic dependence on what Google queries can surface.

The runs use fixed descriptions and values, but each system is run once on each task. The design does not establish how variable the scores would be across repeated searches or extractions. Pagination, relevance thresholds and link following also differ across the tasks. The ablation isolates specified features within a task. The main results provide less leverage for explaining differences between domains, where the input material, date spans, matching rules and parameter choices all vary.

The evaluation criteria suit the particular datasets. A nearby date can be a valid match for a download total, and a drought can match by year. Those conventions have different consequences from requiring an exact day for an earthquake. The task-level figures therefore measure well-defined outcomes within each problem. A common metric name does not make every mismatch equivalent in a subsequent use of the data. In particular, a date accepted within the evaluation window may still require investigation if a later analysis needs a more precise timeline.

The scoring protocol incorporates human interpretation even for the automated baselines. Researchers convert reports to structured observations, exclude duplicate and off-scope records, decide which problems are easily fixable, and manually match the outputs against the reference. The resulting precision and recall describe records evaluated with those allowances. They leave out some burdens a researcher may care about, including the time taken to format a report, remove repeated observations or inspect an unclear flag.

Source grounding has an additional evidential boundary. The check establishes that a proposed passage appears in the page. It does not test the whole chain from the truth of the page’s claim to the interpretation of every extracted field. For example, the support could mention several dates, and the extraction could select the wrong one. The climate results expose the related problem of a source asserting the wrong location in the first place. Establishing that an event happened where reported requires a judgment beyond locating the statement.

The breadth of the comparison is limited to the specified topics and sources. These experiments use app download counts, climate timelines and misconduct cases. The topics differ, but all can be assembled from the particular webpages and PDFs accessible to the workflow. The app-download sample is also restricted to selected states. The experiments make a case for the workflow on these collection problems and leave its behavior on other source environments and dataset definitions open.

The case study records both automation and human effort, but it follows a single researcher and does not provide a parallel manual result for that individual. The group study could address comparative efficiency with a separate manual-search condition. Its reported protocol comes without the outcomes. The available user evidence shows where time went and where choices affected coverage. A general estimate of researcher time saved would require the comparative measurements.

### What came after

The later citations connect the paper to work on validating web data, constructing a benchmark for a particular language and surveying search agents. The relationship is most direct when a subsequent work names a problem that the original framework leaves open. A citation establishes that the later authors refer to the paper. The extent to which they adopt its components or rely on its results varies with what is documented about each work.

The AI Committee focuses on automated validation and remediation of data obtained from the web. Remediation makes the relationship to the original paper’s quality-control stage especially clear. Berkane and colleagues’ framework detects some suspicious entries and directs the researcher to them. A framework whose stated scope includes remediation takes up what happens after an issue has been identified. Its title specifies a multi-agent approach. The citation alone does not establish whether it reuses Berkane and colleagues’ extraction workflow or compares against their reported task scores. [The AI Committee](https://md.research.elamur.ai/free/en/papers/vallabhaneni-2026-ai-committee-multi-agent-framework/)

AmharicStoryQA is a multicultural benchmark for answering questions about stories in Amharic. It brings the citation into a dataset-building setting with a different intended record. A question-answering benchmark has to organize stories and associated questions, while Berkane and colleagues assemble reports of counts, events or incidents. The connection is to the broader problem of turning source material into structured research data. The citation does not specify whether the benchmark used the earlier framework for collection, extraction or review. [AmharicStoryQA](https://md.research.elamur.ai/free/en/papers/azime-2026-amharicstoryqa-multicultural-story-question-answering/)

The search-agent survey cites the paper in work concerned with systems that use language-based reasoning to search for information. The framework is an example of organizing search around a deliverable with fields, records and evidence attached to individual observations. Its comparison with deep research tools also illustrates why a search system’s output format matters when evaluating it for dataset creation. The survey’s particular classification of the framework and any conclusions it draws from it are unspecified. [A Survey of Large Language Model-Based Search Agents](https://md.research.elamur.ai/free/en/papers/xi-2026-survey-large-language-model-based/)

## Cite

Cite as Thomas Berkane, Marie-Laure Charpignon and Maimuna S. Majumder. 2025. LLM-Based Web Data Collection for Research Dataset Creation. Findings of the Association for Computational Linguistics: EMNLP 2025.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.18653/v1/2025.findings-emnlp.674](https://doi.org/10.18653/v1/2025.findings-emnlp.674)

```bibtex
@inproceedings{berkane2025llm,
  title = {{LLM-Based Web Data Collection for Research Dataset Creation}},
  author = {Thomas Berkane, Marie-Laure Charpignon and Maimuna S. Majumder},
  booktitle = {Findings of the Association for Computational Linguistics: EMNLP 2025},
  year = {2025},
  doi = {10.18653/v1/2025.findings-emnlp.674},
  url = {https://doi.org/10.18653/v1/2025.findings-emnlp.674}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
