Generalization Error Bound for an SGD Family Via a Gaussian Approximation Method

Hao Chen,Zhanfeng Mo,Zhouwang Yang
DOI: https://doi.org/10.21203/rs.3.rs-3020104/v1
2023-01-01
Abstract:Recent works have developed model complexity based and algorithm based generalization error bounds to explain how Stochastic Gradient Descent (SGD) methods help over-parameterized models generalize better. However, previous works are limited by their scope of analysis and fail to provide comprehensive explanations. In this paper, we propose a novel Gaussian approximation framework to establish generalization error bounds for the $\mathcal{U}$-SGD family, which is a class of SGDs with asymptotically unbiased and uniformly bounded gradient noise. We study $\mathcal{U}$-SGD dynamics, and we show both theoretically and numerically that the limiting model parameter distribution tends to be Gaussian, even when the origin gradient noise is non-Gaussian. For a $\mathcal{U}$-SGD family, we establish a desirable iteration number independent generalization error bound at the order of $\mathcal{O}((1+\sqrt{\log (p\sqrt{n})}) / \sqrt{n})$, where $n$ and $p$ stand for the sample size and parameter dimension. Based on our analysis, we propose two general types of methods to help models generalize better, termed as the additive and multiplicative noise insertions. We show that these methods significantly reduce the dominant term of the generalization error bound.
What problem does this paper attempt to address?