Lune

NeurIPS2022Top-tier venue

Generalization Bounds for Gradient Methods via Discrete and Continuous Prior

Xuanyuan Luo, Bei Luo, Jian Li

2022Year
5Citations
3Top-tier citations

Abstract

Proving algorithm-dependent generalization error bounds for gradient-type optimization methods has attracted significant attention recently in learning theory. However, most existing trajectory-based analyses require either restrictive assumptions on the learning rate (e.g., fast decreasing learning rate), or continuous injected noise (such as the Gaussian noise in Langevin dynamics). In this paper, we introduce a new discrete data-dependent prior to the PAC-Bayesian framework, and prove a high probability generalization bound of order O(1n⋅∑t=1T(γt/εt)2∥gt∥2)O(\frac{1}{n}\cdot \sum_{t=1}^T(\gamma_t/\varepsilon_t)^2\left\|{\mathbf{g}_t}\right\|^2) for Floored GD (i.e. a version of gradient descent with precision level εt\varepsilon_t), where nn is the number of training samples, γt\gamma_t is the learning rate at step tt, gt\mathbf{g}_t is roughly the difference of the gradient computed using all samples and that using only prior samples. ∥gt∥\left\|{\mathbf{g}_t}\right\| is upper bounded by and and typical much smaller than the gradient norm ∥∇f(Wt)∥\left\|{\nabla f(W_t)}\right\|. We remark that our bound holds for nonconvex and nonsmooth scenarios. Moreover, our theoretical results provide numerically favorable upper bounds of testing errors (e.g., 0.0370.037 on MNIST). Using a similar technique, we can also obtain new generalization bounds for certain variants of SGD. Furthermore, we study the generalization bounds for gradient Langevin Dynamics (GLD). Using the same framework with a carefully constructed continuous prior, we show a new high probability generalization bound of order O(1n+L2n2∑t=1T(γt/σt)2)O(\frac{1}{n} + \frac{L^2}{n^2}\sum_{t=1}^T(\gamma_t/\sigma_t)^2) for GLD. The new 1/n21/n^2 rate is due to the concentration of the difference between the gradient of training samples and that of the prior.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 2957f07e-760f-4e99-bfb9-06e85640b973

Cited by top-tier papers3

Ask how each one uses it

Builds on8

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines