cs.SDNov 11, 2026

On-Edge Acoustic Continual Anomaly Detection: A Cross-Platform Comparative Study

Authors: Rami Zewail, Yehia Ehab, Karim Ali, Ahmed Mahrous, Mohamed Awad, Bassem Mokhtar

Organizations: Computer Science & Engineering Dept., Egypt-Japan Univ. of Science & Technology, Alexandria, Egypt · Electronics & Communications Eng. Dept., Alexandria University, Alexandria, Egypt · Computer Science & Engineering Dept., Politecnico di Milano, Milan, Italy · Statistics and Data Science Dept., Mohamed bin Zayed Univ. of AI (MBZUAI), Abu Dhabi, UAE · 

Abstract

Acoustic Anomaly Detection (AAD) serves as a non-contact approach for machine condition monitoring, yet much of the existing research is evaluated offline and rarely addresses embedded hardware constraints or microphone variations under operational drift. This paper presents a comparative evaluation of on-edge continual AAD across two embedded platforms the ESP32-S3 (with an external I2S digital microphone) and the Arduino Nicla Vision (with an onboard Pulse Density Modulation (PDM) microphone) using a shared detection model. The model utilizes a lightweight ShallowNet encoder and contrastive prototype learning to map spectrograms into a 32-dimensional embedding space. Both boards run an identical TensorFlow Lite for Microcontrollers (TFLM) encoder, performing on-device prototype learning updated via an exponential moving average. A cloud pipeline orchestrated through Firebase and MQTT enables remote data collection and retraining. Evaluated via a controlled speaker-replay protocol using standardized Detection and Classification of Acoustic Scenes and Events (DCASE) Challenge Task 2 machine sounds, the ESP32-S3 achieved 82.35% to 95.00% accuracy across five machine types, while the Nicla Vision achieved 79.41% to 95.00%. The two platforms demonstrated comparable performance, confirming that the lightweight prototypical architecture transfers reliably across distinct hardware and sensor tiers.

Figures & tables

Explore similar work

CardsList
  1. Low-Power, Neuromorphic, Acoustic Anomaly Detection for Persistent Machine Monitoring

    Aug 18, 2026Steven C. Nesbit, Victor M. Vergara, Michael A. Felix +4Anomaly DetectionIndustrial Anomaly Detection

  2. TinyML for Acoustic Anomaly Detection in IoT Sensor Networks

    Mar 27, 2026Amar Almaini, Jakob Folz, Ghadeer AshourAnomaly DetectionTiny ML

  3. HARMONY: Hierarchical Anchor Retrieval on Manifold for Oblivious-source Machinery Acoustic Anomaly Detection

    Oct 22, 2026Yuhang Zhang, Yang Li, Qiang Wu +1Anomaly DetectionIndustrial Anomaly Detection