Reinforcement learning with verifiable rewards (RLVR) is one of the most popular post-training paradigms for large language models. RLVR typically trains a single model under hyperparameters chosen before training begins, while researchers tune hyperparameters across consecutive runs. We introduce Population-Based Post-Training (PBPT), which trains several models in parallel and lets the training process do the tuning through population-based training. PBPT periodically evaluates models on a validation set. High-performers are duplicated and their hyperparameters perturbed to explore new configurations. Low-performers stop training and are replaced by these copies. On reasoning benchmarks (Enigmata, Nemotron) and interactive tool-use environments (Gaia2, AppWorld), PBPT produces stronger agents than compute-matched groups of independent RLVR learners. Furthermore, PBPT is able to recover from poor initial hyperparameters, automatically discovering better settings over the course of training.
Figures & tables
Figure 1: PBPT enables parallel RLVR learners to share progress while adapting their training configurations online. Unlike independent RLVR with a fixed configuration, PBPT adds an outer optimization loop guided by validation fitness, as shown in Subfigure (a). Two mechanisms, selection and mutation , coordinate this joint optimization, as illustrated separately in Subfigure (b). Selection copies weights from the higher-fitness learner B to A. Mutation changes A’s configuration while preserving its weights, allowing A to overtake B through subsequent training.
Figure 2: Comparison of PBPT and independent RLVR on Enigmata, Nemotron, Gaia2, and AppWorld. The x-axis shows accumulated training time per learner. The y-axis shows accuracy on Enigmata and Nemotron, and task goal completion on Gaia2 and AppWorld. Scatter points show subsampled evaluation results, and solid lines show smoothed means of the latest available evaluation from each population member or independent seed. The shared point at zero training time reports a separate evaluation of the base model. Compared with independent RLVR, PBPT achieves higher mean validation and test performance under matched training budgets.
Figure 3: Comparison of PBPT and independent RLVR on Enigmata with a suboptimal initial configuration. The axes, points, and lines follow the same convention as in Figure 2 . Over the course of training, PBPT continues to improve while independent RLVR loses its early gains.
Figure 4: Effect of mutation on Enigmata test performance under tuned and suboptimal initial configurations. The axes, points, and lines follow the same convention as in Figure 2 . PBPT without mutation underperforms full PBPT under the suboptimal configuration, but performs comparably under the tuned configuration. Both PBPT variants outperform independent RLVR.
Tuned initial configuration
Suboptimal initial configuration
Method
Avg. test
Best-val. test
Worst-val. test
Avg. test
Best-val. test
Worst-val. test
RLVR
75.40
78.00
73.03
40.87
45.86
26.70
PBPT w/o mutation
77.73
77.76
77.54
70.07
70.47
69.68
PBPT
77.59
78.12
77.03
76.40
76.74
75.79
Table 1: Enigmata test accuracy ( % ) under tuned and suboptimal initial RL configurations, averaged over the evaluation results in the final 20% of the training budget. Avg. test weights all 8 members equally. Best-val. test and Worst-val. test report the test means of the members with the highest and lowest validation means, respectively. Bold marks the highest value in each column.
Figure 5: Training with transferred configurations on Nemotron. Independent RLVR starts from the base model using a single fixed configuration aggregated from the final PBPT population. The axes, points, and lines follow the same convention as in Figure 2 . The transferred configuration improves mean validation and test performance over the original RLVR baseline, but does not match PBPT.
Figure 6: Evolution of the training configurations in the PBPT population on Enigmata. Subfigure (a) shows the learning rate and rollouts per scenario for individual members in gray, their range as a shaded band, and the population median in blue. Dashed lines mark initial values. Subfigure (b) shows the number of members using each RL loss. Subfigure (c) maps explored configurations to two interpretable axes, with points colored by the best fitness recorded under each configuration. The orange paths in Subfigures (a) and (c) trace the training history leading to the checkpoint with the highest fitness. In Subfigure (c), the circle and star mark the initial and best configurations.
Appendix figures & tables13 assets
Supplementary material from the paper’s appendix.
Appendix
Figure 7: Enigmata results before and after the benchmark corrections of Section A.1.1 . We compare independent RLVR learners trained on the original and corrected data. We reweight original-data scores to match the corrected splits’ family composition, without re-evaluating checkpoints. Scatter points show subsampled evaluation results, and solid lines show smoothed means of the latest available score from each learner.
Enigmata ( 4 B)
Nemotron ( 4 B)
Hyperparameter
Initial value
Search range
Initial value
Search range
Optimization
Learning rate
5×10−5
[10−8,10−3]
5×10−5
[10−8,10−3]
Weight decay
0.01
[10−5,0.02]
0.01
[10−5,0.02]
RL core
RL objective
GSPO
{RLOO, GSPO}
GSPO
{RLOO, GSPO}
Appendix
Table 2: Initial RL configurations and PBPT search ranges for the reasoning benchmarks. Values precede initial mutation, “fixed” means not mutated, and “—” denotes inapplicable settings.
Gaia2 ( 9 B)
AppWorld ( 4 B)
Hyperparameter
Initial value
Search range
Initial value
Search range
Optimization
Learning rate
5×10−5
[10−8,10−3]
5×10−5
[10−8,10−3]
Weight decay
0.01
[10−5,0.02]
0.01
[10−5,0.02]
RL core
RL objective
GSPO
{RLOO, GSPO}
GSPO
{RLOO, GSPO}
Appendix
Table 3: Initial RL configurations and PBPT search ranges for the agentic tool-use benchmarks. Values precede initial mutation, and “fixed” means not mutated.
Hyperparameter
Initial value
Search range
Final
Optimization
Learning rate
10−4
[10−8,10−3]
2.7×10−5
Weight decay
2.5×10−3
[10−5,0.02]
3.2×10−3
RL core
RL objective
GSPO
{RLOO, GSPO}
mixed
Epochs per iteration
4
[1,4]
3
Appendix
Table 4: Initial RL configuration and PBPT search ranges for the suboptimal-configuration experiments on Enigmata in Sections 5.2 and 5.3 . The context limit ( 48,000 tokens) and generation limit ( 24,576 tokens) are fixed. “Final” summarizes the PBPT population at the end of training. For numeric hyperparameters, it gives the median over the values recorded during each member’s last 100 training iterations, pooled across the 8 members. For Boolean settings, it gives the number of members ending with the setting on. “Mixed” indicates that members ended with different RL objectives ( 6 RLOO, 2 GSPO). Under RLOO, the epoch count, minibatch size, and clipping bounds are inactive. The per-family weights give the median and the 10 th– 90 th percentiles over the final weights of all 35 families and 8 members.
Hyperparameter
Step size
Gradient
Learning rate
+1.00
—
Epochs per iteration
+0.60
—
Rollouts per scenario
—
+0.80
Scenarios per iteration
—
+1.00
Parallel scenario runners
+0.15
—
Minibatch size
−0.60
+0.60
Appendix
Table 5: Axis weights for the hyperparameter maps in Figures 6(c) and 9 .
Members
Best val.
Δ
Best test
Δ
Distinct configs
Mutation events
Selection events
8
80.35
–
79.36
–
205
204
82
16
82.10
+1.75
80.96
+1.60
363
388
180
Appendix
Table 6: PBPT with 8 and 16 members on Enigmata. Best val. and test are the highest single evaluations ( % ) of any member within 66 hours. Counts cover the full runs, with events summed over members. We deduplicate configurations across members, excluding task-mixture weights and evaluation-only settings. Selection events correspond to replace actions.
Figure 8: Trajectories of the 16 -member population on Enigmata, colored by policy token entropy. The outlined line is the ancestry of the best checkpoint, followed through selection events.
Figure 9: Configurations explored by the 16 -member population, colored by best fitness. The line traces the ancestry of the best configuration, with letters marking its notable mutations.
Figure 10: Comparison of PBPT and independent RLVR on Nemotron with Qwen3.5-9B. The x-axis shows accumulated training time per learner, and the y-axis shows accuracy. Scatter points show subsampled evaluation results, and solid lines show smoothed population means, following the procedure in Section A.1 . The shared point at zero training time reports a separate evaluation of the base model. PBPT achieves higher mean validation and test accuracy than independent RLVR.
Method
Avg. test
Best-val. test
Worst-val. test
RLVR
55.0±3.4
59.4
48.6
PBPT
63.8±0.6
64.1
64.0
Appendix
Table 7: Nemotron test accuracy ( % ) with Qwen3.5-9B, averaged over evaluations in the final 20% of the training budget. Avg. test reports the mean and standard deviation across the 8 learners’ test means. Best-val. test and Worst-val. test report the test means of the learners with the highest and lowest validation means, respectively. Bold marks the highest accuracy in each column.
Benchmark
Method
Avg. test
Best-val. test
Worst-val. test
Enigmata
RLVR
75.40
78.00
73.03
PBPT (init. mut. only)
75.82
77.43
70.86
PBPT (full)
77.59
78.12
77.03
Nemotron
RLVR
49.28
56.81
44.48
PBPT (init. mut. only)
45.89
60.01
36.69
PBPT (full)
60.57
62.03
60.85
Appendix
Table 8: Test performance ( % ) of independent RLVR, initial-mutation-only PBPT, and full PBPT. The two PBPT variants start from identical configuration sets, while RLVR starts from the human-tuned configuration without initial mutation. All statistics use the final- 20% averaging protocol of Table 1 . Bold marks the highest value in each column within each benchmark.
Method
Avg. test
Best-val. test
Worst-val. test
RLVR
49.28
56.81
44.48
PBPT (original)
60.57
62.03
60.85
PBPT (online mut. only)
52.19
57.00
38.57
PBPT (rerun)
59.76
60.06
59.35
PBPT (fixed inference)
58.60
59.41
58.15
Appendix
Table 9: Additional Nemotron comparisons with Qwen3.5-4B. Test accuracy ( % ) follows the final- 20% averaging protocol of Table 1 . The independent rerun changes the random seed, and fixed inference disables temperature mutation. Bold marks the highest value in each column.
Split
Method
Avg. test
Best-val. test
Worst-val. test
Test-normal
PBPT (full)
84.73
86.90
80.44
PBPT (online mut. only)
77.77
81.55
77.81
PBPT (fixed inference)
82.77
84.05
81.02
Test-challenge
PBPT (full)
63.18
64.24
67.15
PBPT (online mut. only)
56.53
54.00
64.41
PBPT (fixed inference)
60.33
62.64
57.47
Appendix
Table 10: Additional AppWorld comparisons with Qwen3.5-4B. Test performance ( % ) follows the final- 20% averaging protocol of Table 1 , using the same validation ranking for both test splits. Bold marks the highest value in each column within each split.
Reinforcement learning post-training adapts pretrained models with reward or feedback signals to improve reasoning, alignment, and interactive behavior.
Reinforcement learning with verifiable rewards (RLVR) has become an important way to improve how language models reason, solve problems, and use tools. But getting it to work in practice is not always straightforward. Training can fail because a model receives no useful reward, learns to exploit the reward system, stops exploring, or appears to improve when the evaluation itself is misleading. In this book, we give a practical introduction to reinforcement learning post-training for language models, focusing on what works, what fails, and why. We begin with the foundations of post-training, explain GRPO and the training loop step by step, and then follow five training programs covering math reasoning, search agents, training stability, mixture-of-experts models, and software engineering tasks. Each program shows the problems encountered, the changes made, and the lessons learned. The book also examines what reinforcement learning actually changes inside a model. The remaining chapters provide a practical reference for reward design, evaluation, training tool-using agents, debugging common failures, reproducibility, rollout engines, and hardware. Written for researchers and practitioners working with open models, the book aims to help readers understand how to train models, recognize when something goes wrong, and decide what to try next.
Traditional on-policy Reinforcement Learning with Verifiable Rewards (RLVR) frameworks suffer from experience waste and reward homogeneity, which directly hinders learning efficiency on difficult samples during large language models post-training. In this paper, we introduce Batch Adaptation Policy Optimization (BAPO), an off-policy RLVR framework to improve the data efficiency in large language models post-training. It dynamically selects training batches by re-evaluating historically difficult samples and reusing high-quality ones, while holding a lower bound guarantee for policy improvement. Extensive experiments further demonstrate that BAPO achieves an average 12.5% improvement over GRPO across mathematics, planning, and visual reasoning tasks. Crucially, BAPO successfully resolves 40.7% of problems that base models consistently fail to solve.
Xu Wan, Yansheng Wang, Wenqi Huang +1
Zhejiang University · Bytedance Seed Robotics · Peking University +1
Reinforcement learning for large language model post-training often reuses each batch of sampled rollouts for several gradient passes to amortize the cost of generation. Under such multi-pass reuse, existing objectives fail in different ways: unclipped updates collapse as the policy drifts away from the sampling policy, adding a negative baseline avoids collapse but reinforces every sampled response, and PPO-style ratio clipping cuts off gradients abruptly. We first ask why reuse is fragile. Measuring how well an update estimated from a small rollout group aligns with the KL-regularized target on held-out rollouts of the same prompts, we find that this alignment drops by nearly an order of magnitude from in-sample to held-out rollouts across three base models, suggesting that repeated passes largely overfit the sampled group. Motivated by this finding, we propose Bounded Residual-Aligned Training (BRAT), motivated by a proximal update toward a bounded reweighting of the sampling policy. BRAT assigns each token a gradient weight that decreases linearly with its probability ratio and vanishes at a trust-region boundary, and normalizes group-centered rewards by their maximum magnitude, keeping advantages zero-mean and bounded without extra hyperparameters. With four reuse passes, BRAT avoids training collapse, limits policy drift, and achieves higher average accuracy with lower seed variance on most benchmarks.
Xunlan Zhou, Yuzhe Zhao, Xuhong Huang +4
Nanjing University · Shanghai Jiao Tong University · The University of Hong Kong +1