arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2509.18577cs.CL
收藏

基于先验的噪声文本数据过滤:快速且强大的替代方法用于困惑度

Prior-based Noisy Text Data Filtering: Fast and Strong Alternative For Perplexity

Department of Artificial Intelligence(人工智能系)

Yeongbin Seo, Gayoung Kim, Jaehyung Kim, Jinyoung Yeo

AI总结:

本文提出基于先验的噪声文本数据过滤方法,通过词频统计快速替代困惑度过滤,提升效率并保持性能。

摘要:

随着大型语言模型(LLMs)在大规模网络语料上进行预训练,对数据的精心选择变得至关重要,以确保有效和高效的学习。尽管基于困惑度(PPL)的过滤方法表现强劲,但存在缺点:显著的时间成本和模型在处理噪声或分布外样本时的固有不可靠性。在本工作中,我们提出了一种简单而强大的替代方法:一种基于先验的数据过滤方法,通过语料库层面的词频统计估计令牌先验,受语言学对词角色和词频密度的见解启发。我们的方法基于令牌先验的均值和标准差来过滤文档,作为困惑度的快速代理,且无需模型推理。尽管其简单性,基于先验的过滤器在20个下游基准测试中实现了最高平均性能,同时将时间成本降低了超过1000倍。我们进一步展示了其在符号语言(如代码和数学)中的适用性,以及其在无监督情况下对多语言语料库的动态适应能力。

英文摘要:

As large language models (LLMs) are pretrained on massive web corpora, careful selection of data becomes essential to ensure effective and efficient learning. While perplexity (PPL)-based filtering has shown strong performance, it suffers from drawbacks: substantial time costs and inherent unreliability of the model when handling noisy or out-of-distribution samples. In this work, we propose a simple yet powerful alternative: a prior-based data filtering method that estimates token priors using corpus-level term frequency statistics, inspired by linguistic insights on word roles and lexical density. Our approach filters documents based on the mean and standard deviation of token priors, serving as a fast proxy to PPL while requiring no model inference. Despite its simplicity, the prior-based filter achieves the highest average performance across 20 downstream benchmarks, while reducing time cost by over 1000x compared to PPL-based filtering. We further demonstrate its applicability to symbolic languages such as code and math, and its dynamic adaptability to multilingual corpora without supervision

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

↑