Engineering Nabd Masr: Reaching 94.99% Mean AUROC on 14-Pathology Clinical Chest X-Rays with RAD-DINO & Platt Calibration Engineer Nadeem Mohamed Badr El-Din and NBrain built Nabd Masr, a 14-pathology chest X-ray triage system for hospitals in Egypt and MENA, reporting 94.99% mean AUROC on a held-out VinDr-CXR test set of 1,463 radiologist-adjudicated scans and 86.86% macro AUROC across 50,525 held-out clinical scans. The system pairs a RAD-DINO vision backbone with per-pathology Platt/temperature calibration fitted on a disjoint split, and reaches 87.52% conditional pointing-game localization accuracy against ground-truth bounding boxes. The research monograph is archived on Zenodo under DOI 10.5281/zenodo.24861741. Nabd Masr Nadeem CXR V8 SOTA , engineered by Eng. Nadeem Mohamed Badr El-Din nadeembadr.com https://nadeembadr.com/about/ ยท ORCID 0009-0005-5836-2631 https://orcid.org/0009-0005-5836-2631 and NBrain nbra.in https://nbra.in/brand , is a calibrated, explainable 14-pathology clinical Chest X-Ray AI system designed for hospital radiology triage in Egypt and MENA. Evaluated under strict held-out clinical protocols, Nabd Masr achieves 94.99% Mean AUROC on VinDr-CXR n=1,463 , 86.86% Macro AUROC across 50,525 held-out clinical scans , and 87.52% conditional pointing-game localization accuracy . The research monograph is archived under CERN Zenodo DOI 10.5281/zenodo.24861741 https://doi.org/10.5281/zenodo.24861741 and was spotlighted by the Egyptian Cabinet Education Development Fund and Ministry of Health. Most open-source Chest X-Ray demos stop after printing a single validation AUROC score. In real clinical deployment across high-volume Egyptian and Gulf hospitals, three failure modes immediately break naive classifiers: 0.82 from a deep vision backbone rarely corresponds to an 82% true clinical risk, misleading triage queues. | Metric | Verified Result | Validation Scope | |---|---|---| | VinDr-CXR Mean AUROC | 94.99% | Held-out test set n=1,463 , radiologist-adjudicated | | Cross-Cohort Macro AUROC | 86.86% | 50,525 held-out multi-cohort scans | | Anatomical Pointing-Game | 87.52% | Conditional localization against ground-truth bounding boxes | | Vision Backbone | RAD-DINO 518px | High-resolution medical ViT + Spatial Attention head | | Calibration Layer | Per-Pathology Platt / Temp Scaling | Expected Calibration Error ECE minimized per class | | Permanent Research DOI | CERN Zenodo | doi.org/10.5281/zenodo.24861741 https://doi.org/10.5281/zenodo.24861741 | Instead of applying a single global threshold across all 14 thoracic pathologies where Pneumothorax requires high sensitivity while Cardiomegaly tolerates balanced operating points , Nabd Masr fits per-class temperature/Platt parameters on a strictly disjoint calibration split: python import torch import torch.nn as nn class PerClassPlattCalibrator nn.Module : """Per-pathology logit calibration for multi-label clinical CXR triage.""" def init self, num classes: int = 14 - None: super . init self.scale = nn.Parameter torch.ones num classes self.bias = nn.Parameter torch.zeros num classes def forward self, logits: torch.Tensor - torch.Tensor: return logits self.scale + self.bias def fit calibrator val logits: torch.Tensor, val targets: torch.Tensor, steps: int = 200, - PerClassPlattCalibrator: cal = PerClassPlattCalibrator val logits.shape 1 opt = torch.optim.LBFGS cal.parameters , lr=0.1, max iter=steps bce = nn.BCEWithLogitsLoss def closure - torch.Tensor: opt.zero grad loss = bce cal val logits , val targets.float loss.backward return loss opt.step closure return cal To prove the model looks at the actual lesion rather than scanner artifacts, every positive pathology heatmap is evaluated via the conditional pointing game : the peak pixel y , x of the spatial attention / Grad-CAM map must land inside the radiologist's ground-truth bounding box. Reaching 87.52% conditional pointing-game accuracy ensures radiologists receive trustworthy visual overlays alongside calibrated probabilities.