An LLM-Based AI Framework for Skin Cancer Detection
DOI:
https://doi.org/10.68337/cpsm.v1.i3.2026-049Keywords:
Convolutional neural network, DenseNet, LLM-based AI, deep learningAbstract
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
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.Conference Proceedings Volume
Section
Categories
License
Copyright (c) 2026 The Authors

This work is licensed under a Creative Commons Attribution 4.0 International License.
Articles published in Conference Proceedings in Science and Management are made available under the Creative Commons Attribution 4.0 International License (CC BY 4.0). Authors retain copyright in their work and grant the journal first publication rights. Readers are free to share and adapt the published material for any purpose, including commercial use, provided appropriate credit is given to the author, a link to the license is provided, and any changes are indicated.
