Learning rate adjustment and optimization of RepVGG network based on warmup strategy
Abstract
Artificial neural networks have developed rapidly in recent years and play an important role in the academic field. In this paper, the RepVGG artificial neural network model is adjusted by the learning rate algorithm, so as to realize the optimization of the model including but not limited to accuracy. The main optimization strategy is to add the warmup strategy based on the learning rate algorithm of the original model so that the model can obtain good prior information on the data early in the training process, so as to converge quickly in the later training. Through a series of tests and simulations, the RepVGG-A0 model improves the Top1 accuracy by about 2.6% to 68.56% and the Top5 accuracy by about 0.38% to 94.32% on imagesetter dataset within 25 training epochs. The precision and recall are improved to 68.43% and 68.63%, respectively.
References
- Great Again,” 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Jun. 2021.
- W. Li, X. Luo, Z. Meng, and J. Chen, “Facial expression recognition combined with improved RepVGG⁃A0 network and relabeling,” Oct. 2022.
- J. Sirignano and K. Spiliopoulos, “Stochastic Gradient Descent in Continuous Time,” SSRN Electronic Journal, 2017.
- G. Ioannou, T. Tagaris, and A. Stafylopatis, “AdaLip: An Adaptive Learning Rate Method per Layer for Stochastic Optimization,” Neural Processing Letters, Jan. 2023.
- K. Zeng, J. Liu, Z. Jiang, and D. Xu, “A Scaling Transition Method from SGDM to SGD with 2ExpLR Strategy,” Applied Sciences, vol. 12, no. 23, p. 12023, Nov. 2022.
- P. Izmailov, D. Podoprikhin, T. Garipov, D. Vetrov, and A. Wilson, “Averaging Weights Leads to Wider Optima and Better Generalization.”
- P. Goyal et al., “Accurate, Large Minibatch SGD: Training ImageNet in 1 Hour.” 2020.
- K. Zeng, J. Liu, Z. Jiang, and D. Xu, “A Scaling Transition Method from SGDM to SGD with 2ExpLR Strategy,” Applied Sciences, vol. 12, no. 23, p. 12023, Nov. 2022.K. He, X. Zhang, S. Ren, and J. Sun, “Deep Residual Learning for Image Recognition,” Dec. 10, 2015.
- D. Shulman, “Optimization Methods in Deep Learning: A Comprehensive Overview,” Feb. 2023.
- J. Howard and S. Gugger, “Fastai: A Layered API for Deep Learning,” Information, vol. 11, no. 2, p. 108, Feb. 2020, doi: https://doi.org/10.3390/info11020108.
- K. He, X. Zhang, S. Ren, and J. Sun, “Deep Residual Learning for Image Recognition,” Dec. 10, 2015. C. Zhang, M. Yao, W. Chen, S. Zhang, D. Chen, and Y. Wu, “Gradient Descent Optimization in Deep Learning Model Training Based on Multistage and Method Combination Strategy,” Security and Communication Networks, vol. 2021, pp. 1–15, Jul. 2021.
- X. Ding, X. Zhang, N. Ma, J. Han, G. Ding, and J. Sun, “RepVGG: Making VGG-style ConvNets