Saved in:
Bibliographic Details
Main Authors: Lan, Hongjian, Liu, Yucong, Schäfer, Florian
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2512.07676
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918238139449344
author Lan, Hongjian
Liu, Yucong
Schäfer, Florian
author_facet Lan, Hongjian
Liu, Yucong
Schäfer, Florian
contents Machine learning models trained with \emph{stochastic} gradient descent (SGD) can generalize better than those trained with deterministic gradient descent (GD). In this work, we study SGD's impact on generalization through the lens of the statistical bootstrap: SGD uses gradient variability under batch sampling as a proxy for solution variability under the randomness of the data collection process. We use empirical results and theoretical analysis to substantiate this claim. In idealized experiments on empirical risk minimization, we show that SGD is drawn to parameter choices that are robust under resampling and thus avoids spurious solutions even if they lie in wider and deeper minima of the training loss. We prove rigorously that by implicitly regularizing the trace of the gradient covariance matrix, SGD controls the algorithmic variability. This regularization leads to solutions that are less sensitive to sampling noise, thereby improving generalization. Numerical experiments on neural network training show that explicitly incorporating the estimate of the algorithmic variability as a regularizer improves test performance. This fact supports our claim that bootstrap estimation underpins SGD's generalization advantages.
format Preprint
id arxiv_https___arxiv_org_abs_2512_07676
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle A Bootstrap Perspective on Stochastic Gradient Descent
Lan, Hongjian
Liu, Yucong
Schäfer, Florian
Machine Learning
Machine learning models trained with \emph{stochastic} gradient descent (SGD) can generalize better than those trained with deterministic gradient descent (GD). In this work, we study SGD's impact on generalization through the lens of the statistical bootstrap: SGD uses gradient variability under batch sampling as a proxy for solution variability under the randomness of the data collection process. We use empirical results and theoretical analysis to substantiate this claim. In idealized experiments on empirical risk minimization, we show that SGD is drawn to parameter choices that are robust under resampling and thus avoids spurious solutions even if they lie in wider and deeper minima of the training loss. We prove rigorously that by implicitly regularizing the trace of the gradient covariance matrix, SGD controls the algorithmic variability. This regularization leads to solutions that are less sensitive to sampling noise, thereby improving generalization. Numerical experiments on neural network training show that explicitly incorporating the estimate of the algorithmic variability as a regularizer improves test performance. This fact supports our claim that bootstrap estimation underpins SGD's generalization advantages.
title A Bootstrap Perspective on Stochastic Gradient Descent
topic Machine Learning
url https://arxiv.org/abs/2512.07676