Title: The data-quality illusion: Rethinking Classifier-based Quality Filtering for LLM Pretraining
Primary area: foundation or frontier models, including LLMs
Keywords: Data filtering, data selection, large language models, pretraining

Abstract: Large-scale models are pretrained on massive web-crawled datasets containing documents of mixed quality, making data filtering essential.
A popular method is Classifier-based Quality Filtering (CQF), which trains a binary classifier to distinguish between pretraining data and a small, high-quality set. It assigns each pretraining document a quality score defined as the classifier's score and retains only the top-scoring ones.
We provide an in-depth analysis of CQF. 
We show that while CQF improves downstream task performance, it does not necessarily enhance language modeling on the high-quality dataset.
We explain this paradox by the fact that CQF implicitly filters the high-quality dataset as well. 
We further compare the behavior of models trained with CQF to those trained on synthetic data of increasing quality, obtained via random token permutations, and find starkly different trends. 
Our results challenge the view that CQF captures a meaningful notion of data quality.