{"title":"Explainable benchmarking of U-Net variants for lung segmentation on chest radiographs.","authors":"Khalid Hani Abushahla, Halil Arslan","doi":"10.5578/tt.2026021210","DOIUrl":null,"url":null,"abstract":"<p><strong>Introduction: </strong>Accurate lung field segmentation in chest radiographs is essential for reliable computer-aided diagnosis of pulmonary diseases. This study aimed to systematically benchmark baseline, lightweight, and attention-based U-Net architectures while integrating explainable artificial intelligence (AI) to evaluate both segmentation performance and anatomical focus.</p><p><strong>Materials and methods: </strong>We conducted a comparative evaluation of three U-Net variants-baseline U-Net, attention U-Net, and shallow U-Net-using the chest X-ray Masks and Labels dataset. All models were trained under identical conditions with five-fold cross-validation and evaluated using accuracy, Intersection over Union (IoU), and Dice coefficient. Gradient-weighted Class Activation Mapping (Grad-CAM) was applied to visualize model attention and assess whether network activations were anatomically localized within lung regions. All architectures were implemented in TensorFlow.</p><p><strong>Result: </strong>U-Net and attention U-Net achieved the highest segmentation performance (Dice ≈ 0.97, IoU ≈ 0.94), with Grad-CAM activations consistently localized to lung fields, indicating reliable anatomical focus. The shallow U-Net showed slightly lower accuracy (Dice= 0.96, IoU= 0.92) but demonstrated faster inference and broader sensitivity to internal parenchymal structures, which may facilitate future disease-focused pulmonary analysis.</p><p><strong>Conclusions: </strong>This study highlights the trade-offs between segmentation accuracy, computational efficiency, and model interpretability across U-Net variants. By combining quantitative benchmarking with explainable AI-based analysis, our results provide performance insights, supporting the development of trustworthy AI tools for chest radiograph analysis.</p>","PeriodicalId":519894,"journal":{"name":"Tuberkuloz ve toraks","volume":"74 2","pages":"84-97"},"PeriodicalIF":0.0000,"publicationDate":"2026-06-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Tuberkuloz ve toraks","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.5578/tt.2026021210","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Introduction: Accurate lung field segmentation in chest radiographs is essential for reliable computer-aided diagnosis of pulmonary diseases. This study aimed to systematically benchmark baseline, lightweight, and attention-based U-Net architectures while integrating explainable artificial intelligence (AI) to evaluate both segmentation performance and anatomical focus.
Materials and methods: We conducted a comparative evaluation of three U-Net variants-baseline U-Net, attention U-Net, and shallow U-Net-using the chest X-ray Masks and Labels dataset. All models were trained under identical conditions with five-fold cross-validation and evaluated using accuracy, Intersection over Union (IoU), and Dice coefficient. Gradient-weighted Class Activation Mapping (Grad-CAM) was applied to visualize model attention and assess whether network activations were anatomically localized within lung regions. All architectures were implemented in TensorFlow.
Result: U-Net and attention U-Net achieved the highest segmentation performance (Dice ≈ 0.97, IoU ≈ 0.94), with Grad-CAM activations consistently localized to lung fields, indicating reliable anatomical focus. The shallow U-Net showed slightly lower accuracy (Dice= 0.96, IoU= 0.92) but demonstrated faster inference and broader sensitivity to internal parenchymal structures, which may facilitate future disease-focused pulmonary analysis.
Conclusions: This study highlights the trade-offs between segmentation accuracy, computational efficiency, and model interpretability across U-Net variants. By combining quantitative benchmarking with explainable AI-based analysis, our results provide performance insights, supporting the development of trustworthy AI tools for chest radiograph analysis.