journal article·2025-07-09Open access

Improving Moving Insect Detection with Difference of Features Maps in YOLO Architecture

Angel Gomez-Canales, Javier Gomez-Avila, Jesus Hernandez-Barragan, Carlos Lopez-Franco, Carlos Villaseñor, Nancy Arana-Daniel

Applied Sciences· Volume 15· Issue 14

Abstract

Insect detection under real-field conditions remains a challenging task due to factors such as lighting variations and the small size of insects that often lack sufficient visual features for reliable identification by deep learning models. These limitations become especially pronounced in lightweight architectures, which, although efficient, struggle to capture fine-grained details under suboptimal conditions, such as variable lighting conditions, shadows, small object size and occlusion. To address this, we introduce the motion module, a lightweight component designed to enhance object detection by integrating motion information directly at the feature map level within the YOLOv8 backbone. Unlike methods that rely on frame differencing and require additional preprocessing steps, our approach operates on raw input and uses only two consecutive frames. Experimental evaluations demonstrate that incorporating the motion module leads to consistent performance improvements across key metrics. For instance, on the YOLOv8n model, the motion module yields gains of up to 5.11% in mAP50 and 7.83% in Recall, with only a small computational overhead. Moreover, under simulated illumination shifts using HSV transformations, our method exhibits robustness to these variations. These results highlight the potential of the motion module as a practical and effective tool for improving insect detection in dynamic and unpredictable field scenarios.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Smart Agriculture and AI · Industrial Vision Systems and Defect Detection · Advanced Neural Network Applications

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

University Center for Exact Sciences and Engineering, Universidad de Guadalajara, Guadalajara 44100, Jalisco, Mexico

References (39)

