The Investigation of Multiple Optimization Methods on Convolutional Neural Network
DOI:
https://doi.org/10.54097/pq6f5h89Keywords:
CNN, SGD, STN.Abstract
In this study, the optimization of a Convolutional Neural Network (CNN) was conducted using the Fruits 360 dataset, with a specific emphasis on the impacts of Spatial Transformer Network (STN) and Stochastic Gradient Descent (SGD) optimization methods. Firstly, a baseline CNN model is built, which achieves 97.84% accuracy with a loss of 0.0999 after 50 epochs. Then, the impact of integrating STN and SGD into CNN models separately is investigated. The addition of STN slightly increased the accuracy to 97.92%, reduced the loss to 0.0994, and decreased the validation accuracy. This result suggests that while STN enhances the model's generalization ability, it may slightly reduce the maximum accuracy achievable on the validation set. After SGD optimization, the verification accuracy is increased to 98.19%, the loss is reduced to 0.0537, and the verification accuracy is increased to 98.40%. These results highlight the effectiveness of SGD in fine-tuning model parameters, resulting in more accurate models and improved generalization capabilities. A comparative analysis of these methods highlights their respective advantages. The effectiveness of the STN is rooted in its capacity to improve model generalization and mitigate overfitting, which is particularly beneficial in situations that demand robustness against varied data sets. In contrast, SGD stands out for its ability to significantly improve model accuracy and reduce loss, making it a balanced choice for comprehensive model optimization. Future research directions include exploring these optimization techniques on various datasets and investigating the potential of combining STN and SGD to achieve higher performance in CNN models.
Downloads
References
Cheng Liang, Z., Powell, A., Ersoy, I., Poostchi, M., Silamut, K., Palaniappan, K., ... & Thoma, G. CNN-based image analysis for malaria diagnosis. In 2016 IEEE international conference on bioinformatics and biomedicine (BIBM) (pp. 493 - 496). IEEE, 2016.
Yu, S., Jia, S., & Xu, C. Convolutional neural networks for hyperspectral image classification. Neurocomputing, 219, 88 - 98, 2017.
Harley, A. W., Ufkes, A., & Derpanis, K. G. Evaluation of deep convolutional nets for document image classification and retrieval. In 2015 13th International Conference on Document Analysis and Recognition (ICDAR) (pp. 991 - 995). IEEE, 2015.
Patil, A. M., Patil, M. D., & Birajdar, G. K. White blood cells image classification using deep learning with canonical correlation analysis. Irbm, 42 (5), 378 - 389, 2021.
Reyad, M., Sarhan, A. M., & Arafa, M. A modified Adam algorithm for deep neural network optimization. Neural Computing and Applications, 1 - 18, 2023.
Kingma, D. P., & Ba, J. Adam: A method for stochastic optimization. arXiv preprint arXiv: 1412.6980, 2014.
Ogundokun, R. O., Maskeliunas, R., Misra, S., & Damaševičius, R. Improved CNN based on batch normalization and adam optimizer. In International Conference on Computational Science and Its Applications (pp. 593-604). Cham: Springer International Publishing, 2022.
Dubey, S. R., Singh, S. K., & Chaudhuri, B. B. AdaNorm: Adaptive Gradient Norm Correction based Optimizer for CNNs. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision (pp. 5284 - 5293), 2023.
Akbiyik, M. E. Data augmentation in training CNNs: injecting noise to images. arXiv preprint arXiv: 2307.06855, 2023.
Mumuni, A., & Mumuni, F. Data augmentation: A comprehensive survey of modern approaches. Array, 100258, 2022.
Poojary, R., Raina, R., & Mondal, A. K. Effect of data-augmentation on fine-tuned CNN model performance. IAES International Journal of Artificial Intelligence, 10 (1), 84, 2021.
Nanni, L., Paci, M., Brahnam, S., & Lumini, A. Feature transforms for image data augmentation. Neural Computing and Applications, 34 (24), 22345 - 22356, 2022.
Qiu, Y., Wang, J., Jin, Z., Chen, H., Zhang, M., & Guo, L. Pose-guided matching based on deep learning for assessing quality of action on rehabilitation training. Biomedical Signal Processing and Control, 72, 103323, 2022.
He, X., & Chen, Y. Optimized input for CNN-based hyperspectral image classification using spatial transformer network. IEEE Geoscience and Remote Sensing Letters, 16 (12), 1884 - 1888, 2019.
Downloads
Published
Issue
Section
License
Copyright (c) 2024 Highlights in Science, Engineering and Technology

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.







