An LLM-Based AI Framework for Skin Cancer Detection

Authors

  • N. Suvarna Parvathi Lakshmi Department of Computer Science and Engineering, Swarnandhra College of Engineering and Technology, Narasapur, India Author
  • Suneel Gollapalli Department of Computer Science and Engineering, GMR Institute of Technology, Rajam, India Author
  • Srinivasa Rao Manchem Department of Computer Science and Engineering, Swarnandhra College of Engineering and Technology, Narasapur, India Author
  • N. Jeevana Jyothi Department of Computer Science and Engineering, Swarnandhra College of Engineering and Technology, Narasapur, India Author
  • Jyosthna Kumari Ponnuru Department of Computer Science and Engineering, SRK Institute of Technology, Vijayawada, India Author
  • M. Jayanthi Rao Department of Computer Science and Engineering, Aditya Institute of Technology and Management, Tekkali, India Author

DOI:

https://doi.org/10.68337/cpsm.v1.i3.2026-049

Keywords:

Convolutional neural network, DenseNet, LLM-based AI, deep learning

Abstract

Skin cancer is one of the most rapidly spreading diseases in the world, and early detection is essential for improving patient survival rates. Recent developments in deep learning have shown considerable promise in medical image analysis and have made automated, accurate disease classification possible. This paper proposes an automated system for the diagnosis of skin cancer and for user assistance that combines conversational artificial intelligence (AI) with deep learning-based image analysis. The system is built on a DenseNet-based convolutional neural network (CNN), and a conversational AI module based on a large language model (LLM), running the GPT-OSS model on the Ollama platform, is integrated to improve user interaction. To make the output safer and more dependable, a rule-based recommendation system also offers predefined safety measures and basic care instructions. Experimental results show that the proposed system achieves dependable accuracy and could serve as a useful clinical decision-support tool for dermatologists, helping to improve the early detection of most skin cancers.

References

[1] Ranpreet Kaur, Hamid GholamHosseini, Roopak Sinha, and Maria Lindén, "Melanoma classification using a novel deep convolutional neural network with dermoscopic images," Sensors, vol. 22, no. 3, Art. no. 1134, 2022, doi: 10.3390/s22031134.

[2] Shake Ibna Abir, Shaharina Shoha, Md Miraj Hossain, Syed Moshiur Rahman, Shariar Islam Saimon, Intiser Islam, Md Atikul Islam Mamun, and Nazrul Islam Khan, "Deep learning-based classification of skin lesions: Enhancing melanoma detection through automated preprocessing and data augmentation," J. Comput. Sci. Technol. Stud., vol. 6, no. 5, pp. 152-167, 2024, doi: 10.32996/jcsts.2024.6.5.13.

[3] Philipp Tschandl, Cliff Rosendahl, and Harald Kittler, "The HAM10000 dataset, a large collection of multi-source dermatoscopic images of common pigmented skin lesions," Sci. Data, vol. 5, Art. no. 180161, 2018, doi: 10.1038/sdata.2018.161.

[4] Amirreza Mahbod, Gerald Schaefer, Isabella Ellinger, Rupert Ecker, Alain Pitiot, and Chunliang Wang, "Fusing fine-tuned deep features for skin lesion classification," Comput. Med. Imaging Graph., vol. 71, pp. 19-29, 2019, doi: 10.1016/j.compmedimag.2018.10.007.

[5] Fatmir Basholli, Mohammed R. Hayal, Ebrahim E. Elsayed, and Davron Aslonqulovich Juraev, "Deep learning for skin disease classification: A comparative study of CNN and CNN-LSTM architectures," J. Comput. Data Technol., vol. 1, no. 1, pp. 40-49, 2025, doi: 10.71426/jcdt.v1.i1.pp40-49.

[6] Madiha Hameed, Aneela Zameer, and Muhammad Asif Zahoor Raja, "A comprehensive systematic review: Advancements in skin cancer classification and segmentation using the ISIC dataset," Comput. Model. Eng. Sci., vol. 140, no. 3, pp. 2131-2164, 2024, doi: 10.32604/cmes.2024.050124.

[7] Shine Rijo R. S. and R. Hemalatha, "AI-powered dermatology assistant for personalized skin care and product recommendation," in Proc. 1st Int. Conf. Comput. Cogn. Syst. Sci., 2025, pp. 24-32, doi: 10.5220/0014929900005024.

[8] Serra Aksoy, Pinar Demircioglu, and Ismail Bogrekci, "Deep learning-based web application for automated skin lesion classification and analysis," Dermato, vol. 5, no. 2, Art. no. 7, 2025, doi: 10.3390/dermato5020007.

Downloads

Published

2026-11-30

Data Availability Statement

This study used the publicly available International Skin Imaging Collaboration (ISIC) dermoscopic image dataset. Further data supporting the findings are available from the corresponding author upon reasonable request.

How to Cite

An LLM-Based AI Framework for Skin Cancer Detection. (2026). Conference Proceedings in Science and Management, 1(3), 14-17. https://doi.org/10.68337/cpsm.v1.i3.2026-049