journal article·2025-08-26Open access

Lung Sound Classification Model for On-Device AI

Jinho Park, Chanhee Jeong, Yeonshik Choi, Hyuck-ki Hong, Youngchang Jo

Applied Sciences· Volume 15· Issue 17

Abstract

Following the COVID-19 pandemic, public interest in healthcare has significantly in-creased, emphasizing the importance of early disease detection through lung sound analysis. Lung sounds serve as a critical biomarker in the diagnosis of pulmonary diseases, and numerous deep learning-based approaches have been actively explored for this purpose. Existing lung sound classification models have demonstrated high accuracy, benefiting from recent advances in artificial intelligence (AI) technologies. However, these models often rely on transmitting data to computationally intensive servers for processing, introducing potential security risks due to the transfer of sensitive medical information over networks. To mitigate these concerns, on-device AI has garnered growing attention as a promising solution for protecting healthcare data. On-device AI enables local data processing and inference directly on the device, thereby enhancing data security compared to server-based schemes. Despite these advantages, on-device AI is inherently limited by computational constraints, while conventional models typically require substantial processing power to maintain high performance. In this study, we propose a lightweight lung sound classification model designed specifically for on-device environments. The proposed scheme extracts audio features using Mel spectrograms, chromagrams, and Mel-Frequency Cepstral Coefficients (MFCC), which are converted into image representations and stacked to form the model input. The lightweight model performs convolution operations tailored to both temporal and frequency–domain characteristics of lung sounds. Comparative experimental results demonstrate that the proposed model achieves superior inference performance while maintaining a significantly smaller model size than conventional classification schemes, making it well-suited for deployment on resource-constrained devices.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Phonocardiography and Auscultation Techniques · Music and Audio Processing · Time Series Analysis and Forecasting

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Medical IT Convergence Research Center, Korea Electronics Technology Institute, Seongnam-si 13509, Republic of Korea

Funding

Korea Evaluation Institute of Industrial Technology (KEIT) · Institute of Information and Communications Technology Planning and Evaluation (IITP)

References (32)

