Balancing complexity and performance of machine learning models for avian pests sound detection in agricultural environments

Loading...
Thumbnail Image

Journal Title

Journal ISSN

Volume Title

Publisher

Institute of Electrical and Electronics Engineers Inc.

Abstract

Agricultural pest control traditionally relies on inefficient visual inspections. Acoustic monitoring offers a promising alternative by analyzing pest-specific sounds. While effective, implementing acoustic monitoring in agricultural settings faces practical constraints, particularly the limited computational resources available in remote farming environments. This necessitates optimized machine learning (ML) solutions for low-power edge devices. This study evaluates ML models for bird pest detection on resource-constrained platforms. We evaluated convolutional neural networks (CNNs), recurrent neural networks (RNNs), and traditional ML models by comparing standalone and knowledge-distilled versions of EfficientNetB0 and gated recurrent unity (GRU) against EfficientNetB4, Long short-term memory (LSTM), MobileNetV2, LightGBM, and support vector machine (SVM). Analysis revealed significant performance variations across computational requirements. LightGBM achieved 98% accuracy with minimal resources (8,500 parameters, 7KB, 0.6ms inference), demonstrating good efficiency. SVM (97% accuracy) and distilled GRU (86% accuracy) also showed favorable performance-to-resource ratios. Knowledge distillation substantially enhanced the accuracy of EfficientNetB0 (from 73% to 98%) and modestly improved GRU (from 84% to 86%). We examined platform compatibility across computing tiers, discovering that while high-performance edge devices (Jetson Nano, Raspberry Pi 4) support all studied models effectively, microcontrollers require specialized approaches. Advanced microcontrollers (such as ESP32-S3 and STM32H7) can accommodate optimized implementations, while highly constrained platforms (such as Arduino Nano) require TinyML techniques. This research contributes 1) an on-farm audio dataset, 2) comprehensive cross-model evaluation metrics, and 3) deployment optimization strategies for acoustic pest detection systems in resource-constrained agricultural environments.

Description

Keywords

Machine learning, Knowledge distillation, Deep learning, Bird pest detection, Acoustics, Computational modeling, Recording, Complexity theory, Accuracy, Monitoring, Spectrogram, Computer architecture, Acoustic monitoring, Agricultural pest control

Sustainable Development Goals

SDG-02: Zero Hunger
SDG-09: Industry, innovation and infrastructure

Citation

M. Kazeneza, A.S. Bosman, D.K. Amenyedzi, D. Hanyurwimfura, E. Ndashimye and A. Vodacek, "Balancing Complexity and Performance of Machine Learning Models for Avian Pests Sound Detection in Agricultural Environments," in IEEE Access, vol. 13, pp. 105813-105827, 2025, doi: 10.1109/ACCESS.2025.3580620.