混合 ADAM 与 SGD:一种联合优化方法
Mixing ADAM and SGD: a Combined Optimization Method
Mixing ADAM and SGD: a Combined Optimization Method
@misc{landro2020mixing,
title = {Mixing ADAM and SGD: a Combined Optimization Method},
author = {Nicola Landro and Ignazio Gallo and Riccardo La Grassa},
year = {2020},
eprint = {2011.08042},
archivePrefix = {arXiv},
primaryClass = {cs.LG},
url = {https://arxiv.org/abs/2011.08042}
}
Landro, N., Gallo, I., & Grassa, R. L. (2020). Mixing ADAM and SGD: a Combined Optimization Method [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2011.08042
LANDRO N, GALLO I, GRASSA RL. Mixing ADAM and SGD: a Combined Optimization Method[EB/OL]. (2020-11-16)[2026-11-30]. https://arxiv.org/abs/2011.08042.
摘要
优化方法(优化器)在深度学习领域因其在神经网络高效训练中的关键作用而备受关注。文献中已有大量论文比较使用不同优化器训练的神经模型。每篇论文均表明,针对特定问题,某一种优化器优于其他优化器;然而,一旦问题发生变化,此类结论便不再适用,必须从头开始。本文提出结合两种差异显著的优化器,当它们同时使用时,能够在截然不同的问题中超越单一优化器的性能。我们提出了一种名为 MAS(Mixing ADAM and SGD)的新优化器,该优化器通过为两种算法分配固定权重来同时集成 SGD 和 ADAM,从而平衡两者的贡献。我们并非试图改进 SGD 或 ADAM,而是同时利用两者,取其所长。我们在图像和文本文档分类任务上进行了多项实验,使用了多种卷积神经网络(CNN),实验结果表明,所提出的 MAS 优化器在性能上优于单一的 SGD 或 ADAM 优化器。源代码及所有实验结果均可在线获取,链接如下:https://gitlab.com/nicolalandro/multi_optimizer
Optimization methods (optimizers) get special attention for the efficient training of neural networks in the field of deep learning. In literature there are many papers that compare neural models trained with the use of different optimizers. Each paper demonstrates that for a particular problem an optimizer is better than the others but as the problem changes this type of result is no longer valid and we have to start from scratch. In our paper we propose to use the combination of two very different optimizers but when used simultaneously they can overcome the performances of the single optimizers in very different problems. We propose a new optimizer called MAS (Mixing ADAM and SGD) that integrates SGD and ADAM simultaneously by weighing the contributions of both through the assignment of constant weights. Rather than trying to improve SGD or ADAM we exploit both at the same time by taking the best of both. We have conducted several experiments on images and text document classification, using various CNNs, and we demonstrated by experiments that the proposed MAS optimizer produces better performance than the single SGD or ADAM optimizers. The source code and all the results of the experiments are available online at the following link https://gitlab.com/nicolalandro/multi_optimizer