Frozen MobileNetV2 Embeddings with Lightweight Classifiers for CPU-Based Detection of COVID-19 and Tuberculosis in Manually Cropped Chest Radiographs

Timely diagnosis of respiratory diseases such as COVID-19 and tuberculosis is often limited in settings without graphics processing units or large annotated datasets, which most deep learning models for chest radiographs assume. This work examines whether a frozen, ImageNet-pretrained MobileNetV2 yields chest radiograph representations discriminative enough to classify COVID-19, tuberculosis, and healthy cases without fine-tuning, entirely on a CPU. A dataset of 2,987 frontal radiographs was compiled from four public repositories, with cross-source duplicates removed and the lung region manually cropped. Each image was encoded as a 1280-dimensional embedding and classified with linear (logistic regression, linear SVM) and nonlinear (RBF SVM, Random Forest, K-nearest neighbors) models. In stratified five-fold cross-validation and over ten random partitions, the linear models and the RBF SVM reached mean accuracies of 92.7–93.8%, outperforming Random Forest and K-nearest neighbors (88.4–90.3%), with no significant differences among them on the test set (McNemar, p ≥ 0.11). The classes are therefore largely linearly separable in the embedding space. With the RBF SVM, no pathological test radiograph was classified as healthy. Embedding extraction took 9.3 ms per image on a laptop CPU, and every classifier trained in under 3 s. A source-shortcut analysis showed that acquisition-related image properties alone predict the class well above chance, which is discussed as a limitation. These results establish a frozen lightweight network with a simple classifier as a strong, low-cost baseline for screening in resource-constrained settings.

Authors

Publication Details

Journal
Preprints.org
Published
2026-12-02
DOI
https://doi.org/10.20944/preprints202612.0261.v1
Primary Topic
COVID-19 diagnosis using AI
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Frozen MobileNetV2 Embeddings with Lightweight Classifiers for CPU-Based Detection of COVID-19 and Tuberculosis in Manually Cropped Chest Radiographs

Lauro Reyes-Cocoletzi, Aldrin Barreto-Flores, Salvador E. Ayala-Raggi, Kevin Merlin Coyotzi-Cabrera et al.
Preprints.org
COVID-19 diagnosis using AI
preprint

Frozen MobileNetV2 Embeddings with Lightweight Classifiers for CPU-Based Detection of COVID-19 and Tuberculosis in Manually Cropped Chest Radiographs

Lauro Reyes-Cocoletzi, Aldrin Barreto-Flores, Salvador E. Ayala-Raggi, Kevin Merlin Coyotzi-Cabrera, Dulce Anahí Luna-García
preprint en

Abstract

Timely diagnosis of respiratory diseases such as COVID-19 and tuberculosis is often limited in settings without graphics processing units or large annotated datasets, which most deep learning models for chest radiographs assume. This work examines whether a frozen, ImageNet-pretrained MobileNetV2 yields chest radiograph representations discriminative enough to classify COVID-19, tuberculosis, and healthy cases without fine-tuning, entirely on a CPU. A dataset of 2,987 frontal radiographs was compiled from four public repositories, with cross-source duplicates removed and the lung region manually cropped. Each image was encoded as a 1280-dimensional embedding and classified with linear (logistic regression, linear SVM) and nonlinear (RBF SVM, Random Forest, K-nearest neighbors) models. In stratified five-fold cross-validation and over ten random partitions, the linear models and the RBF SVM reached mean accuracies of 92.7–93.8%, outperforming Random Forest and K-nearest neighbors (88.4–90.3%), with no significant differences among them on the test set (McNemar, p ≥ 0.11). The classes are therefore largely linearly separable in the embedding space. With the RBF SVM, no pathological test radiograph was classified as healthy. Embedding extraction took 9.3 ms per image on a laptop CPU, and every classifier trained in under 3 s. A source-shortcut analysis showed that acquisition-related image properties alone predict the class well above chance, which is discussed as a limitation. These results establish a frozen lightweight network with a simple classifier as a strong, low-cost baseline for screening in resource-constrained settings.

Preprints.org
COVID-19 diagnosis using AI
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon