Skip to main content
medRxiv
  • Home
  • About
  • Submit
  • ALERTS / RSS
Advanced Search

Optimizing Lightweight Medical AI for Chest CT Classification: A Distillation and Quantization Approach

Isha Kansal, View ORCID ProfileVikas Khullar, Gifty Gupta, Deepali Gupta, Sapna Juneja, Aimin Li, View ORCID ProfileSaurav Mallik
doi: https://doi.org/10.1101/2025.11.23.25340844
Isha Kansal
1Chitkara University Institute of Engineering and Technology, Chitkara University, Punjab, India;
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Vikas Khullar
1Chitkara University Institute of Engineering and Technology, Chitkara University, Punjab, India;
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Vikas Khullar
Gifty Gupta
1Chitkara University Institute of Engineering and Technology, Chitkara University, Punjab, India;
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Deepali Gupta
1Chitkara University Institute of Engineering and Technology, Chitkara University, Punjab, India;
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Sapna Juneja
2KIET Group of Institutions, Delhi NCR, Ghaziabad, India;
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • For correspondence: sauravmtech2{at}gmail.com smallik{at}arizona.edu sapnajuneja1983{at}gmail.com
Aimin Li
3School of Computer Science and Engineering, Xi’an University of Technology, Shaanxi 710048, China;
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Saurav Mallik
4Department of Environmental Health, Harvard T H Chan School of Public Health, Boston, MA 02115, USA;
5Department of Pharmacology and Toxicology, University of Arizona, Tucson, USA;
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Saurav Mallik
  • For correspondence: sauravmtech2{at}gmail.com smallik{at}arizona.edu sapnajuneja1983{at}gmail.com
  • Abstract
  • Full Text
  • Info/History
  • Metrics
  • Data/Code
  • Preview PDF
Loading

Abstract

Medical imaging has been crucial in the diagnostics of pulmonary diseases and the use of chest CT scans is a fundamental diagnostic tool in lung cancer and COVID-19. The clinical importance of the deep learning models used to classify CT images is still hard to deploy because of the high-computational requirements and overfitting. The latest state-of-the-art CNN models, including DenseNet121 and NasNetMobile, use the train model with near-perfect accuracy yet have poor generalization and demand large memory footprint (>2.4 GB), making them unfeasible to apply in healthcare settings with limited resources. To solve this issue, we introduce an end-to-end knowledge distillation and post-training quantization system that can convert the large, overtrained electronics teacher models into small and generalized student networks that can be deployed to the real world to accomplish medical AI. Knowledge distillation allows the student models to study hard labels, as well as softened probabilistic outputs of the teacher, enhancing generalization and reducing overfitting. The post-training quantization also minimizes the model size by shrinking both weights and activations to the 8-bit precision to allow inference with low accuracy degradation. The experiments were run on the Chest CT-Scan Images Dataset (1,252 samples, balanced classes of COVID-19 and non-COVID-19) of the Kaggle standardized and augmented to evaluate well. A variety of teachers were trained (DenseNet121, ResNet50, EfficientNetB3, VGG16/19, Xception, and NasNetMobile) and distilled into small students and quantized to be deployed. The presented pipeline reduced the memory usage (approximately 2,465 MB to approximately 618 MB) by a factor of 4 with the quantized DenseNet121 student being able to reach 91.4% validation accuracy as compared to its teacher (77.2%). There was also better generalization by distilled students, where EfficientNetB3 and NasNetMobile attained +42% and +30% validation gains respectively. This paper offers a deployable and resource-efficient medical AI architecture, which is capable of striking a balance between diagnostic accuracy and computational efficiency. The findings reveal that knowledge distillation and quantization can be combined to provide lightweight, high-performing chest CT classifiers to mobile CT devices, edge devices, and low-resource clinical settings as one step towards closing the gap between research-level AI systems and those that can be deployed significantly more effectively in the clinic.

Competing Interest Statement

The authors have declared no competing interest.

Funding Statement

The author(s) received no specific funding for this work.

Author Declarations

I confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.

Yes

The details of the IRB/oversight body that provided approval or exemption for the research described are given below:

N/A

I confirm that all necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived, and that any patient/participant/sample identifiers included were not known to anyone (e.g., hospital staff, patients or participants themselves) outside the research group so cannot be used to identify individuals.

Yes

I understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).

Yes

