Scalpel vs. Hammer: GRPO Amplifies Existing Capabilities, SFT Replaces Them

Paper · arXiv 2507.10616 · Published July 13, 2025
Reinforcement Learning

Training large language models (LLMs) for reasoning via maths and code datasets has become a major new focus in LLM post-training. Two particularly popular approaches are reinforcement learning (RL) and supervised fine-tuning (SFT), but their training dynamics are poorly understood. We present a comparative analysis of RL and SFT on the same maths problems with the same model and similar hyperparameters. We find that RL yields minor in-domain gains on maths and slight degradation on knowledge-intensive benchmarks like MMLU, while both trends are more pronounced in SFT. We also analyse model parameters across checkpoints, observing that both algorithms modify query and key weights the most. Meanwhile, SFT exhibits greater updates and also affects mid-layer MLPs more, leading us to hypothesise that this may have caused the out-of-domain degradation. We therefore investigate whether freezing parts of the model during training can mitigate the reduced performance on knowledge-intensive benchmarks. However, our results are inconclusive, with benefits on GPQA:Diamond and degradation on other benchmarks. Taken together, our observations provide a preliminary indication for why RL amplifies existing capabilities, while SFT replaces old skills with new ones.

Introduction. Large language model (LLM) research has seen the emergence of a new post-training paradigm. When OpenAI released o1 (OpenAI, 2024), it triggered a wave of interest in “reasoning models”. These are models trained to generate chain-of-thought (CoT) traces in which they break down problems, work through them step by step and verify intermediate results. Remarkably, this causes them to be more reliable in a wide range of domains, and has advanced the frontier of performance as measured by standard benchmarks. “Reasoning training” has become very popular, and is performed with reinforcement learning (RL) algorithms like GRPO, or with supervised fine-tuning (SFT) on synthetic datasets collected from other reasoning models (DeepSeek-AI, 2025). However, there is little understanding of the dynamics that underpin these algorithms, and how they affect models internally. Furthermore, recent frontier models trained for reasoning with RL have been shown to hallucinate more (OpenAI, 2025). It is paramount for the field to gain a better understanding of how reasoning training affects models.

As such, we present a comparative analysis of GRPO and SFT under a highly controlled setup. We design our experiments to eliminate as many confounding variables as possible. We first apply GRPO to open-source models (Section 3.1), finding it to be expensive and unstable, requiring many tweaks for training to be successful. To enable fair comparisons, we then adapt our most performant hyperparameter configuration to SFT as faithfully as possible (Section 3.2), observing training to be much more stable and reliable. We then compare both approaches across a diverse set of benchmarks (Section 3.3), and note a trade-off between the two: SFT gives rise to more pronounced gains in-distribution at the cost of capability degradation out-ofdomain. Meanwhile, performance improvements are more modest for GRPO in return for out-of-domain capabilities staying more intact.

We then ask how GRPO and SFT affect models differently across checkpoints. To answer this question, we turn towards 20 intermediate checkpoints saved during training for each algorithm. We compute the KL divergence of every checkpoint with the base model (Section 4.1), observing SFT to have a particularly pronounced impact early into training, while GRPO impacts models more gradually. We also compare models on a parameter level (Section 4), observing that both approaches adjust query and key weights more than other weights. Notably, we find that SFT causes much greater updates than GRPO. This is especially pronounced in middle layers, which have been found to be

Related work. Since the release of O1 (OpenAI, 2024), there has been a flurry of new “reasoning” models1 from frontier labs (Anthropic, 2025; GeminiTeam, 2025; GrokAI, 2025). The key to the progress of “reasoning models” lies in applying reinforcement learning with verifiable rewards (RLVR; Lambert et al., 2025) directly to base models. Maths and code are popular domains for this as they are comparatively easy to verify. DeepSeek’s release of R1 (DeepSeek-AI, 2025) is particularly noteworthy as they describe the RLVR algorithm they use, Group Relative Policy Optimization (GRPO; Shao et al., 2024). Furthermore, they explain their process of applying RL directly to a base model, and collecting reasoning traces from a model trained with RL to create a synthetic dataset for supervised fine-tuning (SFT). Across both methods, they observe noteworthy gains in performance.

Their open release and prominent claims gave rise to a further wave of research into GRPO. Notably, Liu et al. (2025a) discover that DeepSeek-AI (2025)’s claims of ’aha moments’ from GRPO may be over-exaggerated, as the base model already exhibits them. Further, they argue that longer response lengths stem from length and difficulty biases in the GRPO setup concurrently to Yu et al. (2025)2.

