arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2601.22016cs.LG
收藏

TBDFiltering: 基于树结构的数据过滤(样本高效)

TBDFiltering: Sample-Efficient Tree-Based Data Filtering

Google Research, NY, USA(谷歌研究纽约分部);Google Research, Berlin, Germany(谷歌研究柏林分部);Google Research, Mountain View, CA, USA(谷歌研究山景城分部);Google DeepMind, London, UK(谷歌深Mind伦敦分部)

Robert Istvan Busa-Fekete, Julian Zimmert, Anne Xiangyi Zheng, Claudio Gentile, Andras Gyorgy

AI总结:

本文提出了一种基于文本嵌入的层次聚类方法,通过自适应选择文档来高效评估质量,从而提升大型语言模型训练数据的质量过滤效率。

摘要:

机器学习模型的质量严重依赖于其训练数据。为大型语言模型(LLMs)选择高质量、多样化的训练集是一个困难的任务,因为缺乏廉价且可靠的品质度量标准。虽然查询现有LLMs来评估文档质量是常见的做法,但这种方法无法扩展到用于训练的大量文档(数十亿个)。相反,从业者通常使用在稀疏品质信号上训练的分类器。在本文中,我们提出了一种基于文本嵌入的层次聚类方法,该方法能够自适应地选择由LLM评估的文档,以估计簇的质量。我们证明了我们的方法是查询高效的:在假设层次聚类包含一个子树的情况下,每个叶子簇都足够纯净(即,几乎只包含好的或坏的文档),则以高概率,通过查询少量文档后,可以正确预测每个文档的质量。此类文档的数量与最小子树中(几乎)纯净叶子的大小成比例,而算法并不事先知道这个子树。此外,在全面的实验研究中,我们展示了我们的算法与其他基于分类器的过滤方法相比的优势。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