DeepSeek-Math-V2

DeepSeek-Math-V2

1,554 Stars // Python // 2‏/3‏/2026

DeepSeek-Math-V2 is a high-quality open-source project making waves in the tech community. Whether you are exploring Artificial Intelligence, East Asian tech innovations, or advanced software architecture, this guide covers everything you need to know about this repository.

DeepSeek-Math-V2 AI Technology - DeepSeek-V3

DeepSeekMath-V2: Towards Self-Verifiable Mathematical Reasoning

1. Introduction

Large language models have made significant progress in mathematical reasoning, which serves as an important testbed for AI and could impact scientific research if further advanced. By scaling reasoning with reinforcement learning that rewards correct final answers, LLMs have improved from poor performance to saturating quantitative reasoning competitions like AIME and HMMT in one year. However, this approach faces fundamental limitations. Pursuing higher final answer accuracy doesn't address a key issue: correct answers don't guarantee correct reasoning. Moreover, many mathematical tasks like theorem proving require rigorous step-by-step derivation rather than numerical answers, making final answer rewards inapplicable. To push the limits of deep reasoning, we believe it is necessary to verify the comprehensiveness and rigor of mathematical reasoning. Self-verification is particularly important for scaling test-time compute, especially for open problems without known solutions. Towards self-verifiable mathematical reasoning, we investigate how to train an accurate and faithful LLM-based verifier for theorem proving. We then train a proof generator using the verifier as the reward model, and incentivize the generator to identify and resolve as many issues as possible in their own proofs before finalizing them. To maintain the generation-verification gap as the generator becomes stronger, we propose to scale verification compute to automatically label new hard-to-verify proofs, creating training data to further improve the verifier. Our resulting model, DeepSeekMath-V2, demonstrates strong theorem-proving capabilities, achieving gold-level scores on IMO 2025 and CMO 2024 and a near-perfect 118/120 on Putnam 2024 with scaled test-time compute. While much work remains, these results suggest that self-verifiable mathematical reasoning is a feasible research direction that may help develop more capable mathematical AI systems.

2. Evaluation Results

Below are evaluation results on IMO-ProofBench (developed by the DeepMind team behind DeepThink IMO-Gold) and recent mathematics competitions including IMO 2025, CMO 2024, and Putnam 2024. Model predictions are available in the outputs folder.

IMO-ProofBench

DeepSeek-Math-V2 AI Technology - Screenshot


Mathematics Competitions

DeepSeek-Math-V2 AI Technology - Screenshot

4. Download & Quick Start

DeepSeekMath-V2 is built on top of DeepSeek-V3.2-Exp-Base, which can be downloaded from 🤗 HuggingFace. For inference support, please refer to the DeepSeek-V3.2-Exp github repository.

6. License

The use of DeepSeekMath-V2 models is subject to the Model License.

7. Citation

@misc{deepseek-math-v2,
  author = {Zhihong Shao, Yuxiang Luo, Chengda Lu, Z.Z. Ren, Jiewen Hu, Tian Ye, Zhibin Gou, Shirong Ma, Xiaokang Zhang},
  title = {DeepSeekMath-V2: Towards Self-Verifiable Mathematical Reasoning},
  year = {2025},
}

8. Contact

If you have any questions, please raise an issue or contact us at service@deepseek.com.

Ready to dive deeper?

Explore the source code, contribute, or implement this high-quality solution in your next project:

View on GitHub

Related Topics:

#Artificial Intelligence #Machine Learning #Deep Learning #East Asia Tech #China AI Development #Open Source #GitHub Repositories #Large Language Models #Neural Networks #Tech Innovation