Abstract
Background: Chest X-ray (CXR) AI translation is complicated by 3 recurring problems: dataset and model provenance and reuse constraints, limited spatial explanation, and output scores that can be mistaken for calibrated clinical probabilities. A workflow intended for radiologist use should make these limitations visible rather than hide them behind a single score.
Objective: We describe the design and preliminary validation of a 14-finding CXR AI prototype fine-tuned on National Institutes of Health (NIH) ChestX-ray14, whose images permit reuse with attribution, with per-class gradient-weighted class activation mapping (Grad-CAM) localization, area under the receiver operating characteristic curve (AUROC)–based discrimination tiers, and a structured radiologist review workflow. The primary aim is to characterize preliminary benchmark performance and document workflow decisions for subsequent formative clinical evaluation.
Methods: A DenseNet-121 multilabel generalist initialized from torchvision ImageNet-1K weights was fine-tuned on NIH ChestX-ray14 and evaluated on the official test split of 25,596 images across 14 thoracic findings. Per-class temperature scaling was used as post hoc score rescaling, with calibration quantified using expected calibration error and Brier score. Grad-CAM was evaluated qualitatively and by intersection over union (IoU) against available NIH bounding-box annotations. A published pediatric pneumonia specialist (eRes-NET) was examined in an exploratory adult-transfer analysis. The prototype implements a 9-step workflow from image upload through radiologist-reviewed PDF report generation.
Results: The generalist achieved a mean AUROC of 0.8094 (SD 0.0711) and a macro-mean area under the precision-recall curve (AUPRC) of 0.280 (SD 0.136) on the official NIH test split. At per-class sensitivity-first thresholds set on the validation split, macro-mean test sensitivity was 0.918 (SD 0.059), and specificity was 0.439 (SD 0.201). Per-class AUROC ranged from 0.6995 (Infiltration) to 0.9124 (Hernia). The pediatric specialist scored near-random on the adult NIH cohort (AUROC 0.535). Grad-CAM weak-localization analysis across 984 NIH bounding boxes yielded a mean IoU of 0.220, with substantial finding-level variation. Residual calibration error persisted after temperature scaling, particularly for Consolidation (expected calibration error [ECE] 0.472) and Atelectasis (ECE 0.376).
Conclusions: The prototype demonstrates the technical feasibility of combining documented data or model provenance, per-class discrimination tiering, Grad-CAM regional attention, and a radiologist review workflow in a single CXR screening prototype. The findings are preliminary and benchmark-specific. Prospective multisite and radiologist evaluation, target-population recalibration, and formal licensing and regulatory assessment are required before clinical deployment.
doi:10.2196/104690
Keywords
Introduction
Background
Chest radiography is widely used in the evaluation of pulmonary infection [] and remains central to tuberculosis detection in many resource-constrained settings []. Timely interpretation can nevertheless be limited by radiologist availability. Deep learning models have matched or approached expert performance for selected chest X-ray (CXR) tasks in controlled studies []. The appeal of putting these tools into the reporting loop—to reduce reading burden and help surface findings that might otherwise be missed—is clear.
However, clinical translation remains limited. The distance between a published area under the receiver operating characteristic curve (AUROC) and a deployed tool is wide, and 3 obstacles account for most of it. None are purely technical, and a tool that addresses only 1 or 2 of them remains a research demonstration rather than a system a hospital can adopt.
The first barrier is provenance and reuse constraints. Widely used CXR datasets and pretrained models are distributed under different access, data-use, and licensing terms, and downstream model weights may inherit conditions from the data used to train them. This makes blanket claims of commercial or clinical reusability unsafe without component-by-component review. A translational AI prototype therefore benefits from explicit provenance documentation and a clear separation between what is permissively reusable and what still requires legal or licensing assessment [].
The second barrier is the explainability deficit. A model score without spatial grounding is insufficient for clinical decision support. Radiologists do not review a CXR by asking only whether a finding is present; they also consider where it is, how extensive it is, and whether it fits the clinical picture. An AI that outputs a high Mass score without indicating the region that influenced the prediction cannot integrate naturally into the reporting workflow []. Regulatory frameworks such as the European Union (EU) AI Act emphasize transparency, documentation, and human oversight for high-risk AI systems [].
The third barrier is absent performance-context communication. Presenting a single model score to a radiologist without contextual performance information creates a misuse risk: the reader has no basis for judging how strongly benchmark performance supports that class. A finding with an AUROC of 0.91 and a finding with an AUROC of 0.70 should not be displayed identically. If the system does not communicate these differences, the radiologist cannot readily adjust reliance on the AI signal. This communication gap is a human-factors problem, not merely a statistical one, and it must be addressed at the workflow-design level.
This paper describes a digital health prototype that addresses all 3 barriers. The generalist is fine-tuned on the National Institutes of Health (NIH) ChestX-ray14 dataset, whose images are available without use restrictions subject to attribution []. The model is initialized from torchvision ImageNet-1K weights; because pretrained weights may carry dataset-derived terms, that initialization is treated as an explicit provenance and licensing caveat rather than as evidence of unrestricted commercial usability [,]. Gradient-weighted class activation mapping (Grad-CAM) [] provides finding-specific spatial localization at inference time. A 3-tier system communicates per-class discrimination heterogeneity directly in the output interface. A radiologist review panel allows findings, impression, and recommendation to be edited before PDF export, with a clear “AI-generated/pending review” versus “radiologist reviewed” status distinguishing AI output from clinical sign-off.
The contribution is best understood as an integration and workflow contribution rather than novelty in any single algorithmic component. The prototype combines a generalist CXR classifier, class-specific Grad-CAM, validation-set operating thresholds, AUROC-based discrimination tiers, and a structured radiologist review/reporting interface while documenting the provenance and reuse constraints of the data and model components. To our knowledge, prior CXR prototypes have rarely combined explicit per-class discrimination tiering with a printable radiologist-reviewed report and component-level provenance disclosure in a single workflow; this is a scoped observation, not a claim of priority.
The remainder of the Introduction summarizes related work. The Methods section describes the dataset, model, explainability, calibration, and system workflow; the Results section reports preliminary validation results; and the Discussion section discusses interpretation, limitations, planned formative evaluation, and conclusions.
Related Work
Wang et al [] introduced the NIH chest radiograph benchmark using weakly supervised labels extracted from radiology reports. Their updated ChestX-ray14 ResNet-50 baseline reported per-class AUROCs ranging from 0.6580 to 0.8717. CheXNet (Rajpurkar et al []) refined this with a deeper DenseNet-121, reporting a mean AUROC of 0.841, though on a nonstandard split associated with potential test-set contamination in subsequent analyses []. Reproductions on the official split consistently place performance in the 0.80 to 0.84 range, and the gap to CheXNet’s cited number is largely attributable to split methodology rather than architectural advancement. TorchXRayVision [] provides pretrained CXR models trained on several datasets, illustrating the practical value of transfer learning but also the need to review the access and reuse terms associated with each training dataset and pretrained weight set before downstream deployment.
Explainability in CXR AI has been pursued through Grad-CAM [] and its variants, Shapley additive explanations–based approaches [], and attention visualization in transformer architectures []. For DenseNet models with global average pooling, Grad-CAM is both computationally efficient and architecturally compatible, producing class-specific spatial heatmaps with minimal inference overhead. Quantitative localization evaluation against radiologist-annotated bounding boxes has been attempted on subsets of NIH CXR14, with mixed results that reflect both the coarse 7 × 7 spatial resolution of gradient-based attribution on the DenseNet-121 and the imprecision of report-derived labels as ground truth.
Uncertainty quantification and reliability communication in clinical AI have received growing attention. Work on Bayesian and ensemble-based uncertainty estimation has shown that uncertainty estimates can improve decision calibration in diagnostic imaging tasks []. However, practical deployment of uncertainty-aware CXR AI in radiologist workflow remains limited, and the literature on how performance heterogeneity should be communicated, rather than only computed, is sparse. The contribution here is the integration of per-class operating thresholds, AUROC-based discrimination tiers, spatial attribution, provenance disclosure, and a printable radiologist-reviewed report; each individual component draws on established methods.
Methods
Datasets
The primary training and evaluation dataset is NIH ChestX-ray14 [], comprising 112,120 frontal-view chest radiographs from 30,805 unique patients, annotated via natural language processing of radiology reports for 14 thoracic findings: Atelectasis, Cardiomegaly, Consolidation, Edema, Effusion, Emphysema, Fibrosis, Hernia, Infiltration, Mass, Nodule, Pleural Thickening, Pneumonia, and Pneumothorax. The dataset carries no restrictions on use, subject to attribution and acknowledgment of the NIH Clinical Center []. The official patient-level train/test split was used without modification, yielding 25,596 test images and approximately 86,524 train-validation images. A validation carve-out of 10% of unique training patients was used for checkpoint selection and temperature calibration; no test-set images were examined during training or threshold setting.
The eRes-NET specialist was trained in prior work [] on 5216 pediatric CXR images from the Guangzhou Women and Children’s Medical Center (Kermany et al [], Creative Commons Attribution 4.0). Transfer analysis was performed on the full NIH test split (25,596 images; 555 pneumonia positives).
Generalist Model Architecture and Training
The multilabel generalist is a DenseNet-121 [] initialized from the torchvision DenseNet-121 ImageNet-1K pretrained weights, with the original classifier replaced by a 14-way fully connected sigmoid layer enabling independent score estimation per finding. The torchvision software is open source, but its documentation cautions that pretrained weights may be subject to terms derived from their training data; ImageNet data access itself is limited to noncommercial research and educational use [,]. We therefore do not treat the initialization as evidence of unrestricted commercial usability. Training used binary cross-entropy loss with per-class positive weighting (negative-to-positive ratio, clipped at 50) to compensate for severe class imbalance (positive rates from 0.08% for Hernia to 17.7% for Infiltration). The AdamW optimizer used an initial learning rate of 3 × 10−4 and weight decay of 1 × 10−5, decayed by cosine annealing over 15 epochs. Automatic mixed precision training was applied on an NVIDIA A100 graphics processing unit (40 GB; CSC Mahti HPC, project_2010376) with a batch size of 48. The best-validation-AUROC checkpoint was retained.
Input preprocessing converted images into 3-channel 224 × 224 tensors, normalized with ImageNet statistics (μ=[0.485, 0.456, 0.406], σ=[0.229, 0.224, 0.225]). Training augmentation included random horizontal flips and random affine transformations (±7° rotation, ±5% translation). Inference used no augmentation. Implementation used Python 3.11, PyTorch 2.1, and torchvision 0.16 ().
| Parameter | Value |
| Backbone | DenseNet-121 (torchvision ImageNet-1K pretrained; pretrained-weight terms require separate review [,]) |
| Input resolution | 224 × 224 px, 3-channel, ImageNet normalization |
| Output | 14-way sigmoid (multilabel) |
| Loss function | Weighted binary cross-entropy (pos_weight per class) |
| Optimizer | AdamW, lr = 3 × 10−4, weight decay = 1 × 10−5 |
| LR schedule | Cosine annealing, Tmax = 15 epochs, ηmin = 1 × 10−6 |
| Training epochs | 15 (best checkpoint at epoch 11) |
| Batch size | 48 with AMP (mixed precision) |
| Hardware | NVIDIA A100-SXM4-40GB (CSC Mahti HPC) |
| Training dataset | NIH ChestX-ray14, official train split (patient-level val carve-out 10%) |
Post Hoc Temperature Calibration
Per-class temperature scaling was applied to model logits after training. For each of the 14 findings, a scalar temperature was optimized on the validation set by minimizing binary cross-entropy on rescaled logits, using the limited-memory Broyden-Fletcher-Goldfarb-Shanno method with 200 iterations. Temperature scaling is monotonic and therefore leaves AUROC unchanged; its effect on calibration error is quantified in the Calibration section. Temperature-scaled scores are appropriate for thresholding at per-class operating points but should not be read as absolute probabilities without prospective, population-level recalibration.
Specialist Integration and Transfer Analysis
The eRes-NET pneumonia specialist [] is a 2-branch ensemble of SeparableConv2D residual networks trained on 25 × 25 px patches from 600 × 600 preprocessed pediatric images. To characterize adult transfer, the deployed 64 × 64 inference form was evaluated exploratorily on all NIH test images using the softmax pneumonia channel as the ranking score, yielding an AUROC of 0.535. A post hoc fusion sensitivity sweep across weights from 0.0 to 1.0 was also performed on the same test split; because this sweep used the test set, it is reported only as exploratory and is not treated as a prospectively validated fusion design. The primary adult results therefore report the generalist alone, while an independent adult validation of specialist integration is reserved for future work.
Grad-CAM Explainability
Grad-CAM [] was implemented to provide class-specific localization for each positive prediction. For a given image and target finding class c, Grad-CAM computes per-channel importance weights αkc by global average pooling of the gradients of yc with respect to the feature maps Ak of the final dense block (denseblock4, producing 7 × 7 spatial maps at 1024 channels for 224 × 224 inputs). The localization map Lc = ReLU(ΣkαkcAk) is upsampled to the input resolution by bilinear interpolation and composited onto the original image with 40% transparency using a jet colormap. Grad-CAM maps are generated at inference only for findings with temperature-scaled scores exceeding the per-class detection threshold and are displayed alongside the corresponding temperature-scaled score and tier badge in the output interface.
Per-Class Discrimination Tiering
Findings were assigned to one of three operational tiers based on empirical test-set AUROC. The tiers therefore reflect per-class discrimination on the NIH benchmark; they do not certify calibration or the accuracy of an individual score. The green, amber, or red tier badges communicate relative benchmark discrimination, not probability reliability. Because the tier boundaries were defined from test-split AUROC, they are descriptive of this benchmark rather than prospectively validated and are explicitly treated as a limitation. The tiers are as follows:
- Tier 1 (AUROC ≥0.84): It is a higher-discrimination benchmark signal. It comprises Hernia, Emphysema, Cardiomegaly, Pneumothorax, and Edema.
- Tier 2 (AUROC 0.75‐0.84): It is a moderate-discrimination screening signal. Standard clinical correlation required. It comprises Mass, Effusion, Fibrosis, Pleural Thickening, and Atelectasis.
- Tier 3 (AUROC <0.75): It is a lower-discrimination screening signal. There is substantial NIH label noise; radiologist correlation is essential before clinical interpretation. It comprises Nodule, Consolidation, Pneumonia, and Infiltration.
The tier label; AUROC; and corresponding green, amber, or red tier badge are displayed in the prototype interface alongside each temperature-scaled score. Tier 3 findings carry an explicit “screening signal only” disclaimer in the output.
System Implementation and Prototype Workflow
The prototype is implemented as a web-based Gradio application with central processing unit-only inference. Model weights are loaded lazily on first inference and cached for the session. Digital Imaging and Communications in Medicine (DICOM) file upload is supported via pydicom with automatic window/level conversion. Patient metadata fields are collected in the interface and embedded in the structured report but are not stored as protected health information.
The end-to-end workflow for the CXR module follows nine steps, summarized in and illustrated in :
- The clinician or technician uploads a JPEG, PNG, or DICOM file via the web interface.
- The image is normalized and resized to 224 × 224 px with ImageNet statistics.
- The DenseNet-121 generalist performs a forward pass, producing 14 class scores for downstream per-class rescaling and thresholding.
- Per-class temperature scaling rescales the logits; the rescaled scores are used for ranking and thresholding and are not interpreted as calibrated posterior probabilities.
- Each temperature-scaled score is compared against the validation-derived per-class sensitivity-first threshold. Findings at or above the threshold are flagged as positive and assigned the corresponding Tier 1, 2, or 3 discrimination badge.
- Grad-CAM localization is computed for all positive predictions and rendered as heatmap overlays on the original image.
- A structured report is generated, containing (1) a per-finding table with score, discrimination-tier badge, and Grad-CAM thumbnail; (2) recommended clinical action text; and (3) a prominent AI-generated disclaimer stating that the output requires radiologist review and is not a final diagnosis.
- The radiologist review panel allows the editing of the Findings, Impression, and Recommendation fields; finalization stamps the report as Radiologist Reviewed.
- The PDF is exported with a timestamp and the current review status (AI Generated, Pending Review or Radiologist Reviewed, Finalized), together with the patient fields, images, AI details, and disclaimer.
| Step | Component | Output to radiologist |
| 1 | JPEG, PNG, or DICOM upload | Image preview; DICOM auto-converted via pydicom with window or level |
| 2 | Input normalization (224 × 224, ImageNet stats) | Preprocessing confirmation log |
| 3 | DenseNet-121 forward pass → 14 class scores | (Internal) |
| 4 | Per-class temperature scaling | (Internal) |
| 5 | Per-class sensitivity-first thresholding + discrimination-tier assignment | Positive or negative flag; discrimination-tier badge for positive findings |
| 6 | Grad-CAM localization for all positive predictions | Heatmap overlaid on original image; jet colormap, 40% alpha |
| 7 | Structured report generation | Per-finding table: finding name, temperature-scaled score, tier, Grad-CAM thumbnail |
| 8 | Radiologist review panel | Editable findings or impression fields; finalize button stamps reviewed status |
| 9 | PDF export | Timestamped report with patient fields, images, AI details, and disclaimer |
aDICOM: Digital Imaging and Communications in Medicine.
bGrad-CAM: gradient-weighted class activation mapping.

