Yangchuan Wang , Lianhong Ding , Peng Shi , Juntao Li , Ruiping Yuan
{"title":"Improving generalization performance of adaptive gradient method via bounded step sizes","authors":"Yangchuan Wang , Lianhong Ding , Peng Shi , Juntao Li , Ruiping Yuan","doi":"10.1016/j.neucom.2024.128966","DOIUrl":null,"url":null,"abstract":"<div><div>While adaptive gradient methods such as Adam have been widely used in the training of deep neural networks, a recent study has provided a synthetic function that shows the non-convergence problem of Adam. This issue stems from the existence of extreme gradients and the mismatch between the first and second moments. Several adaptive optimizers have been continuously developed. However, designing a fast optimizer with excellent generalization capability is still challenging. We propose an adaptive method with bounded step sizes, named AdaBS, which removes the extreme step sizes and ensures that it appropriately adjusts adaptive step sizes to mitigate the over-adaptation of step sizes in Adam. In particular, AdaBS effectively clips step sizes that are too large or too small by using two static bounds with a predetermined boundary to control updates. When determining the step size, static bound clipping will be used if the preconditioner is outside the modest boundary, and vanilla Adam will be used if the preconditioner is inside the boundary. AdaBS establishes a trust region around the basic step size and obtains benefits of both Adam and SGD, i.e. fast convergence and better generalization. Finally, we conduct extensive experiments on a variety of practical tasks with benchmark datasets, including image classification and modeling language tasks. Empirical results demonstrate AdaBS’s promising performance with remarkably fast convergence, superior generalization, and robustness.</div></div>","PeriodicalId":19268,"journal":{"name":"Neurocomputing","volume":"617 ","pages":"Article 128966"},"PeriodicalIF":5.5000,"publicationDate":"2024-11-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Neurocomputing","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0925231224017375","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0
Abstract
While adaptive gradient methods such as Adam have been widely used in the training of deep neural networks, a recent study has provided a synthetic function that shows the non-convergence problem of Adam. This issue stems from the existence of extreme gradients and the mismatch between the first and second moments. Several adaptive optimizers have been continuously developed. However, designing a fast optimizer with excellent generalization capability is still challenging. We propose an adaptive method with bounded step sizes, named AdaBS, which removes the extreme step sizes and ensures that it appropriately adjusts adaptive step sizes to mitigate the over-adaptation of step sizes in Adam. In particular, AdaBS effectively clips step sizes that are too large or too small by using two static bounds with a predetermined boundary to control updates. When determining the step size, static bound clipping will be used if the preconditioner is outside the modest boundary, and vanilla Adam will be used if the preconditioner is inside the boundary. AdaBS establishes a trust region around the basic step size and obtains benefits of both Adam and SGD, i.e. fast convergence and better generalization. Finally, we conduct extensive experiments on a variety of practical tasks with benchmark datasets, including image classification and modeling language tasks. Empirical results demonstrate AdaBS’s promising performance with remarkably fast convergence, superior generalization, and robustness.
期刊介绍:
Neurocomputing publishes articles describing recent fundamental contributions in the field of neurocomputing. Neurocomputing theory, practice and applications are the essential topics being covered.