TinyML‐Based Burrowing Owl Acoustic Detection

Burrowing owl perched on STM32 chip with audio waveforms

Abstract

A keystone species, burrowing owls convey crucial ecological information through their vocalizations. This project creates a whole TinyML pipeline that listens for, recognizes, and categorizes six different burrowing-owl sounds in real time, all of which are controlled by an STM32H7 microcontroller. To train lightweight CNNs (Custom Tiny CNN, MobileNetV2, ProxylessNAS) on the BUOWSET dataset, we transform raw audio into 64-band Mel spectrograms, quantize the model to int8, and embed it as a C header for on-device inference.

Project Overview

Our goal is to build a TinyML-based system that runs entirely on an STM32H7 board to listen for, detect, and classify six different burrowing-owl vocalizations in real time. By converting audio to 64-band Mel spectrograms, training lightweight CNNs (MobileNetV2 and ProxylessNAS) on the BUOWSET dataset, then quantizing to int8 and embedding the model as a C header, we achieve:

Models Used

We trained three compact CNN architectures optimized for on-device inference on STM32H7. Final validation accuracy and F1 score (epoch 20) are shown below:

Training Curves

Custom Tiny CNN: Train & Val Loss

Custom Tiny CNN Training vs Validation Loss

Custom Tiny CNN: Precision, Recall, F1

Custom Tiny CNN Precision, Recall, and F1 over Epochs

MobileNetV2: Train & Val Loss

MobileNetV2 Training vs Validation Loss

MobileNetV2: Validation Metrics

MobileNetV2 Validation Accuracy, Precision, Recall, F1

ProxylessNAS: Train & Val Loss

ProxylessNAS Training vs Validation Loss

ProxylessNAS: Validation Metrics

ProxylessNAS Validation Accuracy, Precision, Recall, F1

Quick Links & Resources

Hardware & Software Repositories

TinyML Video Presentation

Documentation & Reports

Media & Slides

Wiki & README

Team Members

Software

Hardware

Acknowledgements

We gratefully acknowledge the support and data provided by the Engineers For Exploration (E4E) Acoustic Species Identification Lab at UC San Diego. E4E is a research group focused on protecting the environment, uncovering mysteries related to cultural heritage, and providing experiential learning experiences for undergraduate and graduate students.

This work was conducted in collaboration with the San Diego Zoo Wildlife Alliance, whose expertise in burrowing-owl ecology and field data collection was invaluable.

We also thank Professor Ryan Kastner for his guidance and support throughout this project.

Contact & Project Lead at E4E:
Email: lvonschoenfeldt@ucsd.edu