Respiratory Rate Estimation from Audio Using Object Detection with Learnable Spectrograms
Source abstract
Abstract
Sound event detection models commonly rely on spectrogram representations of audio signals and recent approaches have adapted image-based object detection architectures to acoustic domains. This paradigm is suitable for respiratory monitoring, where breathing events are visually distinguishable even under noisy conditions. In this study, we propose a Representation Enhancement for Neural Imaging (RENI) framework that combines a modified You Only Look Once (YOLO) object detection head with a trainable spectrogram front-end implemented using nnAudio. The front-end enables GPU-accelerated waveform-to-spectrogram conversion while allowing adaptive learning of Short-Time Fourier Transform (STFT) and Melody (Mel) basis functions. The model was trained for breathing-phase localization and respiratory rate estimation from 44.1 kHz audio recordings acquired during exercise. The results show that the trainable Mel representation improves respiratory-rate accuracy compared with static and trainable STFT configurations, achieving a mean absolute error of 1.15 breaths per minute. Bootstrap 95% confidence intervals and one-sided permutation tests show statistically significant gains for selected trainable STFT and Mel configurations under the min-MAE confidence thresholding protocol, while pooled effects remain directionally favorable for the trainable Mel front-end. These findings demonstrate improved exhale-based respiratory rate estimation under the studied conditions, while broader external validation is still required.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Non-Invasive Vital Sign Monitoring · Phonocardiography and Auscultation Techniques · Advanced Chemical Sensor Technologies
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Institute of Numerical Modelling, University of Latvia, Jelgavas Street 3, LV-1004 Riga, Latvia
Funding
Innovations, methodologies and recommendations for the development and management of the sports sector in Latvia
References (26)
Show source-provided references
1. Migliaccio, G.M., Russo, L., Maric, M., and Padulo, J. (2023). Sports performance and breathing rate: What is the connection? A narrative review on breathing strategies. Sports, 11.10.3390/sports11050103 ↗
2. Influence of the breathing pattern on the pulmonary function of endurance-trained athletes10.1038/s41598-024-51758-5 ↗
3. Kim, K.B., and Baek, H.J. (2023). Photoplethysmography in wearable devices: A comprehensive review of technological advances, current challenges, and future directions. Electronics, 12.10.3390/electronics12132923 ↗
4. Standardization of spirometry 2019 update. An official American Thoracic Society and European Respiratory Society technical statement10.1164/rccm.201908-1590ST ↗
5. Romano, C., Nicolò, A., Innocenti, L., Bravi, M., Miccinilli, S., Sterzi, S., Sacchetti, M., Schena, E., and Massaroni, C. (2023). Respiratory Rate Estimation during Walking and Running Using Breathing Sounds Recorded with a Microphone. Biosensors, 13.10.3390/bios13060637 ↗
6. A capaciflector provides continuous and accurate respiratory rate monitoring for patients at rest and during exercise10.1007/s10877-021-00798-7 ↗
7. Limweshasin, N., Castro, I.A., Korposh, S., Morgan, S.P., Hayes-Gill, B.R., Faghy, M.A., and Correia, R. (2024). Respiratory Rate Monitoring via a Fibre Bragg Grating-Embedded Respirator Mask with a Wearable Miniature Interrogator. Sensors, 24.10.3390/s24237476 ↗
8. Bertulis, B., Telicko, J., and Jakovics, A. (2025, January 15–17). Adapting Voice Detection Algorithm for Respiratory Rate Determination In Noisy Environments. Proceedings of the 2025 IEEE 12th Workshop on Advances in Information, Electronic and Electrical Engineering (AIEEE), Vilnius, Lithuania.10.1109/AIEEE66149.2025.11050871 ↗
9. Harvill, J., Wani, Y., Alam, M., Ahuja, N., Hasegawa-Johnsor, M., Chestek, D., and Beiser, D.G. (2022, January 11–15). Estimation of Respiratory Rate from Breathing Audio. Proceedings of the 2022 44th Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC), Glasgow, UK.10.1109/EMBC48229.2022.9871897 ↗
10. A Wireless Respiratory Monitoring System Using a Wearable Patch Sensor Network10.1109/JSEN.2018.2877617 ↗
11. Teličko, J., and Jakovičs, A. (2024, January 10–12). ESP32 Based Breathing Rate Monitoring System for Sport Activities. Proceedings of the 2024 IEEE 65th International Scientific Conference on Power and Electrical Engineering of Riga Technical University (RTUCON), Riga, Latvia.10.1109/RTUCON62997.2024.10830814 ↗
12. Fahed, V.S., Doheny, E.P., and Lowery, M.M. (2023, January 20–24). Random Forest Classification of Breathing Phases from Audio Signals Recorded using Mobile Devices. Proceedings of the Interspeech 2023, Dublin, Ireland.10.21437/Interspeech.2023-2089 ↗
13. Pramono, R.X.A., Bowyer, S., and Rodriguez-Villegas, E. (2017). Automatic adventitious respiratory sound analysis: A systematic review. PLoS ONE, 12.10.1371/journal.pone.0177926 ↗
14. Exploring machine learning for audio-based respiratory condition screening: A concise review of databases, methods, and open issues10.1177/15353702221115428 ↗
15. Lung sounds classification using convolutional neural networks10.1016/j.artmed.2018.04.008 ↗
16. DeepSoundVisionNet: A new approach to urban sound classification using visual representations of audio signals10.1016/j.engappai.2026.114193 ↗
17. González, S.S., Quiros, S.B., and Toledano, D.T. (2025). YOLO-based transfer learning for Sound Event Detection using visual object detection techniques. Appl. Sci., 16.10.3390/app16010205 ↗
18. An open access database for the evaluation of respiratory sound classification algorithms10.1088/1361-6579/ab03ea ↗
19. (2026, June 10). Fu-Shun Hsu, e.a. HF Lung. Available online: https://gitlab.com/techsupportHF/HF_Lung_V1.
20. Parametric optimisation of a pulmonary ventilator using the Taguchi method
21. nnAudio: An on-the-Fly GPU Audio to Spectrogram Conversion Toolbox Using 1D Convolutional Neural Networks10.1109/ACCESS.2020.3019084 ↗
22. Zhang, H., Li, F., Liu, S., Zhang, L., Su, H., Zhu, J., Ni, L.M., and Shum, H.Y. (2022). DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detection. arXiv.
23. Ren, S., He, K., Girshick, R., and Sun, J. (2015). Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks. arXiv.
24. Khanam, R., and Hussain, M. (2024). YOLOv11: An Overview of the Key Architectural Enhancements. arXiv.
25. Bernhards Bertulis, J.T. (2026, June 10). Respiratory Rate Tracking. Available online: https://www.kaggle.com/datasets/bernhardsbrtulis/audio-respiratory-rate-and-phase-tracking.
26. Bernhards Bertulis, J.T. (2026, June 10). Representation Enhancement for Neural Imaging—RENI. Available online: https://gitlab.com/luarhitecture/RENI.