Organize the Web: Constructing Domains Enhances Pre-Training Data Curation

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Wettig, Alexander, Lo, Kyle, Min, Sewon, Hajishirzi, Hannaneh, Chen, Danqi, Soldaini, Luca
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866912484435165184
author Wettig, Alexander
Lo, Kyle
Min, Sewon
Hajishirzi, Hannaneh
Chen, Danqi
Soldaini, Luca
author_facet Wettig, Alexander
Lo, Kyle
Min, Sewon
Hajishirzi, Hannaneh
Chen, Danqi
Soldaini, Luca
contents Modern language models are trained on large, unstructured datasets consisting of trillions of tokens and obtained by crawling the web. The unstructured nature makes it difficult to reason about their contents and develop systematic approaches to data curation. In this paper, we unpack monolithic web corpora by developing taxonomies of their contents and organizing them into domains. We introduce WebOrganizer, a framework for organizing web pages in terms of both their topic and format. Using these two complementary notions of domains, we automatically annotate pre-training data by distilling annotations from a large language model into efficient classifiers. This allows us to study how data from different domains should be mixed to improve models on downstream tasks, and we show that we can combine insights about effective topics and formats to further boost performance. We demonstrate that our domain mixing also improves existing methods that select data based on quality. Furthermore, we study and compare how quality-based methods will implicitly change the domain mixture. Overall, our work demonstrates that constructing and mixing domains provides a valuable complement to quality-based data curation methods, opening new avenues for effective and insightful pre-training data curation.
format Preprint
id arxiv_https___arxiv_org_abs_2502_10341
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Organize the Web: Constructing Domains Enhances Pre-Training Data Curation
Wettig, Alexander
Lo, Kyle
Min, Sewon
Hajishirzi, Hannaneh
Chen, Danqi
Soldaini, Luca
Computation and Language
Modern language models are trained on large, unstructured datasets consisting of trillions of tokens and obtained by crawling the web. The unstructured nature makes it difficult to reason about their contents and develop systematic approaches to data curation. In this paper, we unpack monolithic web corpora by developing taxonomies of their contents and organizing them into domains. We introduce WebOrganizer, a framework for organizing web pages in terms of both their topic and format. Using these two complementary notions of domains, we automatically annotate pre-training data by distilling annotations from a large language model into efficient classifiers. This allows us to study how data from different domains should be mixed to improve models on downstream tasks, and we show that we can combine insights about effective topics and formats to further boost performance. We demonstrate that our domain mixing also improves existing methods that select data based on quality. Furthermore, we study and compare how quality-based methods will implicitly change the domain mixture. Overall, our work demonstrates that constructing and mixing domains provides a valuable complement to quality-based data curation methods, opening new avenues for effective and insightful pre-training data curation.
title Organize the Web: Constructing Domains Enhances Pre-Training Data Curation
topic Computation and Language
url https://arxiv.org/abs/2502.10341