ScrapeGraphAI-100k: Dataset for Schema-Constrained LLM Generation
William Brach, Francesco Zuppichini, Lorenzo Padoan, Marco Vinciguerra
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: LLM Agents, Evals & Benchmarks › Metacognitive Control and Calibration · Type: benchmark or dataset · Keywords: schema-constrained generation, LLM evaluation, structured extraction, large-scale dataset, real-world telemetry, JSON schema compliance
Areas: Evaluation & Benchmarks › Model Capability Diagnostics › Language Model Benchmarks
Summary
ScrapeGraphAI-100k is a large-scale dataset of 93,695 schema-constrained extraction events covering 18,000+ schemas in 15 languages, enabling realistic training and benchmarking for LLM schema compliance.
Explained to a 5-year-old
People want computers to give answers that follow a special rule, like a recipe for filling out forms. Right now, the examples they use to teach computers are small or made up, and they don't show real web pages. We collected a huge collection of real examples from a tool that extracts information from web pages, making sure there are many different kinds of rules. Each example includes a piece of a web page, a question, the rule it must follow, and whether the computer got it right. This big collection helps teach computers to follow rules better in the real world.
Explained to a 5-year-old, longer
Computers sometimes need to give answers that match a special shape, like a puzzle piece that fits exactly into a slot. This is important for things like filling out forms or pulling facts from web pages. Up until now, the examples used to teach computers about these shapes have been small or made up. They often don't include real pages that people actually look at. We gathered a massive collection of real examples from a tool that watches what people do when they ask for information. The tool recorded many different kinds of rules, languages, and page formats. We cleaned up the data, removed duplicates, and made sure each rule type is represented fairly. Every example pairs a piece of a web page (converted to simple text) with the exact question and rule it must follow. It also includes what the computer answered and a label that says whether the answer fits the rule structurally. By looking at this big set, we learned that very complex rules often cause the computer to make mistakes. We also showed that a smaller model trained on this data can copy the behavior of a much bigger model, though it still falls short. This large, realistic collection helps researchers and developers build better computers that understand and follow rules in everyday situations.
For a technical reader
The paper introduces ScrapeGraphAI-100k, a dataset of 93,695 real-world schema-constrained extraction events collected from production telemetry. Each instance pairs Markdown-converted page content with the prompt, JSON schema, model response, and a structural conformance label. The authors characterize the diversity of schemas across 15 languages and identify failure thresholds as schema complexity increases. A case study shows a 1.7B student fine-tuned on the data mimics its GPT-5-nano teacher’s output distribution but still trails a 30B-A3B reference on compliance. The work demonstrates that grounding schema-constrained generation in real practitioner workloads enables more realistic training and benchmarking than synthetic corpora.
Problem
Producing LLM outputs that conform to a specified JSON schema is central for tool use and structured extraction, yet existing public datasets are small, synthetic, or text-only and lack real page content paired with prompts and schemas.
Method
The dataset was built by collecting 9M raw telemetry events from ScrapeGraphAI, deduplicating and balancing them by schema, and extracting 93,695 instances that pair Markdown-converted page content with prompts, schemas, LLM responses, and structural conformance labels.
Results
The corpus covers 93,695 events across 18,000+ schemas in 15 languages, and a 1.7B student fine-tuned on it matches its GPT-5-nano teacher’s output distribution but still lags behind a 30B-A3B reference on schema compliance.
Contributions
It provides a large, real-world, multilingual dataset of schema-constrained extraction events with structural labels, and demonstrates its utility for training and benchmarking LLM schema compliance.
Limitations and assumptions
Semantic correctness is not evaluated, raw HTML is not included, and the dataset is limited to the telemetry collected in Q2-Q3 2025.
Practical relevance
The dataset enables practitioners to train and benchmark LLMs on realistic schema-constrained generation tasks that reflect actual usage.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction