Lune

ICLR2023Top-tier venue

Beyond Lipschitz: Sharp Generalization and Excess Risk Bounds for Full-Batch GD

Konstantinos E. Nikolakakis, Farzin Haddadpour, Amin Karbasi, Dionysios S. Kalogerias

Abstract

We provide sharp path-dependent generalization and excess risk guarantees for the full-batch Gradient Descent (GD) algorithm on smooth losses (possibly non-Lipschitz, possibly nonconvex). At the heart of our analysis is an upper bound on the generalization error, which implies that average output stability and a bounded expected optimization error at termination lead to generalization. This result shows that a small generalization error occurs along the optimization path, and allows us to bypass Lipschitz or sub-Gaussian assumptions on the loss prevalent in previous works. For nonconvex, convex, and strongly convex losses, we show the explicit dependence of the generalization error in terms of the accumulated path-dependent optimization error, terminal optimization error, number of samples, and number of iterations. For nonconvex smooth losses, we prove that full-batch GD efficiently generalizes close to any stationary point at termination, and recovers the generalization error guarantees of stochastic algorithms with fewer assumptions. For smooth convex losses, we show that the generalization error is tighter than existing bounds for SGD (up to one order of error magnitude). Consequently the excess risk matches that of SGD for quadratically less iterations. Lastly, for strongly convex smooth losses, we show that full-batch GD achieves essentially the same excess risk rate as compared with the state of the art on SGD, but with an exponentially smaller number of iterations (logarithmic in the dataset size).

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.

9 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 Fine-Grained Analysis of Stability and Generalization for Stochastic Gradient Descent
  • Learning Trajectories are Generalization Indicators cites Stability of Stochastic Gradient Descent on Nonsmooth Convex Losses
  • Fine-Grained Analysis of Stability and Generalization for Stochastic Gradient Descent cites On Generalization Error Bounds of Noisy Gradient Methods for Non-Convex Learning
  • Toward Better PAC-Bayes Bounds for Uniformly Stable Algorithms cites On Generalization Error Bounds of Noisy Gradient Methods for Non-Convex Learning
  • Toward Better PAC-Bayes Bounds for Uniformly Stable Algorithms cites Fine-Grained Analysis of Stability and Generalization for Stochastic Gradient Descent
  • Toward Better PAC-Bayes Bounds for Uniformly Stable Algorithms cites Stability of Stochastic Gradient Descent on Nonsmooth Convex Losses
  • Stability and Generalization Analysis of Gradient Methods for Shallow Neural Networks cites On Generalization Error Bounds of Noisy Gradient Methods for Non-Convex Learning
  • Stability and Generalization Analysis of Gradient Methods for Shallow Neural Networks cites Fine-Grained Analysis of Stability and Generalization for Stochastic Gradient Descent
  • Stability and Generalization Analysis of Gradient Methods for Shallow Neural Networks cites On the Algorithmic Stability of Adversarial Training
  • Stability and Generalization Analysis of Gradient Methods for Shallow Neural Networks cites Stability of Stochastic Gradient Descent on Nonsmooth Convex Losses
  • On the Algorithmic Stability of Adversarial Training cites Fine-Grained Analysis of Stability and Generalization for Stochastic Gradient Descent
  • On the Algorithmic Stability of Adversarial Training cites Stability of Stochastic Gradient Descent on Nonsmooth Convex Losses
  • Stochastic Training is Not Necessary for Generalization cites Stability of Stochastic Gradient Descent on Nonsmooth Convex Losses
  • Towards Stability and Generalization Bounds in Decentralized Minibatch Stochastic Gradient Descent cites Fine-Grained Analysis of Stability and Generalization for Stochastic Gradient Descent
  • Towards Stability and Generalization Bounds in Decentralized Minibatch Stochastic Gradient Descent cites Stability of Stochastic Gradient Descent on Nonsmooth Convex Losses
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. Stability and Generalization Analysis of Gradient Methods for Shallow Neural NetworksYunwen Lei, Rong Jin, Yiming YingNeurIPS 2022 · 30 citations
  2. Fantastic Generalization Measures are Nowhere to be FoundMichael Gastpar, Ido Nachum, Jonathan Shafer, Thomas WeinbergerICLR 2024 · 29 citations
  3. Learning Trajectories are Generalization IndicatorsJingwen Fu, Zhizheng Zhang, Dacheng Yin, Yan Lu et al.NeurIPS 2023 · 6 citations
  4. Toward Better PAC-Bayes Bounds for Uniformly Stable AlgorithmsSijia Zhou, Yunwen Lei, Ata KabánNeurIPS 2023 · 4 citations
  5. Towards Stability and Generalization Bounds in Decentralized Minibatch Stochastic Gradient DescentJiahuan Wang, Hong ChenAAAI 2024 · 3 citations

Builds on13

  1. Stability of Stochastic Gradient Descent on Nonsmooth Convex LossesRaef Bassily, Vitaly Feldman, Cristóbal Guzmán, Kunal TalwarNeurIPS 2020 · 240 citations
  2. Fine-Grained Analysis of Stability and Generalization for Stochastic Gradient DescentYunwen Lei, Yiming YingICML 2020 · 165 citations
  3. On Generalization Error Bounds of Noisy Gradient Methods for Non-Convex LearningJian Li, Xuanyuan Luo, Mingda QiaoICLR 2020 · 95 citations
  4. Stochastic Training is Not Necessary for GeneralizationJonas Geiping, Micah Goldblum, Phillip Pope, Michael Moeller et al.ICLR 2022 · 83 citations
  5. On the Algorithmic Stability of Adversarial TrainingYue Xing, Qifan Song, Guang ChengNeurIPS 2021 · 74 citations

Related papers

  1. The Sample Complexity of Gradient Descent in Stochastic Convex OptimizationRoi LivniNeurIPS 2024 · 5 citations
  2. Never Go Full Batch (in Stochastic Convex Optimization)Idan Amir, Yair Carmon, Tomer Koren, Roi LivniNeurIPS 2021 · 17 citations
  3. Black-Box Generalization: Stability of Zeroth-Order LearningKonstantinos E. Nikolakakis, Farzin Haddadpour, Dionysios S. Kalogerias, Amin KarbasiNeurIPS 2022
  4. Stability and Sharper Risk Bounds with Convergence Rate Õ(1/n2)Bowei Zhu, Shaojie Li, Mingyang Yi, Yong LiuNeurIPS 2025 · 2 citations
  5. Stability and Deviation Optimal Risk Bounds with Convergence Rate O(1/n)O(1/n)Yegor Klochkov, Nikita ZhivotovskiyNeurIPS 2021 · 72 citations
Dusk over the sea between two cliffs drawn in fine vertical lines