# Convolutional neural network for breathing phase detection in lung   sounds

**Authors:** Cristina J\'acome, Johan Ravn, Einar Holsb{\o}, Juan Carlos, Aviles-Solis, Hasse Melbye, Lars Ailo Bongo

arXiv: 1903.10251 · 2019-04-18

## TL;DR

This paper presents a deep learning algorithm using convolutional neural networks and spectrograms to accurately detect breathing phases in lung sounds, achieving human-level performance in comparison to expert annotations.

## Contribution

The study introduces a CNN-based method for breathing phase detection that outperforms previous approaches and is validated on larger datasets than prior work.

## Key findings

- Mean agreement of 97% for inspiration and 87% for expiration with experts
- Pseudo-kappa values indicating high reliability (0.73-0.88 for inspiration)
- Algorithm demonstrates human-level performance in breathing phase detection

## Abstract

We applied deep learning to create an algorithm for breathing phase detection in lung sound recordings, and we compared the breathing phases detected by the algorithm and manually annotated by two experienced lung sound researchers. Our algorithm uses a convolutional neural network with spectrograms as the features, removing the need to specify features explicitly. We trained and evaluated the algorithm using three subsets that are larger than previously seen in the literature. We evaluated the performance of the method using two methods. First, discrete count of agreed breathing phases (using 50% overlap between a pair of boxes), shows a mean agreement with lung sound experts of 97% for inspiration and 87% for expiration. Second, the fraction of time of agreement (in seconds) gives higher pseudo-kappa values for inspiration (0.73-0.88) than expiration (0.63-0.84), showing an average sensitivity of 97% and an average specificity of 84%. With both evaluation methods, the agreement between the annotators and the algorithm shows human level performance for the algorithm. The developed algorithm is valid for detecting breathing phases in lung sound recordings.

---
Source: https://tomesphere.com/paper/1903.10251