COVID-MobileXpert: On-Device COVID-19 Screening using Snapshots of Chest X-Ray

Xin Li, Chengyin Li, Dongxiao Zhu

Abstract

During the COVID-19 pandemic, there has been an emerging need for rapid, dedicated, and point-of-care COVID-19 patient disposition techniques to optimize resource utilization and clinical workflow. In view of this need, we present COVID-MobileXpert: a lightweight deep neural network (DNN) based mobile app that can use chest X-ray (CXR) for COVID-19 case screening and radiological trajectory prediction. We design and implement a novel three-player knowledge transfer and distillation (KTD) framework including a pre-trained attending physician (AP) network that extracts CXR imaging features from a large scale of lung disease CXR images, a fine-tuned resident fellow (RF) network that learns the essential CXR imaging features to discriminate COVID-19 from pneumonia and/or normal cases with a small amount of COVID-19 cases, and a trained lightweight medical student (MS) network to perform on-device COVID-19 patient triage and follow-up. To tackle the challenge of vastly similar and dominant fore- and background in medical images, we employ novel loss functions and training schemes for the MS network to learn the robust features. We demonstrate the significant potential of COVID-MobileXpert for rapid deployment via extensive experiments with diverse MS architecture and tuning parameter settings.

Introduction

At the height of the COVID-19 pandemic, healthcare systems worldwide faced critical bottlenecks: a shortage of board-certified radiologists and a lack of rapid, point-of-care tools to manage patient flow. While deep learning models (DNNs) have demonstrated success in analyzing Chest X-rays (CXRs), these models are typically "heavyweight" (e.g., DenseNet-121), requiring significant cloud computing power that introduces latency and privacy concerns.

Deploying these models directly on mobile devices presents three primary challenges: limited hardware resources, the initial scarcity of COVID-19 specific CXR data for training small models from scratch, and the "hard sample" problem, where subtle pathological differences are often obscured by dominant background features like ribs and soft tissue. COVID-MobileXpert addresses these issues through a lightweight mobile application that performs on-device screening and patient trajectory prediction.

Methods: The Three-Player KTD Framework

The core innovation of COVID-MobileXpert is the Three-Player Knowledge Transfer and Distillation (KTD) framework. This architecture mimics the hierarchy of a medical residency program to transfer expertise from large-scale models to mobile-optimized ones.

The Three-Player Knowledge Transfer and Distillation (KTD) framework for training lightweight mobile models.
  1. The Attending Physician (AP): A large, pre-trained DenseNet-121 model trained on over 100,000 general lung disease images (ChestX-ray8). It serves as the primary feature extractor.
  2. The Resident Fellow (RF): This model is fine-tuned on specific COVID-19, pneumonia, and normal cases. It learns to discriminate between these closely related conditions using weights transferred from the AP.
  3. The Medical Student (MS): This is the lightweight model (e.g., MobileNetV2 or SqueezeNet) designed for mobile deployment. Rather than learning from raw data alone, it "studies" the RF model through knowledge distillation, mimicking the RF’s outputs to achieve high accuracy with significantly fewer parameters.

To further refine the MS model's performance on "hard samples," the authors developed a Probabilistically Compact (PC) loss function. Unlike standard classification losses, PC loss enforces a specific probability margin between the correct diagnosis and the next most likely candidate, forcing the model to learn more robust, discriminative features.

Datasets and Training

The study utilized three primary data sources to train the different players in the KTD framework:

  • ChestX-ray8: Used for the AP's general pre-training.
  • Triage Dataset: A compiled set of 537 images (179 each of Normal, Pneumonia, and COVID-19) for fine-tuning the RF and training the MS.
  • Follow-up Dataset: 159 CXR sequences from 100 patients, used to train the model to predict if a patient's condition is "Worse," "Stable," or "Improved."

For trajectory prediction, the authors found that concatenating features from a series of longitudinal X-rays was superior to simple differencing, as it allowed the model to capture subtle progressive changes over time.

Key Results

Experimental results demonstrate that the lightweight "Medical Student" models can achieve performance levels comparable to their much larger counterparts. The MobileNetV2-based MS model achieved an AUROC of 0.970 for COVID-19 screening, nearly matching the 0.989 AUROC of the cloud-based DenseNet-121.

Performance comparison (AUROC) of the lightweight MS models against larger architectures for triage and follow-up tasks.

In trajectory prediction (Follow-up), the MS model achieved an accuracy of 0.800, outperforming standard baseline classifiers. When deployed on Android devices ranging from the legacy Nexus One to the Pixel 3 XL, the app maintained low latency. While MobileNetV2 offered higher accuracy, SqueezeNet was identified as a viable alternative for lower-end devices due to its lower energy consumption.

Conclusion and Future Work

COVID-MobileXpert demonstrates that a hierarchical knowledge distillation approach can bring high-accuracy medical diagnostics to standard smartphones. This on-device approach ensures patient privacy by keeping data local, addressing HIPAA concerns inherent in cloud-based AI.

While the KTD framework successfully mitigates label scarcity, future work will focus on expanding the dataset to improve generalization across diverse populations and automating the tuning of distillation parameters. Clinical deployment will require further integration into hospital workflows and broader validation.

Summary updated

BibTeX
@inproceedings{li2020covid,
  author = {Xin Li and Chengyin Li and Dongxiao Zhu},
  title = {{COVID-MobileXpert: On-Device COVID-19 Screening using Snapshots of Chest X-Ray}},
  booktitle = {BIBM},
  year = {2020},
  doi = {10.48550/arxiv.2004.03042},
}
Figure