An Empirical Model of Large-Batch Training
Sam McCandlish, Jared Kaplan, Dario Amodei, OpenAI Dota Team

TL;DR
This paper introduces the gradient noise scale as a predictor of optimal batch size in deep learning, providing a unified understanding across various domains and training scenarios.
Contribution
It proposes a simple, measurable statistic called the gradient noise scale that predicts the maximum effective batch size across multiple domains and models.
Findings
Gradient noise scale increases as loss decreases.
It depends on model size and performance.
The theory explains tradeoffs in compute and time efficiency.
Abstract
In an increasing number of domains it has been demonstrated that deep learning models can be trained using relatively large batch sizes without sacrificing data efficiency. However the limits of this massive data parallelism seem to differ from domain to domain, ranging from batches of tens of thousands in ImageNet to batches of millions in RL agents that play the game Dota 2. To our knowledge there is limited conceptual understanding of why these limits to batch size differ or how we might choose the correct batch size in a new domain. In this paper, we demonstrate that a simple and easy-to-measure statistic called the gradient noise scale predicts the largest useful batch size across many domains and applications, including a number of supervised learning datasets (MNIST, SVHN, CIFAR-10, ImageNet, Billion Word), reinforcement learning domains (Atari and Dota), and even generative…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsOptimization and Search Problems · Machine Learning and Algorithms · Reinforcement Learning in Robotics
