Your browser doesn't support javascript.
loading
AdaSAM: Boosting sharpness-aware minimization with adaptive learning rate and momentum for training deep neural networks.
Sun, Hao; Shen, Li; Zhong, Qihuang; Ding, Liang; Chen, Shixiang; Sun, Jingwei; Li, Jing; Sun, Guangzhong; Tao, Dacheng.
Afiliação
  • Sun H; School of Computer Science, University of Science and Technology of China, Hefei, 230026, Anhui, China.
  • Shen L; JD.com, Beijing, 100000, China. Electronic address: mathshenli@gmail.com.
  • Zhong Q; School of Computer Science, Wuhan University, Wuhan, 430072, Hubei, China.
  • Ding L; JD.com, Beijing, 100000, China.
  • Chen S; School of Mathematical Science, University of Science and Technology of China, Hefei, 230026, Anhui, China.
  • Sun J; School of Computer Science, University of Science and Technology of China, Hefei, 230026, Anhui, China.
  • Li J; School of Computer Science, University of Science and Technology of China, Hefei, 230026, Anhui, China.
  • Sun G; School of Computer Science, University of Science and Technology of China, Hefei, 230026, Anhui, China.
  • Tao D; School of Computer Science, University of Sydney, Sydney, 2006, New South Wales, Australia.
Neural Netw ; 169: 506-519, 2024 Jan.
Article em En | MEDLINE | ID: mdl-37944247
ABSTRACT
Sharpness aware minimization (SAM) optimizer has been extensively explored as it can generalize better for training deep neural networks via introducing extra perturbation steps to flatten the landscape of deep learning models. Integrating SAM with adaptive learning rate and momentum acceleration, dubbed AdaSAM, has already been explored empirically to train large-scale deep neural networks without theoretical guarantee due to the triple difficulties in analyzing the coupled perturbation step, adaptive learning rate and momentum step. In this paper, we try to analyze the convergence rate of AdaSAM in the stochastic non-convex setting. We theoretically show that AdaSAM admits a O(1/bT) convergence rate, which achieves linear speedup property with respect to mini-batch size b. Specifically, to decouple the stochastic gradient steps with the adaptive learning rate and perturbed gradient, we introduce the delayed second-order momentum term to decompose them to make them independent while taking an expectation during the analysis. Then we bound them by showing the adaptive learning rate has a limited range, which makes our analysis feasible. To the best of our knowledge, we are the first to provide the non-trivial convergence rate of SAM with an adaptive learning rate and momentum acceleration. At last, we conduct several experiments on several NLP tasks and the synthetic task, which show that AdaSAM could achieve superior performance compared with SGD, AMSGrad, and SAM optimizers.
Assuntos
Palavras-chave

Texto completo: 1 Coleções: 01-internacional Base de dados: MEDLINE Assunto principal: Redes Neurais de Computação Idioma: En Revista: Neural Netw Assunto da revista: NEUROLOGIA Ano de publicação: 2024 Tipo de documento: Article País de afiliação: China

Texto completo: 1 Coleções: 01-internacional Base de dados: MEDLINE Assunto principal: Redes Neurais de Computação Idioma: En Revista: Neural Netw Assunto da revista: NEUROLOGIA Ano de publicação: 2024 Tipo de documento: Article País de afiliação: China