Multimodal Skin Lesion Classification via Image-Text Alignment and Structured Clinical Attributes
DOI:
https://doi.org/10.54097/hzjjjr69Keywords:
SkinCAP Multimodal Dermatology Dataset, Multimodal Skin Lesion Classification, Cross-modal Image-text Alignment, Structured Attribute Fusion, Attribute-preserving Auxiliary LearningAbstract
Accurate skin lesion classification is important for clinical screening and decision-making, yet image-only approaches may fail to fully exploit complementary information from medical descriptions and structured dermatologic attributes. Based on the SkinCAP multimodal dermatology dataset, we propose a multimodal skin lesion classification framework integrating cross-modal image–text alignment, structured attribute fusion, and attribute-preserving auxiliary learning. After text processing, image deduplication, and quality control, 2,898 samples were retained for three-group classification. Experiments with five random seeds showed that the proposed model achieved an Accuracy of 88.09% ± 0.34%, a Macro-F1 of 80.32% ± 0.95%, and a Macro-AUPRC of 87.90% ± 0.80%. The proposed model achieved a mean Macro-F1 1.66 percentage points higher than BioMedCLIP, although the paired bootstrap 95% confidence interval included zero. Ablation studies further suggested complementary trends among image–text alignment, structured attribute fusion, and attribute-preserving auxiliary learning. These results suggest that jointly modeling medical images, diagnosis-term-masked medical descriptions, and structured dermatologic attributes was associated with higher mean overall classification performance under the current fixed data protocol, providing a feasible framework for integrating heterogeneous clinical information in multimodal skin lesion classification.
Downloads
References
[1] Hay, R. J., Johns, N. E., Williams, H. C., Bolliger, I. W., Dellavalle, R. P., Margolis, D. J., et al. (2014). The global burden of skin disease in 2010: An analysis of the prevalence and impact of skin conditions. Journal of Investigative Dermatology, 134, 1527–1534. https://doi.org/10.1038/jid.2013.446.
[2] Liu, Y., Jain, A., Eng, C., Way, D. H., Lee, K., Bui, P., et al. (2020). A deep learning system for differential diagnosis of skin diseases. Nature Medicine, 26, 900–908. https://doi.org/10.1038/s41591-020-0842-3.
[3] Esteva, A., Kuprel, B., Novoa, R. A., Ko, J., Swetter, S. M., Blau, H. M., et al. (2017). Dermatologist-level classification of skin cancer with deep neural networks. Nature, 542, 115–118. https://doi.org/10.1038/nature21056.
[4] Yap, J., Yolland, W., & Tschandl, P. (2018). Multimodal skin lesion classification using deep learning. Experimental Dermatology, 27, 1261–1267. https://doi.org/10.1111/exd.13777.
[5] Rotemberg, V., Kurtansky, N., Betz-Stablein, B., Caffery, L., Chousakos, E., Codella, N., et al. (2021). A patient-centric dataset of images and metadata for identifying melanomas using clinical context. Scientific Data, 8, 34. https://doi.org/10.1038/s41597-021-00815-z.
[6] Pacheco, A. G. C., Lima, G. R., Salomão, A. S., Krohling, B., Biral, I. P., de Angelo, G. G., et al. (2020). PAD-UFES-20: A skin lesion dataset composed of patient data and clinical images collected from smartphones. Data in Brief, 32, 106221. https://doi.org/10.1016/j.dib.2020.106221.
[7] Radford, A., Kim, J. W., Hallacy, C., Ramesh, A., Goh, G., Agarwal, S., et al. (2021). Learning transferable visual models from natural language supervision. In Proceedings of the 38th International Conference on Machine Learning (pp. 8748–8763). PMLR.
[8] Wang, Z., Wu, Z., Agarwal, D., & Sun, J. (2022). MedCLIP: Contrastive learning from unpaired medical images and text. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing (pp. 3876–3887). Association for Computational Linguistics. https://doi.org/10.18653/v1/2022.emnlp-main.256.
[9] Zhang, S., Xu, Y., Usuyama, N., Xu, H., Bagga, J., Tinn, R., et al. (2025). A multimodal biomedical foundation model trained from fifteen million image–text pairs. NEJM AI, 2, AIoa2400640. https://doi.org/10.1056/AIoa2400640.
[10] Daneshjou, R., Yuksekgonul, M., Cai, Z. R., Novoa, R., & Zou, J. Y. (2022). SkinCon: A skin disease dataset densely annotated by domain experts for fine-grained debugging and analysis. Advances in Neural Information Processing Systems, 35, 18157–18167. https://doi.org/10.52202/068431-1320.
[11] Abbas, Q., Celebi, M. E., Serrano, C., Fondón García, I., & Ma, G. (2013). Pattern classification of dermoscopy images: A perceptually uniform model. Pattern Recognition, 46, 86–97. https://doi.org/10.1016/j.patcog.2012.07.027.
[12] Sun, X., Yang, J., Sun, M., & Wang, K. (2016). A benchmark for automatic visual classification of clinical skin disease images. In Computer Vision – ECCV 2016 (Lecture Notes in Computer Science, Vol. 9910, pp. 206–222). Springer, Cham. https://doi.org/10.1007/978-3-319-46466-4_13.
[13] Liu, Z., Lin, Y., Cao, Y., Hu, H., Wei, Y., Zhang, Z., et al. (2021). Swin Transformer: Hierarchical vision transformer using shifted windows. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV) (pp. 10012–10022). IEEE. https://doi.org/10.1109/ICCV48922.2021.00986.
[14] 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. https://doi.org/10.1016/j.neunet.2018.07.011.
[15] Koh, P. W., Nguyen, T., Tang, Y. S., Mussmann, S., Pierson, E., Kim, B., et al. (2020). Concept bottleneck models. In Proceedings of the 37th International Conference on Machine Learning (pp. 5338–5348). PMLR.
[16] Kim, C., Gadgil, S. U., DeGrave, A. J., Omiye, J. A., Cai, Z. R., Daneshjou, R., et al. (2024). Transparent medical image AI via an image–text foundation model grounded in medical literature. Nature Medicine, 30, 1154–1165. https://doi.org/10.1038/s41591-024-02887-x.
[17] Zhou, J., He, X., Sun, L., Xu, J., Chen, X., Chu, Y., et al. (2024). Pre-trained multimodal large language model enhances dermatological diagnosis using SkinGPT-4. Nature Communications, 15, 5649. https://doi.org/10.1038/s41467-024-50043-3.
[18] Zhou, J., Sun, L., Xu, Y., Liu, W., Afvari, S., Han, Z., et al. (2024). SkinCAP: A multi-modal dermatology dataset annotated with rich medical captions. arXiv preprint arXiv:2405.18004. https://doi.org/10.48550/arXiv.2405.18004.
[19] Groh, M., Harris, C., Soenksen, L., Lau, F., Han, R., Kim, A., et al. (2021). Evaluating deep neural networks trained on clinical images in dermatology with the Fitzpatrick17k dataset. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW) (pp. 1820–1828). IEEE. https://doi.org/10.1109/CVPRW53098.2021.00201.
[20] Daneshjou, R., Vodrahalli, K., Novoa, R. A., Jenkins, M., Liang, W., Rotemberg, V., et al. (2022). Disparities in dermatology AI performance on a diverse, curated clinical image set. Science Advances, 8, eabq6147. https://doi.org/10.1126/sciadv.abq6147.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Frontiers in Computing and Intelligent Systems

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

