AdaGCR: An improved method for optimizing machine learning training process
Abstract
In contemporary machine learning, training datasets are typically divided into batches, and models are updated incrementally through batch iterations to save memory and reduce overfitting. However, determining the optimal hyperparameters like learning rate, batch size and number of epochs remains a challenge which often relying on empirical insights. This paper explores a novel method called Adaptive Gradient Conflict Rate (AdaGCR) to optimize the training process. It leverages the idea of gradient conflict rate, which reflects the model’s position within a batch model set and accordingly adjusts the global learning rate. This proposed method is tested by training a Deep Neural Network (DNN) model with MNIST dataset which represents simple tasks and a ResNet-18 model with CIFAR-10 dataset which represents more complicated tasks for solving real world problems. Experiments conducted on DNN demonstrates the proposed method’s effectiveness in reducing overfitting and enhancing convergence, particularly with a well-suited initial learning rate. However, its applicability to more complex models like ResNet-18 may require further refinements, such as layer-specific learning rate adjustments. Future research should focus on fine-tuning AdaGCR and extending its utility across diverse machine learning models and tasks.
References
- Bishop C M 2006 Pattern recognition and machine learning Springer New York p 259
- Duchi J Hazan E and Singer Y 2011 Adaptive subgradient methods for online learning and stochastic optimization Journal of machine learning research 12(7)
- Zeiler M D 2012 Adadelta: an adaptive learning rate method arXiv preprint arXiv 1212 5701
- LeCun Y Bottou L Bengio Y and Haffner P 1998 Gradient-based learning applied to document recognition Proceedings of the IEEE 86(11) 2278-2324
- He K Zhang X Ren S and Sun J 2016 Deep residual learning for image recognition In Proceedings of the IEEE conference on computer vision and pattern recognition pp 770-778
- Krizhevsky A and Hinton G 2009 Learning multiple layers of features from tiny images
- Woodworth B Patel K K Stich S Dai Z Bullins B Mcmahan B & Srebro N 2020 Is local SGD better than minibatch SGD? In International Conference on Machine Learning (pp. 10334-10343). PMLR
- Lydia A and Francis S 2019 Adagrad—an optimizer for stochastic gradient descent. Int. J. Inf. Comput Sci 6(5) 566-568
- Zeiler M D 2012 Adadelta: an adaptive learning rate method arXiv preprint arXiv:1212.5701
- Zhang X Y Sun W Y and Chen Y 2023 Tackling the Non-IID Issue in Heterogeneous Federated Learning by Gradient Harmonization arXiv:2309.06692