Batch-balanced focal loss: a hybrid solution to class imbalance in deep learning.

J Med Imaging (Bellingham)

University of Pittsburgh, Department of Radiology, Pittsburgh, Pennsylvania, United States.

Published: September 2023

Purpose: To validate the effectiveness of an approach called batch-balanced focal loss (BBFL) in enhancing convolutional neural network (CNN) classification performance on imbalanced datasets.

Materials And Methods: BBFL combines two strategies to tackle class imbalance: (1) batch-balancing to equalize model learning of class samples and (2) focal loss to add hard-sample importance to the learning gradient. BBFL was validated on two imbalanced fundus image datasets: a binary retinal nerve fiber layer defect (RNFLD) dataset () and a multiclass glaucoma dataset (). BBFL was compared to several imbalanced learning techniques, including random oversampling (ROS), cost-sensitive learning, and thresholding, based on three state-of-the-art CNNs. Accuracy, F1-score, and the area under the receiver operator characteristic curve (AUC) were used as the performance metrics for binary classification. Mean accuracy and mean F1-score were used for multiclass classification. Confusion matrices, t-distributed neighbor embedding plots, and GradCAM were used for the visual assessment of performance.

Results: In binary classification of RNFLD, BBFL with InceptionV3 (93.0% accuracy, 84.7% F1, 0.971 AUC) outperformed ROS (92.6% accuracy, 83.7% F1, 0.964 AUC), cost-sensitive learning (92.5% accuracy, 83.8% F1, 0.962 AUC), and thresholding (91.9% accuracy, 83.0% F1, 0.962 AUC) and others. In multiclass classification of glaucoma, BBFL with MobileNetV2 (79.7% accuracy, 69.6% average F1 score) outperformed ROS (76.8% accuracy, 64.7% F1), cost-sensitive learning (78.3% accuracy, 67.8.8% F1), and random undersampling (76.5% accuracy, 66.5% F1).

Conclusion: The BBFL-based learning method can improve the performance of a CNN model in both binary and multiclass disease classification when the data are imbalanced.

Download full-text PDF

Source
http://www.ncbi.nlm.nih.gov/pmc/articles/PMC10289178PMC
http://dx.doi.org/10.1117/1.JMI.10.5.051809DOI Listing

Publication Analysis

Top Keywords

focal loss
12
cost-sensitive learning
12
accuracy
10
batch-balanced focal
8
class imbalance
8
learning
8
accuracy f1-score
8
binary classification
8
multiclass classification
8
outperformed ros
8

Similar Publications

The scattering of tiny particles in the atmosphere causes a haze effect on remote sensing images captured by satellites and similar devices, significantly disrupting subsequent image recognition and classification. A generative adversarial network named TRPC-GAN with texture recovery and physical constraints is proposed to mitigate this impact. This network not only effectively removes haze but also better preserves the texture information of the original remote sensing image, thereby enhancing the visual quality of the dehazed image.

View Article and Find Full Text PDF

Foeniculum vulgare Miller bracts, revalorization of a local food waste.

Sci Rep

December 2024

Department of Pharmacy, University of Salerno, Via Giovanni Paolo II, 132, Fisciano, 84084, Salerno, Italy.

This research aims at the valorization of fennel by-products from the Campania region (Southern Italy). A phytochemical characterization of the hydroalcoholic extracts (HEs) and of the essential oils (EOs) from edible and non-edible parts (waste) of Foeniculum vulgare Mill. was carried out using HRESIMS and GC-MS.

View Article and Find Full Text PDF

Many conditions, such as pulmonary edema, bleeding, atelectasis or collapse, lung cancer, and shadow formation after radiotherapy or surgical changes, cause Lung Opacity. An unsupervised cross-domain Lung Opacity detection method is proposed to help surgeons quickly locate Lung Opacity without additional manual annotations. This study proposes a novel method based on adversarial learning to detect Lung Opacity on chest X-rays.

View Article and Find Full Text PDF

The management and creation of Marine Protected Areas (MPAs) is currently under great focus, with international organisations aiming to protect 30% of our oceans by 2030. The success of MPAs depends on a nuanced understanding of local ecological dynamics and threats, which can significantly influence ecosystem balance. Herbivory can be a stressor for foundation species, namely kelp forests, contributing to their decline in several regions of the globe.

View Article and Find Full Text PDF

Loss-of-function SLC25A20 mutation causes carnitine-acylcarnitine translocase deficiency by reducing SLC25A20 protein stability.

Gene

December 2024

Department of Medical Genetics/Experimental Education/Administration Center, School of Basic Medical Sciences, Southern Medical University, Guangzhou 510515, China; Guangdong Provincial Key Laboratory of Single Cell Technology and Application, Guangzhou 510515, China; Department of Fetal Medicine and Prenatal Diagnosis, Zhujiang Hospital, Southern Medical University, Guangzhou 510280, China. Electronic address:

Background/aim: Autosomal-recessive carnitine-acylcarnitine translocase deficiency (CACTD) is a rare disorder of long-chain fatty acid oxidation caused by variants in the SLC25A20 gene. Under fasting conditions, most newborns with severe CACTD experience sudden cardiac arrest and hypotonia, often leading to premature death due to rapid disease progression. Understanding of genetic factors and pathogenic mechanisms in CACTD is essential for its diagnosis, treatment, and prevention.

View Article and Find Full Text PDF

Want AI Summaries of new PubMed Abstracts delivered to your In-box?

Enter search terms and have AI summaries delivered each week - change queries or unsubscribe any time!