In addition, it has been observed that capability acquisition occurs during pre-training and continual fine-tuning, while GRPO mainly amplifies skills the base model already has (Zhao et al., 2025; Ma et al., 2025; EssentialAI et al., 2025; Gandhi et al., 2025). Yue et al. (2025) show that these can be already be exposed in the base model by sampling with pass@k for sufficiently large values of k . Further, Hochlehnert et al. (2025) observe that RL may be prone to over-fitting on small benchmarks and that results are sensitive to sampling parameters and random seeds. Meanwhile, Mukherjee et al. (2025) find that RL makes sparse updates to subnetworks, and in concurrent work, Huang et al. (2025) and Yan et al. (2025) show that blending RL and SFT can mitigate limitations of either one. Taken together, these findings suggest that GRPO primarily serves capability amplification by shifting the output distribution towards correct completions which the base model was already capable of. Our work is in line with these results and comprises a first investigation into the training dynamics that underpin of this phenomenon.

Mechanistic interpretability seeks to reverse engineer operations performed by transformers (Elhage et al., 2021), for example by identifying circuits (Olsson et al., 2022; Wang et al., 2022; Prakash et al., 2024) or features (Bereska & Gavves, 2024).

Method. We start by exploring the differences between RL and SFT from the perspective of training effectiveness and benchmark performance. To enable principled comparisons, we line up the training setups for both algorithms as closely as possible (for more details, refer to Appendix A). We first tune GRPO and then adapt the hyperparameters to SFT. For our successful training runs, we save 20 intermediate checkpoints as this is a good trade-off between storage space and sufficient data points for subsequent analysis. We use OLMo-2-1124-7B-Instruct (Team-OLMo, 2025) as it is the most capable model at the 7B scale with openly available training data, enabling subsequent investigation into when specific capabilities were acquired. dataset3 for all training runs, because it allows for GRPO and SFT on the same questions. It consists of reasoning traces generated by DeepSeek R1 in response to questions from NuminaMath 1.5 (LI et al., 2024) that were verified with Math Verify4 and Llama-3.3-70B-Instruct (Llama 3 Team, 2024) as an LLM judge. The questions come from a variety of sources such as maths contests, K-12 math textbooks, olympiads, or forums.

For clarity, we briefly emphasize the difference between the two approaches. During our GRPO training, the questions come from NuminaMath 1.5, and the completions are sampled from the model itself. The parameter updates depend on how the reward functions assess the completions. In contrast, during SFT the questions also come from NuminaMath 1.5, but the completions were sampled from DeepSeek R1. Parameter updates do not depend on anything beyond a model’s ability to predict R1’s completions given the prompt. In both setups, we set all parameters to be trainable, and use the model’s native precision (bfloat16). Both setups also use the same prompt template, which is similar to the one used by DeepSeek (DeepSeek-AI, 2025). The system prompt instructs the model to use the <think>...</think> and <answer>...</answer> format. A full promptcompletion pair can be found in Figure 14.

We successfully train open-source models on maths tasks with GRPO, though we observe it to be computationally expensive and unstable. In our efforts to find effective training configurations, we develop a number of critical insights. Firstly, we find that many questions in OpenR1-Math-220k are at the olympiad level and too challenging for OLMo-2- 1124-7B-Instruct to answer correctly. This results in many parameter updates with respect to incorrect reasoning traces. Moving instead to an easier subset of 91k K12-level questions yielded much more reliable results, with accuracy and format rewards shown in Figure 1 (refer to Appendix B.1 for further details). Secondly, we note that careful reward function design is critical for rewarding responses that are both accurate and correctly formatted. We find reliable results when scaling the accuracy rewards and the format rewards by 1.0 and 0.2, respectively (refer to Appendix B.2 for further details). Finally, we make many additional adjustments to training hyperparameters to improve training stability (refer to Appendix B.3 for further details). We list the hyperparameters of our final approach and all details for reproducibility in Appendix A, and insights from attempts Following our experiments with GRPO, we adopt the working configuration from GRPO to SFT. We make a best effort attempt at keeping as many hyperparameters constant as possible, including the learning rate scheduling, the total number of questions seen by the model, the batch sizes, and the random seed. We expectedly find SFT to be much more stable. It requires much less tuning, featuring smooth loss curves, rare or no gradient norm spikes and predictable Scalpel vs. Hammer: GRPO Amplifies Existing Capabilities, SFT Replaces Them 3.3. Evaluating models after reasoning training Following our training runs, we ask the question whether GRPO and SFT have different impacts on model capabilities, and whether they vary across domains that are in- or out-of-distribution.

Discussion. Our benchmarks reveal a varied pattern of results. For the maths benchmarks, we observe that training the model with GRPO leads to modest performance improvements on MATH-500 and a slight degradation on GSM8k. Meanwhile, both of these developments are more pronounced after 3 epochs SFT, with slightly larger gains on MATH-500 and larger drops in performance on GSM8k. On AIME24, we observe that both the base model and all of our finetuned models struggle to get any questions right. Due to its relative cheapness, we also investigate training with SFT for 3 epochs. We find that this exacerbates the trend of 1 epoch training further. This is in line with findings by the open-r1 Taken together, our results suggest that reasoning training via GRPO may offer modest gains in targeted domains, while causing less degradation in others. Meanwhile, it appears that SFT can have much greater in-domain benefit at much higher out-of-domain costs. However, this interpretation may be affected by limitations of our setup. For example, it is possible that our parameters were not optimally tuned, so we refrain from making overly strong claims based on our results. We also note that models trained by DeepSeek-AI (2025) with SFT exhibit less capability degradation, and hypothesise this may be due to their use of 800k heavily curated samples, of which 600k were reasoning traces and 200k related to other domains. We call for more research into this trade-off.

