DAL: Dynamic Angular Loss for Imbalanced Medical Image Classification
Salman Mohammad, Furkan Kas{\i}m, Manuel G\"unther
Key points
From the paper's conclusion- We derive data-driven upper and lower bounds for the scale parameter and an upper bound for the angular margin using negative-angle statistics, and use these to drive a batch-adaptive angular margin (BAAM), which we combine with dynamically-weighted cross entropy (DWCE) to define our dynamic angular loss (DAL).
Abstract
Class imbalance remains a major obstacle in medical image classification, where rare but clinically important classes are often overshadowed by majority categories. Although current strategies for reducing bias, including angle-based softmax (ABS) losses, offer strong discriminative features, their behavior in settings with a small number of severely imbalanced classes remains insufficiently understood. Previous approaches that estimate the intrinsic parameters of ABS rely on the assumption of many classes, which does not hold in medical settings. We derive data-driven upper and lower bounds for the scale parameter and an upper bound for the angular margin using negative-angle statistics, and use these to drive a batch-adaptive angular margin (BAAM), which we combine with dynamically-weighted cross entropy (DWCE) to define our dynamic angular loss (DAL). Across four highly imbalanced medical image classification benchmarks spanning dermatology, ophthalmology, and gastrointestinal endoscopy, our method consistently achieves superior balanced accuracy and the lowest coefficient of variation of per-class recall. Although this entails a small performance reduction on majority classes, the gains on minority categories are substantial, yielding a reliable and equitable overall classifier. Our source code is available at: https://github.com/msalman95/DAL.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Bidirectional Weighted Cross-Entropy for Imbalanced Pressure Injury Classification.Journal of imaging informatics in medicine · 2026
- Diagnostic Loss: Asymmetric Supervision for Radiology Report GenerationarXiv · 2026
- ViCoR: Estimating Visual Necessity via Counterfactual Residuals for Multimodal Medical Data SelectionarXiv · 2026
- MAPA: Mode-Aware Prototype Allocation for Latent Dataset Distillation in 3D Medical ClassificationarXiv · 2026
- CARET: Clinical Assertion-Aware Residual Calibration for Medical Image-Text AlignmentarXiv · 2026
- Cross-modal bias in medical vision-language models: a pipeline-aware framework for mechanisms, evaluation, and mitigation.Frontiers in digital health · 2026