TBDFiltering: Sample-Efficient Tree-Based Data Filtering

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Busa-Fekete, Robert Istvan, Zimmert, Julian, Zheng, Anne Xiangyi, Gentile, Claudio, Gyorgy, Andras
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866918313743876096
author Busa-Fekete, Robert Istvan
Zimmert, Julian
Zheng, Anne Xiangyi
Gentile, Claudio
Gyorgy, Andras
author_facet Busa-Fekete, Robert Istvan
Zimmert, Julian
Zheng, Anne Xiangyi
Gentile, Claudio
Gyorgy, Andras
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2601_22016
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle TBDFiltering: Sample-Efficient Tree-Based Data Filtering
Busa-Fekete, Robert Istvan
Zimmert, Julian
Zheng, Anne Xiangyi
Gentile, Claudio
Gyorgy, Andras
Machine Learning
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.
title TBDFiltering: Sample-Efficient Tree-Based Data Filtering
topic Machine Learning
url https://arxiv.org/abs/2601.22016