arXiv(opens in a new tab)cs.LGAug 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2608.29296

When Do Larger Batches Help Scale LLM Reinforcement Learning?

Ziniu Li, Jinbo Wang, Guanhua Huang, Feiyuan Zhang, Pengbo Li, Alex Chen

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Larger batches reduce the variance of stochastic gradients per update and are therefore often expected to accelerate training. Yet whether this statistical benefit translates into lower wall-clock time-to-target remains unclear, because each update consumes more samples and may take longer to execute. We study this tradeoff in reinforcement learning for large language models. We separate its algorithmic and systems effects by comparing learning and execution along their natural axes. At the algorithmic level, we compare configurations at equal cumulative sample counts while retuning batch-dependent hyperparameters. Over a bounded range of batch sizes, this procedure yields an approximately batch-size-invariant family whose members follow similar sample-indexed learning trajectories. At the systems level, we exploit the computational asymmetry between rollout generation and training: autoregressive generation is often memory-bandwidth-bound at low concurrency, whereas training work scales approximately with the number of processed tokens. Combining these two views yields a direct decision rule: a larger-batch configuration reduces time-to-target only when its throughput gain exceeds its samples-to-target penalty. Experiments with GRPO and PPO support both sides of this decomposition. At the algorithmic level, square-root learning-rate scaling with Adam produces approximately batch-size-invariant learning curves over a bounded range of batch sizes. At the systems level, larger batches improve generation throughput by up to 2.29×2.29 \times on fixed hardware. In GRPO, combining higher throughput with learning-rate retuning reduces time-to-target by up to 29%, whereas increasing the batch without retuning is slower despite its higher throughput.

Figure

Figure 1: A data-informed schematic based on selected GRPO operating points from our experiments (Table 1). Each trail marker denotes one optimizer update. It highlights three messages: (1) after learning-rate retuning, B, 2B, and 4B are approximately batch-size invariant in cumulative samples; (2) higher realized throughput within this regime improves wall-clock efficiency; and (3) beyond this regime, as at 16B, normalized time-to-target deteriorates, rising above the B baseline.

1 Introduction

Scaling reinforcement learning (RL) to larger language models (LLMs) and longer training runs demands substantially more computation. Recent reasoning systems such as OpenAI o1 and DeepSeek-R1 illustrate the growing role of RL post-training in improving LLM reasoning (OpenAI, 2024; Guo et al., 2025). Increasing the batch size is a primary means of exposing parallelism: larger batches place more rollout-generation and optimization work in flight, potentially improving hardware utilization while reducing stochastic-gradient variance (McCandlish et al., 2018; Shallue et al., 2019). However, each update also consumes more newly generated samples and may take longer to collect and optimize. This raises a fundamental question: can large-batch training actually reduce wall-clock time-to-target?

Prior studies (Goyal et al., 2017; Smith et al., 2018; Shallue et al., 2019) suggest that data-parallel scaling is most effective when two conditions hold: (1) additional computational resources allow larger batches to be processed through data parallelism while keeping per-step time approximately constant; and (2) the batch remains within the statistically efficient regime, typically below or near a threshold commonly referred to as the critical training batch size, with batch-dependent hyperparameters appropriately retuned. In this paper, we instead study this question in the practically important fixed-hardware setting 1^{1}: can increasing the batch size alone reduce wall-clock time-to-target, and if so, under what conditions? In conventional supervised learning, this opportunity is often limited once dense forward–backward computation saturates the available hardware. LLM RL has a different computational structure: training samples must first be generated, typically through autoregressive decoding, before they can be consumed by model updates (Li et al., 2024; Shao et al., 2024). Consequently, batch tuning couples an algorithmic question (how much learning is obtained from a fixed number of samples) with a systems question (how quickly those samples are generated and consumed).

To formalize the tradeoff, we use a two-level learning-effectiveness–throughput decomposition:

