English

On the Utility of Equal Batch Sizes for Inference in Stochastic Gradient Descent

Computation 2025-03-27 v3 Methodology

Abstract

Stochastic gradient descent (SGD) is an estimation tool for large data employed in machine learning and statistics. Due to the Markovian nature of the SGD process, inference is a challenging problem. An underlying asymptotic normality of the averaged SGD (ASGD) estimator allows for the construction of a batch-means estimator of the asymptotic covariance matrix. Instead of the usual increasing batch-size strategy, we propose a memory efficient equal batch-size strategy and show that under mild conditions, the batch-means estimator is consistent. A key feature of the proposed batching technique is that it allows for bias-correction of the variance, at no additional cost to memory. Further, since joint inference for large dimensional problems may be undesirable, we present marginal-friendly simultaneous confidence intervals, and show through an example on how covariance estimators of ASGD can be employed for improved predictions.

Keywords

Cite

@article{arxiv.2303.07706,
  title  = {On the Utility of Equal Batch Sizes for Inference in Stochastic Gradient Descent},
  author = {Rahul Singh and Abhinek Shukla and Dootika Vats},
  journal= {arXiv preprint arXiv:2303.07706},
  year   = {2025}
}

Comments

45 pages, 8 figures