A Deep Learning-based Pest Insect Monitoring System for Ultra-low Power Pocket-sized Drones

Read original: arXiv:2407.00815 - Published 7/2/2024 by Luca Crupi, Luca Butera, Alberto Ferrante, Daniele Palossi
Total Score

0

🤿

Sign in to get full access

or

If you already have an account, we'll log you in

Overview

  • Smart farming and precision agriculture are transforming the agribusiness industry
  • Miniaturized drones can act as flexible smart sensors to inspect crops and detect potential pest outbreaks
  • Achieving this ambitious goal requires efficient hardware-software codesign to develop accurate deep learning models within tight resource constraints

Plain English Explanation

Smart farming and precision agriculture are revolutionary technologies that are changing the way we approach agribusiness. One exciting development is the use of miniaturized, palm-sized drones as flexible smart sensors to inspect crops and look for early signs of potential pest problems. However, realizing this ambitious goal requires carefully designing both the hardware and software to create accurate deep learning detection models while keeping the memory and power requirements extremely low - think just a few megabytes of on-chip memory and a few hundred milliwatts of power.

This research presents a novel integrated solution featuring two ultra-low-power system-on-chip (SoC) devices - the dual-core STM32H74 and the multi-core GWT GAP9. These SoCs run two state-of-the-art deep learning models to detect the Popillia japonica bug, a common agricultural pest. The researchers fine-tuned and quantized these models to run efficiently on the constrained hardware, achieving impressive results.

On the STM32H74 SoC, they deployed a FOMO-MobileNetV2 model that scored a mean average precision (mAP) of 0.66 while running at 16.1 frames per second and using just 498 milliwatts of power. On the more powerful GAP9 SoC, they deployed a more complex SSDLite-MobileNetV3 model that achieved an mAP of 0.79 while running at 6.8 frames per second and using only 33 milliwatts.

Compared to a high-performance baseline model, their best solution only drops 15% in accuracy while requiring 14.9x less memory and 300x fewer operations per inference. This paves the way for autonomous, palm-sized drones capable of lightweight and precise pest detection in smart farming applications.

Technical Explanation

The researchers developed a novel hardware-software codesign solution featuring two ultra-low-power system-on-chip (SoC) devices - the dual-core STM32H74 and the multi-core GWT GAP9 - to run state-of-the-art deep learning models for detecting the Popillia japonica bug.

On the STM32H74 SoC, they deployed a FOMO-MobileNetV2 model, which achieved a mean average precision (mAP) of 0.66 while running at 16.1 frames per second and consuming 498 milliwatts of power. On the more powerful GAP9 SoC, they deployed a more complex SSDLite-MobileNetV3 model, which scored an mAP of 0.79 while running at 6.8 frames per second and using only 33 milliwatts.

Both models were fine-tuned and quantized to 8-bit integers to run efficiently on the constrained hardware. Compared to a high-performance RetinaNet-ResNet101-FPN baseline model, their best solution only drops 15% in accuracy while requiring 14.9x less memory and 300x fewer operations per inference.

Critical Analysis

The researchers have presented a compelling solution for deploying accurate deep learning-based pest detection on ultra-low-power embedded devices, which is a critical requirement for realizing the promise of smart farming and precision agriculture.

However, the paper does not address some potential limitations and areas for further research. For example, it's unclear how the models would perform in real-world scenarios with diverse lighting conditions, camera angles, and pest populations. Additionally, the researchers only evaluated the detection of a single pest species, whereas a practical system would need to identify a range of common agricultural pests.

Further research could also explore ways to improve the accuracy-efficiency tradeoff, such as investigating alternate model architectures or leveraging techniques like knowledge distillation. It would also be interesting to see how the system integrates with other precision agriculture technologies, such as multi-sensor data fusion and automated insect monitoring.

Overall, this research represents an important step towards realizing the potential of lightweight, drone-based pest detection for smart farming applications, but there is still work to be done to address the practical challenges of deployment in the field.

Conclusion

This research presents a novel hardware-software codesign solution featuring two ultra-low-power system-on-chip devices that can run state-of-the-art deep learning models for detecting agricultural pests like the Popillia japonica bug. By fine-tuning and quantizing the models, the researchers were able to achieve impressive performance and efficiency, paving the way for autonomous, palm-sized drones capable of lightweight and precise pest detection in smart farming applications.

While the results are promising, further research is needed to address practical limitations and integrate the technology with other precision agriculture tools. Nevertheless, this work represents an important step towards realizing the transformative potential of smart farming and precision agriculture.



This summary was produced with help from an AI and may contain inaccuracies - check out the links to read the original source documents!

Follow @aimodelsfyi on 𝕏 →

Related Papers

🤿

Total Score

0

A Deep Learning-based Pest Insect Monitoring System for Ultra-low Power Pocket-sized Drones

Luca Crupi, Luca Butera, Alberto Ferrante, Daniele Palossi

Smart farming and precision agriculture represent game-changer technologies for efficient and sustainable agribusiness. Miniaturized palm-sized drones can act as flexible smart sensors inspecting crops, looking for early signs of potential pest outbreaking. However, achieving such an ambitious goal requires hardware-software codesign to develop accurate deep learning (DL) detection models while keeping memory and computational needs under an ultra-tight budget, i.e., a few MB on-chip memory and a few 100s mW power envelope. This work presents a novel vertically integrated solution featuring two ultra-low power System-on-Chips (SoCs), i.e., the dual-core STM32H74 and a multi-core GWT GAP9, running two State-of-the-Art DL models for detecting the Popillia japonica bug. We fine-tune both models for our image-based detection task, quantize them in 8-bit integers, and deploy them on the two SoCs. On the STM32H74, we deploy a FOMO-MobileNetV2 model, achieving a mean average precision (mAP) of 0.66 and running at 16.1 frame/s within 498 mW. While on the GAP9 SoC, we deploy a more complex SSDLite-MobileNetV3, which scores an mAP of 0.79 and peaks at 6.8 frame/s within 33 mW. Compared to a top-notch RetinaNet-ResNet101-FPN full-precision baseline, which requires 14.9x more memory and 300x more operations per inference, our best model drops only 15% in mAP, paving the way toward autonomous palm-sized drones capable of lightweight and precise pest detection.

