Reproduce “DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang and 3 more
DeepSeekMath expands mathematical pretraining data from the public web and improves a 7B model with GRPO, which compares multiple answers to each question instead of using a separate value model. Trained with chain-of-thought questions from GSM8K and MATH, DeepSeekMath-RL 7B raises top-1 MATH accuracy from 46.8% to 51.7%, without tools or voting; analysis does not establish deeper reasoning.
Key insights
- Code training significantly enhances LLMs' mathematical reasoning abilities, particularly for logical and structured thinking.
- Pre-training solely on arXiv papers, surprisingly, did not yield noticeable improvements or sometimes led to performance deterioration in their specific experimental setup.
- Reinforcement learning primarily improves the robustness and consistency of generating correct mathematical solutions rather than boosting the fundamental single-sample reasoning capability.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.