The output is explicitly not designed to generate a stand-alone diagnosis. Every report carries a disclaimer specifying that (1) the output is an AI-assisted screening signal, (2) tier 3 findings in particular carry substantial label-noise uncertainty, (3) temperature-scaled model scores are not calibrated clinical posterior probabilities, and (4) radiologist review and countersignature are required before any clinical use. The distinction between “AI Generated, Pending Review” and “Radiologist Reviewed, Finalized” is visually prominent in the interface and is embedded as metadata in the PDF.
The design reflects a deliberate position on where AI fits in the diagnostic process. The system is designed to accelerate the radiologist’s review of a known-modality image, not to substitute for it. By surfacing positive findings with spatial evidence and class-level performance context before the radiologist begins the formal read, the tool functions as a structured preread aid rather than an autonomous classifier. This is the workflow role for which the present prototype will be evaluated.
Evaluation Metrics
AUROC was the primary discrimination metric for all findings and was computed on the official NIH test split. Because AUROC can overstate performance for imbalanced findings, we additionally report the area under the precision-recall curve (AUPRC). Operating-point metrics (sensitivity, specificity, and positive predictive value) were computed at per-class sensitivity-first thresholds; these thresholds were selected on the held-out validation split at a target sensitivity of 0.90 and were not optimized on the test set. All per-class metrics are reported with 1000-iteration bootstrap 95% CIs. Per-class expected calibration error (ECE, 15 bins) and Brier score were computed before and after temperature scaling to characterize calibration. The statistical procedures are detailed in the Statistical Analysis section.
Statistical Analysis
Discrimination was summarized by AUROC and, to account for class imbalance, by AUPRC (average precision). Operating-point performance (sensitivity, specificity, and positive predictive value) was evaluated at per-class sensitivity-first thresholds. These thresholds were derived from the held-out validation split (a 10% patient-level carve-out of the training set, random seed of 42) to target a sensitivity of at least 0.90 for each finding; the official test split was reserved for final evaluation and was not used for threshold selection. Because the number of validation positives is finite, the achieved sensitivity can differ slightly from the nominal 0.90 target for rare findings.
All per-class metrics are reported with 95% CIs obtained by bootstrap resampling of the test set (1000 iterations, percentile method). CIs are correspondingly wide for low-prevalence findings, most notably Hernia; these are flagged where reported. Calibration was quantified by per-class ECE (15 bins) and Brier score, each computed before and after temperature scaling. Grad-CAM localization was assessed quantitatively by intersection over union (IoU) against the NIH ChestX-ray14 hand-drawn bounding-box annotations, with the attention map binarized at a fixed top-20% activation threshold specified in advance (see the Grad-CAM Localization section). Analyses were implemented in Python using scikit-learn; per-class performance metrics with CIs, Grad-CAM localization results, validation-derived operating thresholds, and the analysis scripts used to generate the reported results are provided in .
Ethical Considerations
This study is a retrospective secondary analysis of publicly available, fully deidentified benchmark data and did not involve prospective recruitment, intervention, interaction with participants, or collection of new patient data. No additional ethical review or consent was sought for this secondary analysis. University of Helsinki guidance states that ethical review should be requested for research designs involving human participants when the applicable review criteria are met []. The original dataset publications should be consulted for the ethics and consent procedures governing the primary data collections. All images were deidentified at the source, no protected health information was accessed or stored, and no participant compensation was applicable.
No item-level missing data were present in the analyzed variables: the NIH ChestX-ray14 release provides a label for each of the 14 findings on every image by construction, so no imputation or missing-data analysis was required.
Results
Training Convergence
The generalist converged over 15 epochs, achieving a best validation AUROC of 0.8343 at epoch 11 (epoch 15: 0.8315). The official test AUROC was 0.8094, consistent with a known difficulty increase from the official split relative to randomly constructed splits []. Training required approximately 14 hours on an NVIDIA A100.
Per-Class AUROC on the Official NIH Test Split
and present per-class AUROC for all 14 findings on the official test split (n=25,596), with positive counts, tier assignments, and Wang et al [] baseline values. Mean AUROC was 0.8094 (SD 0.0711), with individual findings ranging from 0.6995 (Infiltration) to 0.9124 (Hernia), a span of 0.2129 AUROC points. The model exceeded the Wang et al [] baseline for all 14 findings. Representative receiver operating characteristic curves for one finding from each discrimination tier are shown in .
| Finding | AUROC (this work) | Positive count, n | Tier | Wang et al [] |
| Hernia | 0.9124 | 86 | Tier 1 (≥0.84) | 0.8717 |
| Emphysema | 0.9103 | 1093 | Tier 1 (≥0.84) | 0.8330 |
| Cardiomegaly | 0.8902 | 1069 | Tier 1 (≥0.84) | 0.8100 |
| Pneumothorax | 0.8594 | 2665 | Tier 1 (≥0.84) | 0.7993 |
| Edema | 0.8461 | 925 | Tier 1 (≥0.84) | 0.8052 |
| Mass | 0.8256 | 1748 | Tier 2 (0.75‐0.84) | 0.6933 |
| Effusion | 0.8253 | 4658 | Tier 2 (0.75‐0.84) | 0.7585 |
| Fibrosis | 0.8249 | 435 | Tier 2 (0.75‐0.84) | 0.7859 |
| Pleural Thickening | 0.7745 | 1143 | Tier 2 (0.75‐0.84) | 0.6835 |
| Atelectasis | 0.7607 | 3279 | Tier 2 (0.75‐0.84) | 0.7003 |
| Nodule | 0.7496 | 1623 | Tier 3 (<0.75) | 0.6687 |
| Consolidation | 0.7450 | 1815 | Tier 3 (<0.75) | 0.7032 |
| Pneumonia | 0.7077 | 555 | Tier 3 (<0.75) | 0.6580 |
| Infiltration | 0.6995 | 6112 | Tier 3 (<0.75) | 0.6614 |
| Mean (SD) | 0.8094 (0.0711) | — | — | ~0.745 (estimate) |
aWang et al [] values are included for context; architectural and split differences preclude direct comparison.
bNot applicable.


