Adaptive Batch Sizes Using Non-Euclidean Gradient Noise Scales for Stochastic Sign and Spectral Descent

Hiroki Naganuma, Shagun Gupta, Youssef Briki, Ioannis Mitliagkas, Irina Rish, Parameswaran Raman, Hao-Jun Michael Shi

The Batch Size Dilemma and Geometric Mismatch

In modern deep learning, maximizing hardware utilization often dictates using the largest possible batch sizes. However, practitioners inevitably encounter the Critical Batch Size (CBS)—a threshold beyond which increasing the batch size yields diminishing returns in per-sample learning. Beyond this point, additional compute does not translate to a proportionally better model.

To navigate this trade-off, practitioners traditionally rely on manually tuned batch size schedules, such as linear ramp-ups. A more principled alternative is to monitor the Gradient Noise Scale (GNS), a metric that measures the signal-to-noise ratio of gradients to dynamically determine when to increase the batch size.

Unfortunately, existing GNS theory relies on a critical assumption: Euclidean geometry (the domain of standard Stochastic Gradient Descent). This creates a fundamental "geometric mismatch" when applied to modern, high-performance optimizers that operate in non-Euclidean spaces, such as Signum (which utilizes the sign of the gradient, operating in $\ell_\infty$ space) and Muon (which relies on spectral orthogonalization, operating in Schatten-$\infty$ space). Using standard Euclidean GNS to guide these optimizers leads to inefficient and suboptimal training schedules.

Deriving Non-Euclidean Gradient Noise Scales

To resolve this mismatch, recent research introduces a framework for deriving GNS metrics that naturally emerge from the specific geometry—specifically, the dual norms—of these modern optimizers:

  1. Manhattan ($\ell_1$) GNS for signSGD: Because sign-based optimizers are governed by the $\ell_\infty$ norm of the update, the corresponding gradient noise must be measured using the dual $\ell_1$ norm.
  2. Nuclear ($S_1$) GNS for specSGD: For spectral optimizers like Muon, the appropriate metric is derived from the nuclear norm (the sum of singular values) of the gradient covariance.

To make these theoretical metrics practical, the authors developed an efficient distributed variance estimation procedure. Rather than requiring expensive additional passes over the training data, their method leverages the local mini-batch gradients already distributed across different GPUs (ranks) in Distributed Data Parallel (DDP) or Fully Sharded Data Parallel (FSDP) setups. This allows for real-time variance statistics calculation with minimal computational overhead.

Experimental Validation and Key Results

The researchers evaluated their geometry-aware GNS approach across several benchmarks, including Llama 3 models (160M and 1B parameters) on the C4 dataset, SimpleViT on ImageWoof, and ResNet-18 on CIFAR-10.

The results demonstrate significant efficiency gains:

  • Massive Step Reduction: On a 160M parameter Llama model, the adaptive batch size strategy using non-Euclidean GNS reduced the required training steps by 66% for both Signum and Muon, perfectly matching the validation loss of constant-batch baselines.
  • Superiority Over Euclidean Metrics: When training with signSGD, utilizing the newly derived $\ell_1$ GNS yielded significantly better validation loss and faster convergence compared to forcing the standard Euclidean ($\ell_2$) GNS.
  • Automated Robustness: The adaptive schedules consistently matched or exceeded the final validation perplexity of the best manually tuned constant batch sizes, effectively eliminating the need for costly trial-and-error tuning.

A fascinating theoretical insight from the study involves the "improvement curve" of these optimizers. While standard SGD exhibits a strictly concave improvement curve (where returns diminish immediately), non-Euclidean optimizers like signSGD display an initially convex phase. This implies the existence of a specific inflection point where the batch size is most efficient—a point that the new non-Euclidean GNS metrics can successfully identify.

Limitations and Future Directions

While the introduction of geometry-aware batch sizing marks a significant step forward, the authors identify several avenues for future research:

  • Stateful Optimizers: The current derivations apply to the "pure" versions of these optimizers. Extending the theory to stateful variants, such as AdamW or Muon with heavy momentum, remains an open challenge.
  • Computational Overhead for Spectral GNS: While the $\ell_1$ GNS for sign-based methods adds less than 1% overhead, the spectral ($S_1$) GNS for Muon is computationally heavier (up to 40% overhead on 1B models) due to the need for Gram matrix calculations and eigendecompositions. Future work may explore iterative algorithms, like coupled Newton methods, to mitigate this cost.
  • Hessian Integration: The current metrics assume a relatively simple local geometry. Incorporating second-order information, such as Hessian structures, could enable even more precise and dynamic batch-size control in the future.

Summary updated

BibTeX
@inproceedings{naganuma2026adaptive,
  author = {Hiroki Naganuma and Shagun Gupta and Youssef Briki and Ioannis Mitliagkas and Irina Rish and Parameswaran Raman and Hao-Jun Michael Shi},
  title = {{Adaptive Batch Sizes Using Non-Euclidean Gradient Noise Scales for Stochastic Sign and Spectral Descent}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=XMSaWRpEPS},
}
Figure