arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.05871cs.LGcs.AImath.OC
收藏

一种用于深度学习的具备自适应梯度缩放的类二阶优化器

A second-order-like optimizer with adaptive gradient scaling for deep learning

Toulouse School of Economics(图卢兹经济学院);Université de Toulouse(图卢兹大学);Thales LAS France(泰雷兹法国LAS公司)

Jérôme Bolte, Ryan Boustany, Edouard Pauwels, Andrei Purica

AI总结:

该研究提出结合INNA方法与RMSprop自适应梯度缩放的优化算法INNAprop,在维持标准深度学习方法内存需求的同时,多数据集多模型场景下训练速度和准确率持平或优于AdamW,且超参数调优成本低。

摘要:

在这篇实证研究论文中,我们提出了INNAprop(一种结合INNA方法与RMSprop自适应梯度缩放的优化算法)。它利用了二阶信息与重缩放机制,同时将内存需求维持在AdamW或带动量的SGD等标准深度学习方法的水平。在给出几何层面的见解后,我们在CIFAR-10、Food101、ImageNet数据集上搭配ResNets、VGG、DenseNet、ViT,以及在GPT-2(OpenWebText)上从零训练和LoRA微调(E2E)场景下评估了INNAprop。INNAprop在训练速度和准确率上始终持平或优于AdamW,且在大规模场景下仅需极少的超参数调优。我们的代码已在https://github.com/innaprop/innaprop 公开。

英文摘要:

In this empirical article, we introduce INNAprop, an optimization algorithm that combines the INNA method with the RMSprop adaptive gradient scaling. It leverages second-order information and rescaling while keeping the memory requirements of standard DL methods as AdamW or SGD with momentum. After giving geometrical insights, we evaluate INNAprop on CIFAR-10, Food101, and ImageNet with ResNets, VGG, DenseNet, and ViT, and on GPT-2 (OpenWebText) train from scratch and with LoRA fine-tuning (E2E). INNAprop consistently matches or outperforms AdamW both in training speed and accuracy, with minimal hyperparameter tuning in large-scale settings. Our code is publicly available at \url{https://github.com/innaprop/innaprop}.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