From the source
Lead story
Top stories
Models & availability
Latest
Lead story
Top stories
Models & availability
Latest
From the source
Batch size trade-offs in LLM reinforcement learning efficiency
Tencent researchers investigate how batch size affects the efficiency of reinforcement learning training for large language models, analyzing the trade-off between throughput gains and sample efficiency.
The study develops a framework to identify the batch size that minimizes wall-clock time to reach target performance, showing that while moderate batch increases with learning-rate retuning can improve efficiency, excessively large batches incur sample costs that outweigh throughput benefits.
From the source
A larger batch can be either an accelerator or a speed bump. In our experiments, a moderately larger batch with learning-rate retuning preserves learning efficiency while improving throughput. But once the batch becomes too large, the additional sample cost can outweigh the throughput gain.
hunyuan.tencent.com