MathPile: A Billion-Token-Scale Pretraining Corpus for Math
Not on the map. Why?
Cited by 41 in LLM reasoning, but placed by its own abstract, which didn’t fit.
Abstract (arXiv)
High-quality, large-scale corpora are the cornerstone of building foundation models. In this work, we introduce MathPile, a diverse and high-quality math-centric corpus comprising about 9.5 billion tokens. Throughout its creation, we adhered to the principle of "less is more", firmly believing in the supremacy of data quality over quantity, even in the pre-training phase. Our meticulous data collection and processing efforts included a complex suite of preprocessing, prefiltering, language identification, cleaning, filtering, and deduplication, ensuring the high quality of our corpus. Furthermore, we performed data contamination detection on downstream benchmark test sets to eliminate duplicates and conducted continual pre-training experiments, booting the performance on common mathematical reasoning benchmarks. We aim for our MathPile to boost language models' mathematical reasoning abilities and open-source its different versions and processing scripts to advance the field.
Key facts. Cited by 67 papers in the map (data through 7 Oct 2026). Builds on 50 of its 75 references that are in the map. First posted on arXiv 28 Dec 2023.
Builds on
50 of 75 references.
References · 50
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2023GPT-4 Technical Reportcited by 18,132
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
38 more
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,968
- 2018Datasheets for Datasetscited by 1,371
- 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,359
- 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
- 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,041
- 2016Bag of Tricks for Efficient Text Classificationcited by 869
- 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 861
- 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 755
- 2017Crowdsourcing Multiple Choice Science Questionscited by 742
- 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 711
- 2021Deduplicating Training Data Makes Language Models Bettercited by 705
- 2023AGIEval: A Human-Centric Benchmark for Evaluating Foundation Modelscited by 701
- 2019MathQA: Towards Interpretable Math Word Problem Solving with Operation-Based Formalismscited by 653
- 2017Program Induction by Rationale Generation : Learning to Solve and Explain Algebraic Word Problemscited by 642
- 2023Textbooks Are All You Needcited by 561
- 2023Textbooks Are All You Need II: phi-1.5 technical reportcited by 559
- 2019CCNet: Extracting High Quality Monolingual Datasets from Web Crawl Datacited by 544
- 2021Documenting Large Webtext Corpora: A Case Study on the Colossal Clean Crawled Corpuscited by 481
- 2023Llemma: An Open Language Model For Mathematicscited by 385
- 2022The Stack: 3 TB of permissively licensed source codecited by 354
- 2019Analysing Mathematical Reasoning Abilities of Neural Modelscited by 331
- 2018Learning Word Vectors for 157 Languagescited by 279
- 2021Quality at a Glance: An Audit of Web-Crawled Multilingual Datasetscited by 241
- 2023ProofNet: Autoformalizing and Formally Proving Undergraduate-Level Mathematicscited by 180
- 2023A Pretrainer's Guide to Training Data: Measuring the Effects of Data Age, Domain Coverage, Quality, & Toxicitycited by 180
- 2023OpenWebMath: An Open Dataset of High-Quality Mathematical Web Textcited by 151
- 2023The BigScience ROOTS Corpus: A 1.6TB Composite Multilingual Datasetcited by 148
- 2022Scaling Laws and Interpretability of Learning from Repeated Datacited by 147
- 2023What's In My Big Data?cited by 129
- 2018The Adverse Effects of Code Duplication in Machine Learning Models of Codecited by 123
- 2021NaturalProofs: Mathematical Theorem Proving in Natural Languagecited by 80
- 2021What's in the Box? A Preliminary Analysis of Undesirable Content in the Common Crawl Corpuscited by 79
- 2023Lemur: Harmonizing Natural Language and Code for Language Agentscited by 71
- 2022Measuring Datacited by 18
Built on by
Citing papers per year: 2024: 26; 2025: 31; 2026: 10.
67 papers.
Sort:
By area:
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
- 2025LIMO: Less is More for Reasoningcited by 488
- 2024Step-DPO: Step-wise Preference Optimization for Long-chain Reasoning of LLMscited by 265
- 2025DeepMath-103K: A Large-Scale, Challenging, Decontaminated, and Verifiable Mathematical Dataset for Advancing Reasoningcited by 261
- 2024BRIGHT: A Realistic and Challenging Benchmark for Reasoning-Intensive Retrievalcited by 153
- 2024MAmmoTH2: Scaling Instructions from the Webcited by 143
- 2024InternLM-Math: Open Math Large Language Models Toward Verifiable Reasoningcited by 117
- 2025OctoThinker: Mid-training Incentivizes Reinforcement Learning Scalingcited by 110
- 2025Reasoning or Memorization? Unreliable Results of Reinforcement Learning Due to Data Contaminationcited by 81
- 2024AceMath: Advancing Frontier Math Reasoning with Post-Training and Reward Modelingcited by 76
- 2024Key-Point-Driven Data Synthesis with its Enhancement on Mathematical Reasoningcited by 58
- 2025MegaScience: Pushing the Frontiers of Post-Training Datasets for Science Reasoningcited by 56
38 more
- 2024A Survey on Deep Learning for Theorem Provingcited by 55
- 2025A Survey on Large Language Models for Mathematical Reasoningcited by 52
- 2024Is Your Model Really A Good Math Reasoner? Evaluating Mathematical Reasoning with Checklistcited by 48
- 2025MegaMath: Pushing the Limits of Open Math Corporacited by 47
- 2025MathCoder-VL: Bridging Vision and Code for Enhanced Multimodal Mathematical Reasoningcited by 45
- 2024JiuZhang3.0: Efficiently Improving Mathematical Reasoning by Training Small Data Synthesis Modelscited by 44
- 2024MathCoder2: Better Math Reasoning from Continued Pretraining on Model-translated Mathematical Codecited by 39
- 2025StepHint: Multi-level Stepwise Hints Enhance Reinforcement Learning to Reasoncited by 37
- 2024InfiMM-WebMath-40B: Advancing Multimodal Pre-Training for Enhanced Mathematical Reasoningcited by 36
- 2024Step-Controlled DPO: Leveraging Stepwise Error for Enhanced Mathematical Reasoningcited by 35
- 2025Nemotron-CC-Math: A 133 Billion-Token-Scale High Quality Math Pretraining Datasetcited by 34
- 2024Autonomous Data Selection with Zero-shot Generative Classifiers for Mathematical Textscited by 26
- 2024BAM! Just Like That: Simple and Efficient Parameter Upcycling for Mixture of Expertscited by 16
- 2025Citrus: Leveraging Expert Cognitive Pathways in a Medical Language Model for Advanced Medical Decision Supportcited by 16
- 2024MIND: Math Informed syNthetic Dialogues for Pretraining LLMscited by 14
- 2025Generative AI Act II: Test Time Scaling Drives Cognition Engineeringcited by 14
- 2024Unearthing Large Scale Domain-Specific Knowledge from Public Corporacited by 12
- 2025A Survey on Mathematical Reasoning and Optimization with Large Language Modelscited by 12
- 2025VulnLLM-R: Specialized Reasoning LLM with Agent Scaffold for Vulnerability Detectioncited by 11
- 2024ConceptMath: A Bilingual Concept-wise Benchmark for Measuring Mathematical Reasoning of Large Language Modelscited by 10
- 2025MathFlow: Enhancing the Perceptual Flow of MLLMs for Visual Mathematical Problemscited by 10
- 2025The Lucie-7B LLM and the Lucie Training Dataset: Open resources for multilingual language generationcited by 9
- 2024Great Memory, Shallow Reasoning: Limits of kNN-LMscited by 8
- 2024From Blind Solvers to Logical Thinkers: Benchmarking LLMs' Logical Integrity on Faulty Mathematical Problemscited by 8
- 2025PretrainZero: Reinforcement Active Pretrainingcited by 8
- 2024SciDFM: A Large Language Model with Mixture-of-Experts for Sciencecited by 7
- 2024Task Oriented In-Domain Data Augmentationcited by 6
- 2025CritiQ: Mining Data Quality Criteria from Human Preferencescited by 6
- 2025AutoMathKG: The automated mathematical knowledge graph based on LLM and vector databasecited by 6
- 2026Data Darwinism Part I: Unlocking the Value of Scientific Data for Pre-trainingcited by 6
- 2025MASS: Mathematical Data Selection via Skill Graphs for Pretraining Large Language Modelscited by 4
- 2026Do Instruction-Tuned Models Always Perform Better Than Base Models? Evidence from Math and Domain-Shifted Benchmarkscited by 4
- 2024Mars-PO: Multi-Agent Reasoning System Preference Optimizationcited by 3
- 2025Function-Space Learning Ratescited by 3
- 2025Aligning Perception, Reasoning, Modeling and Interaction: A Survey on Physical AIcited by 3
- 2025K2-V2: A 360-Open, Reasoning-Enhanced LLMcited by 3
- 2026LegalOne: A Family of Foundation Models for Reliable Legal Reasoningcited by 3
- 2026Mind the Gap in Cultural Alignment: Task-Aware Culture Management for Large Language Modelscited by 3
50 most cited of 67 All 67 (JSON)
- 2026Towards Efficient LLMs Annealing with Principled Sample Selection29 May 2026
- 2026From P(y|x) to P(y): Investigating Reinforcement Learning in Pre-train Space15 Apr 2026
- 2026TildeOpen LLM: Leveraging Curriculum Learning to Achieve Equitable Language Representation9 Mar 2026
- 2026Mind the Gap in Cultural Alignment: Task-Aware Culture Management for Large Language Models25 Feb 2026
- 2026MrBERT: Modern Multilingual Encoders via Vocabulary, Domain, and Dimensional Adaptation24 Feb 2026
- 2026Data Science and Technology Towards AGI Part I: Tiered Data Management9 Feb 2026
- 2026Data Darwinism Part I: Unlocking the Value of Scientific Data for Pre-training8 Feb 2026
- 2026LegalOne: A Family of Foundation Models for Reliable Legal Reasoning31 Jan 2026
- 2026ImgCoT: Compressing Long Chain of Thought into Compact Visual Tokens for Efficient Reasoning of Large Language Model30 Jan 2026
- 2026Do Instruction-Tuned Models Always Perform Better Than Base Models? Evidence from Math and Domain-Shifted Benchmarks19 Jan 2026
- 2025MIDUS: Memory-Infused Depth Up-Scaling15 Dec 2025
- 2025VulnLLM-R: Specialized Reasoning LLM with Agent Scaffold for Vulnerability Detection8 Dec 2025
38 more
- 2025K2-V2: A 360-Open, Reasoning-Enhanced LLM5 Dec 2025
- 2025PretrainZero: Reinforcement Active Pretraining3 Dec 2025
- 2025Aligning Perception, Reasoning, Modeling and Interaction: A Survey on Physical AI6 Oct 2025
- 2025Benchmarking Foundation Models with Retrieval-Augmented Generation in Olympic-Level Physics Problem Solving1 Oct 2025
- 2025From Static to Dynamic: Adaptive Monte Carlo Search for Mathematical Process Supervision29 Sep 2025
- 2025Optimal Sparsity of Mixture-of-Experts Language Models for Reasoning Tasks26 Aug 2025
- 2025Rethinking Reasoning in LLMs: Neuro-Symbolic Local RetoMaton Beyond ICL and CoT22 Aug 2025
- 2025Nemotron-CC-Math: A 133 Billion-Token-Scale High Quality Math Pretraining Dataset20 Aug 2025
- 2025WarriorMath: Enhancing the Mathematical Ability of Large Language Models with a Defect-aware Framework2 Aug 2025
- 2025MegaScience: Pushing the Frontiers of Post-Training Datasets for Science Reasoning22 Jul 2025
- 2025Reasoning or Memorization? Unreliable Results of Reinforcement Learning Due to Data Contamination14 Jul 2025
- 2025StepHint: Multi-level Stepwise Hints Enhance Reinforcement Learning to Reason3 Jul 2025
- 2025OctoThinker: Mid-training Incentivizes Reinforcement Learning Scaling25 Jun 2025
- 2025A Survey on Large Language Models for Mathematical Reasoning10 Jun 2025
- 2025MDPO: Multi-Granularity Direct Preference Optimization for Mathematical Reasoning30 May 2025
- 2025AutoMathKG: The automated mathematical knowledge graph based on LLM and vector database19 May 2025
- 2025MathCoder-VL: Bridging Vision and Code for Enhanced Multimodal Mathematical Reasoning15 May 2025
- 2025Evaluating the Scalability and Adversarial Generalization of GRPO-Trained NLI Models25 Apr 2025
- 2025Generative AI Act II: Test Time Scaling Drives Cognition Engineering18 Apr 2025
- 2025DeepMath-103K: A Large-Scale, Challenging, Decontaminated, and Verifiable Mathematical Dataset for Advancing Reasoning15 Apr 2025
- 2025MegaMath: Pushing the Limits of Open Math Corpora3 Apr 2025
- 2025A Survey on Mathematical Reasoning and Optimization with Large Language Models22 Mar 2025
- 2025MathFlow: Enhancing the Perceptual Flow of MLLMs for Visual Mathematical Problems19 Mar 2025
- 2025MASS: Mathematical Data Selection via Skill Graphs for Pretraining Large Language Models19 Mar 2025
- 2025The Lucie-7B LLM and the Lucie Training Dataset: Open resources for multilingual language generation15 Mar 2025
- 2025CritiQ: Mining Data Quality Criteria from Human Preferences26 Feb 2025
- 2025Citrus: Leveraging Expert Cognitive Pathways in a Medical Language Model for Advanced Medical Decision Support25 Feb 2025
- 2025Function-Space Learning Rates24 Feb 2025
- 2025LIMO: Less is More for Reasoning5 Feb 2025
- 2024Dynamic Skill Adaptation for Large Language Models26 Dec 2024
- 2024AceMath: Advancing Frontier Math Reasoning with Post-Training and Reward Modeling19 Dec 2024
- 2024Mars-PO: Multi-Agent Reasoning System Preference Optimization28 Nov 2024
- 2024From Blind Solvers to Logical Thinkers: Benchmarking LLMs' Logical Integrity on Faulty Mathematical Problems24 Oct 2024
- 2024MIND: Math Informed syNthetic Dialogues for Pretraining LLMs15 Oct 2024
- 2024MathCoder2: Better Math Reasoning from Continued Pretraining on Model-translated Mathematical Code10 Oct 2024
- 2024SciDFM: A Large Language Model with Mixture-of-Experts for Science27 Sep 2024
- 2024InfiMM-WebMath-40B: Advancing Multimodal Pre-Training for Enhanced Mathematical Reasoning19 Sep 2024
- 2024Leveraging Open Knowledge for Advancing Task Expertise in Large Language Models28 Aug 2024
50 newest of 67 All 67 (JSON)
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
- 2025LIMO: Less is More for Reasoningcited by 488
- 2024Step-DPO: Step-wise Preference Optimization for Long-chain Reasoning of LLMscited by 265
- 2025DeepMath-103K: A Large-Scale, Challenging, Decontaminated, and Verifiable Mathematical Dataset for Advancing Reasoningcited by 261
- 2024MAmmoTH2: Scaling Instructions from the Webcited by 143
- 2024InternLM-Math: Open Math Large Language Models Toward Verifiable Reasoningcited by 117
- 2025OctoThinker: Mid-training Incentivizes Reinforcement Learning Scalingcited by 110
- 2025Reasoning or Memorization? Unreliable Results of Reinforcement Learning Due to Data Contaminationcited by 81
- 2024AceMath: Advancing Frontier Math Reasoning with Post-Training and Reward Modelingcited by 76
- 2024Key-Point-Driven Data Synthesis with its Enhancement on Mathematical Reasoningcited by 58
- 2025MegaScience: Pushing the Frontiers of Post-Training Datasets for Science Reasoningcited by 56
- 2025A Survey on Large Language Models for Mathematical Reasoningcited by 52
12 most cited of 41 All 41 (JSON)
- 2026From P(y|x) to P(y): Investigating Reinforcement Learning in Pre-train Space15 Apr 2026
- 2026LegalOne: A Family of Foundation Models for Reliable Legal Reasoning31 Jan 2026
- 2026ImgCoT: Compressing Long Chain of Thought into Compact Visual Tokens for Efficient Reasoning of Large Language Model30 Jan 2026
- 2025VulnLLM-R: Specialized Reasoning LLM with Agent Scaffold for Vulnerability Detection8 Dec 2025
- 2025K2-V2: A 360-Open, Reasoning-Enhanced LLM5 Dec 2025
- 2025From Static to Dynamic: Adaptive Monte Carlo Search for Mathematical Process Supervision29 Sep 2025
- 2025Optimal Sparsity of Mixture-of-Experts Language Models for Reasoning Tasks26 Aug 2025
- 2025Rethinking Reasoning in LLMs: Neuro-Symbolic Local RetoMaton Beyond ICL and CoT22 Aug 2025
- 2025Nemotron-CC-Math: A 133 Billion-Token-Scale High Quality Math Pretraining Dataset20 Aug 2025
- 2025MegaScience: Pushing the Frontiers of Post-Training Datasets for Science Reasoning22 Jul 2025
- 2025Reasoning or Memorization? Unreliable Results of Reinforcement Learning Due to Data Contamination14 Jul 2025
- 2025StepHint: Multi-level Stepwise Hints Enhance Reinforcement Learning to Reason3 Jul 2025
12 newest of 41 All 41 (JSON)
- 2024BRIGHT: A Realistic and Challenging Benchmark for Reasoning-Intensive Retrievalcited by 153
- 2024A Survey on Deep Learning for Theorem Provingcited by 55
- 2024Autonomous Data Selection with Zero-shot Generative Classifiers for Mathematical Textscited by 26
- 2024Unearthing Large Scale Domain-Specific Knowledge from Public Corporacited by 12
- 2025The Lucie-7B LLM and the Lucie Training Dataset: Open resources for multilingual language generationcited by 9
- 2025PretrainZero: Reinforcement Active Pretrainingcited by 8
- 2024Task Oriented In-Domain Data Augmentationcited by 6
- 2025AutoMathKG: The automated mathematical knowledge graph based on LLM and vector databasecited by 6
- 2026Data Darwinism Part I: Unlocking the Value of Scientific Data for Pre-trainingcited by 6
- 2025MASS: Mathematical Data Selection via Skill Graphs for Pretraining Large Language Modelscited by 4
- 2026Do Instruction-Tuned Models Always Perform Better Than Base Models? Evidence from Math and Domain-Shifted Benchmarkscited by 4
- 2025Function-Space Learning Ratescited by 3
12 most cited of 20 All 20 (JSON)
- 2026Towards Efficient LLMs Annealing with Principled Sample Selection29 May 2026
- 2026TildeOpen LLM: Leveraging Curriculum Learning to Achieve Equitable Language Representation9 Mar 2026
- 2026Mind the Gap in Cultural Alignment: Task-Aware Culture Management for Large Language Models25 Feb 2026
- 2026MrBERT: Modern Multilingual Encoders via Vocabulary, Domain, and Dimensional Adaptation24 Feb 2026
- 2026Data Science and Technology Towards AGI Part I: Tiered Data Management9 Feb 2026
- 2026Data Darwinism Part I: Unlocking the Value of Scientific Data for Pre-training8 Feb 2026
- 2026Do Instruction-Tuned Models Always Perform Better Than Base Models? Evidence from Math and Domain-Shifted Benchmarks19 Jan 2026
- 2025MIDUS: Memory-Infused Depth Up-Scaling15 Dec 2025
- 2025PretrainZero: Reinforcement Active Pretraining3 Dec 2025
- 2025WarriorMath: Enhancing the Mathematical Ability of Large Language Models with a Defect-aware Framework2 Aug 2025
- 2025AutoMathKG: The automated mathematical knowledge graph based on LLM and vector database19 May 2025
- 2025MASS: Mathematical Data Selection via Skill Graphs for Pretraining Large Language Models19 Mar 2025
12 newest of 20 All 20 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2025Arrows of Math Reasoning Data Synthesis for Large Language Models: Diversity, Complexity and Correctness
- 2024Skywork-Math: Data Scaling Laws for Mathematical Reasoning in Large Language Models -- The Story Goes On
- 2025TopoAlign: A Framework for Aligning Code to Math via Topological Decomposition
- 2024OpenMathInstruct-2: Accelerating AI for Math with Massive Open-Source Instruction Data
- 2024MARIO: MAth Reasoning with code Interpreter Output -- A Reproducible Pipeline
- 2025MathDebugger: Detecting and Diagnosing Errors in Synthetic Mathematical Data
- 2025Token-by-Token Regeneration and Domain Biases: A Benchmark of LLMs on Advanced Mathematical Problem-Solving
- 2025MathMist: A Parallel Multilingual Benchmark Dataset for Mathematical Problem Solving and Reasoning