Conference paper · 7th TCCE 2025
MIME: Multi-strategy Imbalance Mitigation Engine for Skin Cancer Classification
The question
Can synthetic images help a skin cancer model spot its rarest cancer type?
The problem
Skin cancer datasets are badly imbalanced. In the ISIC 2019 images we studied, squamous cell carcinoma (SCC) has 492 training images against 3,624 for melanoma, so models lean towards the common classes and miss SCC.
Our approach
MIME puts the usual fixes for imbalance side by side under one protocol on an EfficientNetV2-S backbone: resampling the training data, reweighting the loss, and generating 2,000 synthetic SCC images with a DC-GAN. Each strategy is measured on the same 793-image test set.
Key results
- SCC F1 rose from 11.89% to 53.18% with DC-GAN augmentation, against the linear baseline
- Accuracy rose from 82.25% to 90.08%, and macro F1 from 60.42% to 82.84%
- Resampling and loss reweighting reached a macro F1 of 76.52% and 75.70% at best
Why it matters
For a rare but serious cancer, generating new minority examples did more than reweighting the ones we had.
Cite this paper
@inproceedings{safwan2026mime,
title = {MIME: Multi-strategy Imbalance Mitigation Engine for Skin Cancer Classification},
author = {Safwan, Nasif and
Rahman, Souhardo and
Hasib, Adulla Al and
Islam, Hasibul and
Mahadi, Mahamodul Hasan and
Uddin, Mohammad Nasir},
booktitle = {7th TCCE 2025},
year = {2026},
doi = {10.1007/978-3-032-33805-1_7},
url = {https://doi.org/10.1007/978-3-032-33805-1_7}
}