TL;DR
MONICA (Medical OpeN-source Long-taIled ClassifiCAtion) is an open-source benchmarking framework and modular codebase that standardizes long-tailed medical image classification. Evaluating over 30 state-of-the-art methods across 12 medical datasets and 6 domains, the authors reveal critical insights into what works—and what fails—when diagnosing rare conditions alongside common diseases.
What Problem Does This Paper Address?
Real-world clinical datasets are inherently long-tailed: common conditions have tens of thousands of examples, while rare pathologies have only a handful. Deep learning models trained on this data naturally overpredict common "head" classes and misdiagnose critical "tail" conditions.
While long-tailed learning has advanced rapidly in computer vision, medical imaging research has suffered from fragmented benchmarks, inconsistent evaluation protocols, and irreproducible experimental setups. Furthermore, unlike natural image benchmarks that evaluate on artificially balanced test sets, clinical workflows operate on naturally skewed distributions. MONICA bridges this gap by offering a standardized, rigorous evaluation playground built specifically for medical computer vision.
Methods
MONICA integrates over 30 long-tailed learning methods implemented within a modular codebase (decoupling encoders, classification heads, sampling strategies, and loss functions). Evaluated baselines span three primary paradigms:
- Class Re-sampling and Re-weighting: Methods that adjust data frequencies or loss penalties, including Class-Balanced (CB) Loss, Focal Loss, LDAM, LADE, Balanced Softmax, and Vector-Scaling (VS) Loss.
- Information Augmentation: Techniques that enrich minority-class feature spaces, including MixUp, MiSLAS, RSG, RIDE, and Gaussian Clouded Logit adjustment (GCL).
- Module Improvement & Decoupled Learning: Two-stage training regimes where feature representation is learned first, followed by classifier re-training (e.g., cRT, LWS, BBN, DisAlign, and Causal Classifiers).
All multi-class models use a unified ResNet-50 backbone trained with the Adam optimizer under controlled hyperparameters to guarantee fair head-to-head comparisons.
Datasets
The authors benchmarked 12 datasets covering multi-class (MC) and multi-label (ML) tasks across diverse imaging modalities:
- Dermatology: ISIC-2019-LT (evaluated at Pareto imbalance ratios $r \in \{100, 200, 500\}$) and DermaMNIST ($r=100$).
- Ophthalmology: ODIR and RFMiD (retinal fundus, multi-label).
- Radiology: OrganA/C/SMNIST (CT scans, $r=100$) and CheXpert (chest X-rays, multi-label).
- Pathology & Histology: PathMNIST and TissueMNIST ($r=100$).
- Hematology: BloodMNIST (blood cell micrographs, $r=100$).
- Gastroenterology: KVASIR (endoscopy images, $r=20$).
Key Insights and Ideas
- Hybrid Approaches Beat Single Tricks: State-of-the-art performance requires combining re-sampling, data augmentation, and classifier adjustment. For example, top-performing methods like GCL and MiSLAS leverage both MixUp in stage one and logit adjustment or balanced classifier retraining in stage two.
- The "Curse" of Head vs. Tail Trade-offs: Boosting tail accuracy almost always penalizes head performance. On ISIC-2019 ($r=100$), GCL pushed tail accuracy from 38.33% to 71.33%, but dropped head accuracy from 79.00% to 57.50%. Current overall accuracy metrics obscure these severe clinical trade-offs.
- MixUp Is Essential for Representations, Not Classifiers: While MixUp alone yields mediocre end-to-end results, disabling it in two-stage methods caused severe drops (removing MixUp from GCL dropped ISIC-2019 performance from 64.06% to 62.01%).
- Self-Supervised Learning (SSL) Stumbles: Standard SSL techniques (MoCo, SimCLR, PaCo) suffered catastrophic performance drops on medical datasets, likely due to small data scales and hyperparameter sensitivity to domain-specific augmentations.
- Long-Tailed Training Improves OOD Detection: Evaluating representations on the OpenOOD benchmark revealed that long-tailed techniques substantially improve model robustness against out-of-distribution clinical samples.
Key Results
- Superiority of GCL and DisAlign: Across single-label datasets, GCL achieved leading average top-1 accuracy under extreme imbalance—reaching 54.83% on ISIC-2019-LT ($r=500$) compared to the standard Empirical Risk Minimization (ERM) baseline of 45.78%, and 79.09% on OrganAMNIST compared to ERM’s 76.48%.
- Multi-Label Performance: On ODIR (off-site test) and RFMiD multi-label benchmarks, specialized algorithms like HKGL and OLTR outperformed ERM across all categories (e.g., on RFMiD, HKGL achieved 52.33% mean Average Precision [mAP] vs. ERM’s 47.89%).
Limitations and Future Work
- Implementation Variance: Several algorithms lacked public repositories, requiring reimplementation based solely on paper descriptions.
- Multi-Label Imbalance Dynamics: Multi-label classification introduces complex co-occurrence dependencies that cannot be handled via simple Pareto resampling; deep exploration into specialized multi-label metrics remains incomplete.
- Metric Limitations: The authors did not propose a unified evaluation metric capable of weighting head-versus-tail clinical trade-offs.
- Future Directions: Expanding MONICA to clinical regression, lesion detection, and 3D semantic segmentation tasks.
Summary updated