Comparative Analysis of CNN Performance in Keras, PyTorch and JAX on PathMNIST
Anida Nezovi\'c, Jalal Romano, Nada Mari\'c, Medina Kapo, Amila Akagi\'c

TL;DR
This paper compares CNN performance across Keras, PyTorch, and JAX frameworks on the PathMNIST dataset, analyzing training efficiency, accuracy, and inference speed to guide medical image analysis applications.
Contribution
It provides a comprehensive comparison of CNN implementations in three major frameworks specifically for medical image classification tasks.
Findings
PyTorch achieves the highest accuracy among the frameworks.
JAX offers the fastest inference speed.
Keras provides a good balance between training efficiency and accuracy.
Abstract
Deep learning has significantly advanced the field of medical image classification, particularly with the adoption of Convolutional Neural Networks (CNNs). Various deep learning frameworks such as Keras, PyTorch and JAX offer unique advantages in model development and deployment. However, their comparative performance in medical imaging tasks remains underexplored. This study presents a comprehensive analysis of CNN implementations across these frameworks, using the PathMNIST dataset as a benchmark. We evaluate training efficiency, classification accuracy and inference speed to assess their suitability for real-world applications. Our findings highlight the trade-offs between computational speed and model accuracy, offering valuable insights for researchers and practitioners in medical image analysis.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsCOVID-19 diagnosis using AI
