# MIME: Multi-strategy Imbalance Mitigation Engine for Skin Cancer Classification

- Authors: Nasif Safwan, Souhardo Rahman, Adulla Al Hasib, Hasibul Islam, Mahamodul Hasan Mahadi, Mohammad Nasir Uddin
- Conference paper: 7th TCCE 2025, 2026
- DOI: https://doi.org/10.1007/978-3-032-33805-1_7
- Research area: [Medical imaging AI](https://www.archelab.org/research/medical-imaging), [Computer vision](https://www.archelab.org/research/computer-vision)
- Read the paper: https://doi.org/10.1007/978-3-032-33805-1_7

## Summary

MIME compares three ways of handling class imbalance in skin lesion classification on ISIC 2019, using an EfficientNetV2-S backbone: data sampling, loss function tuning and DC-GAN augmentation. Sampling and loss changes gave limited gains, while synthetic minority images raised accuracy from 82.25% to 90.08% and macro F1 from 60.42% to 82.84%. F1 for squamous cell carcinoma rose the most, from 11.89% to 53.18%.

## 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

```bibtex
@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}
}
```

Page: https://www.archelab.org/publications/mime