I have followed all appropriate research reporting guidelines, such as any relevant EQUATOR Network research reporting checklist(s) and other pertinent material, if applicable.

Yes

Footnotes

  • isha.kansal{at}chitkara.edu.in, vikas.khullar{at}gmail.com, gifty.gupta{at}chitkara.edu.in, deepali.gupta{at}chitkara.edu.in, sapnajuneja1983{at}gmail.com, liaiminmail{at}gmail.com, liaiminmail{at}qq.com, sauravmtech2{at}gmail.com, smallik{at}hsph.harvard.edu, smallik{at}arizona.edu

Dataset Availability

The dataset is available at https://www.kaggle.com/datasets/mohamedhanyyy/chest-ctscan-images

Copyright 
The copyright holder for this preprint is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. It is made available under a CC-BY 4.0 International license.
Back to top
PreviousNext
Posted November 25, 2025.
Download PDF
Data/Code
Email

Thank you for your interest in spreading the word about medRxiv.

NOTE: Your email address is requested solely to identify you as the sender of this article.

Enter multiple addresses on separate lines or separate them with commas.
Optimizing Lightweight Medical AI for Chest CT Classification: A Distillation and Quantization Approach
(Your Name) has forwarded a page to you from medRxiv
(Your Name) thought you would like to see this page from the medRxiv website.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Share
Optimizing Lightweight Medical AI for Chest CT Classification: A Distillation and Quantization Approach
Isha Kansal, Vikas Khullar, Gifty Gupta, Deepali Gupta, Sapna Juneja, Aimin Li, Saurav Mallik
medRxiv 2025.11.23.25340844; doi: https://doi.org/10.1101/2025.11.23.25340844
Twitter logo Facebook logo LinkedIn logo Mendeley logo
Citation Tools
Optimizing Lightweight Medical AI for Chest CT Classification: A Distillation and Quantization Approach
Isha Kansal, Vikas Khullar, Gifty Gupta, Deepali Gupta, Sapna Juneja, Aimin Li, Saurav Mallik
medRxiv 2025.11.23.25340844; doi: https://doi.org/10.1101/2025.11.23.25340844

Citation Manager Formats

  • BibTeX
  • Bookends
  • EasyBib
  • EndNote (tagged)
  • EndNote 8 (xml)
  • Medlars
  • Mendeley
  • Papers
  • RefWorks Tagged
  • Ref Manager
  • RIS
  • Zotero
  • Tweet Widget
  • Facebook Like
  • Google Plus One

Subject Area

  • Cardiovascular Medicine
Subject Areas
All Articles
  • Addiction Medicine (576)
  • Allergy and Immunology (867)
  • Anesthesia (306)
  • Cardiovascular Medicine (4480)
  • Dentistry and Oral Medicine (449)
  • Dermatology (385)
  • Emergency Medicine (614)
  • Endocrinology (including Diabetes Mellitus and Metabolic Disease) (1528)
  • Epidemiology (15276)
  • Forensic Medicine (31)
  • Gastroenterology (1133)
  • Genetic and Genomic Medicine (6643)
  • Geriatric Medicine (671)
  • Health Economics (1006)
  • Health Informatics (4603)
  • Health Policy (1378)
  • Health Systems and Quality Improvement (1622)
  • Hematology (544)
  • HIV/AIDS (1275)
  • Infectious Diseases (except HIV/AIDS) (15960)
  • Intensive Care and Critical Care Medicine (1110)
  • Medical Education (626)
  • Medical Ethics (147)
  • Nephrology (674)
  • Neurology (6693)
  • Nursing (346)
  • Nutrition (1006)
  • Obstetrics and Gynecology (1152)
  • Occupational and Environmental Health (961)
  • Oncology (3369)
  • Ophthalmology (988)
  • Orthopedics (370)
  • Otolaryngology (421)
  • Pain Medicine (437)
  • Palliative Medicine (131)
  • Pathology (668)
  • Pediatrics (1703)
  • Pharmacology and Therapeutics (699)
  • Primary Care Research (717)
  • Psychiatry and Clinical Psychology (5494)
  • Public and Global Health (9284)
  • Radiology and Imaging (2223)
  • Rehabilitation Medicine and Physical Therapy (1375)
  • Respiratory Medicine (1201)
  • Rheumatology (598)
  • Sexual and Reproductive Health (720)
  • Sports Medicine (535)
  • Surgery (720)
  • Toxicology (100)
  • Transplantation (290)
  • Urology (266)