MegaMath: Pushing the Limits of Open Math Corpora
On the map: LLM reasoning → Mathematical reasoning
Abstract (arXiv)
Mathematical reasoning is a cornerstone of human intelligence and a key benchmark for advanced capabilities in large language models (LLMs). However, the research community still lacks an open, large-scale, high-quality corpus tailored to the demands of math-centric LLM pre-training. We present MegaMath, an open dataset curated from diverse, math-focused sources through following practices: (1) Revisiting web data: We re-extracted mathematical documents from Common Crawl with math-oriented HTML optimizations, fasttext-based filtering and deduplication, all for acquiring higher-quality data on the Internet. (2) Recalling Math-related code data: We identified high quality math-related code from large code training corpus, Stack-V2, further enhancing data diversity. (3) Exploring Synthetic data: We synthesized QA-style text, math-related code, and interleaved text-code blocks from web data or code data. By integrating these strategies and validating their effectiveness through extensive ablations, MegaMath delivers 371B tokens with the largest quantity and top quality among existing open math pre-training datasets.
Key facts. Cited by 51 papers in the map (data through 14 Oct 2026). Placed in Mathematical reasoning, one of 17 directions in LLM reasoning. Builds on 46 of its 56 references that are in the map. First posted on arXiv 3 Apr 2025.
Builds on
46 of 56 references.
Closest ancestors · 9
Same direction, newest first
- 2024MathCoder2: Better Math Reasoning from Continued Pretraining on Model-translated Mathematical Code10 Oct
- 2024OpenMathInstruct-2: Accelerating AI for Math with Massive Open-Source Instruction Data2 Oct
- 2024Skywork-Math: Data Scaling Laws for Mathematical Reasoning in Large Language Models -- The Story Goes On11 Jul
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models5 Feb
- 2023Llemma: An Open Language Model For Mathematics16 Oct
- 2023OpenWebMath: An Open Dataset of High-Quality Mathematical Web Text10 Oct
- 2023ToRA: A Tool-Integrated Reasoning Agent for Mathematical Problem Solving29 Sep
- 2022Dynamic Prompt Learning via Policy Gradient for Semi-structured Mathematical Reasoning29 Sep
- 2022Solving Quantitative Reasoning Problems with Language Models29 Jun
Other references · 37
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 2024Qwen2.5 Technical Reportcited by 4,942
- 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,917
- 2016Enriching Word Vectors with Subword Informationcited by 1,583
- 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,464
- 2024Qwen2.5-Coder Technical Reportcited by 1,203
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,160
25 more
- 2024Qwen2.5-Math Technical Report: Toward Mathematical Expert Model via Self-Improvementcited by 1,090
- 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 878
- 2016Bag of Tricks for Efficient Text Classificationcited by 876
- 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 763
- 2024MiniCPM: Unveiling the Potential of Small Language Models with Scalable Training Strategiescited by 723
- 2021Deduplicating Training Data Makes Language Models Bettercited by 714
- 2024Self-Rewarding Language Modelscited by 681
- 2019MathQA: Towards Interpretable Math Word Problem Solving with Operation-Based Formalismscited by 662
- 2022PAL: Program-aided Language Modelscited by 652
- 2024TinyLlama: An Open-Source Small Language Modelcited by 618
- 2023Textbooks Are All You Needcited by 569
- 2024StarCoder 2 and The Stack v2: The Next Generationcited by 502
- 2024DataComp-LM: In search of the next generation of training sets for language modelscited by 398
- 2021A Diverse Corpus for Evaluating and Developing English Math Word Problem Solverscited by 318
- 2024Rephrasing the Web: A Recipe for Compute and Data-Efficient Language Modelingcited by 161
- 2024Nemotron-CC: Transforming Common Crawl into a Refined Long-Horizon Pretraining Datasetcited by 160
- 2024MAmmoTH2: Scaling Instructions from the Webcited by 145
- 2024Benchmarking Benchmark Leakage in Large Language Modelscited by 106
- 2023Lemur: Harmonizing Natural Language and Code for Language Agentscited by 72
- 2023MathPile: A Billion-Token-Scale Pretraining Corpus for Mathcited by 67
- 2024To Code, or Not To Code? Exploring Impact of Code in Pre-trainingcited by 47
- 2024Programming Every Example: Lifting Pre-training Data Quality Like Experts at Scalecited by 37
- 2024InfiMM-WebMath-40B: Advancing Multimodal Pre-Training for Enhanced Mathematical Reasoningcited by 36
- 2024Zyda-2: a 5 Trillion Token High-Quality Datasetcited by 13
- 2024Arctic-SnowCoder: Demystifying High-Quality Data in Code Pretrainingcited by 5
Built on by
Citing papers per year: 2025: 31; 2026: 20.
51 papers.
Sort:
By area:
- 2025DeepMath-103K: A Large-Scale, Challenging, Decontaminated, and Verifiable Mathematical Dataset for Advancing Reasoningcited by 280
- 2025Scaling Latent Reasoning via Looped Language Modelscited by 165
- 2025MiMo: Unlocking the Reasoning Potential of Language Model -- From Pretraining to Posttrainingcited by 121
- 2025OctoThinker: Mid-training Incentivizes Reinforcement Learning Scalingcited by 113
- 2025NVIDIA Nemotron Nano 2: An Accurate and Efficient Hybrid Mamba-Transformer Reasoning Modelcited by 108
- 2025MegaScience: Pushing the Frontiers of Post-Training Datasets for Science Reasoningcited by 59
- 2025Jet-Nemotron: Efficient Language Model with Post Neural Architecture Searchcited by 41
- 2025Nemotron-CC-Math: A 133 Billion-Token-Scale High Quality Math Pretraining Datasetcited by 38
- 2025PaTH Attention: Position Encoding via Accumulating Householder Transformationscited by 34
- 2025Efficient-DLM: From Autoregressive to Diffusion Language Models, and Beyond in Speedcited by 33
- 2025Front-Loading Reasoning: The Synergy between Pretraining and Post-Training Datacited by 27
- 2025Rewriting Pre-Training Data Boosts LLM Performance in Math and Codecited by 21
38 more
- 2025A Survey on LLM Mid-Trainingcited by 21
- 2025Dynamic Large Concept Models: Latent Reasoning in an Adaptive Semantic Spacecited by 17
- 2025Nemotron-Flash: Towards Latency-Optimal Hybrid Small Language Modelscited by 15
- 2025How Learning Rate Decay Wastes Your Best Data in Curriculum-Based LLM Pretrainingcited by 14
- 2026NextFlow: Unified Sequential Modeling Activates Multimodal Understanding and Generationcited by 14
- 2025Scaling Code-Assisted Chain-of-Thoughts and Instructions for Model Reasoningcited by 10
- 2025Essential-Web v1.0: 24T tokens of organized web datacited by 8
- 2025Webscale-RL: Automated Data Pipeline for Scaling RL Data to Pretraining Levelscited by 8
- 2026Data Darwinism Part I: Unlocking the Value of Scientific Data for Pre-trainingcited by 7
- 2025Meta-R1: Empowering Large Reasoning Models with Metacognitioncited by 6
- 2025RePro: Training Language Models to Faithfully Recycle the Web for Pretrainingcited by 6
- 2025SmallThinker: A Family of Efficient Large Language Models Natively Trained for Local Deploymentcited by 5
- 2025Thinking Augmented Pre-trainingcited by 4
- 2025MUTANT: A Recipe for Multilingual Tokenizer Designcited by 4
- 2026Data Science and Technology Towards AGI Part I: Tiered Data Managementcited by 4
- 2025Large-Scale Diverse Synthesis for Mid-Trainingcited by 3
- 2025K2-V2: A 360-Open, Reasoning-Enhanced LLMcited by 3
- 2026Data Darwinism Part II: DataEvolve -- AI can Autonomously Evolve Pretraining Data Curationcited by 3
- 2026From P(y|x) to P(y): Investigating Reinforcement Learning in Pre-train Spacecited by 3
- 2026Marco-MoE: Open Multilingual Mixture-of-Expert Language Models with Efficient Upcyclingcited by 3
- 2026Sumi: Open Uniform Diffusion Language Model from Scratchcited by 3
- 2025JT-Math: A Multi-Stage Framework for Advanced Mathematical Reasoning in Large Language Modelscited by 2
- 2025LinkQA: Synthesizing Diverse QA from Multiple Seeds Strongly Linked by Knowledge Pointscited by 2
- 2025Expanding Reasoning Potential in Foundation Model by Learning Diverse Chains of Thought Patternscited by 2
- 2025Arbitrage: Efficient Reasoning via Advantage-Aware Speculationcited by 2
- 2026Decouple Searching from Training: Scaling Data Mixing via Model Merging for Large Language Model Pre-trainingcited by 2
- 2026Attention Editing: A Versatile Framework for Cross-Architecture Attention Conversioncited by 2
- 2026TeleCom-Bench: How Far Are Large Language Models from Industrial Telecommunication Applications?cited by 1
- 2026Which Models Are Our Models Built On? Auditing Invisible Dependencies in Modern LLMscited by 1
- 2026DataOrchestra: Learning to Orchestrate Per-Example Curation of Pretraining Datacited by 1
- 2026Puro-2B: Poor Lab's Qwen2-1.5B Trained on RTX 5090 within 5090cited by 1
- 2025KITINet: KInetic Theory Inspired Inter-Channel Information Exchange for Residual Networkscited by 0
- 2026Leum-VL Technical Reportcited by 0
- 2026daVinci-LLM:Towards the Science of Pretrainingcited by 0
- 2026TuringLLM: Efficiently Scaling Foundation Models Toward Physical AIcited by 0
- 2026Instella-MoE Technical Reportcited by 0
- 2026HERO-MoE: Historical Expert Routing with Scale-Preserving Fusioncited by 0
- 2026Scaling Laws for Multimodal Data Mixturescited by 0
50 most cited of 51 All 51 (JSON)
- 2026UltraBERT: Beyond the Limit of BERT Pre-Training10 Oct 2026
- 2026Scaling Laws for Multimodal Data Mixtures10 Oct 2026
- 2026HERO-MoE: Historical Expert Routing with Scale-Preserving Fusion26 Sep 2026
- 2026Instella-MoE Technical Report1 Sep 2026
- 2026TuringLLM: Efficiently Scaling Foundation Models Toward Physical AI31 Aug 2026
- 2026Puro-2B: Poor Lab's Qwen2-1.5B Trained on RTX 5090 within 509027 Aug 2026
- 2026DataOrchestra: Learning to Orchestrate Per-Example Curation of Pretraining Data27 Jul 2026
- 2026Sumi: Open Uniform Diffusion Language Model from Scratch17 Jun 2026
- 2026Which Models Are Our Models Built On? Auditing Invisible Dependencies in Modern LLMs10 Jun 2026
- 2026TeleCom-Bench: How Far Are Large Language Models from Industrial Telecommunication Applications?18 May 2026
- 2026Marco-MoE: Open Multilingual Mixture-of-Expert Language Models with Efficient Upcycling28 Apr 2026
- 2026From P(y|x) to P(y): Investigating Reinforcement Learning in Pre-train Space15 Apr 2026
38 more
- 2026Attention Editing: A Versatile Framework for Cross-Architecture Attention Conversion7 Apr 2026
- 2026daVinci-LLM:Towards the Science of Pretraining28 Mar 2026
- 2026Leum-VL Technical Report20 Mar 2026
- 2026Data Darwinism Part II: DataEvolve -- AI can Autonomously Evolve Pretraining Data Curation15 Mar 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
- 2026Decouple Searching from Training: Scaling Data Mixing via Model Merging for Large Language Model Pre-training31 Jan 2026
- 2026NextFlow: Unified Sequential Modeling Activates Multimodal Understanding and Generation5 Jan 2026
- 2025Dynamic Large Concept Models: Latent Reasoning in an Adaptive Semantic Space31 Dec 2025
- 2025Efficient-DLM: From Autoregressive to Diffusion Language Models, and Beyond in Speed16 Dec 2025
- 2025K2-V2: A 360-Open, Reasoning-Enhanced LLM5 Dec 2025
- 2025Arbitrage: Efficient Reasoning via Advantage-Aware Speculation4 Dec 2025
- 2025How Learning Rate Decay Wastes Your Best Data in Curriculum-Based LLM Pretraining24 Nov 2025
- 2025Nemotron-Flash: Towards Latency-Optimal Hybrid Small Language Models24 Nov 2025
- 2025MUTANT: A Recipe for Multilingual Tokenizer Design5 Nov 2025
- 2025Scaling Latent Reasoning via Looped Language Models29 Oct 2025
- 2025A Survey on LLM Mid-Training27 Oct 2025
- 2025RePro: Training Language Models to Faithfully Recycle the Web for Pretraining12 Oct 2025
- 2025Webscale-RL: Automated Data Pipeline for Scaling RL Data to Pretraining Levels7 Oct 2025
- 2025Scaling Code-Assisted Chain-of-Thoughts and Instructions for Model Reasoning5 Oct 2025
- 2025Front-Loading Reasoning: The Synergy between Pretraining and Post-Training Data26 Sep 2025
- 2025Expanding Reasoning Potential in Foundation Model by Learning Diverse Chains of Thought Patterns25 Sep 2025
- 2025Thinking Augmented Pre-training24 Sep 2025
- 2025Meta-R1: Empowering Large Reasoning Models with Metacognition24 Aug 2025
- 2025Jet-Nemotron: Efficient Language Model with Post Neural Architecture Search21 Aug 2025
- 2025Nemotron-CC-Math: A 133 Billion-Token-Scale High Quality Math Pretraining Dataset20 Aug 2025
- 2025NVIDIA Nemotron Nano 2: An Accurate and Efficient Hybrid Mamba-Transformer Reasoning Model20 Aug 2025
- 2025Large-Scale Diverse Synthesis for Mid-Training2 Aug 2025
- 2025LinkQA: Synthesizing Diverse QA from Multiple Seeds Strongly Linked by Knowledge Points2 Aug 2025
- 2025SmallThinker: A Family of Efficient Large Language Models Natively Trained for Local Deployment28 Jul 2025
- 2025JT-Math: A Multi-Stage Framework for Advanced Mathematical Reasoning in Large Language Models26 Jul 2025
- 2025MegaScience: Pushing the Frontiers of Post-Training Datasets for Science Reasoning22 Jul 2025
- 2025OctoThinker: Mid-training Incentivizes Reinforcement Learning Scaling25 Jun 2025
- 2025Essential-Web v1.0: 24T tokens of organized web data17 Jun 2025
- 2025KITINet: KInetic Theory Inspired Inter-Channel Information Exchange for Residual Networks23 May 2025
- 2025PaTH Attention: Position Encoding via Accumulating Householder Transformations22 May 2025
- 2025MiMo: Unlocking the Reasoning Potential of Language Model -- From Pretraining to Posttraining12 May 2025
- 2025Rewriting Pre-Training Data Boosts LLM Performance in Math and Code5 May 2025
50 newest of 51 All 51 (JSON)
- 2025DeepMath-103K: A Large-Scale, Challenging, Decontaminated, and Verifiable Mathematical Dataset for Advancing Reasoningcited by 280
- 2025Scaling Latent Reasoning via Looped Language Modelscited by 165
- 2025MiMo: Unlocking the Reasoning Potential of Language Model -- From Pretraining to Posttrainingcited by 121
- 2025OctoThinker: Mid-training Incentivizes Reinforcement Learning Scalingcited by 113
- 2025NVIDIA Nemotron Nano 2: An Accurate and Efficient Hybrid Mamba-Transformer Reasoning Modelcited by 108
- 2025MegaScience: Pushing the Frontiers of Post-Training Datasets for Science Reasoningcited by 59
- 2025Nemotron-CC-Math: A 133 Billion-Token-Scale High Quality Math Pretraining Datasetcited by 38
- 2025Front-Loading Reasoning: The Synergy between Pretraining and Post-Training Datacited by 27
- 2025Rewriting Pre-Training Data Boosts LLM Performance in Math and Codecited by 21
- 2025Dynamic Large Concept Models: Latent Reasoning in an Adaptive Semantic Spacecited by 17
- 2025Scaling Code-Assisted Chain-of-Thoughts and Instructions for Model Reasoningcited by 10
- 2025Meta-R1: Empowering Large Reasoning Models with Metacognitioncited by 6
12 most cited of 19 All 19 (JSON)
- 2026From P(y|x) to P(y): Investigating Reinforcement Learning in Pre-train Space15 Apr 2026
- 2025Dynamic Large Concept Models: Latent Reasoning in an Adaptive Semantic Space31 Dec 2025
- 2025K2-V2: A 360-Open, Reasoning-Enhanced LLM5 Dec 2025
- 2025Arbitrage: Efficient Reasoning via Advantage-Aware Speculation4 Dec 2025
- 2025Scaling Latent Reasoning via Looped Language Models29 Oct 2025
- 2025Scaling Code-Assisted Chain-of-Thoughts and Instructions for Model Reasoning5 Oct 2025
- 2025Front-Loading Reasoning: The Synergy between Pretraining and Post-Training Data26 Sep 2025
- 2025Expanding Reasoning Potential in Foundation Model by Learning Diverse Chains of Thought Patterns25 Sep 2025
- 2025Thinking Augmented Pre-training24 Sep 2025
- 2025Meta-R1: Empowering Large Reasoning Models with Metacognition24 Aug 2025
- 2025Nemotron-CC-Math: A 133 Billion-Token-Scale High Quality Math Pretraining Dataset20 Aug 2025
- 2025NVIDIA Nemotron Nano 2: An Accurate and Efficient Hybrid Mamba-Transformer Reasoning Model20 Aug 2025
12 newest of 19 All 19 (JSON)
- 2026Marco-MoE: Open Multilingual Mixture-of-Expert Language Models with Efficient Upcyclingcited by 3
- 2026TuringLLM: Efficiently Scaling Foundation Models Toward Physical AIcited by 0
- 2026Instella-MoE Technical Reportcited by 0
- 2026HERO-MoE: Historical Expert Routing with Scale-Preserving Fusioncited by 0
- 2026Scaling Laws for Multimodal Data Mixturescited by 0
- 2026Scaling Laws for Multimodal Data Mixtures10 Oct 2026
- 2026HERO-MoE: Historical Expert Routing with Scale-Preserving Fusion26 Sep 2026
- 2026Instella-MoE Technical Report1 Sep 2026
- 2026TuringLLM: Efficiently Scaling Foundation Models Toward Physical AI31 Aug 2026
- 2026Marco-MoE: Open Multilingual Mixture-of-Expert Language Models with Efficient Upcycling28 Apr 2026
- 2025Jet-Nemotron: Efficient Language Model with Post Neural Architecture Searchcited by 41
- 2025PaTH Attention: Position Encoding via Accumulating Householder Transformationscited by 34
- 2025A Survey on LLM Mid-Trainingcited by 21
- 2025Nemotron-Flash: Towards Latency-Optimal Hybrid Small Language Modelscited by 15
- 2025How Learning Rate Decay Wastes Your Best Data in Curriculum-Based LLM Pretrainingcited by 14
- 2026NextFlow: Unified Sequential Modeling Activates Multimodal Understanding and Generationcited by 14
- 2025Essential-Web v1.0: 24T tokens of organized web datacited by 8
- 2026Data Darwinism Part I: Unlocking the Value of Scientific Data for Pre-trainingcited by 7
- 2025RePro: Training Language Models to Faithfully Recycle the Web for Pretrainingcited by 6
- 2025MUTANT: A Recipe for Multilingual Tokenizer Designcited by 4
- 2026Data Science and Technology Towards AGI Part I: Tiered Data Managementcited by 4
- 2025Large-Scale Diverse Synthesis for Mid-Trainingcited by 3
12 most cited of 24 All 24 (JSON)
- 2026UltraBERT: Beyond the Limit of BERT Pre-Training10 Oct 2026
- 2026Puro-2B: Poor Lab's Qwen2-1.5B Trained on RTX 5090 within 509027 Aug 2026
- 2026DataOrchestra: Learning to Orchestrate Per-Example Curation of Pretraining Data27 Jul 2026
- 2026Which Models Are Our Models Built On? Auditing Invisible Dependencies in Modern LLMs10 Jun 2026
- 2026TeleCom-Bench: How Far Are Large Language Models from Industrial Telecommunication Applications?18 May 2026
- 2026Attention Editing: A Versatile Framework for Cross-Architecture Attention Conversion7 Apr 2026
- 2026daVinci-LLM:Towards the Science of Pretraining28 Mar 2026
- 2026Leum-VL Technical Report20 Mar 2026
- 2026Data Darwinism Part II: DataEvolve -- AI can Autonomously Evolve Pretraining Data Curation15 Mar 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
- 2026Decouple Searching from Training: Scaling Data Mixing via Model Merging for Large Language Model Pre-training31 Jan 2026
12 newest of 24 All 24 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2024OpenMathInstruct-1: A 1.8 Million Math Instruction Tuning Dataset
- 2023MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Models
- 2025Arrows of Math Reasoning Data Synthesis for Large Language Models: Diversity, Complexity and Correctness
- 2024FineMath: A Fine-Grained Mathematical Evaluation Benchmark for Chinese Large Language Models
- 2024MARIO: MAth Reasoning with code Interpreter Output -- A Reproducible Pipeline
- 2025TopoAlign: A Framework for Aligning Code to Math via Topological Decomposition
- 2024CoinMath: Harnessing the Power of Coding Instruction for Math LLMs
- 2024PARAMANU-GANITA: Can Small Math Language Models Rival with Large Language Models on Mathematical Reasoning?