Training One Middle Layer Can Match Full RL Post-Training
Across seven Qwen-based models, training a single transformer layer with reinforcement learning recovered most of the gains of full-parameter training, and middle layers did best.
TL;DR
- Training a single transformer layer with reinforcement learning recovered most of full-parameter RL's gains across seven Qwen-family models, sometimes more [^1].
- Middle layers contributed most, and training only the ten best layers lifted Qwen3-8B's math average to 69.1 percent, against 66.4 for full training [^1].
Background
Reinforcement learning with verifiable rewards (RLVR) is a post-training step in which a language model is rewarded when its answer can be checked as correct, as with math problems [^1]. GRPO, a common algorithm for it, scores each response against a group of responses sampled for the same prompt [^1]. Standard RL post-training updates all of a model's layers jointly, which, the authors write, gives little visibility into where in the network the gains come from [^1].
What happened
Researchers from the University of Minnesota, Peking University and Amazon posted the study to arXiv on July 1; a note says the work is independent of and outside of the work at Amazon [^1]. For each model, they trained every layer on its own with RL while freezing all other parameters, then compared the gain with that of full-parameter training. They call the ratio layer contribution: 1.0 means one layer matches full training, and values above 1.0 mean it does better [^1]. The seven models include Qwen3-1.7B, 4B and 8B base models trained on math with GRPO, Qwen2.5-Math-1.5B trained with Dr. GRPO, two Qwen2.5 instruct models trained with GiGPO on the agentic benchmark ALFWorld, and DeepSeek-Distilled-Qwen-7B [^1]. The learning rate was tuned for the full-parameter baseline and reused for every single-layer run, so the reference was as strong as the authors could make it [^1].
On Qwen3-1.7B-Base, contribution ranged from 0.28 for layer 24 to 1.14 for layer 10, and five of the 28 layers beat full training [^1]. In every model, the best layer matched or surpassed full-parameter training, high-contribution layers sat in the middle of the network, and layers near the input and output contributed substantially less [^1]. Training layer 0 of Qwen3-8B-Base alone even pushed math performance below the untrained base model [^1]. The rankings were stable: on Qwen3-1.7B-Base, they correlated with a Spearman coefficient of 0.76 between two math datasets and 0.59 between math and code [^1]. Layers that learned math well also tended to improve code, reasoning and language benchmarks [^1].
The team then used the rankings to guide ordinary training. Raising the learning rate for the highest-contribution layers improved math scores on all three Qwen3 models, while boosting the weakest layers made them worse [^1]. Training only the best layers and freezing the rest also beat full-parameter training: on Qwen3-8B-Base, the ten best layers reached 69.11 against 66.43 [^1]. Ranking the layers requires training each one separately, which the authors call expensive and impractical for routine use. So they also tried training just the middle five layers by position, and that heuristic beat full training on all three Qwen3 models without any profiling [^1].
Why it matters
Standard RL post-training implicitly assumes that every layer contributes similarly to the gains, and the paper challenges that assumption [^1]. If most of the gain sits in a stable band of middle layers, training only that band is, in the authors' words, "a strong default strategy" when per-layer profiling isn't available [^1]. The effect is also not a matter of some layers simply moving more. Under full training, weight changes were remarkably uniform across layers, at roughly 0.5 to 0.8, even though contribution varied widely [^1]. And models trained on different single layers solved different problems: a majority vote across seven of them reached 33.6 percent on OlympiadBench, against 26.9 percent for full training [^1].
The scope is narrower than the title suggests. The models range from 1.5 to 8 billion parameters and come from the Qwen families [^1]. Single-layer training still backpropagates through the whole network; only the parameter update is restricted to one layer [^1]. The guided strategies were validated only on math, the majority-vote ensemble is meant as an analysis tool rather than a practical training method, and why middle layers matter most remains an open question, the authors write [^1].
Practical example
Say you are fine-tuning a 36-layer open model with GRPO to improve its math answers, and your script updates all parameters. Following this paper, you could add a second run that trains only the middle five layers, which the authors set at layers 15 to 19 for both 36-layer Qwen3 models [^1]. Like the authors, you freeze everything else by setting requires_grad=False on those parameters in PyTorch [^1]. In their tests, that simple setting beat full-parameter training on all three Qwen3 models [^1]. You still compare both runs on held-out benchmarks, because the strategies were tested only on math and on models up to 8 billion parameters [^1].
Related gear
We recommend this book because it walks through how a transformer's layers are built and trained, the structure this study examines one layer at a time.