Mezcla de ADAM y SGD: un método de optimización combinado
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.
Resumen
Los métodos de optimización (optimizers) reciben especial atención para el entrenamiento eficiente de redes neuronales en el campo del aprendizaje profundo. En la literatura existen numerosos trabajos que comparan modelos neuronales entrenados con el uso de diferentes optimizadores. Cada documento demuestra que, para un problema concreto, un optimizador es superior a los demás, pero al cambiar el problema, este tipo de resultado deja de ser válido y debemos comenzar desde cero. En nuestro trabajo proponemos utilizar la combinación de dos optimizadores muy diferentes; cuando se emplean simultáneamente, pueden superar el rendimiento de los optimizadores individuales en problemas muy diversos. Proposamos un nuevo optimizador llamado MAS (Mixing ADAM and SGD) que integra SGD y ADAM simultáneamente mediante la ponderación de las contribuciones de ambos mediante la asignación de pesos constantes. En lugar de intentar mejorar SGD o ADAM, explotamos ambos al mismo tiempo tomando lo mejor de cada uno. Hemos realizado varios experimentos en la clasificación de imágenes y documentos de texto, utilizando diversas CNNs, y hemos demostrado mediante experimentos que el optimizador MAS propuesto produce un mejor rendimiento que los optimizadores individuales SGD o ADAM. El código fuente y todos los resultados de los experimentos están disponibles en línea en el siguiente enlace: 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