Lune

NeurIPS2023顶会

On the Generalization Error of Stochastic Mirror Descent for Quadratically-Bounded Losses: an Improved Analysis

Ta Duy Nguyen, Alina Ene, Huy L. Nguyen

摘要

In this work, we revisit the generalization error of stochastic mirror descent for quadratically bounded losses studied in Telgarsky (2022). Quadratically bounded losses is a broad class of loss functions, capturing both Lipschitz and smooth functions, for both regression and classification problems. We study the high probability generalization for this class of losses on linear predictors in both realizable and non-realizable cases when the data are sampled IID or from a Markov chain. The prior work relies on an intricate coupling argument between the iterates of the original problem and those projected onto a bounded domain. This approach enables blackbox application of concentration inequalities, but also leads to suboptimal guarantees due in part to the use of a union bound across all iterations. In this work, we depart significantly from the prior work of Telgarsky (2022), and introduce a novel approach for establishing high probability generalization guarantees. In contrast to the prior work, our work directly analyzes the moment generating function of a novel supermartingale sequence and leverages the structure of stochastic mirror descent. As a result, we obtain improved bounds in all aforementioned settings. Specifically, in the realizable case and non-realizable case with light-tailed sub-Gaussian data, we improve the bounds by a log T factor, matching the correct rates of 1/T and 1/ √ T , respectively. In the more challenging case of heavy-tailed polynomial data, we improve the existing bound by a poly T factor. Recently, [35] proposes a new approach to analyze the generalization error with high probability of stochastic mirror descent for a broad class of quadratically bounded losses, beyond the realizable setting. This class of losses encapsulates both Lipschitz and smooth functions, for both regression and classification problems. The obtained bounds complement existing in-expectation bounds [12] and nearly match the counterpart of convergence rates in optimization. While this result pushes forward the state of the art, the obtained guarantees do not completely resolve the problem. The central piece of the proposed approach is a "coupling" technique between the iterates of the original problem and those projected onto a bounded domain. In this technique, one first constrains the problem in a bounded domain with a well chosen diameter. The bounded domain diameter allows to apply concentration inequalities as a blackbox and obtain bounds in high probability. Then using an inductive argument and a union bound across all iterations, one can show that the iterates in the original problem coincide with the ones in the constrained problem. Due to the union bound, the success probability decreases from 1 -δ to 1 -T δ, where T is the number of iterations in the algorithm. This loss translates to a milder log T factor loss in the guarantee in the case of realizable data , and a more significant poly T factor loss in the non-realizable setting when the data has polynomial tails. Thus a natural question arises of whether we can obtain a stronger analysis that closes these remaining gaps. In this paper, we revisit these generalization bounds for quadratically bounded losses by [35] . We introduce a novel approach to analyze the generalization errors of stochastic mirror descent in both realizable and non-realizable cases when the data are sampled IID or from a Markov chain. In all these cases, we remove the need to use the union bound argument, thus preventing the loss in the success probability. This translates to the following improvements: -In the realizable, and the non-realizable cases with sub-gaussian tailed data and Markovian data, we improve the bounds by a log T factor. This improvement comes from analyzing the moment generating function of a martingale difference sequence with well-chosen coefficients. In these cases, we also remove the necessity of using the coupling-based argument used in the same work by [35] . Instead, by solely making use of the problem structure, we arrive at the same conclusion that with high probability, the iterates of stochastic mirror descent for quadratically bounded losses behave as if the problem domain is bounded. -In the non-realizable case with polynomial tailed data, we improve the existing bound by a poly T factor. Due to the polynomial dependency on 1 δ , being able to maintain the same success probability through all iterations is crucial in this case. Unlike the previous work, we rely on a truncation technique. Using a more refined analysis of the truncated random variables, in combination with suitable concentration inequalities and the coupling technique, we improve the existing bounds significantly. Related Work Broadly speaking, there is a rich body of works in optimization and generalization that provide convergence guarantees and generalization bounds for stochastic methods. Earlier works often focus on in-expectation bounds [8, 24, 26, 18, 12, 3] , a

问 Lune

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

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

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • High-Probability Bounds for Stochastic Optimization and Variational Inequalities: the Case of Unbounded Variance 引用了 Stochastic Optimization with Heavy-Tailed Noise via Accelerated Gradient Clipping
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper8

  1. Stochastic Optimization with Heavy-Tailed Noise via Accelerated Gradient ClippingEduard Gorbunov, Marina Danilova, Alexander V. GasnikovNeurIPS 2020 · 181 次引用
  2. High-Probability Bounds for Stochastic Optimization and Variational Inequalities: the Case of Unbounded VarianceAbdurakhmon Sadiev, Marina Danilova, Eduard Gorbunov, Samuel Horváth 等ICML 2023 · 68 次引用
  3. High Probability Convergence of Stochastic Gradient MethodsZijian Liu, Ta Duy Nguyen, Thien Hang Nguyen, Alina Ene 等ICML 2023 · 64 次引用
  4. High Probability Bounds for a Class of Nonconvex Algorithms with AdaGrad StepsizeAli Kavis, Kfir Yehuda Levy, Volkan CevherICLR 2022 · 51 次引用
  5. Fast Stochastic Bregman Gradient Methods: Sharp Analysis and Variance ReductionRadu-Alexandru Dragomir, Mathieu Even, Hadrien HendrikxICML 2021 · 40 次引用

相关 Paper

  1. Improved Convergence in High Probability of Clipped Gradient Methods with Heavy Tailed NoiseTa Duy Nguyen, Thien Hang Nguyen, Alina Ene, Huy L. NguyenNeurIPS 2023 · 65 次引用
  2. Mirror Descent Under Generalized SmoothnessDingzhi Yu, Wei Jiang, Hongyi Tao, Yuanyu Wan 等ICML 2026 · 9 次引用
  3. Algorithmic Stability of Heavy-Tailed SGD with General Loss FunctionsAnant Raj, Lingjiong Zhu, Mert Gürbüzbalaban, Umut SimsekliICML 2023 · 21 次引用
  4. Beyond Lipschitz: Sharp Generalization and Excess Risk Bounds for Full-Batch GDKonstantinos E. Nikolakakis, Farzin Haddadpour, Amin Karbasi, Dionysios S. KalogeriasICLR 2023 · 3 次引用
  5. Revisiting the Last-Iterate Convergence of Stochastic Gradient MethodsZijian Liu, Zhengyuan ZhouICLR 2024 · 32 次引用
黄昏的海面,两侧是细线勾勒的悬崖