Dual-Branch Artificial Intelligence Enhances Forensic Sex Estimation from Adult Chest Radiographs - Bioengineer.org
High confidence: full text extraction produced 12341 characters.
A multidisciplinary research team from Cairo University has developed a multimodal deep learning framework that estimates biological sex from chest radiographs by combining image analysis with manually annotated anatomical landmarks. The retrospective investigation, conducted through a collaboration between the university’s Department of Forensic Medicine and Clinical Toxicology, Department of Diagnostic and Interventional Radiology, and Faculty of Computers and Artificial Intelligence, evaluated posteroanterior chest radiographs from 563 adult Egyptian patients who underwent imaging between August and December 2025. Across the entire external test cohort, the custom dual-branch model attained an overall diagnostic accuracy of 83 percent, a loss of 0.55, and an area under the receiver operating characteristic curve of 0.8776. When the predictive pipeline specifically incorporated structured landmark guidance, classification accuracy rose to 90 percent, compared to 71 percent when the model generated predictions without utilizing anatomical data.
Forensic sex estimation traditionally depends on subjective visual assessments and metric evaluations of sexually dimorphic skeletal structures, including the pelvis, skull, clavicles, ribs, and scapulae. Although manual assessments by experienced specialists achieve high accuracy, they remain time-consuming and heavily reliant on expert availability. While posteroanterior chest radiography is one of the most frequently administered diagnostic examinations globally due to its low cost, rapid acquisition, and clinical availability, conventional deep learning models applied to these radiographs have predominantly relied on purely image-based learning. Prior systems have typically processed radiographs as monolithic inputs without integrating explicit anatomical knowledge, leaving the precise relationship between extracted image features and human thoracic anatomy incompletely understood.
To train the underlying convolutional architecture, the investigators utilized a publicly available chest radiograph repository originally gathered by the Radiology and Diagnostic Imaging Society of São Paulo and retrieved from Kaggle. This primary training and validation dataset comprised adult radiographs ranging in age from 18 to 89 years, with a mean age of 50.65 years and a sex distribution of 58 percent female to 42 percent male. The Brazilian dataset was partitioned into an 80 percent training subset and a 20 percent validation subset. To expand generalization and prevent overfitting, data augmentation techniques including random zooming, rotation, brightness adjustment, and contrast variation were applied exclusively to the training subset, expanding the training bank from 8,561 to 17,122 images.
Independent evaluation was performed on a dedicated Egyptian clinical cohort consisting of 563 posteroanterior chest radiographs from patients aged 18 to 89 years, with females representing 57.5 percent (324 individuals) and males representing 42.5 percent (239 individuals). The age distribution was led by individuals aged 40 to 49 years (122 participants; 21 percent), followed by those aged 30 to 39 years (112 participants; 20 percent), with the 80 to 89 age bracket being the least represented (17 participants; 3 percent). The study protocol required adult patients with normal skeletal morphology and posteroanterior views capturing both lungs. The researchers explicitly excluded portable equipment radiographs, images failing to visualize both lungs entirely, and radiographs showing bone trauma, fractures, or pathological bone disorders. Crucially, no Egyptian patient samples were included during model training, and no manual annotations were applied to the test images during testing.
The engineering workflow extracted radiographic records via Digital Imaging and Communications in Medicine viewers into 3000 by 3000 pixel JPEG images, before resizing them to an input dimension of 128 by 128 pixels. Computational development was executed on a Windows 10 workstation housing an Intel Core i5 central processing unit and 8 gigabytes of random-access memory, remotely interfaced with Kaggle cloud environments utilizing 40 central processing unit nodes and 20 graphics processing unit nodes with Nvidia T4 graphics cards, 13 gigabytes of system memory, and 16 gigabytes of video memory. The pipeline was programmed in Python using the TensorFlow deep learning library, alongside NumPy, Pandas, OpenCV (cv2), Pathlib, Os, and Seaborn for data manipulation, file handling, and metric visualization.
The core deep convolutional neural network was constructed without transfer learning, operating two distinct parallel streams before feature fusion. The image-processing branch processed pixel inputs through residual convolutional blocks equipped with batch normalization, skip connections, max pooling, global average pooling, and fully connected layers. Operating in parallel, the anatomy branch accepted 45 numerical features derived from an anatomical landmark JSON file. These landmarks were established using a custom labeling tool where a senior radiologist marked key skeletal points on a template chest radiograph. Each rib was characterized by four coordinate points denoting the posterior end, upper lateral boundary, lower lateral boundary, and anterior end, accompanied by a curve-control parameter. Scapular markings captured the coracoid process, glenoid fossa, and inferior angle, while clavicular markings documented the medial and lateral extremities. These left-sided annotations were reflected horizontally to produce a bilateral symmetric template mask. Features from both streams were merged via concatenation and routed through fully connected layers with dropout regularization into a sigmoid classification output, optimized using binary cross-entropy loss and the Adam optimizer at a learning rate of 0.001 across 20 training epochs.
Detailed performance evaluations across the 563 Egyptian test cases revealed notable differences in class-wise predictive power. For female patients, the network achieved a precision of 0.79, a recall of 0.89, and an F1-score of 0.84, demonstrating that the model correctly identified 89 percent of all true female radiographs with balanced reliability. Conversely, male classifications showed a precision of 0.82, a recall of 0.68, and an F1-score of 0.75, indicating that the system identified 68 percent of true male samples while achieving high accuracy when predicting male sex. Across the entire cohort, the model registered a macro-average F1-score of 0.79, a weighted-average F1-score of 0.80, and a balanced accuracy of 0.786991. The false positive rate stood at 0.108, representing 10.8 percent of actual females misclassified as males, whereas the false negative rate reached 0.318, meaning 31.8 percent of actual males were incorrectly classified as females.
Analysis of age-stratified cohorts demonstrated stable diagnostic accuracy ranging between approximately 82 and 85 percent for individuals aged 18 through 59 years, with peak accuracies observed in the 18 to 29 and 50 to 59 age brackets. In contrast, performance dropped markedly among individuals aged 60 to 79 years, falling to approximately 69 to 70 percent, with the 70 to 79 group yielding the lowest overall accuracy. Metrics for the oldest subgroup aged 80 to 89 years were deemed statistically unreliable due to limited sample size. Evaluated against image illumination properties, the correlation between mean pixel brightness and classification correctness was minimal at 0.0579, confirming that classification errors were not substantially driven by variation in radiographic exposure.
The inclusion of explicit anatomical annotations produced a statistically significant enhancement in model discrimination. When relying on anatomical landmark annotations, sex prediction was correct in 243 participants (43 percent of total test samples) and incorrect in 27 participants (4.8 percent), yielding a 90 percent accuracy rate, a standard deviation of 0.3, and a 95 percent confidence interval spanning 86.4 to 93.6 percent. In contrast, predictions generated without utilizing anatomical landmarks—where attention heatmaps distributed randomly over non-skeletal structures such as the diaphragm, trapezius muscle, cardiac shadow, and hilar regions—achieved correct classifications in 209 cases (37 percent) and failed in 84 cases (15 percent). This yielded a reduced accuracy of 71 percent, an increased standard deviation of 0.45, and a 95 percent confidence interval of 66.2 to 76.5 percent. Across comparative metrics, the integration of anatomical features improved macro F1-score from 0.698 to 0.799, macro precision from 0.695 to 0.912, and weighted F1-score from 0.717 to 0.887, with an independent-samples t-test confirming statistical significance (t = -5.71, p < 0.001).
Ablation experiments highlighted specific operational trade-offs regarding anatomical complexity and image resolution. When expanding the anatomical input template from one JSON file to 50 JSON files, the model’s area under the ROC curve increased from approximately 0.79 to 0.89 and male sensitivity improved, with the true positive rate shifting from 0.7113 (optimal threshold 0.4491) to 0.8285 (optimal threshold 0.3471). However, false positive rates simultaneously expanded from 0.1173 to 0.3025, lowering overall accuracy at the optimal threshold from 0.8099 down to 0.7531 due to calibration noise from increased anatomical variance. In parallel resolution tests, scaling image inputs from 128 by 128 to 160 by 160 pixels lowered test accuracy to 72.3 percent, while a further increase to 224 by 224 pixels severely degraded accuracy to 50.8 percent due to overfitting on fine-grained pixel noise. Comparative benchmarking under identical baseline training conditions without annotations demonstrated that popular architectures yielded inferior sex classification results, with EfficientNetB0 achieving 52 percent accuracy and ResNet50 recording 44 percent accuracy.
The authors contextualized their findings against prior deep learning literature, noting that while large-scale models such as those of Yang and colleagues (66,643 healthy subjects, achieving an AUC of 0.90) and Yi and colleagues (112,120 subjects, achieving an AUC of 0.98) benefited from massive international training cohorts, their gradient-weighted heatmaps focused primarily on breast shadows, the lower neck, and upper ribs. By contrast, the Cairo University model was trained on 21,404 radiographs and validated on real-world clinical images containing brightness variations and pathological heterogeneity. The authors emphasized several key limitations, including the retrospective single-population cohort, moderate class imbalance, a performance drop among older adults, and the presence of 67 high-confidence misclassifications where incorrect predictions received probability values exceeding 0.8. Consequently, the researchers concluded that while the multimodal network demonstrates the feasibility of anatomy-guided artificial intelligence in forensic anthropology and disaster victim identification, its 83 percent overall accuracy positions it as a supportive investigative tool rather than an autonomous standalone method.
Subject of Research: Forensic sex estimation from chest radiographs using multimodal deep learning and anatomical landmarks
Article Title: New algorithm for the forensic estimation of sex from chest radiographs using artificial intelligence
Article References: Kamel, K. M. M. E., Tawfik, D., Saged, N. M., El-Khoribi, R. A.-W. A., Mohamed, M. A. K., Hassan, D. A. E., & Ghaleb, S. S. (2026). New algorithm for the forensic estimation of sex from chest radiographs using artificial intelligence. Egyptian Journal of Forensic Sciences, 16(1), Article 66. https://doi.org/10.1186/s41935-026-00567-0
Image Credits: AI Generated
DOI: 10.1186/s41935-026-00567-0
Keywords: forensic science, deep learning, chest radiography, sex estimation, anatomical landmarks, convolutional neural networks, biometrics, Cairo University, algorithm, forensic, estimation, chest
News Source: Blake Davidson. (November 11, 2026). Dual-Branch Artificial Intelligence Enhances Forensic Sex Estimation from Adult Chest Radiographs. Scienmag.