Because AUROC can overstate performance for the heavily imbalanced NIH findings, we additionally report AUPRC and operating-point metrics (). The macro-mean AUPRC was 0.280 (SD 0.136), substantially below the 0.809 macro-mean AUROC, quantifying the difference between ranking performance and precision under class imbalance; the effect is starkest for lower-prevalence findings (Pneumonia AUPRC 0.052; Fibrosis 0.100; Consolidation 0.157). At sensitivity-first thresholds set on the validation split, the model reached a macro-mean test sensitivity of 0.918 at a macro-mean specificity of 0.439 (SD 0.201), the expected trade-off for a screening operating point that prioritizes sensitivity. Positive predictive values are correspondingly low for rare findings (Pneumonia 0.026; Fibrosis 0.031; Hernia 0.030), reflecting the interaction of low prevalence and the sensitivity-first operating point; at low prevalence, even a sensitive screen can surface many false positives per true positive. This operating profile may be compatible with a radiologist-reviewed preread workflow but is not suitable for autonomous decision-making. CIs are tight for common findings and wide for rare ones, most notably Hernia (86 test positives), consistent with the expected instability of rare-finding estimates.
| Finding | Positive, n | Threshold | AUROC (95% CI) | AUPRC (95% CI) | Sensitivity (95% CI) | Specificity (95% CI) | PPV (95% CI) |
| Emphysema | 1093 | 0.041 | 0.910 (0.901‐0.919) | 0.404 (0.373‐0.438) | 0.963 (0.952‐0.974) | 0.521 (0.514‐0.527) | 0.082 (0.078‐0.087) |
| Hernia | 86 | 0.011 | 0.912 (0.871‐0.949) | 0.378 (0.265‐0.505) | 0.733 (0.632‐0.820) | 0.920 (0.917‐0.924) | 0.030 (0.023‐0.038) |
| Cardiomegaly | 1069 | 0.217 | 0.890 (0.880‐0.900) | 0.344 (0.316‐0.376) | 0.896 (0.877‐0.915) | 0.679 (0.674‐0.685) | 0.109 (0.102‐0.115) |
| Pneumothorax | 2665 | 0.123 | 0.859 (0.852‐0.866) | 0.400 (0.382‐0.419) | 0.964 (0.957‐0.971) | 0.408 (0.401‐0.414) | 0.159 (0.154‐0.164) |
| Edema | 925 | 0.251 | 0.846 (0.835‐0.857) | 0.171 (0.151‐0.192) | 0.911 (0.892‐0.929) | 0.602 (0.596‐0.608) | 0.079 (0.073‐0.084) |
| Mass | 1748 | 0.193 | 0.826 (0.815‐0.835) | 0.315 (0.294‐0.339) | 0.946 (0.935‐0.957) | 0.350 (0.343‐0.355) | 0.096 (0.092‐0.100) |
| Effusion | 4658 | 0.428 | 0.825 (0.819‐0.831) | 0.503 (0.488‐0.517) | 0.930 (0.923‐0.937) | 0.481 (0.474‐0.488) | 0.285 (0.278‐0.292) |
| Fibrosis | 435 | 0.150 | 0.825 (0.806‐0.843) | 0.100 (0.081‐0.125) | 0.894 (0.862‐0.922) | 0.522 (0.516‐0.528) | 0.031 (0.028‐0.034) |
| Pleural Thickening | 1143 | 0.179 | 0.774 (0.761‐0.787) | 0.150 (0.137‐0.167) | 0.948 (0.934‐0.959) | 0.298 (0.292‐0.303) | 0.059 (0.056‐0.063) |
| Atelectasis | 3279 | 0.429 | 0.761 (0.752‐0.769) | 0.328 (0.313‐0.344) | 0.918 (0.908‐0.926) | 0.378 (0.371‐0.384) | 0.178 (0.172‐0.183) |
| Nodule | 1623 | 0.220 | 0.750 (0.737‐0.762) | 0.216 (0.198‐0.237) | 0.904 (0.890‐0.918) | 0.333 (0.327‐0.340) | 0.084 (0.080‐0.088) |
| Consolidation | 1815 | 0.387 | 0.745 (0.735‐0.755) | 0.157 (0.146‐0.170) | 0.966 (0.958‐0.974) | 0.254 (0.248‐0.259) | 0.090 (0.086‐0.094) |
| Pneumonia | 555 | 0.033 | 0.708 (0.685‐0.730) | 0.052 (0.045‐0.063) | 0.932 (0.910‐0.952) | 0.232 (0.226‐0.237) | 0.026 (0.024‐0.028) |
| Infiltration | 6112 | 0.359 | 0.700 (0.692‐0.707) | 0.394 (0.382‐0.406) | 0.953 (0.948‐0.958) | 0.168 (0.162‐0.173) | 0.264 (0.258‐0.270) |
| Macro mean (SD) | — | — | 0.809 (0.071) | 0.280 (0.136) | 0.918 (0.059) | 0.439 (0.201) | 0.112 (0.082) |
aArea under the receiver operating characteristic curve (AUROC) and area under the precision-recall curve (AUPRC) are threshold-independent. Sensitivity, specificity, and positive predictive value are reported at per-class sensitivity-first thresholds set on a held-out validation split (0.90 target); 95% CIs from 1000-iteration bootstrap resampling.
bPPV: positive predictive value.
cHernia has only 86 test positives and 14 validation positives, making threshold selection and sensitivity estimates uncertain. At the validation-derived threshold, test sensitivity was 0.733 (95% CI 0.632–0.820); these results should be interpreted with caution
dNot applicable.
Specialist Generalization Analysis
summarizes the exploratory adult-transfer analysis. The eRes-NET, specialist in its deployed 64 × 64, form achieved an AUROC of 0.5354 on the NIH adult cohort (near-random). A post hoc fusion sweep on the same test split produced a nominal best point at w of 0.05 (AUROC 0.7091 vs 0.7077 for the generalist alone; Δ=0.0014). Because the sweep was conducted on the test set, it is not used to claim a validated fusion improvement; the primary adult pneumonia result is the generalist-alone estimate ().
| Configuration | Pneumonia AUROC | Notes |
| NIH generalist alone | 0.7077 | Primary operating point |
| eRes-NET specialist (64 × 64 deployed form) | 0.5354 | Near-random; preprocessing mismatch or adult non-transfer |
| Fusion w=0.05 | 0.7091 | Best fusion point; Δ<noise floor |
| Fusion w=0.50 | 0.6523 | AUROC declines with specialist weighting |
| Fusion w=1.00 (specialist only) | 0.5354 | Equivalent to specialist alone |
aThe weight sweep is descriptive because it was performed on the test split.

