Abid, AreebaSinha, PriyanshuHarpale, AishwaryaGichoya, JudyPurkayastha, Saptarshi2022-10-052022-10-052021-09Purkayastha, S. (2021). Optimizing Medical Image Classification Models for Edge Devices. In Distributed Computing and Artificial Intelligence, Volume 1: 18th International Conference (Vol. 1, p. 77). Springer Nature.https://hdl.handle.net/1805/30211Machine learning algorithms for medical diagnostics often require resource-intensive environments to run, such as expensive cloud servers or high-end GPUs, making these models impractical for use in the field. We investigate the use of model quantization and GPU-acceleration for chest X-ray classification on edge devices. We employ 3 types of quantization (dynamic range, float-16, and full int8) which we tested on models trained on the Chest-XRay14 Dataset. We achieved a 2–4x reduction in model size, offset by small decreases in the mean AUC-ROC score of 0.0%–0.9%. On ARM architectures, integer quantization was shown to improve inference latency by up to 57%. However, we also observe significant increases in latency on x86 processors. GPU acceleration also improved inference latency, but this was outweighed by kernel launch overhead. We show that optimization of diagnostic models has the potential to expand their utility to day-to-day devices used by patients and healthcare workers; however, these improvements are context- and architecture-dependent and should be tested on the relevant devices before deployment in low-resource environments.enIUPUI Open Access Policychest x-raysmedical image classification modelsmachine learningOptimizing Medical Image Classification Models for Edge DevicesArticle