Adaptive Batch Sizes Using Non-Euclidean Gradient Noise Scales for Stochastic Sign and Spectral Descent
Abstract
Lay Summary
Training massive AI models requires enormous computing power and energy. To speed up this process, systems analyze data in groups called "batches," but finding the optimal batch size is difficult: too small wastes time, while too large degrades the model quality. Existing automatic batch-sizing tools rely on outdated assumptions that clash with the advanced algorithms driving today's AI training. Thus, we developed a technique that continuously measures data "noise"—or uncertainty— tailored for the modern algorithms. Our system then uses this noise signal to automatically fine-tune the batch size on the fly. This adaptive approach trains models just as effectively as highly tuned manual setups but requires up to 66% fewer training steps, making large-scale AI training faster, cheaper, and much more energy-efficient.