In line with our other findings, we observe the KL divergence between OLMo-2-1124-7B-Instruct and checkpoints during SFT to increase considerably and early into training before plateauing. Conversely, GRPO exhibits much more gradual growth in the KL divergence with the base model, with a considerably lower plateau. This indicates that after GRPO, there is not a large difference in the tokens that the two models assign high probability to. Contrastingly, the stark rise in KL divergence in SFT suggests that the model starts producing very different output distributions early on.

These results paint a nuanced picture. On the one hand, a stronger KL divergence after SFT is expected as we use a higher learning rate. As such, updates to the model parameters are scaled more, potentially leading to more pronounced differences in output distributions. However, the early growth in KL divergence is still notable, as both models use “constant with warmup” for learning rate scheduling, with a warmup ratio of 0.1. This is in line with the expectedly high loss and gradient norm in this phase of training in Section 3.2, as the model still learns to fit to the tokens it is being trained on. Meanwhile, GRPO features many options for careful updates and stable training, such as clipping, which helps explain the very slow growth in KL.

Fundamentally, this points back to the central difference between the two setups. In SFT, the model is taught to fit Scalpel vs. Hammer: GRPO Amplifies Existing Capabilities, SFT Replaces Them The results of our cross-checkpoint analysis of GRPO are shown in Figure 5. We find that GRPO has different impacts across the layers and matrix types in OLMo-2-1124- 7B-Instruct. Most notably, the largest updates seem to be concentrated in the middle-layer query and key matrices. This is interesting, as the value and output matrices of the attention heads seem to change less in comparison. In the attention mechanism, queries and keys are matrix multiplied to create the attention map. This attention map is then matrix multiplied by the values and then outputs, enabling a form of token-to-token communication. Therefore, a possible hypothesis is that GRPO causes the attention heads to attend to different tokens, but that these still communicate the same thing.

Conclusion. In this investigation we present a closer look at the two most widely used methods for training “reasoning models”, GRPO and SFT. Taking care to eliminate potential confounding variables, we line up both training regimes by training the same model on the same problems with mostly the same hyperparameters. We find GRPO to be expensive and unstable, with easier question subsets and reward function choices being critical for effective training. Meanwhile, we observe SFT to be cheap and dependable. Many works do not account for this cost explicitly, and because SFT is more accessible, this motivates further research into the trade-off. In a controlled comparative setting, we note that GRPO yields modest gains on maths datasets and small degradations outside of them, while both trends are considerably exacerbated by SFT. Looking at the parameter level, we find the updates for query and key matrices to be largest in both methods, but at much larger magnitudes in SFT. We also find greater mid-layer updates in SFT, leading us to hypothesise that this caused the loss in performance on knowledge-intensive tasks. We use these insights to motivate experiments with freezing of model parameters, but find this to work poorly. While our parameter-level analysis reveals notable trends, conflicting results of using them in training shows that further research into this direction is needed. Taken together, our results hint at capability amplification in GRPO, and the acquisition of novel capabilities at the cost of old ones in SFT. Future work could explore the parameter level further, in particular potential sparsity or skewedness of gradient updates.

Limitations. While we pursued a fair comparison between both algorithms, we caution the reader that our work comes with drawbacks. For one, OLMo-2-1124-7B-Instruct was already trained with RLVR. While this introduces a confound, we found it to be the best of the available pre- and midtraining variants at actually gaining rewards. Generally, our data setup decisions were made with GRPO due to its cost, but it is possible that SFT could have seen greater gains otherwise. Similarly, it is critical especially for Section 4 to ensure that results are outside of the random noise of different seeds. Finally, our method makes a trade-off in keeping almost all hyper-parameters equal. While this makes the training dynamics comparable, it is arguably more realistic to use parameters that allow for optimal performance in each algorithm. We aim to make these improvements in future work. Despite these limitations, we believe that it nonetheless provides a notable initial comparison of GRPO and SFT to build on in future work.

Lines of inquiry this paper opens 24

Research framings built by reading the notes related to this paper — the questions it feeds into.

How do supervised fine-tuning and reinforcement learning compare in preserving reasoning quality? Can RL enable genuinely new reasoning or just optimize existing capabilities? How does AI-generated knowledge acquire authority and legitimacy beyond human expertise? Do base models contain latent reasoning that training can unlock?