TBDFiltering: Sample-Efficient Tree-Based Data Filtering
Not on the map. Why?
Abstract (arXiv)
The quality of machine learning models depends heavily on their training data. Selecting high-quality, diverse training sets for large language models (LLMs) is a difficult task, due to the lack of cheap and reliable quality metrics. While querying existing LLMs for document quality is common, this is not scalable to the large number (billions) of documents used in training. Instead, practitioners often use classifiers trained on sparse quality signals. In this paper, we propose a text-embedding-based hierarchical clustering approach that adaptively selects the documents to be evaluated by the LLM to estimate cluster quality. We prove that our method is query efficient: under the assumption that the hierarchical clustering contains a subtree such that each leaf cluster in the tree is pure enough (i.e., it mostly contains either only good or only bad documents), with high probability, the method can correctly predict the quality of each document after querying a small number of documents. The number of such documents is proportional to the size of the smallest subtree with (almost) pure leaves, without the algorithm knowing this subtree in advance. Furthermore, in a comprehensive experimental study, we demonstrate the benefits of our algorithm compared to other classifier-based filtering methods.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 21 of its 28 references that are in the map. First posted on arXiv 29 Jan 2026.
Builds on
21 of 28 references.
References · 21
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,114
- 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,793
- 2017Understanding Black-box Predictions via Influence Functionscited by 1,714
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,104
- 2016Bag of Tricks for Efficient Text Classificationcited by 869
- 2019Data Shapley: Equitable Valuation of Data for Machine Learningcited by 617
- 2019CCNet: Extracting High Quality Monolingual Datasets from Web Crawl Datacited by 544
- 2024Dolma: an Open Corpus of Three Trillion Tokens for Language Model Pretraining Researchcited by 475
- 2015Gradient-based Hyperparameter Optimization through Reversible Learningcited by 357
9 more
- 2019Optimizing Millions of Hyperparameters by Implicit Differentiationcited by 303
- 2016Hyperparameter optimization with approximate gradientcited by 231
- 2024A Survey on Data Selection for Language Modelscited by 230
- 2024Gecko: Versatile Text Embeddings Distilled from Large Language Modelscited by 81
- 2024Data Shapley in One Training Runcited by 76
- 2024SEAL: Safety-enhanced Aligned LLM Fine-tuning via Bilevel Data Selectioncited by 64
- 2019Optimizing Data Usage via Differentiable Rewardscited by 48
- 2024MMLU-CF: A Contamination-free Multi-task Language Understanding Benchmarkcited by 41
- 2025DataRater: Meta-Learned Dataset Curationcited by 13
Built on by
Not cited yet.