我们介绍ADAHESSIAN,二阶随机优化算法,动态地将曲率的损失函数通过自适应估计的HESSIAN。二阶算法是最强大的优化算法之一,与一阶方法(如SGD和Adam)相比,具有优越的收敛性能。传统的二阶方法的主要缺点是每次迭代计算量大,与一阶方法相比精度差。为了解决这些问题,我们在ADAHESSIAN中采用了几种新方法,包括:(i)基于Hutchinson的快速方法,以低计算开销近似曲率矩阵;(ii)均方根指数移动平均,以平滑不同迭代中Hessian对角的变化;以及(iii)块对角平均,以减少Hessian对角元素的方差。我们表明,ADAHESSIAN实现了新的国家的最先进的结果相比,其他自适应优化方法,包括亚当的变种。特别是,我们对CV,NLP和推荐系统任务进行了广泛的测试,发现ADAHESSIAN:(i)与Adam相比,在Cifar 10上的ResNets 20/32上的准确率高出1.80%/1.45%,在ImageNet上的准确率高出5.55%;(ii)在IWSLT 14/WMT 14上的BLEU得分为0.13/0.33,在PTB/Wikitext-103上的PPL得分为2.7/1.0,优于Transformers器的AdamW;(iii)在GLUE上的得分为0.41,优于SqueezeBert的AdamW;和(iv)在Criteo Ad Kaggle数据集上,DLRM的得分比Adagrad高0.032%。重要的是,我们证明了ADAHESSIAN的每次迭代的成本与一阶方法相当,并且它对超参数具有鲁棒性。
英文摘要:
We introduce ADAHESSIAN, a second order stochastic optimization algorithm which dynamically incorporates the curvature of the loss function via ADAptive estimates of the HESSIAN. Second order algorithms are among the most powerful optimization algorithms with superior convergence properties as compared to first order methods such as SGD and Adam. The main disadvantage of traditional second order methods is their heavier per iteration computation and poor accuracy as compared to first order methods. To address these, we incorporate several novel approaches in ADAHESSIAN, including: (i) a fast Hutchinson based method to approximate the curvature matrix with low computational overhead; (ii) a root-mean-square exponential moving average to smooth out variations of the Hessian diagonal across different iterations; and (iii) a block diagonal averaging to reduce the variance of Hessian diagonal elements. We show that ADAHESSIAN achieves new state-of-the-art results by a large margin as compared to other adaptive optimization methods, including variants of Adam. In particular, we perform extensive tests on CV, NLP, and recommendation system tasks and find that ADAHESSIAN: (i) achieves 1.80%/1.45% higher accuracy on ResNets20/32 on Cifar10, and 5.55% higher accuracy on ImageNet as compared to Adam; (ii) outperforms AdamW for transformers by 0.13/0.33 BLEU score on IWSLT14/WMT14 and 2.7/1.0 PPL on PTB/Wikitext-103; (iii) outperforms AdamW for SqueezeBert by 0.41 points on GLUE; and (iv) achieves 0.032% better score than Adagrad for DLRM on the Criteo Ad Kaggle dataset. Importantly, we show that the cost per iteration of ADAHESSIAN is comparable to first order methods, and that it exhibits robustness towards its hyperparameters.
Some Optimizers are More Equal: Understanding the Role of Optimizers in Group Fairness
Department of Electrical and Computer Engineering, Queen’s University(皇后大学电气与计算机工程系);Department of Computer Science and Technology, University of Cambridge(剑桥大学计算机科学与技术系)
Optimizing the optimizer for data driven deep neural networks and physics informed neural networks
CSIRO Data61(联邦科学与工业研究组织Data61);College of Engineering and Computer Science, The Australian National University(澳大利亚国立大学工程与计算机科学学院);Defence Science and Technology Group, Department of Defence(国防部国防科学与技术集团)
Improving the Adaptive Moment Estimation (ADAM) stochastic optimizer through an Implicit-Explicit (IMEX) time-stepping approach
Computational Science Laboratory(计算科学实验室);Virginia Tech(弗吉尼亚理工大学);The University of Texas at Austin(德克萨斯大学奥斯汀分校);California State University, Long Beach(加州州立大学长滩分校)
MADA: Meta-Adaptive Optimizers through hyper-gradient Descent
Amazon Web Services(亚马逊网络服务);Technion – Israel Institute of Technology(以色列理工学院);University of Minnesota(明尼苏达大学);Ecole Polytechnique Fédérale de Lausanne(洛桑联邦理工学院);University of California Los Angeles(加利福尼亚大学洛杉矶分校)
DES-LOC: Desynced Low Communication Adaptive Optimizers for Training Foundation Models
University of Cambridge(剑桥大学);Flower Labs;Institute of Science and Technology Austria(奥地利科学技术研究所);University of Warwick(华威大学);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学)
Adaptive Friction in Deep Learning: Enhancing Optimizers with Sigmoid and Tanh Function
Chinese University of Hong Kong(香港中文大学);Illinois Institute of Technology(伊利诺伊理工学院);Ohio State University(俄亥俄州立大学);Stevens Institute of Technology(史蒂文斯理工学院);University of California, Berkeley(加州大学伯克利分校)
An Improved Adaptive PID Optimizer with Enhanced Convergence and Stability for Deep Learning
1 Department of Computer Science \& Engineering, Indian Institute of Technology Indore, India.;3 National Remote Sensing Centre, Indian Space Research Organisation, India.
AdaInject: Injection Based Adaptive Gradient Descent Optimizers for Convolutional Neural Networks
Indian Institute of Information Technology, Allahabad(印度阿拉哈巴德信息技术学院);PathPartner Technology Pvt. Ltd.(PathPartner科技私人有限公司);Indian Statistical Institute(印度统计研究所);Techno India University(Techno印度大学)
MoE Key Lab of Artificial Intelligence, AI Institute, School of Computer Science, Shanghai Jiao Tong University(人工智能微电子实验室、人工智能学院、计算机科学学院、上海交通大学);Xiaohongshu Inc.(小红书公司)
A Control Theoretic Framework for Adaptive Gradient Optimizers in Machine Learning
Division of Data and Decision Sciences(数据与决策科学部);Tata Consultancy Services Research(塔塔咨询服务公司研究院);University of Maryland(马里兰大学);Department of Mechanical Engineering(机械工程系)
本文基于状态空间建模与控制理论传递函数提出自适应梯度优化通用框架及 Adam 新变体 AdamSSM,证明其收敛性,并在图像分类和语言建模任务上验证其泛化与收敛优势。
A Theoretical and Experimental Study of a Novel Adaptive Learning Algorithm
Department of Mathematics Indian Institute of Technology Patna(数学系印度理工学院帕纳瓦);Department of Mechanical Engineering Indian Institute of Technology Kharagpur(机械工程系印度理工学院Khargpur)