Related Experiment Video
Updated: Jun 7, 2025

Author Spotlight: Enhancing Diagnostic Strategies and Biomarker Development for Comprehensive Lung Function Analysis
Published on: August 9, 2024
Transfer learning in spirometry: CNN models for automated flow-volume curve quality control in paediatric populations
Carla Martins1, Henrique Barros2, André Moreira3
1EPIUnit - Instituto de Saúde Pública da Universidade do Porto, Laboratório para a Investigação Integrativa e Translacional em Saúde Populacional (ITR), Porto, Portugal; Serviço de Imunoalergologia, Unidade Local de Saúde de São João, Porto, Portugal.
Automated spirometry quality control using convolutional neural networks (CNNs) shows high accuracy in classifying flow-volume curves. This AI approach can improve diagnostic workflows and reduce the need for manual inspection by specialists.
Area of Science:
- Pulmonary function testing
- Artificial intelligence in healthcare
- Machine learning for medical diagnostics
Background:
- Spirometry interpretation requires manual assessment of acceptability criteria, leading to variability.
- Automating spirometry quality control can enhance diagnostic efficiency and consistency.
Purpose of the Study:
- To apply transfer learning with convolutional neural networks (CNNs) for automated classification of spirometry flow-volume curves.
- To evaluate the performance of various CNN models in identifying acceptable and non-acceptable spirometry tests.
Main Methods:
- 5287 spirometry curves were categorized into acceptable, early termination, and non-acceptable.
- Six CNN models (VGG16, InceptionV3, Xception, ResNet152V2, InceptionResNetV2, DenseNet121) were trained using augmented data.
- Model performance was assessed using accuracy, precision, recall, and F1-score.
Main Results:
- VGG16 achieved the highest accuracy (93.9%).
- Non-acceptable curves were easiest to classify (precision ≥87.7%).
- Early termination curves presented the most challenge (precision 75.0%–90.3%).
Conclusions:
- CNN models, especially VGG16, demonstrate potential for automating spirometry quality control.
- This automation can reduce reliance on manual inspection by specialists.
- The approach promises streamlined, consistent spirometry diagnostics, beneficial for non-specialized settings.

