Dermora AI: Explainable Skin Lesion Classification and Clinical Triage from Dermoscopic Images

Authors

Aditya S

Student, Atria Institute of Technology, Bangalore, India (India)

Harshavardhan HR

Student, Atria Institute of Technology, Bangalore, India (India)

E Jerrish Daniel

Student, Atria Institute of Technology, Bangalore, India (India)

Amrutha N

Assistant Professor, Department of Information Science and Engineering, Atria Institute of Technology, Bangalore, India (India)

Article Information

Publication Timeline

Submitted: 2026-09-30

Accepted: 2026-10-05

Published: 2026-10-22

Abstract

Melanoma accounts for a minority of skin cancers but for most of the deaths, and the outcome depends heavily on how early the lesion is removed. This paper presents Dermora AI, a decision support system that runs entirely on a local machine and takes a single dermoscopic image through four stages: an image quality check, a seven class diagnosis with its own uncertainty measures, an attention map together with an independent ABCD morphometric score, and a triage recommendation in one of four bands. The classifier is a YOLOv8n detector fine tuned on the 10,015 images of ISIC 2018 Task 3 (HAM10000) using boxes that cover the whole image. A detector used this way is normally read after non-maximum suppression, which keeps one class and discards the rest. We instead read the raw detection head, average the 32 strongest anchor scores for each class, convert them into a posterior over all seven classes and average the result over four flipped views. On the 193 image ISIC 2018 validation split the deployed pipeline reached an accuracy of 84.46%, a balanced accuracy of 56.71% and a sensitivity of 77.78% for melanoma and basal cell carcinoma taken together, against 79.79%, 49.26% and 66.67% when the same weights were read after suppression. The expected calibration error was 2.21%. A post hoc prior correction raised balanced accuracy to 74.73% at a cost of 3.63 points of accuracy, which identifies class imbalance as the main remaining weakness. A full analysis took a median of 320 ms per image on a laptop processor. The validation split was also used to select the checkpoint, the rarest classes have very few examples, and the attention maps were often diffuse; we report these limits alongside the results.

Keywords

Dermoscopy, skin lesion classification, melanoma, YOLOv8, explainable artificial intelligence, Eigen-CAM, ABCD rule, class imbalance, clinical decision support, HAM10000

Downloads

References

1. H. Sung, J. Ferlay, R. L. Siegel, M. Laversanne, I. Soerjomataram, A. Jemal, and F. Bray, "Global cancer statistics 2020: GLOBOCAN estimates of incidence and mortality worldwide for 36 cancers in 185 countries," CA: A Cancer Journal for Clinicians, vol. 71, no. 3, pp. 209–249, 2021. [Google Scholar] [Crossref]

2. A. Breslow, "Thickness, cross-sectional areas and depth of invasion in the prognosis of cutaneous melanoma," Annals of Surgery, vol. 172, no. 5, pp. 902–908, 1970. [Google Scholar] [Crossref]

3. H. Kittler, H. Pehamberger, K. Wolff, and M. Binder, "Diagnostic accuracy of dermoscopy," The Lancet Oncology, vol. 3, no. 3, pp. 159–165, 2002. [Google Scholar] [Crossref]

4. A. Esteva et al., "Dermatologist-level classification of skin cancer with deep neural networks," Nature, vol. 542, no. 7639, pp. 115–118, 2017. [Google Scholar] [Crossref]

5. H. A. Haenssle et al., "Man against machine: Diagnostic performance of a deep learning convolutional neural network for dermoscopic melanoma recognition in comparison to 58 dermatologists," Annals of Oncology, vol. 29, no. 8, pp. 1836–1842, 2018. [Google Scholar] [Crossref]

6. P. Tschandl et al., "Comparison of the accuracy of human readers versus machine-learning algorithms for pigmented skin lesion classification: An open, web-based, international, diagnostic study," The Lancet Oncology, vol. 20, no. 7, pp. 938–947, 2019. [Google Scholar] [Crossref]

7. N. Codella et al., "Skin lesion analysis toward melanoma detection 2018: A challenge hosted by the International Skin Imaging Collaboration (ISIC)," arXiv:1902.03368, 2019. [Google Scholar] [Crossref]

8. P. Tschandl, C. Rosendahl, and H. Kittler, "The HAM10000 dataset, a large collection of multi-source dermatoscopic images of common pigmented skin lesions," Scientific Data, vol. 5, Art. no. 180161, 2018. [Google Scholar] [Crossref]

9. P. Tschandl et al., "Human–computer collaboration for skin cancer recognition," Nature Medicine, vol. 26, no. 8, pp. 1229–1234, 2020. [Google Scholar] [Crossref]

10. S. W. Menzies et al., "Comparison of humans versus mobile phone-powered artificial intelligence for the diagnosis and management of pigmented skin cancer in secondary care: A multicentre, prospective, diagnostic, clinical trial," The Lancet Digital Health, vol. 5, no. 10, pp. e679–e691, 2023. [Google Scholar] [Crossref]

