A Practical Two-Stage Recipe for Mathematical LLMs: Maximizing Accuracy with SFT and Efficiency with Reinforcement Learning
Aillis Inc.(Aillis公司);Department of Health Policy(健康政策部门);Public Health, Graduate School of Pharmaceutical Sciences, The University of Tokyo, Tokyo, Japan(公共卫生,药学研究生院,东京大学,东京,日本);Rist Inc.(Rist公司)
Hiroshi Yoshihara, Taiki Yamaguchi, Yuichi Inoue
备注:
Presented at ICML 2025 Workshop on The second AI for MATH
Enhancing the mathematical reasoning of Large Language Models (LLMs) is a pivotal challenge in advancing AI capabilities. While Supervised Fine-Tuning (SFT) and Reinforcement Learning (RL) are the dominant training paradigms, a systematic methodology for combining them to maximize both accuracy and efficiency remains largely unexplored. This paper introduces a practical and effective training recipe that strategically integrates extended SFT with RL from online inference (GRPO). We posit that these methods play complementary, not competing, roles: a prolonged SFT phase first pushes the model's accuracy to its limits, after which a GRPO phase dramatically improves token efficiency while preserving this peak performance. Our experiments reveal that extending SFT for as many as 10 epochs is crucial for performance breakthroughs, and that the primary role of GRPO in this framework is to optimize solution length. The efficacy of our recipe is rigorously validated through top-tier performance on challenging benchmarks, including a high rank among over 2,200 teams in the strictly leak-free AI Mathematical Olympiad (AIMO). This work provides the community with a battle-tested blueprint for developing state-of-the-art mathematical reasoners that are both exceptionally accurate and practically efficient. To ensure full reproducibility and empower future research, we will open-source our entire framework, including all code, model checkpoints, and training configurations at https://github.com/analokmaus/kaggle-aimo2-fast-math-r1.
Mila - Quebec AI Institute(魁北克人工智能研究所);Polytechnique Montréal(蒙特利尔理工学院);Université de Montréal(蒙特利尔大学);McGill University(麦吉尔大学);CIFAR AI Chair(CIFAR人工智能主席);Google DeepMind(谷歌DeepMind)
Architecture-Aware Reinforcement Learning Makes Sliding-Window Attention Competitive in Math Reasoning
Shanghai Research Institute for Intelligent Autonomous Systems, Tongji University(上海智能自主系统研究院,同济大学);Shanghai AI Laboratory(上海人工智能实验室);Hong Kong University of Science and Technology (Guangzhou)(香港理工大学(广州))
From Reasoning Traces to Reusable Modules: Understanding Compositional Generalization in Language Model Reasoning
Carnegie Mellon University(卡内基梅隆大学);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);Institute of Foundation Models(基础模型研究院);University of Michigan(密歇根大学)
Sparsity Curse: Understanding RLVR Model Parameter Space from Model Merging
Zhejiang University(浙江大学);Simon Fraser University(西蒙菲莎大学);The Chinese University of Hong Kong(香港中文大学);Zhejiang Key Lab of Accessible Perception and Intelligent Systems(浙江省可感知智能系统重点实验室)
What Can RL Bring to VLA Generalization? An Empirical Study
Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院);Institute for Interdisciplinary Information Sciences, Tsinghua University(清华大学交叉信息研究院);Department of Electronic Engineering, Tsinghua University(清华大学电子工程系)
SWE-QA-Pro: A Representative Benchmark and Scalable Training Recipe for Repository-Level Code Understanding
University of Waterloo(滑铁卢大学);University of Toronto(多伦多大学);The Hong Kong University of Science and Technology(香港科学与技术大学);McGill University & MILA(麦吉尔大学及MILA);Verdent AI, Inc.(Verdent AI公司)
Sequential Beats Joint: On the Interplay between On-Policy Distillation and RLVR
New York University(纽约大学);University of Chicago(芝加哥大学);University of Waterloo(滑铁卢大学);University of Alberta(阿尔伯塔大学);NYU Shanghai(纽约大学上海分校);Alberta Machine Intelligence Institute (Amii)(阿尔伯塔机器智能研究所)
Rethinking Expert Trajectory Utilization in LLM Post-training for Mathematical Reasoning
Zhejiang University(浙江大学);School of Engineering, Westlake University(西湖大学工程学院);Institute of Advanced Technology, Westlake Institute for Advanced Study(西湖先进研究院技术研究所);Huawei Noah’s Ark Lab(华为诺亚实验室)
Learnability-Informed Fine-Tuning of Diffusion Language Models
Department of Computer Science and Engineering, Texas A\&M University, College Station, TX, USA(计算机科学与工程系,德克萨斯A&M大学,College Station, TX, USA);Department of Electrical and Computer Engineering, Texas A\&M University, College Station, TX, USA(电气与计算机工程系,德克萨斯A&M大学,College Station, TX, USA)