PNEUMOTHORAX SEGMENTATION ON CHEST X-RAYS: PROGRESSIVE FINE-TUNING AND THRESHOLD-BASED PREDICTION REFINEMENT

Authors

DOI:

https://doi.org/10.32782/3041-2080/2026-7-6

Keywords:

pneumothorax, chest radiography, medical image segmentation, U-Net, SE-ResNeXt-50, confidence threshold, post-processing

Abstract

Pneumothorax segmentation on chest radiographs remains a critical challenge for computer-aided triage, as small pleural separations are difficult to reliably localize. This study presents a segmentation method based on a U-Net-style deep neural network with a pretrained convolutional encoder, progressively fine-tuned on the SIIM-ACR Pneumothorax dataset. Training utilizes a two-stage resolution approach – starting at 512×512 for stable localization, then refining at 1024×1024 to recover thin pleural boundaries. Optimization incorporates staged encoder unfreezing, cyclic learning-rate scheduling, and a loss curriculum transitioning from weighted binary cross-entropy to soft Dice and symmetric Lovasz objectives. The experimental analysis is conducted in three stages. First, three encoder backbones (ResNet34, EfficientNet, and SE-ResNeXt-50) are compared. Second, the best-performing backbone is evaluated across confidence thresholds to determine the optimal threshold-only operating point. Third, the model is assessed under joint confidence-threshold and minimummask- size control, where excessively small predicted masks are reset to empty. This structure reflects the SIIM-ACR evaluation protocol, where correct empty-mask predictions on negative studies heavily impact the overall mean Dice score. Results identify SE-ResNeXt-50 as the strongest backbone. While a 0.70 confidence threshold maximizes threshold-only performance, the strongest overall result is achieved by combining a 0.55 confidence threshold with a minimum positive-pixel threshold of 2000. These findings demonstrate that explicit operating-point design – converting continuous probability maps into binary clinical decisions – is essential for pneumothorax segmentation and should be reported alongside architecture and training methodologies.

References

SIIM-ACR Pneumothorax Segmentation Challenge [Electronic resource]. Kaggle. URL: https://www.kaggle.com/c/siim-acr-pneumothorax-segmentation (accessed: 25.03.2026).

Pneumothorax Kaggle Challenge overview and winning teams [Electronic resource]. SIIM. URL: https://siim.org/research-journal/siim-machine-learning-challenges/pneumothorax-kaggle-challenge/ (accessed:25.03.2026).

Sneddy. SIIM-ACR Pneumothorax first-place solution [Electronic resource]. GitHub. URL: https://github. com/sneddy/pneumothorax-segmentation (accessed: 25.03.2026).

Abedalla A., Abdullah M., Al-Ayyoub M., Benkhelifa E. Chest X-ray pneumothorax segmentation using U-Net with EfficientNet and ResNet architectures. PeerJ Computer Science. 2021. Vol. 7. Art. e607. DOI: 10.7717/peerj-cs.607.

Wang Y., Wang K., Peng X. et al. DeepSDM: Boundary-aware pneumothorax segmentation in chest X-ray images. Neurocomputing. 2021. Vol. 454. P. 201–211. DOI: 10.1016/j.neucom.2021.05.029.

Dumbrique J. I. S., Hernandez R. B., Cruz J. M. L. et al. Pneumothorax detection and segmentation from chest X-ray radiographs using a patch-based fully convolutional encoder-decoder network. Frontiers in Radiology. 2024. Vol. 4. Art. 1424065. DOI: 10.3389/fradi.2024.1424065.

Sae-Lim W., Wettayaprasit W., Suwannanon R., Cheewatanakornkul S., Aiyarak P. Automated pneumothorax segmentation and quantification algorithm based on deep learning. Intelligent Systems with Applications. 2024. Vol. 22. Art. 200383. DOI: 10.1016/j.iswa.2024.200383.

Downloads

Published

2026-05-30

Issue

Section

AUTOMATION, COMPUTER-INTEGRATED TECHNOLOGIES AND ROBOTICS