Show source-provided references
1. United Nations (2024). World Population Prospects 2024: Summary of Results, United Nations.
2. Souto, A.L., Sylvestre, M., Tölke, E.D., Tavares, J.F., Barbosa-Filho, J.M., and Cebrián-Torrejón, G. (2021). Plant-derived pesticides as an alternative to pest management and sustainable agricultural production: Prospects, applications and challenges. Molecules, 26.10.3390/molecules26164835 ↗
3. What are the main reasons for the worldwide decline in pollinator populations?
4. Raveloaritiana, E., and Wanger, T.C. (2024). Decades matter: Agricultural diversification increases financial profitability, biodiversity, and ecosystem services over time. arXiv.
5. Kremen, C., and Chaplin-Kramer, R. (2005, January 12–14). Insects as providers of ecosystem services: Crop pollination and pest control. Proceedings of the Insect Conservation Biology: Proceedings of the Royal Entomological Society’s 23rd Symposium, Sussex, UK.
6. Jin, X., Yang, H., Li, Z., Huang, C., Yin, D., Domingues, T., Brandão, T., and Ferreira, J.C. (2022). Machine Learning for Detection and Prediction of Crop Diseases and Pests: A Comprehensive Survey. Agriculture, 12.10.3390/agriculture12091350 ↗
7. Yield prediction with machine learning algorithms and satellite images10.1002/jsfa.10696 ↗
8. Yue, W., Wang, Z., Chen, H., Payne, A., and Liu, X. (2018). Machine Learning with Applications in Breast Cancer Diagnosis and Prognosis. Designs, 2.10.3390/designs2020013 ↗
9. Comparative optimization of global solar radiation forecasting using machine learning and time series models10.1007/s11356-021-16760-8 ↗
10. Machine learning techniques for protein function prediction10.1002/prot.25832 ↗
11. Deep learning10.1038/nature14539 ↗
12. Ung, H.T., Ung, Q.H., Nguyen, T.T., and Nguyen, B.T. (2022, January 20). An Efficient Insect Pest Classification Using Multiple Convolutional Neural Network Based Models. Proceedings of the SoMeT, Kitakyushu, Japan.10.3233/FAIA220287 ↗
13. ImageNet Classification with Deep Convolutional Neural Networks10.1145/3065386 ↗
14. Chen, L., Li, S., Bai, Q., Yang, J., Jiang, S., and Miao, Y. (2021). Review of Image Classification Algorithms Based on Convolutional Neural Networks. Remote Sens., 13.10.3390/rs13224712 ↗
15. Redmon, J., Divvala, S., Girshick, R., and Farhadi, A. (2016, January 27–30). You Only Look Once: Unified, Real-Time Object Detection. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA.10.1109/CVPR.2016.91 ↗
16. A survey of modern deep learning based object detection models10.1016/j.dsp.2022.103514 ↗
17. Semantic segmentation of agricultural images: A survey
18. Soylu, B.E., Guzel, M.S., Bostanci, G.E., Ekinci, F., Asuroglu, T., and Acici, K. (2023). Deep-Learning-Based Approaches for Semantic Segmentation of Natural Scene Images: A Review. Electronics, 12.10.3390/electronics12122730 ↗
19. A Benchmarking of Learning Strategies for Pest Detection and Identification on Tomato Plants for Autonomous Scouting Robots Using Internal Databases10.1155/2019/5219471 ↗
20. Singh, D., Jain, N., Jain, P., Kayal, P., Kumawat, S., and Batra, N. (2020, January 5–7). PlantDoc: A dataset for visual plant disease detection. Proceedings of the CoDS COMAD 2020: 7th ACM IKDD CoDS and 25th COMAD, Hyderabad, India. ACM International Conference Proceeding Series.10.1145/3371158.3371196 ↗
21. Plant diseases and pests detection based on deep learning: A review10.1186/s13007-021-00722-9 ↗
22. Deep learning models for plant disease detection and diagnosis10.1016/j.compag.2018.01.009 ↗
23. Wu, X., Zhan, C., Lai, Y.K., Cheng, M.M., and Yang, J. (2019, January 15–20). IP102: A Large-Scale Benchmark Dataset for Insect Pest Recognition. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA.10.1109/CVPR.2019.00899 ↗
24. Early real-time detection algorithm of tomato diseases and pests in the natural environment10.1186/s13007-021-00745-2 ↗
25. Wang, X., Zhang, S., Wang, X., and Xu, C. (2023). Crop pest detection by three-scale convolutional neural network with attention. PLoS ONE, 18.10.1371/journal.pone.0276456 ↗
26. Vaswani, A., Brain, G., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, Ł., and Polosukhin, I. (2017, January 4–9). Attention is All you Need. Proceedings of the 31st International Conference on Neural Information Processing Systems, Long Beach, CA, USA. Advances in Neural Information Processing Systems.
27. Dosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., Zhai, X., Unterthiner, T., Dehghani, M., Minderer, M., Heigold, G., and Gelly, S. (2020). An Image Is Worth 16 × 16 Words: Transformers for Image Recognition at Scale. arXiv.
28. Xie, M., and Ye, N. (2024). Multi-Scale and Multi-Factor ViT Attention Model for Classification and Detection of Pest and Disease in Agriculture. Appl. Sci., 14.10.3390/app14135797 ↗
29. Bjerge, K., Frigaard, C.E., and Karstoft, H. (2023). Object Detection of Small Insects in Time-Lapse Camera Recordings. Sensors, 23.10.3390/s23167242 ↗
30. PestNet: An end-to-end deep learning approach for large-scale multi-class pest detection and classification10.1109/ACCESS.2019.2909522 ↗
31. Sittinger, M., Uhler, J., Pink, M., and Herz, A. (2024). Insect detect: An open-source DIY camera trap for automated insect monitoring. PLoS ONE, 19.10.1371/journal.pone.0295474 ↗
32. Standards and Best Practices for Monitoring and Benchmarking Insects10.3389/fevo.2020.579193 ↗
33. Automatic fish detection in underwater videos by a deep neural network-based hybrid motion learning system10.1093/icesjms/fsz025 ↗
34. Optimizing the Neural Network Detector of Moving Objects10.3103/S875669902101012X ↗
35. Taye, M.M. (2023). Theoretical understanding of convolutional neural network: Concepts, architectures, applications, future directions. Computation, 11.10.3390/computation11030052 ↗
36. Accelerating image classification using feature map similarity in convolutional neural networks10.3390/app9010108 ↗
37. Using feature maps to unpack the CNN ‘Black box’ theory with two medical datasets of different modality
38. Huang, J., Lan, X., Li, S., Zhu, C., and Chang, H. (2018, January 5–8). Consecutive Feature Network for Object Detection. Proceedings of the 2018 IEEE International Conference on Mechatronics and Automation (ICMA), Changchun, China.10.1109/ICMA.2018.8484571 ↗
39. Coexistence through mutualist-dependent reversal of competitive hierarchies10.1002/ece3.3689 ↗