dJdt⏟learning progress rate=dJdN⏟sample efficiency×dNdt⏟systems efficiency,(1)\underbrace{\frac{\mathrm{d}J}{\mathrm{d}t}}_{\mathrm{l e a r n i n g~p r o g r e s s~r a t e}}=\underbrace{\frac{\mathrm{d}J}{\mathrm{d}N}}_{\mathrm{s a m p l e~e f f i c i e n c y}}\times\underbrace{\frac{\mathrm{d}N}{\mathrm{d}t}}_{\mathrm{s y s t e m s~e f f i c i e n c y}}, \tag{1}

where J denotes evaluation performance, N denotes cumulative consumed samples, and t denotes wall-clock time. The first factor measures learning progress per sample and captures the algorithmic effect of batch size; the second measures the rate at which samples are generated and consumed and captures its systems effect. To compare batch configurations, we fix a performance target. For each configuration, let the samples-to-target N∗N^* be the cumulative number of samples required to reach it, and let T be the corresponding wall-clock time-to-target. The realized average end-to-end throughput over that interval is then q=N∗/Tq = N^* / T. Thus, comparing a larger-batch configuration 2 with a reference configuration 1,

T2<T1⟺q2q1>N2⋆N1⋆⏟rN,(2)T_{2}<T_{1}\quad\Longleftrightarrow\quad\frac{q_{2}}{q_{1}}>\underbrace{\frac{N_{2}^{\star}}{N_{1}^{\star}}}_{r_{N}}, \tag{2}

where rNr_{N} is the samples-to-target penalty.

Equation (2) answers the title question: a larger batch helps precisely when its throughput gain exceeds its sample penalty. In practice, we can implement this decision rule in two stages. First, we retune batch-dependent hyperparameters to construct an approximately batch-size-invariant family, for which rN≈1r_{N} \approx 1 over a bounded regime (McCandlish et al., 2018; Hilton et al., 2022; Malladi et al., 2022). Second, we exploit generation–training asymmetry to increase q. In bandwidth-bound decoding, model weights are streamed once per step, so larger active batches amortize this nearly fixed traffic across more tokens. Generation time can therefore grow sublinearly with batch size while training work grows approximately linearly with processed tokens (Williams et al., 2009; Pope et al., 2023; Zhong et al., 2024). This asymmetry can increase end-to-end throughput.

Empirically, we study GRPO with Qwen3-30B-A3B-Instruct-2507 (Yang et al., 2025) and PPO with an internal Hunyuan mixture-of-experts model with 3B active parameters. Figure 1 provides a schematic preview. First, square-root learning-rate scaling for Adam produces approximately batch-size-invariant learning curves in both workloads. In particular, this invariance holds only over a bounded range and begins to break down at extremely larger batch sizes. Further, this alignment also depends on batch-dependent learning-rate retuning: in our GRPO fixed-learning-rate control, doubling the batch increases samples-to-target by 67%. Second, we show that increasing the PPO batch by 4×4\times on fixed

1^{1}Focusing on fixed hardware isolates the effect of batch size from that of adding accelerators. The same throughput versus-sample-efficiency criterion also applies when the accelerator count changes, after accounting for the corresponding change in throughput.

hardware improves generation throughput by 2.29×2.29\times. In GRPO, larger batches with learning-rate retuning reduce time-to-target by up to 29%. Together, these results demonstrate that fixed-hardware speedup is conditional on both preserving learning per sample and improving systems throughput.

To summarize, our contributions are:

• We formulate batch-size invariance as a comparison and transfer principle and study it empirically across PPO and GRPO in modern LLM RL post-training.

• We characterize the generation–training asymmetry that enables acceleration even under a fixed hardware allocation and measure how rollout-collection cost changes with batch size.

• We operationalize the decision rule as a practical two-stage tuning procedure. Our experiments support both components and both directions of the rule: generation throughput improves by up to 2.29×2.29\times, tuned larger-batch configurations reduce time-to-target by up to 29%, and a fixed-learning-rate control is slower despite higher throughput.

References (33)