A Multicore and Edge TPU-Accelerated Multimodal TinyML System for Livestock Behavior Recognition
Qianxue Zhang, Eiman Kanjo
TL;DR
This work tackles the need for low-cost, reliable livestock monitoring in Internet-poor farming environments by delivering a multicore, edge-deployed TinyML system. It fuses vision and accelerometer data through a late-fusion multimodal network and implements both object detection and behavior recognition on constrained microcontrollers, accelerated by Edge TPU. The system achieves high accuracy with substantially reduced model sizes, end-to-end latencies under 80 ms, and offline operation, while enabling wireless alerts to remote farmers. The study demonstrates practical viability and scalability for IoT-edge livestock management, with future work focusing on broader field deployments and longer temporal analyses.
Abstract
The advancement of technology has revolutionized the agricultural industry, transitioning it from labor-intensive farming practices to automated, AI-powered management systems. In recent years, more intelligent livestock monitoring solutions have been proposed to enhance farming efficiency and productivity. This work presents a novel approach to animal activity recognition and movement tracking, leveraging tiny machine learning (TinyML) techniques, wireless communication framework, and microcontroller platforms to develop an efficient, cost-effective livestock sensing system. It collects and fuses accelerometer data and vision inputs to build a multimodal network for three tasks: image classification, object detection, and behavior recognition. The system is deployed and evaluated on commercial microcontrollers for real-time inference using embedded applications, demonstrating up to 270$\times$ model size reduction, less than 80ms response latency, and on-par performance comparable to existing methods. The incorporation of the wireless communication technique allows for seamless data transmission between devices, benefiting use cases in remote locations with poor Internet connectivity. This work delivers a robust, scalable IoT-edge livestock monitoring solution adaptable to diverse farming needs, offering flexibility for future extensions.
