Abstract
The Emergency Siren Recognition (ESR) constitutes a relevant task in audio processing, which can be useful to the development of driver assistance systems or wearable devices to generate alternative alerts that make the user aware of emergency signals in the vicinity. In this context, an effective ESR solution involves deploying the model on a resource-constrained device, in which aspects such as energy consumption and memory size are critical. In this work, we studied and applied two state-of-the-art deep learning architectures to ESR: a modified version of the well-known GhostNet model, and an end-to-end 1D convolutional neural network (CNN). The performance in classification as well as computational metrics considering a low-power device (STM32F407VGT6) implementation were assessed. Distinct sampling rates, signal lengths and representations of sound were tested, considering three publicly available datasets: ESC-50, US8K and AudioSet. The best performing model on ESC-50 was GhostNet, achieving an F-Score of \(0.96 \pm 0.01\), with a Multiply-and-Accumulate Complexity (MACC) of 0.517M, whereas the 1D CNN obtained the best F-Score on US8K (\(0.93 \pm 0.05\)), with an MACC of 27.125M. Additionally, we verified that 32 filters log-Mel spectrograms on 1.5-s long signals sampled at 16000 Hz led to the best performances. Interestingly, the most efficient model was GhostNet, trained using 32 filters MFCCs, 1-s long signals with a sampling rate of 8820 Hz, which achieved an F-Score of \(0.92 \pm 0.07\) on ESC-50, just 0.04 below the best overall performance, but with a 33% lower MACC (0.347M) and \(40\%\) less running time.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Abdoli, S., Cardinal, P., Lameiras Koerich, A.: End-to-end environmental sound classification using a 1D convolutional neural network. Expert Syst. Appl. 136, 252–263 (2019). https://doi.org/10.1016/j.eswa.2019.06.040,https://www.sciencedirect.com/science/article/pii/S0957417419304403
Allen, J.B., Rabiner, L.R.: A unified approach to short-time Fourier analysis and synthesis. Proc. IEEE 65(11), 1558–1564 (1977)
Beritelli, F., Casale, S., Russo, A., Serrano, S.: An automatic emergency signal recognition system for the hearing impaired. In: 2006 IEEE 12th Digital Signal Processing Workshop 4th IEEE Signal Processing Education Workshop, pp. 179–182 (2006). https://doi.org/10.1109/DSPWS.2006.265438
Boddapati, V., Petef, A., Rasmusson, J., Lundberg, L.: Classifying environmental sounds using image recognition networks. Procedia Comput. Sci. 112, 2048–2056 (2017). https://doi.org/10.1016/j.procs.2017.08.250,https://www.sciencedirect.com/science/article/pii/S1877050917316599, knowledge-Based and Intelligent Information & Engineering Systems: Proceedings of the 21st International Conference, KES-20176-8 September 2017, Marseille, France
Davis, S., Mermelstein, P.: Comparison of parametric representations for monosyllabic word recognition in continuously spoken sentences. IEEE Trans. Acoust. Speech Signal Process. 28(4), 357–366 (1980). https://doi.org/10.1109/TASSP.1980.1163420
Caetano dos Santos, D.F.: Emergency siren recognition (2022). https://github.com/davifcs/acoustic_alert_detector.git
Fedorov, I., Adams, R.P., Mattina, M., Whatmough, P.: Sparse: sparse architecture search for CNNs on resource-constrained microcontrollers. Adv. Neural Inf. Process. Syst. 32 (2019)
Gemmeke, J.F., et al.: Audio set: an ontology and human-labeled dataset for audio events. In: 2017 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pp. 776–780. IEEE (2017)
Han, K., Wang, Y., Tian, Q., Guo, J., Xu, C., Xu, C.: Ghostnet: more features from cheap operations. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) (2020)
He, K., Zhang, X., Ren, S., Sun, J.: Deep residual learning for image recognition. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 770–778 (2016)
Howard, A., et al.: Searching for mobilenetv3. In: Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV) (2019)
Kingma, D.P., Ba, J.: Adam: a method for stochastic optimization. arXiv preprint arXiv:1412.6980 (2014)
Liaw, J.J., Wang, W.S., Chu, H.C., Huang, M.S., Lu, C.P.: Recognition of the ambulance siren sound in Taiwan by the longest common subsequence. In: 2013 IEEE International Conference on Systems, Man, and Cybernetics, pp. 3825–3828 (2013). https://doi.org/10.1109/SMC.2013.653
Lin, T.Y., Goyal, P., Girshick, R., He, K., Dollár, P.: Focal loss for dense object detection. In: Proceedings of the IEEE International Conference on Computer Vision, pp. 2980–2988 (2017)
Linux Foundation: Open neural network exchange (2022). https://onnx.ai/
Meucci, F., Pierucci, L., Del Re, E., Lastrucci, L., Desii, P.: A real-time siren detector to improve safety of guide in traffic environment. In: 2008 16th European Signal Processing Conference, pp. 1–5 (2008)
Miyazakia, T., Kitazonoa, Y., Shimakawab, M.: Ambulance siren detector using FFT on DSPIC. In: Proceedings of the 1st IEEE/IIAE International Conference on Intelligent Systems and Image Processing, pp. 266–269 (2013)
Mohaimenuzzaman, M., Bergmeir, C., West, I.T., Meyer, B.: Environmental sound classification on the edge: a pipeline for deep acoustic networks on extremely resource-constrained devices. arXiv preprint arXiv:2103.03483 (2021)
Müller, M.: Information Retrieval for Music and Motion. Springer, Berlin Heidelberg (2007). https://doi.org/10.1007/978-3-540-74048-3, https://books.google.com.br/books?id=kSzeZWR2yDsC
O’Shaughnessy, D.: Speech Communication: Human and Machine. Addison-Wesley series in electrical engineering, Addison-Wesley Publishing Company (1987). https://books.google.com.br/books?id=mHFQAAAAMAAJ
Padhy, S., Tiwari, J., Rathore, S., Kumar, N.: Emergency signal classification for the hearing impaired using multi-channel convolutional neural network architecture. In: 2019 IEEE Conference on Information and Communication Technology, pp. 1–6. IEEE (2019)
Padhy, S., Tiwari, J., Rathore, S., Kumar, N.: Emergency signal classification for the hearing impaired using multi-channel convolutional neural network architecture. In: 2019 IEEE Conference on Information and Communication Technology, pp. 1–6 (2019). https://doi.org/10.1109/CICT48419.2019.9066252
Park, S.W., Trevino, J.: Automatic detection of emergency vehicles for hearing impaired drivers. Texas A &M Univ.-Kingsville EE/CS Dept. MSC 192, 637–665 (2013)
Paszke, A., et al.: Pytorch: an imperative style, high-performance deep learning library. Adv. Neural Inf. Process. Syst. 32 (2019)
Piczak, K.J.: ESC: dataset for environmental sound classification. In: Proceedings of the 23rd ACM international conference on Multimedia, pp. 1015–1018 (2015)
Salamon, J., Jacoby, C., Bello, J.P.: A dataset and taxonomy for urban sound research. In: Proceedings of the 22nd ACM International Conference on Multimedia, pp. 1041–1044. MM 2014, Association for Computing Machinery, New York, NY, USA (2014). https://doi.org/10.1145/2647868.2655045
Smith, J.O.: Spectral audio signal processing (2022). http://ccrma.stanford.edu/~jos/sasp/. 2011 edition
STMicroeletronics: STM32F405xx STM32F407xx - Datasheet - production data (2020)
STMicroeletronics: Getting started with X-CUBE-AI Expansion Package for Artificial Intelligence (AI) (2022)
Tan, M., Le, Q.: Efficientnet: rethinking model scaling for convolutional neural networks. In: International Conference on Machine Learning, pp. 6105–6114. PMLR (2019)
Tokozume, Y., Ushiku, Y., Harada, T.: Learning from between-class examples for deep sound recognition. arXiv preprint arXiv:1711.10282 (2017)
Tran, V.T., Tsai, W.H.: Acoustic-based emergency vehicle detection using convolutional neural networks. IEEE Access 8, 75702–75713 (2020). https://doi.org/10.1109/ACCESS.2020.2988986
Yang, Y.Y., et al.: Torchaudio: building blocks for audio and speech processing. arXiv preprint arXiv:2110.15018 (2021)
Zhang, Y., Suda, N., Lai, L., Chandra, V.: Hello edge: keyword spotting on microcontrollers (2017). https://doi.org/10.48550/ARXIV.1711.07128, https://arxiv.org/abs/1711.07128
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Caetano dos Santos, D.F., Boccato, L. (2022). A Study of Emergency Siren Recognition on Resource-Constrained Devices. In: Xavier-Junior, J.C., Rios, R.A. (eds) Intelligent Systems. BRACIS 2022. Lecture Notes in Computer Science(), vol 13654 . Springer, Cham. https://doi.org/10.1007/978-3-031-21689-3_12
Download citation
DOI: https://doi.org/10.1007/978-3-031-21689-3_12
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-21688-6
Online ISBN: 978-3-031-21689-3
eBook Packages: Computer ScienceComputer Science (R0)