Deep learning algorithm for visual quality assessment of the spirograms

Physiol Meas. 2023 Aug 29;44(8). doi: 10.1088/1361-6579/acee41.

Abstract

Objective. The quality of spirometry manoeuvres is crucial for correctly interpreting the values of spirometry parameters. A fundamental guideline for proper quality assessment is the American Thoracic Society and European Respiratory Society (ATS/ERS) Standards for spirometry, updated in 2019, which describe several start-of-test and end-of-test criteria which can be assessed automatically. However, the spirometry standards also require a visual evaluation of the spirometry curve to determine the spirograms' acceptability or usability. In this study, we present an automatic algorithm based on a convolutional neural network (CNN) for quality assessment of the spirometry curves as an alternative to manual verification performed by specialists.Approach. The algorithm for automatic assessment of spirometry measurements was created using a set of randomly selected 1998 spirograms which met all quantitative criteria defined by ATS/ERS Standards. Each spirogram was annotated as 'confirm' (remaining acceptable or usable status) or 'reject' (change the status to unacceptable) by four pulmonologists, separately for FEV1 and FVC parameters. The database was split into a training (80%) and test set (20%) for developing the CNN classification algorithm. The algorithm was optimised using a cross-validation method.Main results. The accuracy, sensitivity and specificity obtained for the algorithm were 92.6%, 93.1% and 90.0% for FEV1 and 94.1%, 95.6% and 88.3% for FVC, respectively.Significance.The algorithm provides an opportunity to significantly improve the quality of spirometry tests, especially during unsupervised spirometry. It can also serve as an additional tool in clinical trials to quickly assess the quality of a large group of tests.

Keywords: convolutional neural network; flow-volume curve; quality assessment; spirometry.

Publication types

  • Research Support, Non-U.S. Gov't

MeSH terms

  • Algorithms
  • Deep Learning*
  • Neural Networks, Computer
  • Sensitivity and Specificity
  • Spirometry / methods
  • United States