JT-Math: A Multi-Stage Framework for Advanced Mathematical Reasoning in Large Language Models

Yifan Hao, Fangning Chao, Yaqian Hao, Zhaojun Cui, Huan Bai, Haiyu Zhang, Yankai Liu, Chao Deng, Junlan FengarXiv 2025 · DOI

Mathematical reasoning is often cited as the "final frontier" for Artificial General Intelligence (AGI). While modern Large Language Models (LLMs) can solve basic word problems, they frequently stumble when faced with the multi-step, high-stakes deliberation required for competition-level mathematics. In a new paper, the JIUTIAN Team from the China Mobile Research Institute introduces JT-Math-8B, a series of open-source models that demonstrate how a systematic, multi-stage optimization framework can allow a relatively small 8B model to outperform giants like GPT-4o and specialized reasoning models like OpenAI’s o1-mini.

Abstract

JT-Math-8B is a suite of 8-billion parameter models (Base, Instruct, and Thinking) optimized through a rigorous multi-stage pipeline. By utilizing a 210B-token math-heavy pre-training corpus and a novel curriculum-based reinforcement learning strategy, it achieves state-of-the-art results for its size. Notably, the model surpasses o1-mini and GPT-4o on challenging benchmarks such as AIME and OlympiadBench.

Methodology

The authors employ a multi-stage framework across both pre-training and post-training to transition the model from general math knowledge to "slow thinking" capabilities.

1. Three-Stage Pre-training

  • General Math Knowledge: Initializing from a code-heavy base (JT-Coder-8B), the model is trained on 260B tokens of math and general data.
  • Reasoning and Thinking: Introduction of Long Chain-of-Thought (CoT) data shifts the model toward step-by-step problem-solving.
  • Context Length Extension: The sequence length is gradually increased from 8K to 32K tokens to accommodate deep reasoning.

2. Dual-Path Post-training

  • Instruct Model: Optimized for concise, direct answers using Supervised Fine-Tuning (SFT) and Group Relative Policy Optimization (GRPO).
  • Thinking Model: Designed for complex problems using a "Slow Thinking" RL curriculum that progressively increases task difficulty and context length (8K → 16K → 32K).

3. Data Curation

The team used a "model-based filtering" approach. They found that SFT performance saturates quickly, so they used a reward model (Qwen2.5-Math-RM-72B) to keep only the top 10% of high-quality data. This reduced the dataset size by 90% while actually improving performance.

Key Insights

  • Quality Over Quantity in SFT: Aggressively filtering SFT data to retain only the top 10% of samples led to better generalization than using the full dataset.
  • Curriculum RL is Essential: Jumping straight into 32K context length RL is unstable. By using a curriculum that increases context length and problem difficulty in stages, the authors achieved more stable policy updates and better "deep thinking" behavior.
  • The Power of Distillation: To boost the "Short CoT" Instruct model, the authors used DeepSeek-R1 to rewrite and condense long reasoning chains into concise, high-quality examples.

Key Results

JT-Math-8B-Thinking delivers heavyweight performance in a lightweight package, establishing a new state-of-the-art for 7B/8B class models.

Comparison of JT-Math-8B performance against leading models in Instruct and Thinking modes across major math benchmarks.

As illustrated in the performance comparison, the Thinking variant achieves:

  • MATH-500: 93.8%, outperforming o1-mini (90.2%) and DeepSeek-R1-Distill-Qwen-7B (92.0%).
  • AIME 2024: 69.17%, a significant lead over o1-mini (61.25%).
  • OlympiadBench: 59.59%, surpassing both o1-mini and GPT-4o.

Across all benchmarks, the Thinking variant averaged 77.68%, demonstrating that architectural scale can be partially compensated for by extreme data quality and specialized training stages.

Limitations and Future Work

While highly effective in mathematics, the model's performance on general natural language tasks is limited due to its heavy specialization. Future directions include exploring "multi-tool" mathematical reasoning (integrating calculators or code interpreters) and expanding the framework to other scientific domains like physics and chemistry.

Paper Citation: Hao, Y., et al. (2025). JT-MATH: A Multi-Stage Framework for Advanced Mathematical Reasoning in Large Language Models. arXiv:2507.19748v1 [cs.CL].

Summary updated

BibTeX
@misc{hao2025jt,
  author = {Yifan Hao and Fangning Chao and Yaqian Hao and Zhaojun Cui and Huan Bai and Haiyu Zhang and Yankai Liu and Chao Deng and Junlan Feng},
  title = {{JT-Math: A Multi-Stage Framework for Advanced Mathematical Reasoning in Large Language Models}},
  year = {2025},
  eprint = {2507.19748},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.19748},
}
Figure