11. S. W. Saha, I. U. Ahamed, M. A. Imran, I. U. Ahamed, A.-A. Hossain, and U. D. Gupta, "YOLOv8-based deep learning approach for real-time skin lesion classification using the HAM10000 dataset," in Proc. IEEE Int. Conf. E-health Networking, Application and Services (HealthCom), Nara, Japan, 2024, pp. 1–4. [Google Scholar] [Crossref]

12. Indriyani, P. Dewanti, and Y. H. P. Manurung, "A YOLOv8 implementation for automatic skin pigmentation detection: A deep learning approach in biomedical image analysis," Engineering, Technology and Applied Science Research, vol. 16, no. 3, pp. 35529–35536, 2026. [Google Scholar] [Crossref]

13. M. Tan and Q. V. Le, "EfficientNet: Rethinking model scaling for convolutional neural networks," in Proc. 36th Int. Conf. Machine Learning (ICML), 2019, pp. 6105–6114. [Google Scholar] [Crossref]

14. B. S. Sonune et al., "Interpretable skin cancer identification using a hybrid deep learning and XAI framework on HAM10000," Bioengineering, vol. 13, no. 6, Art. no. 677, 2026. [Google Scholar] [Crossref]

15. T.-Y. Lin, P. Goyal, R. Girshick, K. He, and P. Dollár, "Focal loss for dense object detection," in Proc. IEEE Int. Conf. Computer Vision (ICCV), 2017, pp. 2980–2988. [Google Scholar] [Crossref]

16. A. K. Menon, S. Jayasumana, A. S. Rawat, H. Jain, A. Veit, and S. Kumar, "Long-tail learning via logit adjustment," in Proc. Int. Conf. Learning Representations (ICLR), 2021. [Google Scholar] [Crossref]

17. J. Redmon, S. Divvala, R. Girshick, and A. Farhadi, "You only look once: Unified, real-time object detection," in Proc. IEEE Conf. Computer Vision and Pattern Recognition (CVPR), 2016, pp. 779–788. [Google Scholar] [Crossref]

18. G. Jocher, A. Chaurasia, and J. Qiu, "Ultralytics YOLOv8," 2023. [Online]. Available: https://github.com/ultralytics/ultralytics [Google Scholar] [Crossref]

19. R. R. Selvaraju, M. Cogswell, A. Das, R. Vedantam, D. Parikh, and D. Batra, "Grad-CAM: Visual explanations from deep networks via gradient-based localization," in Proc. IEEE Int. Conf. Computer Vision (ICCV), 2017, pp. 618–626. [Google Scholar] [Crossref]

20. M. B. Muhammad and M. Yeasin, "Eigen-CAM: Class activation map using principal components," in Proc. Int. Joint Conf. Neural Networks (IJCNN), 2020, pp. 1–7. [Google Scholar] [Crossref]

21. Z. Salahuddin, H. C. Woodruff, A. Chatterjee, and P. Lambin, "Transparency of deep neural networks for medical image analysis: A review of interpretability methods," Computers in Biology and Medicine, vol. 140, Art. no. 105111, 2022. [Google Scholar] [Crossref]

22. J. K. Winkler et al., "Association between surgical skin markings in dermoscopic images and diagnostic performance of a deep learning convolutional neural network for melanoma recognition," JAMA Dermatology, vol. 155, no. 10, pp. 1135–1141, 2019. [Google Scholar] [Crossref]

23. W. Stolz et al., "ABCD rule of dermatoscopy: A new practical method for early recognition of malignant melanoma," European Journal of Dermatology, vol. 4, no. 7, pp. 521–527, 1994. [Google Scholar] [Crossref]

24. N. R. Abbasi et al., "Early diagnosis of cutaneous melanoma: Revisiting the ABCD criteria," JAMA, vol. 292, no. 22, pp. 2771–2776, 2004. [Google Scholar] [Crossref]

25. T. Lee, V. Ng, R. Gallagher, A. Coldman, and D. McLean, "DullRazor: A software approach to hair removal from images," Computers in Biology and Medicine, vol. 27, no. 6, pp. 533–543, 1997. [Google Scholar] [Crossref]

26. N. Otsu, "A threshold selection method from gray-level histograms," IEEE Transactions on Systems, Man, and Cybernetics, vol. 9, no. 1, pp. 62–66, 1979. [Google Scholar] [Crossref]

27. C. Guo, G. Pleiss, Y. Sun, and K. Q. Weinberger, "On calibration of modern neural networks," in Proc. 34th Int. Conf. Machine Learning (ICML), 2017, pp. 1321–1330. [Google Scholar] [Crossref]

28. R. Daneshjou et al., "Disparities in dermatology AI performance on a diverse, curated clinical image set," Science Advances, vol. 8, no. 32, Art. no. eabq6147, 2022. [Google Scholar] [Crossref]

29. U.S. Food and Drug Administration, "Clinical decision support software: Guidance for industry and Food and Drug Administration staff," Sep. 2022. [Google Scholar] [Crossref]

Metrics

Views & Downloads

Similar Articles