In recent years, fruit theft has become a serious social problem in Japan, where
conventional surveillance measures are limited due to the unique challenges of agricul-
tural environments, such as restricted power supply and insufficient lighting. To ...
In recent years, fruit theft has become a serious social problem in Japan, where
conventional surveillance measures are limited due to the unique challenges of agricul-
tural environments, such as restricted power supply and insufficient lighting. To address
this issue, the prior study developed a battery-powered Microphone-based Surveillance
System (MSS) that operates on a resource-constrained microcontroller, the Seeeduino
XIAO nRF52840 (1 MB Flash, 256 kB RAM). However, achieving high classification
accuracy under such severe computational and memory constraints remains a major
challenge. This study presents a design and training methodology for a compact and
high-accuracy sound classification model for fruit theft prevention. The proposed ap-
proach integrates Depthwise Separable Convolution (DSC) to substantially reduce model
parameters and computation, and employs Ensemble Distillation (EnD), which trans-
fers complementary knowledge from two heterogeneous teacher models—a CNN-based
model and a Transformer-based model—to mitigate the accuracy degradation typically
caused by aggressive model compression.
Experiments on a three-class sound classification task for suspicious sound detection
(environmental sounds, speech, and footsteps) demonstrated that the proposed model
achieved an F1-score of 88.61%, an improvement of 12.00 percentage points over the
baseline. The inference memory usage was limited to 49 kB, and when including all
non-inference system components, the total memory usage remained within 160 kB,
well below the 256 kB RAM capacity of the target hardware. Moreover, the model
achieved an inference time of approximately 0.45 seconds per 1-second audio segment
on a Seeeduino XIAO nRF52840 microcontroller.
Taken together, these results show that the proposed approach satisfactorily fulfills
the three key requirements of accuracy, lightweight design, and real-time inference under
strict device constraints, thereby enhancing the robustness and practical deployability
of the MSS for fruit theft prevention in orchard environments.