{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,19]],"date-time":"2026-09-19T17:23:50Z","timestamp":1789838630831,"version":"4.0.1"},"reference-count":57,"publisher":"Society for Industrial & Applied Mathematics (SIAM)","issue":"3","funder":[{"DOI":"10.13039\/100005326","name":"Yale University","doi-asserted-by":"crossref","id":[{"id":"10.13039\/100005326","id-type":"DOI","asserted-by":"crossref"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["SIAM Journal on Mathematics of Data Science"],"published-print":{"date-parts":[[2025,9,30]]},"abstract":"<jats:p>Abstract.<\/jats:p>\n                  <jats:p>We establish matching upper and lower generalization error bounds for minibatch gradient descent (GD) training with either deterministic or stochastic, data-independent, but otherwise arbitrary batch selection rules, including stochastic GD (SGD) with random reshuffling, SGD with single shuffling, and incremental gradient methods. We consider smooth Lipschitz-convex\/nonconvex\/strongly convex loss functions and show that classical upper bounds for 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. Last, 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.<\/jats:p>","DOI":"10.1137\/23m1617096","type":"journal-article","created":{"date-parts":[[2025,7,9]],"date-time":"2025-07-09T12:01:06Z","timestamp":1752062466000},"page":"965-992","source":"Crossref","is-referenced-by-count":2,"title":["Select without Fear: Almost All Minibatch Schedules Generalize Optimally"],"prefix":"10.1137","volume":"7","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-5165-3317","authenticated-orcid":true,"given":"Konstantinos E.","family":"Nikolakakis","sequence":"first","affiliation":[{"name":"This work was developed while this author was a postdoctoral researcher with the Department of Electrical and Computer Engineering (ECE), Yale University, New Haven, CT 06511 USA. Current affiliation: SES AI, Woburn, MA 01801 USA."}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Amin","family":"Karbasi","sequence":"additional","affiliation":[{"name":"Department of Electrical and Computer Engineering, Yale University, New Haven, CT 06511 USA, and Robust Intelligence (now part of CISCO), San Francisco, CA 94107 USA."}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-3459-5044","authenticated-orcid":true,"given":"Dionysis","family":"Kalogerias","sequence":"additional","affiliation":[{"name":"Department of Electrical and Computer Engineering, Yale University, New Haven, CT 06511 USA."}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"351","published-online":{"date-parts":[[2025,7,9]]},"reference":[{"key":"ref1","first-page":"25033","volume-title":"Advances in Neural Information Processing Systems, Vol. 34","author":"Amir I.","year":"2021"},{"key":"ref2","unstructured":"I. Amir, T. Koren, and R. Livni, SGD generalizes better than GD (and regularization doesn\u2019t help), in Proceedings of the Thirty Fourth Conference on Learning Theory, Proceedings of Machine Learning Research 134, M. Belkin and S. Kpotufe, eds. PMLR, 2021, pp. 63\u201392, https:\/\/proceedings.mlr.press\/v134\/amir21a.html."},{"key":"ref3","first-page":"23539","volume-title":"Advances in Neural Information Processing Systems, Vol. 35","author":"Amir I.","year":"2022"},{"key":"ref4","first-page":"4381","volume-title":"Advances in Neural Information Processing Systems, Vol. 33","author":"Bassily R.","year":"2020"},{"key":"ref5","volume-title":"Convex Optimization Algorithms","author":"Bertsekas D.","year":"2015"},{"key":"ref6","volume-title":"Nonlinear Programming, Athena Scientific","author":"Bertsekas D. P.","year":"1999"},{"key":"ref7","first-page":"499","volume":"2","author":"Bousquet O.","year":"2002","journal-title":"J. Mach. Learn. Res."},{"key":"ref8","unstructured":"O. Bousquet, Y. Klochkov, and N. Zhivotovskiy, Sharper bounds for uniformly stable algorithms, in Proceedings of the 33rd Conference on Learning Theory, Proc. Mach. Learn. Res. 125, J. Abernethy and S. Agarwal, eds. PMLR, 2020, pp. 610\u2013626, https:\/\/proceedings.mlr.press\/v125\/bousquet20b.html."},{"key":"ref9","unstructured":"Z. Charles and D. Papailiopoulos, Stability and generalization of learning algorithms that converge to global optima, in Proceedings of the 35th International Conference on Machine Learning, Proc. Mach. Learn. Res. 80, J. Dy and A. Krause, eds. PMLR, 2018, pp. 745\u2013754, https:\/\/proceedings.mlr.press\/v80\/charles18a.html."},{"key":"ref10","first-page":"19836","volume-title":"Advances in Neural Information Processing Systems","volume":"34","author":"Farghly T.","year":"2021"},{"key":"ref11","volume-title":"Advances in Neural Information Processing Systems, Vol. 29","author":"Feldman V.","year":"2016"},{"key":"ref12","volume-title":"Advances in Neural Information Processing Systems, Vol. 31","author":"Feldman V.","year":"2018"},{"key":"ref13","unstructured":"V. Feldman and J. Vondrak, High probability generalization bounds for uniformly stable algorithms with nearly optimal rate, in Proceedings of the 32nd Conference on Learning Theory, Proc. Mach. Learn. Res. 99, A. Beygelzimer and D. Hsu, eds. PMLR, 2019, pp. 1270\u20131279, https:\/\/proceedings.mlr.press\/v99\/feldman19a.html."},{"key":"ref14","unstructured":"S. Fu, Y. Lei, Q. Cao, X. Tian, and D. Tao, Sharper bounds for uniformly stable algorithms with stationary mixing process, in Proceedings of the 11th International Conference on Learning Representations, 2023, https:\/\/openreview.net\/forum?id=8E5Yazboyh."},{"key":"ref15","unstructured":"J. Geiping, M. Goldblum, P. E. Pope, M. Moeller, and T. Goldstein, Stochastic training is not necessary for generalization, in ICLR 2022, https:\/\/openreview.net\/forum?id=ZBESeIUB5k."},{"key":"ref16","doi-asserted-by":"publisher","DOI":"10.1137\/15M1049695"},{"key":"ref17","doi-asserted-by":"publisher","DOI":"10.1137\/17M1147846"},{"key":"ref18","doi-asserted-by":"crossref","first-page":"49","DOI":"10.1007\/s10107-019-01440-w","volume":"186","author":"G\u00fcrb\u00fczbalaban M.","year":"2021","journal-title":"Math. Program."},{"key":"ref19","unstructured":"M. Haghifam, B. Rodr\u00edguez-G\u00e1lvez, R. Thobaben, M. Skoglund, D. M. Roy, and G. K. Dziugaite, Limitations of information-theoretic generalization bounds for gradient descent methods in stochastic convex optimization, in Proceedings of the 34th International Conference on Algorithmic Learning Theory, Proc. Mach. Learn. Res. 201, S. Agrawal and F. Orabona, eds. PMLR, 2023, pp. 663\u2013706, https:\/\/proceedings.mlr.press\/v201\/haghifam23a.html."},{"key":"ref20","unstructured":"M. Hardt, B. Recht, and Y. Singer, Train faster, generalize better: Stability of stochastic gradient descent, in Proceedings of the 33rd International Conference on Machine Learning, Proc. Mach. Learn. Res. 48, M. F. Balcan and K. Q. Weinberger, eds. PMLR, 2016, pp. 1225\u20131234, https:\/\/proceedings.mlr.press\/v48\/hardt16.html."},{"key":"ref21","doi-asserted-by":"crossref","first-page":"1234","DOI":"10.1162\/neco_a_01588","volume":"35","author":"Huang Z.","year":"2023","journal-title":"Neural Comput."},{"key":"ref22","first-page":"2690","volume":"12","author":"Kim B.","year":"2023","journal-title":"Inf. Inference"},{"key":"ref23","unstructured":"Y. Klochkov and N. Zhivotovskiy, Stability and Deviation Optimal Risk Bounds with Convergence Rate \\( \\mathcal{O} (1\/n)\\), preprint, https:\/\/arxiv.org\/abs\/2103.12024, 2021."},{"key":"ref24","unstructured":"I. Kuzborskij and C. Lampert, Data-dependent stability of stochastic gradient descent, in Proceedings of the 35th International Conference on Machine Learning, Proc. Mach. Learn. Res. 80, J. Dy and A. Krause, eds. PMLR, 2018, pp. 2815\u20132824, https:\/\/proceedings.mlr.press\/v80\/kuzborskij18a.html."},{"key":"ref25","first-page":"1","volume":"22","author":"Lei Y.","year":"2021","journal-title":"J. Mach. Learn. Res."},{"key":"ref26","first-page":"38557","volume-title":"Advances in Neural Information Processing Systems, Vol. 35","author":"Lei Y.","year":"2022"},{"key":"ref27","unstructured":"Y. Lei and Y. Ying, Fine-grained analysis of stability and generalization for stochastic gradient descent, in Proceedings of the 37th International Conference on Machine Learning, Proc. Mach. Learn. Res. 119, H. Daum\u00e9 III and A. Singh, eds. PMLR, 2020, pp. 5809\u20135819, https:\/\/proceedings.mlr.press\/v119\/lei20c.html."},{"key":"ref28","unstructured":"Y. Lei and Y. Ying, Sharper generalization bounds for learning with gradient-dominated objective functions, in Proceedings of the International Conference on Learning Representations, 2020, https:\/\/iclr.cc\/virtual\/2021\/poster\/3141."},{"key":"ref29","unstructured":"J. Li, X. Luo, and M. Qiao, On generalization error bounds of noisy gradient methods for non-convex learning, in ICLR, https:\/\/openreview.net\/pdf?id=SkxxtgHKPS, 2020."},{"key":"ref30","unstructured":"J. Li, X. Luo, and M. Qiao, On generalization error bounds of noisy gradient methods for non-convex learning, in Proceedings of the International Conference on Learning Representations, 2020, https:\/\/openreview.net\/forum?id=SkxxtgHKPS."},{"key":"ref31","doi-asserted-by":"crossref","unstructured":"R. Livni, Information Theoretic Lower Bounds for Information Theoretic Upper Bounds, preprint, https:\/\/arxiv.org\/abs\/2302.04925, 2023.","DOI":"10.52202\/075280-1640"},{"key":"ref32","unstructured":"L. Madden, E. Dall\u2019Anese, and S. Becker, High Probability Convergence and Uniform Stability Bounds for Nonconvex Stochastic Gradient Descent, https:\/\/arxiv.org\/abs\/2006.05610, 2020."},{"key":"ref33","unstructured":"A. Mohtashami, S. Stich, and M. Jaggi, Characterizing & Finding Good Data Orderings for Fast Convergence of Sequential Gradient Methods, preprint, https:\/\/arxiv.org\/pdf\/2202.01838.pdf, 2022."},{"key":"ref34","unstructured":"W. Mou, L. Wang, X. Zhai, and K. Zheng, Generalization bounds of SGLD for non-convex learning: Two theoretical viewpoints, in Proceedings of the 31st Conference on Learning Theory, Proc. Mach. Learn. Res. 75, S. Bubeck, V. Perchet, and P. Rigollet, eds. PMLR, 2018, pp. 605\u2013638, https:\/\/proceedings.mlr.press\/v75\/mou18a.html."},{"key":"ref35","unstructured":"M. S. Nacson, N. Srebro, and D. Soudry, Stochastic gradient descent on separable data: Exact convergence with a fixed learning rate, in Proceedings of the 22nd International Conference on Artificial Intelligence and Statistics, Proc. Mach. Learn. Res. 89, K. Chaudhuri and M. Sugiyama, eds. PMLR, 2019, pp. 3051\u20133059, https:\/\/proceedings.mlr.press\/v89\/nacson19a.html."},{"key":"ref36","doi-asserted-by":"crossref","unstructured":"A. Nedi\u0107 and D. Bertsekas, Convergence rate of incremental subgradient algorithms, in Stochastic Optimization: Algorithms and Applications, Springer, Boston, 2001, pp. 223\u2013264, https:\/\/doi.org\/10.1007\/978-1-4757-6594-6_11.","DOI":"10.1007\/978-1-4757-6594-6_11"},{"key":"ref37","volume-title":"Advances in Neural Information Processing Systems, Vol. 32","author":"Negrea J.","year":"2019"},{"key":"ref38","first-page":"31525","volume-title":"Advances in Neural Information Processing Systems, Vol. 35","author":"Nikolakakis K.","year":"2022"},{"key":"ref39","unstructured":"K. Nikolakakis, F. Haddadpour, A. Karbasi, and D. Kalogerias, Beyond Lipschitz: Sharp generalization and excess risk bounds for full-batch GD, in Proceedings of the 11th International Conference on Learning Representations, 2023, https:\/\/openreview.net\/forum?id=pOyi9KqE56b."},{"key":"ref40","unstructured":"P. Okanovic, R. Waleffe, V. Mageirakos, K. Nikolakakis, A. Karbasi, D. Kalogerias, N. M. G\u00fcrel, and T. Rekatsinas, Repeated random sampling for minimizing the time-to-accuracy of learning, in Proceedings of the 12th International Conference on Learning Representations, 2024, https:\/\/openreview.net\/forum?id=JnRStoIuTe."},{"key":"ref41","first-page":"546","volume-title":"Proceedings of the IEEE International Symposium on Information Theory","author":"Pensia A.","year":"2018"},{"key":"ref42","unstructured":"A. Ramezani-Kebrya, A. Khisti, and B. Liang, On the Generalization of Stochastic Gradient Descent with Momentum, preprint, https:\/\/arxiv.org\/abs\/1809.04564, 2021."},{"key":"ref43","unstructured":"I. Safran and O. Shamir, How good is SGD with random shuffling? in Proceedings of the 33rd Conference on Learning Theory, Proc. Mach. Learn. Res. 125, J. Abernethy and S. Agarwal, eds. PMLR, 2020, pp. 3250\u20133284, https:\/\/proceedings.mlr.press\/v125\/safran20a.html."},{"key":"ref44","unstructured":"M. Schliserman and T. Koren, Stability vs implicit bias of gradient methods on separable data and beyond, in Proceedings of the 35th Conference on Learning Theory, Proc. Mach. Learn. Res. 178, P.L. Loh and M. Raginsky, eds., PMLR, 2022, pp. 3380\u20133394, https:\/\/proceedings.mlr.press\/v178\/schliserman22a.html."},{"key":"ref45","unstructured":"H. Taheri and C. Thrampoulidis, Generalization and Stability of Interpolating Neural Networks with Minimal Width, preprint, https:\/\/arxiv.org\/abs\/2302.09235, 2023."},{"key":"ref46","unstructured":"H. Taheri and C. Thrampoulidis, On generalization of decentralized learning with separable data, in Proceedings of the 26th International Conference on Artificial Intelligence and Statistics, Proc. Mach. Learn. Res. 206, F. Ruiz, J. Dy, and J.W. van de Meent, eds., PMLR, 2023, pp. 4917\u20134945, https:\/\/proceedings.mlr.press\/v206\/taheri23a.html."},{"key":"ref47","first-page":"26080","volume-title":"Advances in Neural Information Processing Systems, Vol. 34","author":"Wang B.","year":"2021"},{"key":"ref48","first-page":"24222","volume-title":"Advances in Neural Information Processing Systems, Vol. 34","author":"Wang H.","year":"2021"},{"key":"ref49","doi-asserted-by":"crossref","unstructured":"P. Wang, L. Wu, and Y. Lei, Stability and generalization for randomized coordinate descent, in Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence, IJCAI-21, International Joint Conferences on Artificial Intelligence Organization Main Track, Z.H. Zhou, ed. 2021, pp. 3104\u20133110, https:\/\/doi.org\/10.24963\/ijcai.2021\/427.","DOI":"10.24963\/ijcai.2021\/427"},{"key":"ref50","unstructured":"W. Wang and N. Srebro, Stochastic nonconvex optimization with large minibatches, in Proceedings of the 30th International Conference on Algorithmic Learning Theory, Proc. Mach. Learn. Res. 98, A. Garivier and S. Kale, eds. PMLR, 2019, pp. 857\u2013882, https:\/\/proceedings.mlr.press\/v98\/wang19a.html."},{"key":"ref51","first-page":"26523","volume-title":"Advances in Neural Information Processing Systems, Vol. 34","author":"Xing Y.","year":"2021"},{"key":"ref52","volume-title":"Advances in Neural Information Processing Systems, Vol. 30","author":"Xu A.","year":"2017"},{"key":"ref53","unstructured":"P. Zhang, J. Teng, and J. Zhang, Lower Generalization Bounds for GD and SGD in Smooth Stochastic Convex Optimization, preprint, https:\/\/arxiv.org\/abs\/2303.10758, 2023."},{"key":"ref54","unstructured":"Y. Zhang, W. Zhang, S. Bald, V. Pingali, C. Chen, and M. Goswami, Stability of SGD: Tightness Analysis and Improved Bounds, preprint, https:\/\/arxiv.org\/abs\/2102.05274, 2021."},{"key":"ref55","unstructured":"Y. Zhang, W. Zhang, S. Bald, V. P. Pingali, C. Chen, and M. Goswami, Stability of SGD: Tightness analysis and improved bounds, in The 38th Conference on Uncertainty in Artificial Intelligence, 2022, https:\/\/openreview.net\/forum?id=Sl-zmO8j5lq."},{"key":"ref56","first-page":"27290","volume-title":"Advances in Neural Information Processing Systems, Vol. 34","author":"Zhou P.","year":"2021"},{"key":"ref57","doi-asserted-by":"crossref","first-page":"345","DOI":"10.1007\/s10994-021-06056-w","volume":"111","author":"Zhou Y.","year":"2022","journal-title":"Mach. Learn."}],"container-title":["SIAM Journal on Mathematics of Data Science"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/epubs.siam.org\/doi\/pdf\/10.1137\/23M1617096","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T16:16:12Z","timestamp":1787328972000},"score":1,"resource":{"primary":{"URL":"https:\/\/epubs.siam.org\/doi\/10.1137\/23M1617096"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,7,9]]},"references-count":57,"journal-issue":{"issue":"3","published-print":{"date-parts":[[2025,9,30]]}},"alternative-id":["10.1137\/23M1617096"],"URL":"https:\/\/doi.org\/10.1137\/23m1617096","relation":{},"ISSN":["2577-0187"],"issn-type":[{"value":"2577-0187","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,7,9]]}}}