Lune

NeurIPS2022Top-tier venue

Generalization Bounds for Gradient Methods via Discrete and Continuous Prior

Xuanyuan Luo, Bei Luo, Jian Li

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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Learning Trajectories are Generalization Indicators cites Sharpened Generalization Bounds based on Conditional Mutual Information and an Application to Noisy, Iterative Algorithms
  • Topological Generalization Bounds for Discrete-Time Stochastic Optimization Algorithms cites Learning Trajectories are Generalization Indicators
  • Topological Generalization Bounds for Discrete-Time Stochastic Optimization Algorithms cites Hausdorff Dimension, Heavy Tails, and Generalization in Neural Networks
  • Towards Auto-Regressive Next-Token Prediction: In-context Learning Emerges from Generalization cites On Generalization Error Bounds of Noisy Gradient Methods for Non-Convex Learning
  • Sharpened Generalization Bounds based on Conditional Mutual Information and an Application to Noisy, Iterative Algorithms cites On Generalization Error Bounds of Noisy Gradient Methods for Non-Convex Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Topological Generalization Bounds for Discrete-Time Stochastic Optimization AlgorithmsRayna Andreeva, Benjamin Dupuis, Rik Sarkar, Tolga Birdal et al.NeurIPS 2024 · 13 citations
  2. Learning Trajectories are Generalization IndicatorsJingwen Fu, Zhizheng Zhang, Dacheng Yin, Yan Lu et al.NeurIPS 2023 · 6 citations
  3. Towards Auto-Regressive Next-Token Prediction: In-context Learning Emerges from GeneralizationZixuan Gong, Xiaolin Hu, Huayi Tang, Yong LiuICLR 2025

Builds on8

  1. Sharpened Generalization Bounds based on Conditional Mutual Information and an Application to Noisy, Iterative AlgorithmsMahdi Haghifam, Jeffrey Negrea, Ashish Khisti, Daniel M. Roy et al.NeurIPS 2020 · 124 citations
  2. On the Validity of Modeling SGD with Stochastic Differential Equations (SDEs)Zhiyuan Li, Sadhika Malladi, Sanjeev AroraNeurIPS 2021 · 107 citations
  3. On Generalization Error Bounds of Noisy Gradient Methods for Non-Convex LearningJian Li, Xuanyuan Luo, Mingda QiaoICLR 2020 · 95 citations
  4. Hausdorff Dimension, Heavy Tails, and Generalization in Neural NetworksUmut Simsekli, Ozan Sener, George Deligiannidis, Murat A. ErdogduNeurIPS 2020 · 79 citations
  5. Strength of Minibatch Noise in SGDLiu Ziyin, Kangqiao Liu, Takashi Mori, Masahito UedaICLR 2022 · 44 citations

Related papers

  1. Stability Based Generalization Bounds for Exponential Family Langevin DynamicsArindam Banerjee, Tiancong Chen, Xinyan Li, Yingxue ZhouICML 2022 · 9 citations
  2. Time-independent Generalization Bounds for SGLD in Non-convex SettingsTyler Farghly, Patrick RebeschiniNeurIPS 2021 · 30 citations
  3. Time-Independent Information-Theoretic Generalization Bounds for SGLDFutoshi Futami, Masahiro FujisawaNeurIPS 2023 · 12 citations
  4. Analyzing the Generalization Capability of SGLD Using Properties of Gaussian ChannelsHao Wang, Yizhe Huang, Rui Gao, Flávio P. CalmonNeurIPS 2021 · 32 citations
  5. Beyond Lipschitz: Sharp Generalization and Excess Risk Bounds for Full-Batch GDKonstantinos E. Nikolakakis, Farzin Haddadpour, Amin Karbasi, Dionysios S. KalogeriasICLR 2023 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines