Lune

NeurIPS2021顶会

Towards Understanding Why Lookahead Generalizes Better Than SGD and Beyond

Pan Zhou, Hanshu Yan, Xiaotong Yuan, Jiashi Feng, Shuicheng Yan

摘要

To train networks, lookahead algorithm [1] updates its fast weights k times via an inner-loop optimizer before updating its slow weights once by using the latest fast weights. Any optimizer, e.g. SGD, can serve as the inner-loop optimizer, and the derived lookahead generally enjoys remarkable test performance improvement over the vanilla optimizer. But theoretical understandings on the test performance improvement of lookahead remain absent yet. To solve this issue, we theoretically justify the advantages of lookahead in terms of the excess risk error which measures the test performance. Specifically, we prove that lookahead using SGD as its inner-loop optimizer can better balance the optimization error and generalization error to achieve smaller excess risk error than vanilla SGD on (strongly) convex problems and nonconvex problems with Polyak-Łojasiewicz condition which has been observed/proved in neural networks. Moreover, we show the stagewise optimization strategy [2] which decays learning rate several times during training can also benefit lookahead in improving its optimization and generalization errors on strongly convex problems. Finally, we propose a stagewise locally-regularized lookahead (SLRLA) algorithm which sums up the vanilla objective and a local regularizer to minimize at each stage and provably enjoys optimization and generalization improvement over the conventional (stagewise) lookahead. Experimental results on CIFAR10/100 and ImageNet testify its advantages. Codes is available at https://github.com/sail-sg/SLRLA-optimizer .

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • A-FedPD: Aligning Dual-Drift is All Federated Primal-Dual Learning Needs 引用了 Understanding How Consistency Works in Federated Learning via Stage-wise Relaxed Initialization
  • AdaBelief Optimizer: Adapting Stepsizes by the Belief in Observed Gradients 引用了 On the Variance of the Adaptive Learning Rate and Beyond
  • Towards Theoretically Understanding Why Sgd Generalizes Better Than Adam in Deep Learning 引用了 Theory-Inspired Path-Regularized Differential Network Architecture Search
  • Theory-Inspired Path-Regularized Differential Network Architecture Search 引用了 Towards Theoretically Understanding Why Sgd Generalizes Better Than Adam in Deep Learning
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper11

  1. Efficient Sharpness-aware Minimization for Improved Training of Neural NetworksJiawei Du, Hanshu Yan, Jiashi Feng, Joey Tianyi Zhou 等ICLR 2022 · 168 次引用
  2. Understanding How Consistency Works in Federated Learning via Stage-wise Relaxed InitializationYan Sun, Li Shen, Dacheng TaoNeurIPS 2023 · 26 次引用
  3. Stable Nonconvex-Nonconcave Training via Linear InterpolationThomas Pethick, Wanyun Xie, Volkan CevherNeurIPS 2023 · 8 次引用
  4. Understanding Outer Optimizers in Local SGD: Learning Rates, Momentum, and AccelerationAhmed Khaled, Satyen Kale, Arthur Douillard, Chi Jin 等NeurIPS 2025 · 7 次引用
  5. A-FedPD: Aligning Dual-Drift is All Federated Primal-Dual Learning NeedsYan Sun, Li Shen, Dacheng TaoNeurIPS 2024 · 6 次引用

它引用的 Paper9

  1. On the Variance of the Adaptive Learning Rate and BeyondLiyuan Liu, Haoming Jiang, Pengcheng He, Weizhu Chen 等ICLR 2020 · 2,210 次引用
  2. AdaBelief Optimizer: Adapting Stepsizes by the Belief in Observed GradientsJuntang Zhuang, Tommy Tang, Yifan Ding, Sekhar Tatikonda 等NeurIPS 2020 · 697 次引用
  3. Prototypical Contrastive Learning of Unsupervised RepresentationsJunnan Li, Pan Zhou, Caiming Xiong, Steven C. H. HoiICLR 2021 · 484 次引用
  4. Towards Theoretically Understanding Why Sgd Generalizes Better Than Adam in Deep LearningPan Zhou, Jiashi Feng, Chao Ma, Caiming Xiong 等NeurIPS 2020 · 309 次引用
  5. Theory-Inspired Path-Regularized Differential Network Architecture SearchPan Zhou, Caiming Xiong, Richard Socher, Steven Chu-Hong HoiNeurIPS 2020 · 64 次引用

相关 Paper

  1. Bidirectional Looking with A Novel Double Exponential Moving Average to Adaptive and Non-adaptive Momentum OptimizersYineng Chen, Zuchao Li, Lefei Zhang, Bo Du 等ICML 2023 · 8 次引用
  2. Lookaround Optimizer: k steps around, 1 step averageJiangtao Zhang, Shunyu Liu, Jie Song, Tongtian Zhu 等NeurIPS 2023 · 12 次引用
  3. Investigating the Role of Weight Decay in Enhancing Nonconvex SGDTao Sun, Yuhao Huang, Li Shen, Kele Xu 等CVPR 2025
  4. STL-SGD: Speeding Up Local SGD with Stagewise Communication PeriodShuheng Shen, Yifei Cheng, Jingchang Liu, Linli XuAAAI 2021 · 12 次引用
  5. Convex Relaxations of ReLU Neural Networks Approximate Global Optima in Polynomial TimeSungyoon Kim, Mert PilanciICML 2024 · 10 次引用
黄昏的海面,两侧是细线勾勒的悬崖