Read more

7/2/2024

Accelerating Image-based Pest Detection on a Heterogeneous Multi-core Microcontroller
Total Score

0

Accelerating Image-based Pest Detection on a Heterogeneous Multi-core Microcontroller

Luca Bompani, Luca Crupi, Daniele Palossi, Olmo Baldoni, Davide Brunelli, Francesco Conti, Manuele Rusci, Luca Benini

The codling moth pest poses a significant threat to global crop production, with potential losses of up to 80% in apple orchards. Special camera-based sensor nodes are deployed in the field to record and transmit images of trapped insects to monitor the presence of the pest. This paper investigates the embedding of computer vision algorithms in the sensor node using a novel State-of-the-Art Microcontroller Unit (MCU), the GreenWaves Technologies' GAP9 System-on-Chip, which combines 10 RISC-V general purposes cores with a convolution hardware accelerator. We compare the performance of a lightweight Viola-Jones detector algorithm with a Convolutional Neural Network (CNN), MobileNetV3-SSDLite, trained for the pest detection task. On two datasets that differentiate for the distance between the camera sensor and the pest targets, the CNN generalizes better than the other method and achieves a detection accuracy between 83% and 72%. Thanks to the GAP9's CNN accelerator, the CNN inference task takes only 147 ms to process a 320$times$240 image. Compared to the GAP8 MCU, which only relies on general-purpose cores for processing, we achieved 9.5$times$ faster inference speed. When running on a 1000 mAh battery at 3.7 V, the estimated lifetime is approximately 199 days, processing an image every 30 seconds. Our study demonstrates that the novel heterogeneous MCU can perform end-to-end CNN inference with an energy consumption of just 4.85 mJ, matching the efficiency of the simpler Viola-Jones algorithm and offering power consumption up to 15$times$ lower than previous methods. Code at: https://github.com/Bomps4/TAFE_Pest_Detection

Read more

8/30/2024

Training on the Fly: On-device Self-supervised Learning aboard Nano-drones within 20 mW
Total Score

0

Training on the Fly: On-device Self-supervised Learning aboard Nano-drones within 20 mW

Elia Cereda, Alessandro Giusti, Daniele Palossi

Miniaturized cyber-physical systems (CPSes) powered by tiny machine learning (TinyML), such as nano-drones, are becoming an increasingly attractive technology. Their small form factor (i.e., ~10cm diameter) ensures vast applicability, ranging from the exploration of narrow disaster scenarios to safe human-robot interaction. Simple electronics make these CPSes inexpensive, but strongly limit the computational, memory, and sensing resources available on board. In real-world applications, these limitations are further exacerbated by domain shift. This fundamental machine learning problem implies that model perception performance drops when moving from the training domain to a different deployment one. To cope with and mitigate this general problem, we present a novel on-device fine-tuning approach that relies only on the limited ultra-low power resources available aboard nano-drones. Then, to overcome the lack of ground-truth training labels aboard our CPS, we also employ a self-supervised method based on ego-motion consistency. Albeit our work builds on top of a specific real-world vision-based human pose estimation task, it is widely applicable for many embedded TinyML use cases. Our 512-image on-device training procedure is fully deployed aboard an ultra-low power GWT GAP9 System-on-Chip and requires only 1MB of memory while consuming as low as 19mW or running in just 510ms (at 38mW). Finally, we demonstrate the benefits of our on-device learning approach by field-testing our closed-loop CPS, showing a reduction in horizontal position error of up to 26% vs. a non-fine-tuned state-of-the-art baseline. In the most challenging never-seen-before environment, our on-device learning procedure makes the difference between succeeding or failing the mission.

Read more

8/7/2024

Distilling Tiny and Ultra-fast Deep Neural Networks for Autonomous Navigation on Nano-UAVs
Total Score

0

Distilling Tiny and Ultra-fast Deep Neural Networks for Autonomous Navigation on Nano-UAVs

Lorenzo Lamberti, Lorenzo Bellone, Luka Macan, Enrico Natalizio, Francesco Conti, Daniele Palossi, Luca Benini

Nano-sized unmanned aerial vehicles (UAVs) are ideal candidates for flying Internet-of-Things smart sensors to collect information in narrow spaces. This requires ultra-fast navigation under very tight memory/computation constraints. The PULP-Dronet convolutional neural network (CNN) enables autonomous navigation running aboard a nano-UAV at 19 frame/s, at the cost of a large memory footprint of 320 kB -- and with drone control in complex scenarios hindered by the disjoint training of collision avoidance and steering capabilities. In this work, we distill a novel family of CNNs with better capabilities than PULP-Dronet, but memory footprint reduced by up to 168x (down to 2.9 kB), achieving an inference rate of up to 139 frame/s; we collect a new open-source unified collision/steering 66 k images dataset for more robust navigation; and we perform a thorough in-field analysis of both PULP-Dronet and our tiny CNNs running on a commercially available nano-UAV. Our tiniest CNN, called Tiny-PULP-Dronet v3, navigates with a 100% success rate a challenging and never-seen-before path, composed of a narrow obstacle-populated corridor and a 180{deg} turn, at a maximum target speed of 0.5 m/s. In the same scenario, the SoA PULP-Dronet consistently fails despite having 168x more parameters.

Read more

7/18/2024