Diagnostic Uncertainty in Pneumonia Detection using CNN MobileNetV2 and CNN from Scratch

Kennard Norbert Sudiardjo, Islam Nur Alam, Wilson Wijaya, Lili Ayu Wulandhari
5/5/2025
eess.IVcs.AIcs.CV

No confident code implementation found for this paper.

Abstract

Pneumonia Diagnosis, though it is crucial for an effective treatment, it can be hampered by uncertainty. This uncertainty starts to arise due to some factors like atypical presentations, limitations of diagnostic tools such as chest X-rays, and the presence of co-existing respiratory conditions.

Show full abstract

This research proposes one of the supervised learning methods, CNN. Using MobileNetV2 as the pre-trained one with ResNet101V2 architecture and using Keras API as the built from scratch model, for identifying lung diseases especially pneumonia. The datasets used in this research were obtained from the website through Kaggle. The result shows that by implementing CNN MobileNetV2 and CNN from scratch the result is promising. While validating data, MobileNetV2 performs with stability and minimal overfitting, while the training accuracy increased to 84.87% later it slightly decreased to 78.95%, with increasing validation loss from 0.499 to 0.6345. Nonetheless, MobileNetV2 is more stable. Although it takes more time to train each epoch. Meanwhile, after the 10th epoch, the Scratch model displayed more instability and overfitting despite having higher validation accuracy, training accuracy decreased significantly to 78.12% and the validation loss increased from 0.5698 to 1.1809. With these results, ResNet101V2 offers stability, and the Scratch model offers high accuracy.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{sudiardjo2025diagnostic,
  title  = {Diagnostic Uncertainty in Pneumonia Detection using CNN MobileNetV2 and CNN from Scratch},
  author = {Kennard Norbert Sudiardjo and Islam Nur Alam and Wilson Wijaya and Lili Ayu Wulandhari},
  year   = {2025},
  eprint = {2505.02396},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.02396v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.02396.svg)](https://codeofpaper.com/paper/2505.02396)

Discussion