Function-Structured Reinforcement Learning with Executable Verifiers for Mathematical Reasoning
Zihan Liu, Xurong Xie
Key points
From the paper's conclusion- Algorithmic mathematical reasoning requires reliable decomposition, computation, and aggregation, and this work proposes Function-Structured Graph Reinforcement Learning (FSG-RL), connecting subproblem graphs and Python implementations with multi-verifier feedback.
- Under a unified evaluation protocol, GRPO improves final-answer accuracy from 43.25% to 67.50% and full solution success from 32.25% to 52.25% over SFT.
- The gains extend beyond producing correctly formatted code, supporting verifier-guided reinforcement learning for mathematical reasoning.
Abstract
Algorithmic mathematical reasoning requires reliable decomposition, computation, and aggregation. Final-answer rewards provide limited guidance on intermediate errors, while successful execution does not guarantee mathematical correctness. This work proposes Function-Structured Graph Reinforcement Learning (FSG-RL), connecting subproblem graphs and Python implementations with multi-verifier feedback. The policy first learns to generate code from function graphs through supervised fine-tuning (SFT). Group Relative Policy Optimization (GRPO) then optimizes the policy using answer-gated rewards and span-level credit assignment. The framework also supports teacher supervision and structured memory. A benchmark curated from Grade School Math 8K (GSM8K), MathQA, MATH, and Omni-MATH pairs public function graphs with private verification specifications. Under a unified evaluation protocol, GRPO improves final-answer accuracy from 43.25% to 67.50% and full solution success from 32.25% to 52.25% over SFT. Continued reinforcement learning (RL) with teacher supervision yields additional gains. The gains extend beyond producing correctly formatted code, supporting verifier-guided reinforcement learning for mathematical reasoning. Code is available at https://github.com/ZihanLiummyycc/FSG-RL.
Read the paper
Discussion · 1
Science Skim's AI key points, plus readers' public thoughts
- Algorithmic mathematical reasoning requires reliable decomposition, computation, and aggregation, and this work proposes Function-Structured Graph Reinforcement Learning (FSG-RL), connecting subproblem graphs and Python implementations with multi-verifier feedback.
- Under a unified evaluation protocol, GRPO improves final-answer accuracy from 43.25% to 67.50% and full solution success from 32.25% to 52.25% over SFT.
- The gains extend beyond producing correctly formatted code, supporting verifier-guided reinforcement learning for mathematical reasoning.
Readers' thoughts
No reader thoughts yet.
Related papers
- SCOPE-RL: Reinforcement Learning with Executable Step-Level Verification for Mathematical ReasoningMathematics · 2026
- Learning to Prove, Not Just to Answer: Reinforcement Learning from Formal Verification for Natural-Language Logical ReasoningarXiv · 2026
- What RL Brings to Reasoning: A Few Decisions the Base Model Would Not MakearXiv · 2026
- Improving Math Reasoning through Value-guided Informative SearcharXiv · 2026
- Verifier-Grounded Agentic RL for Provably Correct CodearXiv · 2026
- Agent-Guided Process Verification for Mathematical Self-CorrectionarXiv · 2026