Show source-provided references
1. Prevalence and Attributable Health Burden of Chronic Respiratory Diseases, 1990–2017: A Systematic Analysis for the Global Burden of Diseases Study 201710.1016/S2213-2600(20)30105-3 ↗
2. Tariq, Z., Shah, K., and Lee, Y. (2022). Feature-based Fusion using CNN for Lung and Heart Sound Classification. Sensors, 22.10.3390/s22041521 ↗
3. Dar, J.A., Srivastava, K.K., and Lone, S.A. (2022). Spectral Features and Optimal Hierarchical Attention Networks for Pulmonary Abnormality Detection from the Respiratory Sound Signals. Biomed. Signal Process. Control, 78.10.1016/j.bspc.2022.103905 ↗
4. Deep Neural Network for Respiratory Sound Classification in Wearable Devices Enabled by Patient Specific Model Tuning, IEEE Trans
5. Kim, Y., Hyon, Y., Jung, S.S., Lee, S., Yoo, G., Chung, C., and Ha, T. (2021). Respiratory Sound Classification for Crackles, Wheezes, and Rhonchi in the Clinical Field using Deep Learning. Sci. Rep., 11.10.1038/s41598-021-96724-7 ↗
6. Development of a Novel Wireless Multi-Channel Stethograph System for Monitoring Cardiovascular and Cardiopulmonary Diseases10.1109/ACCESS.2021.3111778 ↗
7. Gupta, S., Agrawal, M., and Deepak, D. (2021). Gammatonegram based Triple Classification of Lung Sounds using Deep Convolutional Neural Network with Transfer Learning. Biomed. Signal Process. Control, 70.10.1016/j.bspc.2021.102947 ↗
8. Zulfiqar, R., Majeed, F., Irfan, R., Rauf, H.T., Benkhelifa, E., and Belkacem, A.N. (2021). Abnormal Respiratory Sounds Classification using Deep CNN through Artificial Noise Addition. Front. Med., 8.10.3389/fmed.2021.714811 ↗
9. Faruqui, N., Yousuf, M.A., Whaiduzzaman, M., Azad, A.K.M., Barros, A., and Moni, M.A. (2021). LungNet: A Hybrid Deep-CNN Model for Lung Cancer Diagnosis using CT and Wearable Sensor-based Medical IoT Data. Comput. Biol. Med., 139.10.1016/j.compbiomed.2021.104961 ↗
10. Zhao, Z., Gong, Z., Niu, M., Ma, J., Wang, H., Zhang, Z., and Li, Y. (2022, January 22–27). Automatic Respiratory Sound Classification via Multi-branch Temporal Convolutional Network. Proceedings of the ICASSP 2022–2022 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Singapore.10.1109/ICASSP43922.2022.9746182 ↗
11. Respiratory Anomaly and Disease Detection using Multi-Level Temporal Convolutional Networks10.1109/JBHI.2025.3545156 ↗
12. Empowering Edge Intelligence: A Comprehensive Survey on On-Device AI Models
13. A Survey on the Optimization of Neural Network Accelerators for Micro-AI On-Device Inference10.1109/JETCAS.2021.3129415 ↗
14. (2025, August 21). ICBHI 2017 Challenge. Available online: https://bhichallenge.med.auth.gr/ICBHI_2017_Challenge.
15. Messner, E., Fediuk, M., Swatek, P., Scheidl, S., Smolle-Juttner, F.-M., Olschewski, H., and Pernkopf, F. (2020). Multi-Channel Lung Sound Classification with Convolutional Recurrent Neural Networks. Comput. Biol. Med., 122.10.1016/j.compbiomed.2020.103831 ↗
16. Automatic Diagnosis of COVID-19 Disease using Deep Convolutional Neural Network with Multi-Feature Channel from Respiratory Sound Data: Cough, Voice, and Breath10.1016/j.aej.2021.06.024 ↗
17. Basu, V., and Rana, S. (2020, January 27–29). Respiratory Diseases Recognition through Respiratory Sound with the Help of Deep Neural Network. Proceedings of the 2020 4th International Conference on Computational Intelligence and Networks (CINE), Kolkata, India.10.1109/CINE48825.2020.234388 ↗
18. Lung Sounds Classification using Convolution Neural Networks10.1016/j.artmed.2018.04.008 ↗
19. Petmezas, G., Cheimariotis, G.A., Stefanopoulos, L., Rocha, B., Paiva, R.P., Katsaggelos, A.K., and Maglaveras, N. (2022). Automated Lung Sound Classification using a Hybrid CNN-LSTM Network and Focal Loss Function. Sensors, 22.10.3390/s22031232 ↗
20. A Lightweight CNN Model for Detecting Respiratory Diseases from Lung Auscultation Sounds using EMD-CWT-based Hybrid Scalogram10.1109/JBHI.2020.3048006 ↗
21. Simonyan, K., and Zisserman, A. (2014). Very Deep Convolutional Networks for Large-Scale Image Recognition. arXiv.
22. LungAttn: Advanced Lung Sound Classification using Attention Mechanism with Dual TQWT and Triple STFT Spectrogram10.1088/1361-6579/ac27b9 ↗
23. Lung Sound Classification with Multi-Feature Integration Utilizing Lightweight CNN Model10.1109/ACCESS.2024.3361943 ↗
24. A TinyML Approach to Real-Time Snoring Detection in Resource-Constrained Wearable Devices
25. Roy, A., Dutta, H., Bhuyan, A.K., and Biswas, S. (2024). On-Device Semi-Supervised Activity Detection: A New Privacy-Aware Personalized Health Monitoring Approach. Sensors, 24.10.20944/preprints202406.0523.v1 ↗
26. Xun, L., Hare, J., and Merrett, G.V. (2024). Dynamic DNNs and Runtime Management for Efficient Inference on Mobile/Embedded Devices. arXiv.
27. Deep Learning based Respiratory Sound Analysis for Detection of Chronic Obstructive Pulmonary Disease10.7717/peerj-cs.369 ↗
28. Imambi, S., Prakash, B.K., and Kanagachidambaresan, G.R. (2021). PyTorch. Programming with TensorFlow: Solution for Edge Computing Applications, Springer.10.1007/978-3-030-57077-4 ↗
29. He, K., Zhang, X., Ren, S., and Sung, J. (July, January 26). Deep Residual Learning for Image Recognition. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA.
30. Sandler, M., Howard, A., Zhu, M., Zhmoginov, A., and Chen, L.C. (2018, January 18–22). MobileNetV2: Inverted Residuals and Linear Bottlenecks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA.10.1109/CVPR.2018.00474 ↗
31. Szegedy, C., Vanhoucke, V., Ioffe, S., Shlens, J., and Wojna, Z. (July, January 26). Rethinking the Inception Architecture for Computer Vision. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA.
32. Tan, M., and Le, Q. (2019, January 9–15). EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks, In Proceedings of the 36th International Conference on Machine Learning, PMLR. Long Beach, CA, USA.