IMBALANCE-AWARE CLASS-WEIGHTED DEEP LEARNING FOR THREE-CLASS CHEST X-RAY CLASSIFICATION
Class imbalance affects the distribution of classification errors in medical imaging. We evaluated inverse-frequency class-weighted cross-entropy against an otherwise matched unweighted control for three-class chest X-ray classification (COVID-19, normal, pneumonia). A public collection initially contained 6,432 radiographs. After SHA-256 screening removed nine duplicated validation copies, the study used 4,629 training, 506 validation, and 1,288 test images. Both arms used ImageNet-pretrained EfficientNetB0, class-conditional augmentation, curriculum training, hard-example mining, 15 epochs, a global batch of 32, and seed 42; only the loss weights differed. On the held-out test set, unweighted versus weighted training yielded 96.58% versus 96.51% accuracy, 96.78% versus 96.75% macro-F1, and 96.30% versus 96.72% macro recall. Class weighting increased normal-class recall from 90.54% to 92.74%, while pneumonia recall decreased from 98.36% to 97.43%; COVID-19 recall was 100% in both arms. Thus, weighting redistributed class-wise sensitivity without improving accuracy or macro-F1 in this single-seed comparison.
Authors
- Arabboev Mukhriddin
- Nishanov Akhram
- Begmatov Shohruh
Institutions
- Tashkent University of Information Technology (UZ)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-25
- DOI
- https://doi.org/10.5281/zenodo.24525710
- Primary Topic
- COVID-19 diagnosis using AI
- Type
- article
- Field-Weighted Citation Impact
- 0.00