English

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

Computation and Language 2025-07-23 v7 Artificial Intelligence Machine Learning

Abstract

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.

Keywords

Cite

@article{arxiv.2402.07625,
  title  = {Autonomous Data Selection with Zero-shot Generative Classifiers for Mathematical Texts},
  author = {Yifan Zhang and Yifan Luo and Yang Yuan and Andrew C Yao},
  journal= {arXiv preprint arXiv:2402.07625},
  year   = {2025}
}

Comments

Published in ACL 2025 Findings

R2 v1 2026-06-28T14:45:57.406Z