Beyond Accuracy: Dissecting Mathematical Reasoning for LLMs Under Reinforcement Learning

Shafiq Joty (Salesforce Research) · Caiming Xiong (Salesforce Research) · Jiayu Wang (Department of Computer Science, University of Wisconsin - Madison) · Yifei Ming (Salesforce AI Research) · Zixuan Ke (Salesforce AI Research) · Aws Albarghouthi (University of Wisconsin, Madison) · Frederic Sala (University of Wisconsin, Madison)
chain of subproblemsdata-efficientgrpohuman-crafted plansinternal strategiesinterpretable rl pipelinesknowledge integrationlanguage modelsmixed-quality reasoningmulti-stage rl pipelineperformance robustnessplan followingreasoning processesreinforcement learningsparklesparklerl-pss

Reinforcement learning (RL) has become the dominant paradigm for improving the performance of language models on complex reasoning tasks. Despite the substantial empirical gains demonstrated by RL-based training methods like GRPO, a granular understanding of why and how RL enhances performance is still lacking. To bridge this gap, we introduce SPARKLE, a fine-grained analytic framework to dissect the effects of RL across three key dimensions: (1) plan following and execution, (2) knowledge integration, and (3) chain of subproblems. Using this framework, we gain insights beyond mere accuracy. For instance, providing models with explicit human-crafted, step-by-step plans can surprisingly degrade performance on the most challenging benchmarks, yet RL-tuned models exhibit greater robustness, experiencing markedly smaller performance drops than base or SFT models. This suggests that RL may not primarily enhance the execution of external plans but rather empower models to formulate and follow internal strategies better suited to their reasoning processes. Conversely, we observe that RL enhances models' ability to integrate provided knowledge into their reasoning process, yielding consistent gains across diverse tasks. Finally, we study whether difficult problems