The Sample Complexity of Gradient Descent in Stochastic Convex Optimization

Roi Livni
4/7/2024
cs.LGmath.OC

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

We analyze the sample complexity of full-batch Gradient Descent (GD) in the setup of non-smooth Stochastic Convex Optimization. We show that the generalization error of GD, with common choice of hyper-parameters, can be $\tilde Θ(d/m + 1/\sqrt{m})$, where $d$ is the dimension and $m$ is the sample size. This matches the sample complexity of \emph{worst-case} empirical risk minimizers. That means that, in contrast with other algorithms, GD has no advantage over naive ERMs. Our bound follows from a new generalization bound that depends on both the dimension as well as the learning rate and number of iterations. Our bound also shows that, for general hyper-parameters, when the dimension is strictly larger than number of samples, $T=Ω(1/ε^4)$ iterations are necessary to avoid overfitting. This resolves an open problem by Schlisserman et al.23 and Amir er Al.21, and improves over previous lower bounds that demonstrated that the sample size must be at least square root of the dimension.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{livni2024sample,
  title  = {The Sample Complexity of Gradient Descent in Stochastic Convex Optimization},
  author = {Roi Livni},
  year   = {2024},
  eprint = {2404.04931},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2404.04931},
  url    = {http://arxiv.org/abs/2404.04931v2},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.04931.svg)](https://codeofpaper.com/paper/2404.04931)

Discussion