Lune

NeurIPS2022顶会

Generalization Bounds for Gradient Methods via Discrete and Continuous Prior

Xuanyuan Luo, Bei Luo, Jian Li

摘要

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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Learning Trajectories are Generalization Indicators 引用了 Sharpened Generalization Bounds based on Conditional Mutual Information and an Application to Noisy, Iterative Algorithms
  • Topological Generalization Bounds for Discrete-Time Stochastic Optimization Algorithms 引用了 Learning Trajectories are Generalization Indicators
  • Topological Generalization Bounds for Discrete-Time Stochastic Optimization Algorithms 引用了 Hausdorff Dimension, Heavy Tails, and Generalization in Neural Networks
  • Towards Auto-Regressive Next-Token Prediction: In-context Learning Emerges from Generalization 引用了 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 引用了 On Generalization Error Bounds of Noisy Gradient Methods for Non-Convex Learning
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper3

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

它引用的 Paper8

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

相关 Paper

  1. Stability Based Generalization Bounds for Exponential Family Langevin DynamicsArindam Banerjee, Tiancong Chen, Xinyan Li, Yingxue ZhouICML 2022 · 9 次引用
  2. Time-independent Generalization Bounds for SGLD in Non-convex SettingsTyler Farghly, Patrick RebeschiniNeurIPS 2021 · 30 次引用
  3. Time-Independent Information-Theoretic Generalization Bounds for SGLDFutoshi Futami, Masahiro FujisawaNeurIPS 2023 · 12 次引用
  4. Analyzing the Generalization Capability of SGLD Using Properties of Gaussian ChannelsHao Wang, Yizhe Huang, Rui Gao, Flávio P. CalmonNeurIPS 2021 · 32 次引用
  5. Beyond Lipschitz: Sharp Generalization and Excess Risk Bounds for Full-Batch GDKonstantinos E. Nikolakakis, Farzin Haddadpour, Amin Karbasi, Dionysios S. KalogeriasICLR 2023 · 3 次引用
黄昏的海面,两侧是细线勾勒的悬崖