arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.07625cs.CLcs.AIcs.LG
收藏

基于零样本生成式分类器的数学文本自主数据选择

Autonomous Data Selection with Zero-shot Generative Classifiers for Mathematical Texts

Tsinghua University(清华大学);Shanghai Qi Zhi Institute(上海启智研究院)

Yifan Zhang, Yifan Luo, Yang Yuan, Andrew C Yao

AI总结:

本文提出AutoDS方法,利用基础语言模型自身作为零样本生成式分类器自动筛选高质量数学文本,在持续预训练中显著提升数学推理性能并实现约两倍的token效率提升。

摘要:

我们提出自主数据选择(AutoDS),一种利用基础语言模型自身作为零样本“生成式分类器”来自动筛选高质量数学文本的方法。与以往需要人工标注或训练专用数据过滤器的方法不同,AutoDS仅依赖模型的logits来判断给定段落是否具有数学信息量和教育价值。通过将AutoDS整合到持续预训练流程中,我们在具有挑战性的数学基准(MATH、GSM8K和BBH)上大幅提升了下游性能,同时使用的token数量远少于先前方法。实验表明,我们的方法在预训练token效率上相比强基线实现了约两倍的提升,凸显了自主数据选择在增强数学推理方面的潜力。我们发布了筛选得到的AutoMathText数据集,以促进自动化领域特定数据筛选的未来研究。AutoMathText数据集可在https://huggingface.co/datasets/math-ai/AutoMathText获取。代码可在https://github.com/yifanzhang-pro/AutoMathText获取。

英文摘要:

We present Autonomous Data Selection (AutoDS), a method that leverages base language models themselves as zero-shot "generative classifiers" to automatically curate high-quality mathematical texts. Unlike prior approaches that require human annotations or training a dedicated data filter, AutoDS relies solely on a model's logits to determine whether a given passage is mathematically informative and educational. By integrating AutoDS into a continual pretraining pipeline, we substantially boost downstream performance on challenging math benchmarks (MATH, GSM8K, and BBH) while using far fewer tokens than previous methods. Empirically, our approach achieves roughly a twofold improvement in pretraining token efficiency over strong baselines, underscoring the potential of self-directed data selection in enhancing mathematical reasoning. We release our curated AutoMathText dataset to facilitate future research in automated domain-specific data curation. The AutoMathText dataset is available at https://huggingface.co/datasets/math-ai/AutoMathText. The code is available at https://github.com/yifanzhang-pro/AutoMathText.

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

↑