Grad-CAM Localization
shows 6 ground-truth-positive test cases spanning the 3 discrimination tiers. Five examples—Pneumothorax, Emphysema, Effusion, Pneumonia, and Infiltration—are above their validation-derived per-class operating thresholds. The Cardiomegaly example is deliberately retained as a failure case: its temperature-scaled score is 0.02, below the Cardiomegaly threshold of 0.2169, so it would not be surfaced as a positive finding by the runtime workflow. Its Grad-CAM map was generated offline for error analysis and shows activation concentrated away from the cardiac silhouette, illustrating that an attribution map cannot rescue a missed detection.

Among the above-threshold examples, Pneumothorax and Emphysema produced relatively focused regional activations, whereas Effusion, Pneumonia, and Infiltration were broader and more context-dependent. The Cardiomegaly failure example is intentionally discordant with the class-level localization average reported below: although Cardiomegaly has high mean IoU across the annotated cohort, this individual image shows a low score and misleading attention. This instance-level failure reinforces that Grad-CAM provides coarse attention evidence rather than validated lesion localization and that aggregate localization performance does not guarantee correctness for a given case.
To move beyond qualitative inspection, we quantified localization against all 984 NIH hand-drawn bounding boxes, spanning the 8 findings for which the NIH provides annotations. Grad-CAM attention was binarized at the top 20% of per-map activation (a threshold fixed a priori) and compared with the annotated box by IoU. Overall mean IoU was 0.220 (median 0.136), with 55.4% (n=545) of the boxes reaching at least an IoU of 0.10. Localization was strongly finding-dependent: Cardiomegaly, a large central structure, reached a mean IoU of 0.653, whereas Nodule, whose lesions are frequently subcentimeter, reached only 0.019, at the floor imposed by the 7 × 7 spatial resolution of gradient attribution in DenseNet-121. These values are consistent with prior weak-localization results on this dataset and confirm that the maps provide coarse regional evidence of what the model attends to rather than lesion-level delineation, which is precisely how the prototype labels and uses them (“AI attention region,” not “finding location”). NIH ChestX-ray14 does not provide bounding-box annotations for the other six findings (Emphysema, Fibrosis, Edema, Consolidation, Pleural Thickening, Hernia), so quantitative localization could not be assessed for those classes ().
| Finding | Boxes, n | Mean IoU |
| Cardiomegaly | 146 | 0.653 |
| Pneumonia | 120 | 0.214 |
| Infiltration | 123 | 0.211 |
| Effusion | 153 | 0.174 |
| Mass | 85 | 0.136 |
| Pneumothorax | 98 | 0.112 |
| Atelectasis | 180 | 0.103 |
| Nodule | 79 | 0.019 |
| Overall | 984 | 0.220 (median 0.136) |
aAttention maps were binarized at the top 20% of activation. IoU=intersection over union with the annotated box; overall hit rate at IoU ≥0.10 was 0.554.
bIoU: intersection over union.
Calibration
Per-class temperature scaling parameters ranged from T of 0.76 (Hernia) to T of 1.72 (Consolidation). reports ECE and Brier score before and after scaling. Macro-averaged Brier score decreased modestly (0.188-0.181); macro-averaged ECE was unchanged (0.274-0.274), and ECE increased for 6 of 14 findings after scaling. Calibration error remained substantial for Consolidation (ECE 0.472 post), Atelectasis (0.376), and Pleural Thickening (0.354). Postscaling Brier scores exceeded the prevalence-only reference p(1−p) for every finding, showing that the scaled scores did not outperform a constant prevalence predictor under Brier loss; the reliability diagrams in additionally show overprediction across the representative findings.
| Finding | T | ECE pre | ECE post | Brier pre | Brier post |
| Atelectasis | 1.50 | 0.381 | 0.376 | 0.273 | 0.253 |
| Cardiomegaly | 1.32 | 0.171 | 0.189 | 0.115 | 0.112 |
| Consolidation | 1.72 | 0.492 | 0.472 | 0.354 | 0.304 |
| Edema | 1.26 | 0.247 | 0.256 | 0.172 | 0.164 |
| Effusion | 1.27 | 0.326 | 0.323 | 0.249 | 0.238 |
| Emphysema | 1.08 | 0.148 | 0.152 | 0.103 | 0.102 |
| Fibrosis | 1.17 | 0.210 | 0.223 | 0.117 | 0.117 |
| Hernia | 0.76 | 0.013 | 0.008 | 0.006 | 0.006 |
| Infiltration | 1.13 | 0.336 | 0.330 | 0.285 | 0.278 |
| Mass | 1.09 | 0.317 | 0.322 | 0.202 | 0.200 |
| Nodule | 0.83 | 0.331 | 0.318 | 0.191 | 0.192 |
| Pleural Thickening | 1.19 | 0.347 | 0.354 | 0.226 | 0.219 |
| Pneumonia | 0.89 | 0.270 | 0.263 | 0.161 | 0.163 |
| Pneumothorax | 0.99 | 0.254 | 0.254 | 0.181 | 0.182 |
| Macro-average | — | 0.274 | 0.274 | 0.188 | 0.181 |
aAUROC is unchanged by temperature scaling.
bNot applicable.

