本文提出 WarpAdam,将元学习的扭曲梯度下降概念引入 Adam,通过可学习矩阵 P 线性变换梯度,以提升跨数据分布的适应性、优化性能与泛化能力。
摘要:
优化算法的最优选择对于训练深度学习模型至关重要。Adam 优化器因其高效性和广泛适用性而受到大量关注。然而,为了增强优化器在多样化数据集上的适应性,我们提出了一种创新优化策略,将元学习中的“warped gradient descend(扭曲梯度下降)”概念集成到 Adam 优化器中。在传统 Adam 优化器中,梯度被用于计算梯度均值和方差的估计,随后更新模型参数。我们的方法引入了一个可学习的、记为 P 的扭曲矩阵,用于对梯度进行线性变换。该变换在每次迭代中对梯度进行轻微调整,使优化器能够更好地适应不同的数据集特征。通过学习合适的扭曲矩阵 P,我们的方法旨在自适应地调整不同数据分布下的梯度信息,从而提升优化性能。我们的研究通过理论洞见和实证评估展示了这一新方法的潜力。跨多种任务和数据集的实验结果,从适应性方面验证了我们融合“warped gradient descend”概念的优化器的优越性。此外,我们探索了训练适应矩阵 P 的有效策略,并确定了该方法能够产生最优结果的场景。总之,本研究介绍了一种将元学习中的“warped gradient descend”概念与 Adam 优化器相融合的创新方法。通过在优化器内部引入可学习的扭曲矩阵 P,我们旨在增强模型在多样化数据分布上的泛化能力,从而为深度学习优化领域开辟新的可能性。
英文摘要:
Optimal selection of optimization algorithms is crucial for training deep learning models. The Adam optimizer has gained significant attention due to its efficiency and wide applicability. However, to enhance the adaptability of optimizers across diverse datasets, we propose an innovative optimization strategy by integrating the 'warped gradient descend'concept from Meta Learning into the Adam optimizer. In the conventional Adam optimizer, gradients are utilized to compute estimates of gradient mean and variance, subsequently updating model parameters. Our approach introduces a learnable distortion matrix, denoted as P, which is employed for linearly transforming gradients. This transformation slightly adjusts gradients during each iteration, enabling the optimizer to better adapt to distinct dataset characteristics. By learning an appropriate distortion matrix P, our method aims to adaptively adjust gradient information across different data distributions, thereby enhancing optimization performance. Our research showcases the potential of this novel approach through theoretical insights and empirical evaluations. Experimental results across various tasks and datasets validate the superiority of our optimizer that integrates the 'warped gradient descend' concept in terms of adaptability. Furthermore, we explore effective strategies for training the adaptation matrix P and identify scenarios where this method can yield optimal results. In summary, this study introduces an innovative approach that merges the 'warped gradient descend' concept from Meta Learning with the Adam optimizer. By introducing a learnable distortion matrix P within the optimizer, we aim to enhance the model's generalization capability across diverse data distributions, thus opening up new possibilities in the field of deep learning optimization.
Full-Stack FP4: Stable LLM Pretraining with Quantized Projections, Optimizers, and Attention
Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);Sichuan University(四川大学);Beijing Zhongguancun Academy(北京中关村科学院);Zhejiang University(浙江大学);Beijing Key Laboratory of Brain-Inspired General Intelligence Large Model(北京脑科学与类脑研究中心通用人工智能大模型北京市重点实验室);Key Laboratory of Brain Cognition and Brain-inspired Intelligence Technology(脑认知与脑机智能技术重点实验室)
Mohamed bin Zayed University of Artificial Intelligence(莫萨德·本·泽德人工智能大学);University at Buffalo(布法罗大学);King Abdullah University of Science and Technology(卡布斯国王科学与技术大学)
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(加州州立大学长滩分校)
GWT: Scalable Optimizer State Compression for Large Language Model Training
National Key Laboratory of Parallel and Distributed Computing(并行与分布式计算国家重点实验室);National University of Defense Technology(国防科技大学);Center for Machine Learning Research(机器学习研究中心)
Department of Computer Science and Engineering UC San Diego(计算机科学与工程系 UC San Diego);Department of Computer Science and Engineering UC Santa Cruz(计算机科学与工程系 UC Santa Cruz)
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(加利福尼亚大学洛杉矶分校)
Adam symmetry theorem: characterization of the convergence of the stochastic Adam optimizer
School of Data Science, The Chinese University of Hong Kong, Shenzhen (CUHK-Shenzhen)(数据科学学院,香港中文大学(深圳));School of Data Science and School of Artificial Intelligence, The Chinese University of Hong Kong, Shenzhen (CUHK-Shenzhen)(数据科学学院和人工智能学院,香港中文大学(深圳))