Skip to main navigation Skip to search Skip to main content

Combining Focal loss with Cross-entropy loss for Pneumonia Classification with a Weighted Sampling Approach

  • Ritesh Maurya*
  • , Parth Thirwarni
  • , T. Gopalakrishnan
  • , Mohan Karnati
  • *Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Pneumonia, a severe respiratory infection affecting the lungs, stands as a leading cause of child mortality worldwide. The conventional method for detecting Pneumonia from chest X-rays relies on expert Pulmonologists manually identifying visual patterns, a time-consuming and specialist-dependent process. To address these limitations, this research introduces an automated Pneumonia detection system employing deep learning techniques with chest X-ray images. This study leverages the fine-tuned MobileNetV2 model for Pneumonia detection, incorporating a hybrid of two loss functions: cross-entropy and focal loss. Focal loss assigns greater importance to misclassifications within the minority class, while cross-entropy ensures that misclassifications in the majority class are adequately considered. To counteract class imbalance, random oversampling of minority class samples is applied. The proposed method's performance is rigorously evaluated using a publicly accessible dataset. Notably, the method achieves an impressive accuracy rate of 0.91 and an AUC (Area under the Curve) value of 0.97 for distinguishing between normal and Pneumonia-afflicted images. This demonstrates the robustness of the proposed approach in Pneumonia detection, harnessing the power of deep learning while effectively addressing class imbalance challenges prevalent in chest X-ray datasets.

Original languageEnglish
Title of host publication2024 IEEE International Conference on Interdisciplinary Approaches in Technology and Management for Social Innovation, IATMSI 2024
PublisherInstitute of Electrical and Electronics Engineers Inc.
ISBN (Electronic)9798350360523
DOIs
Publication statusPublished - 2024
Event2nd IEEE International Conference on Interdisciplinary Approaches in Technology and Management for Social Innovation, IATMSI 2024 - Gwalior, India
Duration: 14-03-202416-03-2024

Publication series

Name2024 IEEE International Conference on Interdisciplinary Approaches in Technology and Management for Social Innovation, IATMSI 2024

Conference

Conference2nd IEEE International Conference on Interdisciplinary Approaches in Technology and Management for Social Innovation, IATMSI 2024
Country/TerritoryIndia
CityGwalior
Period14-03-2416-03-24

UN SDGs

This output contributes to the following UN Sustainable Development Goals (SDGs)

  1. SDG 3 - Good Health and Well-being
    SDG 3 Good Health and Well-being

All Science Journal Classification (ASJC) codes

  • Artificial Intelligence
  • Computer Science Applications
  • Information Systems and Management
  • Management, Monitoring, Policy and Law
  • Control and Optimization
  • Health Informatics
  • Communication

Fingerprint

Dive into the research topics of 'Combining Focal loss with Cross-entropy loss for Pneumonia Classification with a Weighted Sampling Approach'. Together they form a unique fingerprint.

Cite this