This residual miscalibration reflects the interaction between per-class positive weighting during training, which optimizes discrimination at the expense of probability calibration, and the severe class imbalance of NIH CXR14; a single per-class scalar cannot fully correct the resulting output shift. Temperature-scaled scores should be used for ranking and thresholding at the per-class operating points, not read as absolute probabilities. The prototype interface presents them as model scores, with the AUROC-based tier badge providing class-level benchmark context.
Discussion
This section first summarizes the main findings against the objectives stated in the Introduction section. The How the Output Is Designed for Radiologist Review, How Performance Heterogeneity Is Communicated to Users, and Why This System Is Not Stand-Alone Diagnosis sections then interpret the findings in relation to prior work and the intended radiologist-facing use; the Limitations section states the limitations; the Planned Formative Evaluation section outlines the planned formative evaluation; and the Conclusions section concludes with the broader implications.
Preliminary Validation Performance
At 0.8094 (SD 0.0711) mean AUROC on the official split, the model sits within the band of recent DenseNet reproductions and exceeds the Wang et al (2017) baseline for all 14 findings. The most common comparison is CheXNet’s reported 0.841 AUROC, but that figure was obtained on a different and arguably easier split, and groups working under official-split conditions have not reproduced it []. We therefore do not claim superiority over CheXNet. The narrower claim is that the prototype achieves competitive preliminary benchmark performance while documenting the provenance and reuse constraints that would need to be resolved for downstream translation.
The per-class heterogeneity is more informative than the headline mean. The 5 tier 1 findings have comparatively strong benchmark discrimination, while the 4 tier 3 findings (Infiltration, Pneumonia, Consolidation, Nodule) are the weakest performers. This pattern may partly reflect dataset label limitations as well as model limitations. NIH CXR14 derives these labels from report text rather than image-level adjudication, so the annotations inherit linguistic ambiguity and other imperfections of report-derived labels [,]; comparable large-scale CXR datasets likewise require explicit handling of uncertainty in report-derived labels [,]. Reporting the tier structure explicitly, rather than collapsing it into a single mean AUROC, gives a clearer account of where benchmark discrimination is stronger or weaker.
How the Output Is Designed for Radiologist Review
The workflow was guided by a single principle: every output element must either support the radiologist’s judgment or explicitly mark its own limits, and none may substitute for that judgment. Four design choices follow from it.
The output is presented as a preread aid rather than a diagnosis. The per-finding table provides the radiologist with temperature-scaled scores, tier badges, and Grad-CAM thumbnails as evidence to evaluate, functioning more like an assistant that has flagged items of interest before the formal read than a system that has completed it. The “AI-generated, pending review” label is displayed prominently and cannot be dismissed; it changes only when the radiologist finalizes the report.
The Grad-CAM overlays are evidence of where the model attended, not boundaries drawn around findings. The interface deliberately labels them “AI attention region” rather than “finding location” because a 7 × 7 attribution map for DenseNet-121 cannot support lesion-level delineation. For Tier 3 findings, a short note reminds the reader that a diffuse map should not be interpreted as precise lesion localization.
The radiologist review panel is the terminal step of the workflow, not an optional annotation layer. Every path to a PDF passes through it: the report is exported either as “AI-generated, pending review” or as a version edited and finalized by the radiologist. No route to a signed-off report bypasses the human read.
The disclaimer is not boilerplate. In plain language, it tells the clinical user that the AI output is a screening signal rather than a diagnosis, that tier 3 findings carry known label-noise uncertainty, that temperature-scaled scores are not calibrated clinical risk estimates, and that radiologist review and countersignature are required. Each statement traces back to a specific limitation measured in the Results section, not to a generic line of AI caution.
How Performance Heterogeneity Is Communicated to Users
The performance-context mechanism evaluated in this study operates at the class level through the tier badge. A green badge (tier 1) communicates higher benchmark discrimination for that finding, an amber badge (tier 2) signals moderate benchmark discrimination requiring standard clinical correlation, and a red badge (tier 3) flags lower benchmark discrimination and label-noise concerns. This class-level framing makes performance heterogeneity visible to the user at the point of output rather than burying it in a methods section.
Instance-level uncertainty estimation, including test-time-augmentation approaches, is outside the scope of the present study and is not included as an evaluated or interpreted output. The evaluated output mechanism in this study is limited to the per-class discrimination-tier context described above.
This per-class mechanism operationalizes the principle that heterogeneity in benchmark performance should be visible at the output stage in a form that is interpretable to the clinical user. A radiologist who sees a tier 1 Pneumothorax flag can inspect the Grad-CAM overlay as supporting model evidence, whereas a tier 3 Infiltration flag is explicitly framed as a lower-discrimination prompt for careful review rather than evidence that an infiltrate has been identified.
Why This System Is Not Stand-Alone Diagnosis
Four considerations place this prototype outside the scope of stand-alone diagnosis, and each is grounded in the results of the Results section rather than in precautionary language alone.
First, the model was trained and evaluated on a single-institution US dataset (NIH Clinical Center). Cross-site generalization failures of CXR models are well documented [], and performance on images from Finnish, Indian, or other non-NIH-equivalent populations has not been validated. The risk is concrete: a model achieving 0.89 AUROC in the source population may fall to near-random performance on images acquired under a different protocol. Prospective validation on local equipment and patient populations is required before any clinical use.
The second concern is calibration. Temperature scaling did not resolve it: the reliability diagrams show systematic overprediction at high temperature-scaled model scores (), and calibration error remains substantial for several findings. Interpreting a temperature-scaled model score as a clinical posterior risk would constitute a direct misuse of the output.
The third concern applies to the Grad-CAM maps. Quantitative IoU against available NIH bounding boxes shows only coarse and highly finding-dependent regional agreement (overall mean IoU of 0.220), and the maps have not been independently evaluated in a blinded radiologist localization study. A systematic divergence between a heatmap and a radiologist’s interpretation therefore remains possible and must be assessed prospectively before clinical use.
The fourth concern is illustrated directly by the specialist result. eRes-NET scored 0.535 on NIH adults, demonstrating that performance established in one population provides little assurance for another. The same caveat applies to the generalist for any population outside the NIH CXR14 distribution.
None of these points argues against the prototype. They define the gaps that prospective formative evaluation must address before the system can approach clinical deployment.
Limitations
The following limitations are documented and acknowledged as boundaries on the current evidence base:
- Two design choices—the discrimination-tier boundaries and the specialist fusion weight—were determined using official-test-split AUROC. Because these choices were informed by the same split used for final evaluation, the tier assignments and the fusion decision should be read as descriptive of this benchmark rather than prospectively validated, and the corresponding estimates are optimistic. Model checkpoint selection and temperature calibration, by contrast, used only the held-out validation carve-out, and the sensitivity-first operating-point thresholds reported in were likewise set on validation, not on the test split. Fixing the tier boundaries and fusion weight on an independent validation set, with a held-out split reserved for final evaluation, is part of the planned prospective validation.
- Grad-CAM localization is coarse. Quantitative IoU against the NIH bounding-box subset (984 boxes across 8 annotated findings) averaged 0.220 overall, with near-zero agreement for small lesions such as nodules (0.019). These annotations do not substitute for a blinded radiologist assessment. The maps therefore provide regional attention evidence, not clinical localization accuracy or lesion-level delineation, and a blinded multireader localization study with higher-resolution attribution remains necessary before clinical interpretation.
- All training and evaluation data originate from a single US institution (NIH Clinical Center) acquired across a range of imaging systems over multiple decades. Performance in Finnish and other target populations has not been assessed. Cross-site generalization validation is required before deployment.
- NIH CXR14 label quality for several findings is structurally imperfect, and the AUROC ceiling for tier 3 findings may reflect dataset limitations rather than fundamental model constraints. This uncertainty cannot be resolved without higher-quality annotated data.
- The pediatric eRes-NET specialist is excluded from the primary adult pipeline in this study. The test-split fusion sweep is exploratory and cannot establish a validated fusion weight; independent adult validation is required before specialist integration can be considered.
- The system has not been evaluated with radiologist users in a formative study. User acceptance, workflow integration, and calibration of appropriate reliance are unknown.
Although NIH ChestX-ray14 images permit unrestricted use with attribution, the DenseNet-121 was initialized from torchvision ImageNet-1K pretrained weights. Torchvision cautions that pretrained weights may carry dataset-derived terms, and ImageNet data access is restricted to noncommercial research and education [,]. We therefore do not claim that the present initialized model is cleared for unrestricted commercial use; a formal licensing review or retraining from a commercially compatible initialization is required before commercialization.
Planned Formative Evaluation
The following formative evaluation steps are planned and constitute the primary future work required before clinical deployment. This paper reports the model development and preliminary validation phase; the formative phase is described here to bound the claims made above and to provide a transparent research roadmap.
- Prospective local validation study (planned, Helsinki University Hospital, or equivalent Finnish institution). A minimum of 500 deidentified frontal CXR images from Finnish patients will be evaluated under local ethics approval. Primary outcomes are as follows: per-class AUROC on the local dataset, with confidence intervals; calibration comparison between NIH-trained model outputs and local population reference probabilities. This will characterize the cross-site generalization behavior on the target deployment population.
- Radiologist usability study (planned, 2-5 Finnish radiologists). A structured think-aloud protocol will evaluate (1) whether the tier badge system is interpreted correctly by radiologists unfamiliar with the system, (2) whether Grad-CAM overlays improve or impair correct identification of the model’s flagged region, (3) whether the review panel introduces acceptable or unacceptable workflow friction, and (4) whether the disclaimers are read and understood as intended. Outcomes are as follows: task completion rate, time-to-review, self-rated confidence with and without AI assistance, and error analysis on a subset of known challenging cases.
- Accuracy comparison study (planned). Radiologist-alone versus AI-assisted (radiologist + prototype) performance on a fixed set of CXR images with confirmed ground truth (expert consensus or biopsy-confirmed findings where available). Primary outcome is as follows: difference in sensitivity for tier 1 findings. Secondary outcomes are as follows: false positive rate and report completion time.
- Licensing and regulatory readiness review (planned). A structured gap analysis against MDR 2017/745 Annex I and the EU AI Act transparency requirements will be conducted alongside a component-level licensing review. This will include the NIH data terms, the provenance and terms applicable to model initialization, software dependencies, and any third-party components. No Conformité Européenne marking or conformity assessment has been undertaken in the present study.
- Adult eRes-NET validation (planned, contingent on pipeline completion). The full-resolution 600 × 600 eRes-NET preprocessing and patch pipeline will be validated on an independent adult CXR dataset with confirmed pneumonia ground truth to resolve the near-random transfer observed in the Specialist Generalization Analysis section and determine whether specialist integration is feasible for adult pneumonia classification.
The formative evaluation plan is described at this level of detail to make explicit that the current paper constitutes a model-development and prototype-documentation report, not a clinical validation study. The roadmap above defines the validation, usability, calibration, licensing, and regulatory work that must be completed before clinical claims would be appropriate.
Conclusions
This paper presents the design and preliminary validation of a CXR AI prototype that integrates benchmark classification, per-class discrimination tiering, regional Grad-CAM attribution, explicit data or model provenance, and a radiologist review workflow. The NIH-trained DenseNet-121 generalist achieved a mean AUROC of 0.8094 (SD 0.0711) and macro-mean AUPRC of 0.280 (SD 0.136) on the official test split. Grad-CAM localization showed coarse, finding-dependent agreement with available bounding-box annotations (mean IoU of 0.220), and calibration remained imperfect after temperature scaling.
The 9-step workflow is explicitly designed as a radiologist-reviewed preread aid rather than a stand-alone diagnostic system. The tier badge communicates class-level benchmark discrimination, the Grad-CAM overlay provides limited regional attention evidence, and the review panel requires human engagement before a finalized report can be produced. No instance-level uncertainty score is claimed or evaluated in this study.
The current evidence is limited to a single public benchmark, and 2 descriptive design choices (tier boundaries and the exploratory specialist fusion sweep) were informed by the test split. In addition, the ImageNet-pretrained initialization requires separate licensing assessment. The planned formative evaluation in the Planned Formative Evaluation section therefore includes independent local validation, radiologist usability and accuracy studies, calibration work, and licensing or regulatory review. These steps are prerequisites for any clinical deployment claim.
Generative AI Use
The author used ChatGPT (OpenAI) for language polishing and drafting assistance during manuscript revision. All scientific content, code, analyses, outputs, and reported results were reviewed and verified by the author, who takes full responsibility for the manuscript.
Funding
Computational resources were provided by the CSC-IT Center for Science, Finland.
Data Availability
National Institutes of Health (NIH) ChestX-ray14 is publicly available from the NIH Clinical Center repository []. The Kermany et al [] pediatric chest X-ray dataset is available from Mendeley Data. The training code used for this study is available in a public GitHub repository [].
Authors' Contributions
Conceptualization: JB
Formal analysis: JB
Methodology: JB
Software: JB
Writing of the original draft, and review and editing: JB
The author has read and approved the final manuscript.
Conflicts of Interest
The author is a doctoral researcher at the University of Helsinki and is the founder and developer of a medical imaging AI venture that may incorporate the framework described in this paper. This commercial interest is disclosed in the interest of full transparency. The research methodology, datasets, and results are independent of any commercial deployment and rely exclusively on publicly available data.
Multimedia Appendix 1
Reproducibility appendix containing per-class performance metrics with CIs, gradient-weighted class activation mapping localization results, validation-derived operating thresholds, and the analysis scripts used to generate all reported results.
ZIP File, 14 KBReferences
- Franquet T. Imaging of pulmonary viral pneumonia. Radiology. Jul 2011;260(1):18-39. [CrossRef] [Medline]
- Chest radiography in tuberculosis detection: summary of current WHO recommendations and guidance on programmatic approaches. World Health Organization; 2016. URL: https://iris.who.int/server/api/core/bitstreams/e38c436f-c74e-42ec-a599-c001ac759606/content [Accessed 2026-08-25]
- Rajpurkar P, Irvin J, Zhu K, Yang B, Mehta H, Duan T, et al. CheXNet: radiologist-level pneumonia detection on chest x-rays with deep learning. arXiv. Preprint posted online on Nov 14, 2017. [CrossRef]
- Char DS, Shah NH, Magnus D. Implementing machine learning in health care—addressing ethical challenges. N Engl J Med. Mar 15, 2018;378(11):981-983. [CrossRef] [Medline]
- Reyes M, Meier R, Pereira S, et al. On the interpretability of artificial intelligence in radiology: challenges and opportunities. Radiol Artif Intell. May 27, 2020;2(3):e190043. [CrossRef] [Medline]
- Regulation (EU) 2024/1689 of the European Parliament and of the Council of 13 June 2024 laying down harmonised rules on artificial intelligence and amending Regulations (EC) No 300/2008, (EU) No 167/2013, (EU) No 168/2013, (EU) 2018/858, (EU) 2018/1139 and (EU) 2019/2144 and Directives 2014/90/EU, (EU) 2016/797 and (EU) 2020/1828 (Artificial Intelligence Act). European Union; Jul 12, 2024. URL: https://eur-lex.europa.eu/eli/reg/2024/1689/oj [Accessed 2026-08-25]
- Wang X, Peng Y, Lu L, Lu Z, Bagheri M, Summers RM. ChestX-ray8: hospital-scale chest x-ray database and benchmarks on weakly-supervised classification and localization of common thorax diseases. IEEE Conf Comput Vis Pattern Recognit. 2017:3462-3471. [CrossRef]
- Models and pre-trained weights. PyTorch. URL: https://docs.pytorch.org/vision/stable/models.html [Accessed 2026-08-13]
- Stanford Vision Lab, Stanford University and Princeton University. Terms of access. ImageNet. URL: https://image-net.org/accessagreement [Accessed 2026-08-13]
- Selvaraju RR, Cogswell M, Das A, Vedantam R, Parikh D, Batra D. Grad-CAM: visual explanations from deep networks via gradient-based localization. IEEE Int Conf Comput Vis. 2017:618-626. [CrossRef]
- Baltruschat IM, Nickisch H, Grass M, Knopp T, Saalbach A. Comparison of deep learning approaches for multi-label chest X-ray classification. Sci Rep. Apr 23, 2019;9(1):6381. [CrossRef] [Medline]
- Cohen JP, Viviano JD, Bertin P, Morrison P, Torabian P, Guarrera M, et al. TorchXRayVision: a library of chest x-ray datasets and models. Presented at: Proceedings of the 5th International Conference on Medical Imaging with Deep Learning (MIDL); Jul 6-8, 2022:231-249; Zurich, Switzerland. URL: https://proceedings.mlr.press/v172/cohen22a/cohen22a.pdf [Accessed 2026-08-25]
- Lundberg SM, Lee SI. A unified approach to interpreting model predictions. In: Luxburg UV, Guyon I, Bengio S, Wallach H, Fergus R, editors. Advances in Neural Information Processing Systems 30 (NeurIPS 2017). Curran Associates; 2017:4765-4774. URL: https://dl.acm.org/doi/10.5555/3295222.3295230 [Accessed 2026-08-25]
- Dosovitskiy A, Beyer L, Kolesnikov A, Weissenborn D, Zhai X, Unterthiner T, et al. An image is worth 16x16 words: transformers for image recognition at scale. Presented at: Proceedings of the 9th International Conference on Learning Representations (ICLR); May 3-7, 2021. URL: https://openreview.net/pdf?id=YicbFdNTTy [Accessed 2026-08-25]
- Leibig C, Allken V, Ayhan MS, Berens P, Wahl S. Leveraging uncertainty information from deep neural networks for disease detection. Sci Rep. Dec 19, 2017;7(1):17816. [CrossRef] [Medline]
- Barman J, Giri AK. Ensemble localized patch residual convolution neural networks for pneumonia detection using chest X-ray. BMC Med Inform Decis Mak. Apr 27, 2026;26(1):213. [CrossRef] [Medline]
- Kermany DS, Goldbaum M, Cai W, et al. Identifying medical diagnoses and treatable diseases by image-based deep learning. Cell. Feb 22, 2018;172(5):1122-1131. [CrossRef] [Medline]
- Huang G, Liu Z, Van Der Maaten L, Weinberger KQ. Densely connected convolutional networks. Proc IEEE Conf Comput Vis Pattern Recognit. 2017:2261-2269. [CrossRef]
- Ethical review of research on humans. University of Helsinki. URL: https://www.helsinki.fi/en/research/services-researchers/ethical-review-research/humanities-social-sciences-and-behavioural-sciences [Accessed 2026-08-16]
- Oakden-Rayner L. Exploring large-scale public medical image datasets. Acad Radiol. Jan 2020;27(1):106-112. [CrossRef] [Medline]
- Irvin J, Rajpurkar P, Ko M, et al. CheXpert: a large chest radiograph dataset with uncertainty labels and expert comparison. AAAI. 2019;33(1):590-597. [CrossRef]
- Peng Y, Wang X, Lu L, Bagheri M, Summers R, Lu Z. NegBio: a high-performance tool for negation and uncertainty detection in radiology reports. AMIA Jt Summits Transl Sci Proc. 2018;2017:188-196. [Medline]
- Zech JR, Badgeley MA, Liu M, Costa AB, Titano JJ, Oermann EK. Variable generalization performance of a deep learning model to detect pneumonia in chest radiographs: a cross-sectional study. PLoS Med. Nov 2018;15(11):e1002683. [CrossRef] [Medline]
- Barman J. jyotidiplearning99/CXR_Ensemble_model. GitHub. URL: https://github.com/jyotidiplearning99/CXR_Ensemble_Model [Accessed 2026-08-25]
Abbreviations
| AUPRC: area under the precision-recall curve |
| AUROC: area under the receiver operating characteristic curve |
| CXR: chest X-ray |
| DICOM: Digital Imaging and Communications in Medicine |
| ECE: expected calibration error |
| EU: European Union |
| Grad-CAM: gradient-weighted class activation mapping |
| IoU: intersection over union |
| NIH: National Institutes of Health |
Edited by Amaryllis Mavragani; submitted 15.Jun.2026; peer-reviewed by Tanachapong Wangkhamhan; comments to author 06.Aug.2026; final revised version received 17.Aug.2026; accepted 17.Aug.2026; published 02.Dec.2026.
Copyright© Jyotidip Barman. Originally published in JMIR Formative Research (https://formative.jmir.org), 2.Dec.2026.
This is an open-access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in JMIR Formative Research, is properly cited. The complete bibliographic information, a link to the original publication on https://formative.jmir.org, as well as this copyright and license information must be included.

