Tiny deep learning model for insect segmentation and counting on resource-constrained devices
dc.contributor.author | Kargar, Amin | en |
dc.contributor.author | Zorbas, Dimitrios | en |
dc.contributor.author | Gaffney, Michael | en |
dc.contributor.author | O'Flynn, Brendan | en |
dc.contributor.author | Tedesco, Salvatore | en |
dc.contributor.funder | Department of Agriculture, Food and the Marine | en |
dc.contributor.funder | Irish Food and Agriculture Authority | en |
dc.contributor.funder | European Regional Development Fund | en |
dc.date.accessioned | 2025-04-30T08:44:42Z | |
dc.date.available | 2025-04-30T08:44:42Z | |
dc.date.issued | 2025 | en |
dc.description.abstract | Automated insect monitoring is essential for early detection of insect pest infestations in orchards. It helps growers make an informed decision to control the insect pest population in their fields to avoid crop losses and improve crop quality. This study proposed a tiny deep-learning model for insect segmentation and counting suitable for battery-powered microcontroller (MCU)-based edge devices. For this aim, the critical layers in terms of peak memory usage in a U-Net-inspired model were recognized and then optimized to meet resources constraints on an MCU with 1 MB of RAM and 2 MB of flash storage. We then introduced an image dataset for the insect of interest, Halyomorpha halys, and the dataset-splitting strategy for the model training. The proposed model was investigated from different aspects to evaluate its performance and the feasibility of its implementation on battery-powered MCU-based edge devices. The proposed deep learning model only needs approximately 900 KB of RAM and 964 KB of storage to perform its computations and store its parameters, respectively, making it useful on edge, resource constrained systems. Moreover, each inference on an MCU-based board requires 2.6 s and consumes 4.9 J. In terms of segmentation, it achieved a Dice Similarity Coefficient (DSC) of 85% and an Intersection over Union (IoU) of 73% with a precision and recall of 83% and 86%, respectively. In terms of counting, it achieved a Mean Square Error (MSE) of 1.32, Mean Absolute Error (MAE) of 0.78 and R2 of 0.97. | en |
dc.description.sponsorship | European Regional Development Fund (2020EN508) | en |
dc.description.status | Peer reviewed | en |
dc.description.version | Published Version | en |
dc.format.mimetype | application/pdf | en |
dc.identifier.articleid | 110378 | en |
dc.identifier.citation | Kargar, A., Zorbas, D., Gaffney, M., O’Flynn, B. and Tedesco, S. (2025) 'Tiny deep learning model for insect segmentation and counting on resource-constrained devices', Computers and Electronics in Agriculture, 236, p.110378. DOI: 10.1016/j.compag.2025.110378 | en |
dc.identifier.doi | 10.1016/j.compag.2025.110378 | en |
dc.identifier.issn | 1681699 | en |
dc.identifier.journaltitle | Computers and Electronics in Agriculture | en |
dc.identifier.uri | https://hdl.handle.net/10468/17362 | |
dc.identifier.volume | 236 | |
dc.language.iso | en | en |
dc.publisher | Elsevier B.V. | en |
dc.relation.project | 13/RC/2077-CONNECT | |
dc.relation.project | 12/RC/ 2289-P2-INSIGHT2 | |
dc.relation.project | 21/RC/10303_P2-VISTAMILK2 | |
dc.relation.project | 21/RC/10303_P2-VISTAMILK2which | |
dc.relation.project | 2020EN508 | |
dc.rights | © 2025, the Author(s). Published by Elsevier B.V. This is an open access article under the CC BY license (http://creativecommons.org/licenses/by/4.0/) | en |
dc.rights.uri | https://creativecommons.org/licenses/by/4.0/ | |
dc.subject | Edge computing | en |
dc.subject | Halyomorpha halys | en |
dc.subject | Image segmentation | en |
dc.subject | Insect monitoring | en |
dc.subject | Microcontrollers | en |
dc.subject | On-device deep learning | en |
dc.subject | Tiny deep learning | en |
dc.title | Tiny deep learning model for insect segmentation and counting on resource-constrained devices | en |
dc.type | Article (peer-reviewed) | en |
Files
Original bundle
1 - 1 of 1
Loading...
- Name:
- 1-s2.0-S0168169925004843-main.pdf
- Size:
- 1.81 MB
- Format:
- Adobe Portable Document Format
- Description:
- Published Version