Trustworthy AI for stage IV non-small cell lung cancer: Automatic segmentation and uncertainty quantification

Comput Med Imaging Graph. 2025 Jul:123:102567. doi: 10.1016/j.compmedimag.2025.102567. Epub 2025 May 13.

Abstract

Accurate segmentation of lung tumors is essential for advancing personalized medicine in non-small cell lung cancer (NSCLC). However, stage IV NSCLC presents significant challenges due to heterogeneous tumor morphology and the presence of associated conditions including infection, atelectasis and pleural effusion. The complexity of multicentric datasets further complicates robust segmentation across diverse clinical settings. In this study, we evaluate deep-learning-based approaches for automated segmentation of advanced-stage lung tumors using 3D architectures on 387 CT scans from the Deep-Lung-IV study. Through comprehensive experiments, we assess the impact of model design, HU windowing, and dataset size on delineation performance, providing practical guidelines for robust implementation. Additionally, we propose a confidence score using deep ensembles to quantify prediction uncertainty and automate the identification of complex cases that require further review. Our results demonstrate the potential of attention-based architectures and specific preprocessing strategies to improve segmentation quality in such a challenging clinical scenario, while emphasizing the importance of uncertainty estimation to build trustworthy AI systems in medical imaging. Code is available at: https://github.com/Sacha-Dedeken/SegStageIVNSCLC.

Keywords: Deep learning; Oncology; Stage IV NSCLC; Tumor segmentation; Uncertainty estimation.

MeSH terms

  • Carcinoma, Non-Small-Cell Lung* / diagnostic imaging
  • Carcinoma, Non-Small-Cell Lung* / pathology
  • Deep Learning*
  • Humans
  • Lung Neoplasms* / diagnostic imaging
  • Lung Neoplasms* / pathology
  • Neoplasm Staging
  • Radiographic Image Interpretation, Computer-Assisted* / methods
  • Tomography, X-Ray Computed* / methods
  • Uncertainty