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.
초록
심층 학습 분야에서 신경망의 효율적인 훈련을 위해 최적화 방법 (최적화기) 에 특별한 주목을 받고 있다. 문헌에는 서로 다른 최적화기를 사용하여 훈련된 신경망 모델을 비교하는 많은 논문이 존재하며, 각 논문은 특정 문제에서 한 최적화기가 다른 것들보다 우수함을 보여준다. 그러나 문제가 변하면 이러한 결과는 더 이상 유효하지 않아 처음부터 다시 시작해야 한다. 본 논문에서는 두 개의 매우 다른 최적화기를 결합하여 제안한다. 동시에 사용될 때 이들은 매우 다른 문제에서도 단일 최적화기를 능가하는 성능을 발휘한다. 우리는 SGD 와 ADAM 을 통합하는 새로운 최적화기인 MAS (Mixing ADAM and SGD) 를 제안한다. MAS 는 두 최적화기의 기여도를 상수 가중치를 부여함으로써 동시에 통합한다. 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