Adaptive Binary Focal Loss: Enhancing Radiograph Image Classification With Balanced Specificity and Sensitivity

ABSTRACT Convolutional neural networks (CNN) are widely used to classify radiograph images. Musculoskeletal disorders (MSD) of the upper extremity (which comprises upper body parts such as the shoulder, elbow, wrist, and hand, allowing movement, strength and fine motor skills). However, their performance is often limited by class imbalance and the presence of hard samples. Although approaches like ensemble models, capsule networks and regularised CNNs in groups can address these issues, they require substantial computational resources. The adoption of loss function does not require additional computational overhead. Focal loss prioritises hard samples (samples that are not easy to classify); it simultaneously suppresses the gradients for easy samples, which affects learning. This can reduce accuracy and create an imbalance between sensitivity and specificity, which is an undesirable outcome in medical diagnostics. To overcome these limitations, adaptive binary focal loss (ABFL) is proposed here, which combines the strengths of binary cross‐entropy and focal loss to achieve balanced learning between easy and hard samples. A balance parameter, , is introduced to adaptively weigh the contributions of binary cross‐entropy and focal loss. This approach is further extended to multi‐class classification tasks through the proposed adaptive categorical focal loss (ACFL). In addition, a procedure is introduced to automatically tune the three key hyperparameters , and based on the characteristics of the dataset. This eliminates the need for manual intervention. ABFL and ACFL are compared with seven existing loss functions using DenseNet‐169 and Inception‐v3 on musculoskeletal radiograph images (MURA), a digital database for screening mammography (DDSM) and a garbage classification dataset. Compared to focal loss, Cohen's kappa score performance improved by 33.70% in ABFL on the MURA finger dataset. Similarly, ACFL achieved improvements of 58.07% and 20.23% on the DDSM and garbage datasets, respectively, while maintaining balanced sensitivity and specificity. These results show the robustness and effectiveness of both ABFL and ACFL in handling class imbalance and hard samples in CNN‐based classification.

Authors

Institutions

Publication Details

Journal
International Journal of Imaging Systems and Technology
Published
2025-10-31
DOI
https://doi.org/10.1002/ima.70238
Primary Topic
Medical Imaging and Analysis
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Adaptive Binary Focal Loss: Enhancing Radiograph Image Classification With Balanced Specificity and Sensitivity

Korra Sathya Babu, Gokaramaiah Thota, Nagaraju Karinagappa
International Journal of Imaging Systems and Technology
Medical Imaging and Analysis
article

Adaptive Binary Focal Loss: Enhancing Radiograph Image Classification With Balanced Specificity and Sensitivity

Korra Sathya Babu, Gokaramaiah Thota, Nagaraju Karinagappa
article en

Abstract

ABSTRACT Convolutional neural networks (CNN) are widely used to classify radiograph images. Musculoskeletal disorders (MSD) of the upper extremity (which comprises upper body parts such as the shoulder, elbow, wrist, and hand, allowing movement, strength and fine motor skills). However, their performance is often limited by class imbalance and the presence of hard samples. Although approaches like ensemble models, capsule networks and regularised CNNs in groups can address these issues, they require substantial computational resources. The adoption of loss function does not require additional computational overhead. Focal loss prioritises hard samples (samples that are not easy to classify); it simultaneously suppresses the gradients for easy samples, which affects learning. This can reduce accuracy and create an imbalance between sensitivity and specificity, which is an undesirable outcome in medical diagnostics. To overcome these limitations, adaptive binary focal loss (ABFL) is proposed here, which combines the strengths of binary cross‐entropy and focal loss to achieve balanced learning between easy and hard samples. A balance parameter, , is introduced to adaptively weigh the contributions of binary cross‐entropy and focal loss. This approach is further extended to multi‐class classification tasks through the proposed adaptive categorical focal loss (ACFL). In addition, a procedure is introduced to automatically tune the three key hyperparameters , and based on the characteristics of the dataset. This eliminates the need for manual intervention. ABFL and ACFL are compared with seven existing loss functions using DenseNet‐169 and Inception‐v3 on musculoskeletal radiograph images (MURA), a digital database for screening mammography (DDSM) and a garbage classification dataset. Compared to focal loss, Cohen's kappa score performance improved by 33.70% in ABFL on the MURA finger dataset. Similarly, ACFL achieved improvements of 58.07% and 20.23% on the DDSM and garbage datasets, respectively, while maintaining balanced sensitivity and specificity. These results show the robustness and effectiveness of both ABFL and ACFL in handling class imbalance and hard samples in CNN‐based classification.

International Journal of Imaging Systems and TechnologyVol. 35(6)
Rayalaseema University (IN), Kurnool Medical College (IN)
Openalex Percentile: Top 69%
Medical Imaging and Analysis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.