English

Select without Fear: Almost All Mini-Batch Schedules Generalize Optimally

Machine Learning 2023-10-24 v2 Machine Learning

Abstract

We establish matching upper and lower generalization error bounds for mini-batch Gradient Descent (GD) training with either deterministic or stochastic, data-independent, but otherwise arbitrary batch selection rules. We consider smooth Lipschitz-convex/nonconvex/strongly-convex loss functions, and show that classical upper bounds for Stochastic GD (SGD) also hold verbatim for such arbitrary nonadaptive batch schedules, including all deterministic ones. Further, for convex and strongly-convex losses we prove matching lower bounds directly on the generalization error uniform over the aforementioned class of batch schedules, showing that all such batch schedules generalize optimally. Lastly, for smooth (non-Lipschitz) nonconvex losses, we show that full-batch (deterministic) GD is essentially optimal, among all possible batch schedules within the considered class, including all stochastic ones.

Keywords

Cite

@article{arxiv.2305.02247,
  title  = {Select without Fear: Almost All Mini-Batch Schedules Generalize Optimally},
  author = {Konstantinos E. Nikolakakis and Amin Karbasi and Dionysis Kalogerias},
  journal= {arXiv preprint arXiv:2305.02247},
  year   = {2023}
}

Comments

37 pages, 2 tables

R2 v1 2026-06-28T10:24:45.871Z