In the last few years, the union of modern imaging technology and AI has given rise to agriculture. Probably the most promising of its uses is AI-powered models in agricultural pest imaging, giving new meaning to pest identification, categorization, and monitoring. The world’s food security and farming yields are at risk are endangered by pests, and, too often, this necessitates undue need for pesticides that degrade the environment and the health of people. AI can be brought into play for detecting pests in a new way before they turn invasive, relying less on chemicals and perhaps even ushering in sustainable agricultural methods. Deep learning (DL), a subfield of AI especially designed for image recognition, has seemed especially promising, particularly in the highly precise and highly productive automation of pest detection. In this study, the hybrid model known as ConvViT (fusing the local detail extraction strength of Convolutional Neural Networks (CNNs) with the global contextual reasoning power of Vision Transformers (ViTs)) is introduced. To address the challenges from real-world datasets such as background clutter and image quality, viewpoint differences, as well as other exceptions, ConvViT is developed to boost pest classification performance. The proposed framework is based on a framework that shows superior accuracy than traditional models like ResNet50, EfficientNetB3, and standalone ViTs using a curated agricultural pest image dataset. This approach is an aligned, scalable, intelligent solution for next-generation crop protection by presenting a set of AI capabilities aligned with sustainable agriculture objectives.
Keywords
Precision Agriculture, Agricultural Pest Classification, Deep Learning, ConvViT, CNN, Vision Transformer, Precision Farming, Image-Based Pest Detection, Hybrid Architecture, Sustainable Agriculture.
B. A. Khan et al., “Pesticides: Impacts on Agriculture Productivity, Environment, and Management Strategies,” Emerging Contaminants and Plants, pp. 109–134, 2023, doi: 10.1007/978-3-031-22269-6_5.
M. JUNAID and A. GOKCE, “GLOBAL AGRICULTURAL LOSSES AND THEIR CAUSES,” Bulletin of Biological and Allied Sciences Research, vol. 2024, no. 1, p. 66, Feb. 2024, doi: 10.54112/bbasr.v2024i1.66.
A. Awad Fahad, “Modern techniques in integrated pest management to achieve sustainable agricultural development,” International Journal of Family Studies, Food Science and Nutrition Health, vol. 4, no. 1, pp. 1–14, Jun. 2023, doi: 10.21608/ijfsnh.2024.293410.1010.
S. Ashique et al., “Artificial Intelligence Integration with Nanotechnology: A New Frontier for Sustainable and Precision Agriculture,” Current Nanoscience, vol. 21, no. 2, pp. 242–273, Mar. 2024, doi: 10.2174/0115734137275111231206072049.
K. Sharma and S. K. Shivandu, “Integrating artificial intelligence and Internet of Things (IoT) for enhanced crop monitoring and management in precision agriculture,” Sensors International, vol. 5, p. 100292, 2024, doi: 10.1016/j.sintl.2024.100292.
Y. Liu, H. Pu, and D.-W. Sun, “Efficient extraction of deep image features using convolutional neural network (CNN) for applications in detecting and analysing complex food matrices,” Trends in Food Science & Technology, vol. 113, pp. 193–204, Jul. 2021, doi: 10.1016/j.tifs.2021.04.042.
N. Aijaz, H. Lan, T. Raza, M. Yaqub, R. Iqbal, and M. S. Pathan, “Artificial intelligence in agriculture: Advancing crop productivity and sustainability,” Journal of Agriculture and Food Research, vol. 20, p. 101762, Apr. 2025, doi: 10.1016/j.jafr.2025.101762.
A. R. Onteddu, R. R. Kundavaram, A. Kamisetty, J. C. S. Gummadi, and A. Manikyala, “Enhancing Agricultural Efficiency with Robotics and AI-Powered Autonomous Farming Systems,” Malaysian Journal of Medical and Biological Research, vol. 12, no. 1, pp. 7–22, 2025.
S. Ahuja, H. R. Manjunath, I. Alam, and A. Rastogi, “The Role of AI in Modern Farming: Precise Pest Management and Optimal Water Use,” Int. J. Chem. Biochem. Sci, vol. 25, no. 13, pp. 249–255, 2024.
U. Mishra, “Harnessing AI Technologies for Sustainable Agricultural Practices: Innovations in Soil Analysis and Crop Management,”Biology, Engineering, Medicine and Science Reports, vol. 11, no. 1, pp. 9–13, Mar. 2025, doi: 10.5530/bems.11.1.2.
T. N. Hashem, J. M. M. Joudeh, and A. M. Zamil, “Smart Farming (Ai-Generated) as an Approach to Better Control Pest and Disease Detection in Agriculture: POV Agricultural Institutions,” Migration Letters, vol. 21, no. S1, pp. 529–547, Dec. 2023, doi: 10.59670/ml.v21is1.6178.
D. K. Gupta, A. Pagani, P. Zamboni, and A. K. Singh, “AI-powered revolution in plant sciences: advancements, applications, and challenges for sustainable agriculture and food security,” Exploration of Foods and Foodomics, vol. 2, no. 5, pp. 443–459, Aug. 2024, doi:10.37349/eff.2024.00045.
P. Spagnolo, “Advancements in Precision Agriculture: Integrating AI and IoT for Smart Crop Monitoring and Management,” Europian Journal of Crop Science and Technology P-ISSN 3051-0139 en E-ISSN 3051-0147, vol. 1, no. 01, pp. 21–29, 2025.
D. Patil, “Artificial Intelligence Innovations In Precision Farming: Enhancing Climate-Resilient Crop Management,” 2025, doi:10.2139/ssrn.5057424.
N. Negi, S. K. Singh, and A. Agarwal, “RESNET-50 Based Pest Identification in Plants,” 2024 International Conference on Intelligent Systems and Advanced Applications (ICISAA), pp. 1–6, Oct. 2024, doi:10.1109/icisaa62385.2024.10828595.
J. Sharma, “EfficientNetB3 for High-Performance Insect Identification,” 2024 Second International Conference on Intelligent Cyber Physical Systems and Internet of Things (ICoICI), pp. 955–959, Aug. 2024, doi: 10.1109/icoici62503.2024.10696281.
R. Zhang, Y. Zhu, Z. Ge, H. Mu, D. Qi, and H. Ni, “Transfer Learning for Leaf Small Dataset Using Improved ResNet50 Network with Mixed Activation Functions,” Forests, vol. 13, no. 12, p. 2072, Dec. 2022, doi: 10.3390/f13122072.
K. Hu et al., “Rice pest identification based on multi-scale double-branch GAN-ResNet,” Frontiers in Plant Science, vol. 14, Apr. 2023, doi:10.3389/fpls.2023.1167121.
E. M. Roopa Devi, R. Shanthakumari, R. Rajadevi, Anusuyaa, Harini, and Lokesh, “Rice Leaf Disease Diagnosis Using Dense EfficientNet Model,” Intelligent Systems Design and Applications, pp. 200–210, 2024, doi:10.1007/978-3-031-64847-2_18.
B. S. Puttaswamy and N. Thillaiarasu, “Fine DenseNet based human personality recognition using english hand writing of non-native speakers,” Biomedical Signal Processing and Control, vol. 99, p. 106910, Jan. 2025, doi: 10.1016/j.bspc.2024.106910.
J. C. Gomes and D. L. Borges, “Insect Pest Image Recognition: A Few-Shot Machine Learning Approach including Maturity Stages Classification,” Agronomy, vol. 12, no. 8, p. 1733, Jul. 2022, doi: 10.3390/agronomy12081733.
H. Peng et al., “Crop pest image classification based on improved densely connected convolutional network,” Frontiers in Plant Science, vol. 14, Apr. 2023, doi: 10.3389/fpls.2023.1133060.
W. Xu, L. Sun, C. Zhen, B. Liu, Z. Yang, and W. Yang, “Deep Learning-Based Image Recognition of Agricultural Pests,” Applied Sciences, vol. 12, no. 24, p. 12896, Dec. 2022, doi: 10.3390/app122412896.
N. Thillaiarasu, S. Lata Tripathi, and V. Dhinakaran, Artificial Intelligence for Internet of Things. CRC Press, 2022. doi: 10.1201/9781003335801.
C. Zhang, J. Su, Y. Ju, K.-M. Lam, and Q. Wang, “Efficient Inductive Vision Transformer for Oriented Object Detection in Remote Sensing Imagery,” IEEE Transactions on Geoscience and Remote Sensing, vol. 61, pp. 1–20, 2023, doi: 10.1109/tgrs.2023.3292418.
CRediT Author Statement
The authors confirm contribution to the paper as follows:
Conceptualization: Konkala Divya and Reddy Madhavi K;
Methodology: Konkala Divya;
Writing- Original Draft Preparation: Konkala Divya and Reddy Madhavi K;
Visualization: Konkala Divya;
Investigation: Konkala Divya and Reddy Madhavi K;
Supervision: Reddy Madhavi K;
Validation: Konkala Divya;
Writing- Reviewing and Editing: Konkala Divya and Reddy Madhavi K;
All authors reviewed the results and approved the final version of the manuscript.
Acknowledgements
Author(s) thanks to Dr. Reddy Madhavi K for this research completion and support.
Funding
No funding was received to assist with the preparation of this manuscript.
Ethics declarations
Conflict of interest
The authors have no conflicts of interest to declare that are relevant to the content of this article.
Availability of data and materials
Data sharing is not applicable to this article as no new data were created or analysed in this study.
Author information
Contributions
All authors have equal contribution in the paper and all authors have read and agreed to the published version of the manuscript.
Corresponding author
Konkala Divya
Department of Computer Science Engineering, School of Computing, Mohan Babu University, Tirupati, Andhra Pradesh, India.
Open Access This article is licensed under a Creative Commons Attribution NoDerivs is a more restrictive license. It allows you to redistribute the material commercially or non-commercially but the user cannot make any changes whatsoever to the original, i.e. no derivatives of the original work. To view a copy of this license, visit https://creativecommons.org/licenses/by-nc-nd/4.0/
Cite this article
Konkala Divya and Reddy Madhavi K, “ConvViT Driven Multi Context Feature Fusion for Sustainable Pest Monitoring in Agriculture”, Journal of Machine and Computing, vol.5, no.3, pp. 1331-1348, July 2025, doi: 10.53759/7669/jmc202505105.