<p>This study presents a real-time, on-device bird sound recognition system developed using deep transfer learning and optimized for mobile deployment. A curated Xeno-canto corpus, an open-access repository of wildlife sound recordings contributed by citizen scientists worldwide, comprising 610 Taiwanese bird species was used to evaluate six deep learning architectures: Residual Network-18 (ResNet-18), Yet Another Mobile Network (YAMNet), Visual Geometry Group-like Network for Audio Classification (VGGish), Convolutional Neural Network–Long Short-Term Memory (CNN-LSTM), Attention-based Convolutional Neural Network (Attention-CNN), and a Deep Neural Network (DNN) baseline. All models were trained using class weighting, batch normalization, a dropout rate of 0.2, and targeted data augmentation, including pitch shifting (±2 semitones), time stretching (0.8–1.2<InlineEquation ID="IEq1"> <EquationSource Format="TEX">\(\times \)</EquationSource> </InlineEquation>), and time shifting (<InlineEquation ID="IEq2"> <EquationSource Format="TEX">\(\le \)</EquationSource> </InlineEquation>16,000 samples). Among these, ResNet-18 achieved the best balance between accuracy and computational efficiency, with an overall accuracy of 0.955, macro-precision of 0.95, macro-recall of 0.94, and macro-F1 of 0.945 across all 610 classes. The model performs inference in 25.9 milliseconds with only 3.03 megabytes of memory (approximately 795,000 parameters), outperforming heavier architectures such as VGGish (0.8975 accuracy, 42.2 milliseconds, 587 megabytes) while remaining competitive with compact alternatives like YAMNet (0.935 accuracy, 27.0 milliseconds, 10.19 megabytes). Furthermore, Gradient-weighted Class Activation Mapping (Grad-CAM) visualizations confirm that predictions are driven by species-specific temporal–spectral patterns rather than background noise. Converting the optimized model to TensorFlow Lite enables fully offline inference on Android devices, eliminating cloud latency and ensuring user privacy. Overall, this lightweight, high-accuracy framework offers a scalable and practical solution for real-time biodiversity monitoring and conservation research.</p>

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

A real-time bird sound recognition app via deep learning techniques

  • Hailemariam Abebe Endalamaw,
  • Chuan-Kai Yang,
  • Cheng-Hung Hsu

摘要

This study presents a real-time, on-device bird sound recognition system developed using deep transfer learning and optimized for mobile deployment. A curated Xeno-canto corpus, an open-access repository of wildlife sound recordings contributed by citizen scientists worldwide, comprising 610 Taiwanese bird species was used to evaluate six deep learning architectures: Residual Network-18 (ResNet-18), Yet Another Mobile Network (YAMNet), Visual Geometry Group-like Network for Audio Classification (VGGish), Convolutional Neural Network–Long Short-Term Memory (CNN-LSTM), Attention-based Convolutional Neural Network (Attention-CNN), and a Deep Neural Network (DNN) baseline. All models were trained using class weighting, batch normalization, a dropout rate of 0.2, and targeted data augmentation, including pitch shifting (±2 semitones), time stretching (0.8–1.2 \(\times \) ), and time shifting ( \(\le \) 16,000 samples). Among these, ResNet-18 achieved the best balance between accuracy and computational efficiency, with an overall accuracy of 0.955, macro-precision of 0.95, macro-recall of 0.94, and macro-F1 of 0.945 across all 610 classes. The model performs inference in 25.9 milliseconds with only 3.03 megabytes of memory (approximately 795,000 parameters), outperforming heavier architectures such as VGGish (0.8975 accuracy, 42.2 milliseconds, 587 megabytes) while remaining competitive with compact alternatives like YAMNet (0.935 accuracy, 27.0 milliseconds, 10.19 megabytes). Furthermore, Gradient-weighted Class Activation Mapping (Grad-CAM) visualizations confirm that predictions are driven by species-specific temporal–spectral patterns rather than background noise. Converting the optimized model to TensorFlow Lite enables fully offline inference on Android devices, eliminating cloud latency and ensuring user privacy. Overall, this lightweight, high-accuracy framework offers a scalable and practical solution for real-time biodiversity monitoring and conservation research.