arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.03253cs.CLcs.AI
收藏

RefineX:从专家引导程序中学习大规模预训练数据的精细化精炼

RefineX: Learning to Refine Pre-training Data at Scale from Expert-Guided Programs

Institute of Computing Technology(计算技术研究所);Key Laboratory of Network Data Science and Technology, ICT, CAS(网络数据科学与技术重点实验室);State Key Laboratory of AI Safety(人工智能安全国家重点实验室);University of Chinese Academy of Sciences(中国科学院大学);Alibaba Group(阿里巴巴集团);University of California Merced(加州大学默塞德分校);National University of Singapore(新加坡国立大学)

Baolong Bi, Shenghua Liu, Xingzhang Ren, Dayiheng Liu, Junyang Lin, Yiwei Wang, Lingrui Mei, Junfeng Fang, Jiafeng Guo, Xueqi Cheng

AI总结:

RefineX提出一种基于专家引导程序的大规模预训练数据精炼框架,通过蒸馏端到端结果到最小编辑删除程序,实现高效细粒度精炼,在750M模型上平均提升2.6%-7.2%。

摘要:

大型语言模型(LLM)的基础能力深受其预训练语料库质量的影响。然而,在大规模上提升数据质量仍然是一个重大挑战,主要源于精炼效果与处理效率之间的权衡。尽管基于规则的过滤仍是主流范式,但它通常在文档级别操作,缺乏对文档内特定内容进行精细化精炼所需的粒度。受ProX等新兴工作的启发,我们提出了RefineX,一个通过程序化编辑任务对预训练数据进行大规模、外科手术式精炼的新框架。RefineX能够实现高效且细粒度的数据精炼,同时可靠地保留原始文本的多样性和自然性。RefineX的核心优势在于将高质量的、专家引导的端到端精炼结果蒸馏为基于最小编辑的删除程序。这一高精度蒸馏流程用于训练一个高效且可靠的精炼模型,能够在大规模上系统性地改进语料库中的每个实例。我们在多种模型规模上从头预训练评估了RefineX,发现它在各种下游任务上始终优于使用原始、过滤或替代精炼数据训练的模型。在750M模型上,RefineX在lighteval任务上平均提升2.6%-7.2%,并且使用显著更少的训练令牌即可达到相当的性能。进一步分析表明,RefineX以高效率和精确性可靠地提升文本质量,优于端到端生成和Prox-C等先前方法。这些结果将RefineX定位为在现代LLM流水线中优化预训练数据的可扩展、有效且可靠的解决方案。

英文摘要:

The foundational capabilities of large language models (LLMs) are deeply influenced by the quality of their pre-training corpora. However, enhancing data quality at scale remains a significant challenge, primarily due to the trade-off between refinement effectiveness and processing efficiency. While rule-based filtering remains the dominant paradigm, it typically operates at the document level and lacks the granularity needed to refine specific content within documents. Inspired by emerging work such as ProX, we propose $\textbf{RefineX}$, a novel framework for large-scale, surgical refinement of pre-training data through programmatic editing tasks. RefineX enables efficient and fine-grained data refinement while reliably preserving the diversity and naturalness of raw text. The core strength of RefineX lies in distilling high-quality, expert-guided end-to-end refinement results into minimal edit-based deletion programs. This high-precision distillation pipeline is used to train an efficient and reliable refine model that can systematically improve every instance in the corpus at scale. We evaluate RefineX across from-scratch pre-training at multiple model scales and find that it consistently outperforms models trained on raw, filtered, or alternatively refined data across diverse downstream tasks. On the 750M model, RefineX yields 2.6%-7.2% average gains on lighteval tasks, and achieves comparable performance using significantly fewer training tokens. Further analysis shows that RefineX reliably enhances text quality with both high efficiency and precision, outperforming prior approaches such as end-to-end generation and Prox-C. These results position RefineX as a scalable, effective, and reliable solution for optimizing pre-training data in modern LLM pipelines.

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

↑