Evaluating Preprocessing and Data Augmentation for Soybean Leaf Pest Classification with Deep Learning
DOI:
https://doi.org/10.22456/2175-2745.150920Keywords:
soybean, pest classification, deep learning, preprocessing, data augmentationAbstract
Soybean is one of the most important crops in the world, and its productivity is often reduced by pests that attack the leaves. Detecting these problems early is important for effective crop management. In this work, we evaluate three deep learning models, ResNet-50, ViT-B16, and ConvNeXt-Tiny, for the classification of soybean leaves as healthy or infested by Caterpillar or Diabrotica speciosa. The experiments were carried out using the public "Images of Soybean Leaves" dataset collected in real field conditions. We tested two preprocessing strategies (Resize and Random Resized Crop) and three levels of data augmentation (none, mild, strong). Results show that ConvNeXt-Tiny obtained the most stable performance, with its best results under Random Resized Crop and strong augmentation (accuracy of 0.9594, precision of 0.9555, and F1-score of 0.9576). ResNet-50 also performed well with cropping strategies, while only ViT-B16 benefited from simple Resize preprocessing. Macro and weighted metrics showed that the models kept good performance even with class imbalance. These results confirm the potential of deep learning for automatic pest detection in soybean leaves. Future work includes testing with larger datasets and using more advanced augmentation methods to improve robustness in real field conditions.
Downloads
References
[1] SILVA, M. V. da et al. Generating synthetic multispectral images using neural style transfer: A study with application in channel alignment. Computers and Electronics in Agriculture, Elsevier, v. 206, p. 107668, 2023.
[2] KARMAKAR, P. et al. Crop monitoring by multimodal remote sensing: A review. Remote Sensing Applications: Society and Environment, Elsevier, v. 33, p. 101093, 2024.
[3] PANIZZI, A. R. History and contemporary perspectives of the integrated pest management of soybean in Brazil. Neotropical Entomology, Springer, v. 42, n. 2, p. 119–127, 2013.
[4] ALVES, B. J.; BODDEY, R. M.; URQUIAGA, S. The success of BNF in soybean in Brazil. Plant and Soil, Springer, v. 252, n. 1, p. 1–9, 2003.
[5] SISHODIA, R. P.; RAY, R. L.; SINGH, S. K. Applications of remote sensing in precision agriculture: A review. Remote Sensing, MDPI, v. 12, n. 19, p. 3136, 2020.
[6] CISTERNAS, I. et al. Systematic literature review of implementations of precision agriculture. Computers and Electronics in Agriculture, Elsevier, v. 176, p. 105626, 2020.
[7] SOUSSI, A. et al. Smart sensors and smart data for precision agriculture: a review. Sensors, MDPI, v. 24, n. 8, p. 2647, 2024.
[8] RAM, B. G. et al. A systematic review of hyperspectral imaging in precision agriculture: Analysis of its current state and future prospects. Computers and Electronics in Agriculture, Elsevier, v. 222, p. 109037, 2024.
[9] KARLEKAR, A.; SEAL, A. SoyNet: Soybean leaf diseases classification. Computers and Electronics in Agriculture, Elsevier, v. 172, p. 105342, 2020.
[10] GUI, J. et al. Grading method of soybean mosaic disease based on hyperspectral imaging technology. Information Processing in Agriculture, Elsevier, v. 8, n. 3, p. 380–385, 2021.
[11] PEREIRA, R. de C. et al. Detection and classification of whiteflies and development stages on soybean leaves images using an improved deep learning strategy. Computers and Electronics in Agriculture, Elsevier, v. 199, p. 107132, 2022.
[12] ZHU, L. et al. Research on CBF-YOLO detection model for common soybean pests in complex environment. Computers and Electronics in Agriculture, Elsevier, v. 216, p. 108515, 2024.
[13] KAUR, J.; SHALU. An optimized hybrid neural network framework for prognosis of leaf diseases in soybean crops using spotted hyena optimizer. International Journal of Information Technology, Springer, p. 1–7, 2025.
[14] MOTA, G. S. de L. et al. Classifying pests in crop images using deep learning. In: SBC. Anais do XVIII Workshop de Visão Computacional. 2023. p. 42–47. Disponível em: https://doi.org/10.5753/wvc.2023.27530.
[15] COSTA, P. L. de O. et al. Classification of agricultural pests through digital images using deep learning. Revista de Informática Teórica e Aplicada, v. 32, n. 1, p. 18–25, 2025. Disponível em: https://doi.org/10.22456/2175-2745.143520.
[16] MIGNONI, M. E. Images of Soybean Leaves. Mendeley Data, 2021. Disponível em: https://doi.org/10.17632/bycbh73438.1.
[17] HE, K. et al. Deep residual learning for image recognition. In: Proceedings of the IEEE conference on computer vision and pattern recognition. [S.l.: s.n.], 2016. p. 770–778.
[18] DOSOVITSKIY, A. et al. An image is worth 16x16 words: Transformers for image recognition at scale. In: International Conference on Learning Representations (ICLR). [S.l.: s.n.], 2021.
[19] LIU, Z. et al. A ConvNeXt for the 2020s. In: Proceedings of the IEEE/CVF conference on computer vision and pattern recognition. [S.l.: s.n.], 2022. p. 11976–11986.
[20] KRIZHEVSKY, A.; SUTSKEVER, I.; HINTON, G. E. ImageNet classification with deep convolutional neural networks. In: Advances in neural information processing systems. [S.l.: s.n.], 2012. v. 25.
[21] SHORTEN, C.; KHOSHGOFTAAR, T. M. A survey on image data augmentation for deep learning. Journal of Big Data, Springer, v. 6, n. 1, p. 1–48, 2019.
[22] SZEGEDY, C. et al. Going deeper with convolutions. In: Proceedings of the IEEE conference on computer vision and pattern recognition. [S.l.: s.n.], 2015. p. 1–9.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Ana Luiza dos Santos Borges, Larissa Ferreira Rodrigues Moreira, Leandro Henrique Furtado Pinto Silva, João Fernando Mari

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
Autorizo aos editores a publicação de meu artigo, caso seja aceito, em meio eletrônico de acordo com as regras do Public Knowledge Project.













