Lightweight Deep Learning for Skin Lesion Image Classification
Abstract
Skin lesion image classification is important for early skin-cancer screening, but dermoscopic datasets are severely class-imbalanced, which can impair the recognition of minority classes such as melanoma. Using MobileNetV2 as the backbone, this paper studies, through ablation experiments, how channel attention (squeeze-and-excitation, SE) and class-imbalance handling strategies affect seven-class skin lesion classification. On the HAM10000 dataset split by lesion identifier, class-balanced weighted cross-entropy raises the macro-F1 from 0.702 to 0.776, and class-balanced sampling further raises it to 0.797, minority-class recall improves (melanoma 0.514 to 0.577, vascular lesions 0.467 to 0.867). SE alone improves class balance, but its gain does not add up with the imbalance strategies. The results provide empirical guidance for comparing structural enhancements and imbalance-handling strategies in lightweight skin lesion classification.
References
- Tschandl, P., Rosendahl, C., & Kittler, H. (2018). The HAM10000 dataset, a large collection of multi-source dermatoscopic images of common pigmented skin lesions.Scientific Data, 5, 180161.
- Codella, N., Rotemberg, V., Tschandl, P., et al. (2019). Skin lesion analysis toward melanoma detection 2018: A challenge hosted by the International Skin Imaging Collaboration (ISIC). arXiv:1902.03368.
- Esteva, A., Kuprel, B., Novoa, R. A., et al. (2017). Dermatologist-level classification of skin cancer with deep neural networks.Nature, 542(7639), 115–118.
- Buda, M., Maki, A., & Mazurowski, M. A. (2018). A systematic study of the class imbalance problem in convolutional neural networks.Neural Networks, 106, 249–259.
- He, H., & Garcia, E. A. (2009). Learning from imbalanced data.IEEE TKDE, 21(9), 1263–1284.
- Howard, A. G., Zhu, M., Chen, B., et al. (2017). MobileNets: Efficient convolutional neural networks for mobile vision applications. arXiv:1704.04861.
- Sandler, M., Howard, A., Zhu, M., et al. (2018). MobileNetV2: Inverted residuals and linear bottlenecks. InCVPR(pp. 4510–4520).
- Howard, A., Sandler, M., Chu, G., et al. (2019). Searching for MobileNetV3. InICCV(pp. 1314–1324).
- Tan, M., & Le, Q. (2019). EfficientNet: Rethinking model scaling for convolutional neural networks. InICML(pp. 6105–6114).
- Hu, J., Shen, L., & Sun, G. (2018). Squeeze-and-excitation networks. InCVPR(pp. 7132–7141).
- Abbas, Q., Daada, A., Rashid, U., et al. (2023). Assist-Dermo: A lightweight separable vision transformer model for multiclass skin lesion classification.Diagnostics, 13(15), 2531.
- Xu, J., Zhao, X., & Li, X. J. (2026). A lightweight classification network for skin lesion based on the hybridization of CNN and Transformer.Journal of Shanxi University (Nat. Sci. Ed.), 49(2), 284–294.
- Woo, S., Park, J., Lee, J. Y., et al. (2018). CBAM: Convolutional block attention module. InECCV(pp. 3–19).
- Hou, Q., Zhou, D., & Feng, J. (2021). Coordinate attention for efficient mobile network design. InCVPR(pp. 13708–13717).
- Lin, T. Y., Goyal, P., Girshick, R., et al. (2017). Focal loss for dense object detection. InICCV(pp. 2999–3007).
- Cui, Y., Jia, M., Lin, T. Y., et al. (2019). Class-balanced loss based on effective number of samples. InCVPR(pp. 9268–9277).
- Chawla, N. V., Bowyer, K. W., Hall, L. O., et al. (2002). SMOTE: Synthetic minority over-sampling technique.JAIR, 16, 321–357.