mlsanityData to 7 Oct 2026

Beyond a Single Extractor: Re-thinking HTML-to-Text Extraction for LLM Pretraining

arXiv 2602.19548 ↗First posted 23 Feb 2026cs.CL cs.LGcited by 4

On the map: LLM reasoning → Reasoning benchmarks and evaluation

Abstract (arXiv)

One of the first pre-processing steps for constructing web-scale LLM pretraining datasets involves extracting text from HTML. Despite the immense diversity of web content, existing open-source datasets predominantly apply a single fixed extractor to all webpages. In this work, we investigate whether this practice leads to suboptimal coverage and utilization of Internet data. We first show that while different extractors may lead to similar model performance on standard language understanding tasks, the pages surviving a fixed filtering pipeline can differ substantially. This suggests a simple intervention: by taking a Union over different extractors, we can increase the token yield of DCLM-Baseline by up to 71% while maintaining benchmark performance. We further show that for structured content such as tables and code blocks, extractor choice can significantly impact downstream task performance, with differences of up to 10 percentage points (p.p.) on WikiTQ and 3 p.p. on HumanEval.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 16 of its 49 references that are in the map. First posted on arXiv 23 Feb 2026.

Builds on

16 of 49 references.

References · 16

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  2. 2022Training Compute-Optimal Large Language Modelscited by 2,927
  3. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  4. 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 755
  5. 2024Phi-4 Technical Reportcited by 675
  6. 2024StarCoder 2 and The Stack v2: The Next Generationcited by 484
  7. 2024Dolma: an Open Corpus of Three Trillion Tokens for Language Model Pretraining Researchcited by 475
  8. 2025SmolLM2: When Smol Goes Big -- Data-Centric Training of a Small Language Modelcited by 307
  9. 2024Nemotron-CC: Transforming Common Crawl into a Refined Long-Horizon Pretraining Datasetcited by 153
  10. 2023OpenWebMath: An Open Dataset of High-Quality Mathematical Web Textcited by 151
  11. 2024Why Tabular Foundation Models Should Be a Research Prioritycited by 103
  12. 2024Dataset Decomposition: Faster LLM Training with Variable Sequence Length Curriculumcited by 25
4 more
  1. 2023TabLib: A Dataset of 627M Tables with Contextcited by 23
  2. 2020Web Table Extraction, Retrieval and Augmentation: A Surveycited by 15
  3. 2025The Mighty ToRR: A Benchmark for Table Reasoning and Robustnesscited by 10
  4. 2024RedStone: Curating General, Code, Math, and QA Data for Large Language Modelscited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 4.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025ReaderLM-v2: Small Language Model for HTML to Markdown and JSON
  2. 2025Aleph-Alpha-GermanWeb: Improving German-language LLM pre-training with model-based data curation and synthetic data generation
  3. 2025Blu-WERP (Web Extraction and Refinement Pipeline): A Scalable Pipeline for Preprocessing Large Language Model Datasets
  4. 2024Leveraging Large Language Models for Web Scraping
  5. 2025Demystifying Synthetic Data in LLM Pre-training: A Systematic Study of Scaling Laws, Benefits, and Pitfalls
  6. 2024Web2Code: A Large-scale Webpage-to-Code Dataset and Evaluation Framework for Multimodal LLMs
  7. 2026Can Large Language Models Replace Human Coders? Introducing ContentBench
  8. 2026Hubs or Fringes: Pretraining Data Selection via Web Graph Centrality