Exploiting Transformer Network for Nail Diseases Classification and Recognition

Main Article Content

Aekkarat Suksukont
Bunthida Chunngam
Ekachai Naowanich

Abstract

Diagnosing nail diseases is a complex task due to their similar visual characteristics, often requiring expert dermatologists for accurate assessment. Misdiagnosis can lead to ineffective treatment and prolonged patient discomfort. This study explores the use of a transformer neural network for classifying nail diseases, leveraging its ability to identify intricate patterns and subtle features that may indicate early signs of disease. The research focuses on three nail conditions: psoriasis nails, onychomycosis, and healthy. The model was trained with a carefully optimized set of hyperparameters to improve learning efficiency and classification performance. Experimental results showed that the network achieved a peak accuracy of 99.40%, demonstrating its ability to effectively distinguish between different nail conditions. This approach not only enhances classification accuracy but also has the potential to reduce the workload of healthcare professionals and speed up diagnosis. Ultimately, this advancement could contribute to the development of automated diagnostic systems, leading to improved patient care and treatment outcomes.

Article Details

Section
Research Article

References

M. Umei et al., “Prevalence, risk factors and potential implications of nail biting in adults with congenital heart disease,” Int. J. Cardiol., vol. 418, 2025, Art. no. 132652, doi: 10.1016/j.ijcard.2024.132652.

K. L. Curtis et al., “Diagnosis and management of nail unit squamous cell carcinoma: A clinical review by an expert panel,” JAAD Rev., vol. 4, pp. 187–194, Jun. 2025, doi: 10.1016/j.jdrv.2024.12.012.

S. Das and M. Bhattacharjee, “Image-based sensing of Leukonychia for early diagnosis of anemia using a smartphone application,” IEEE Sens. Lett., vol. 6, no. 11, 2022, Art. no. 3502604.

Y. S. Hariyani, H. Eom, and C. Park, “DA-capnet: dual attention deep learning based on U-net for nailfold capillary segmentation,” IEEE Access, vol. 8, pp. 10543–10553, 2020, doi: 10.1109/ACCESS.2020.2965651.

A. Prommakhot and J. Srinonchat, “Combining convolutional neural networks for fungi classification,” IEEE Access, vol. 12, pp. 58021–58030, 2024, doi: 10.1109/ACCESS.2024.3391630.

A. Prommakhot and J. Srinonchat, “VGGNet integration for kidney tumor classification,” in Proc. 12th Int. Electr. Eng. Congr. (iEECON), Pattaya, Thailand, Mar. 2024, pp. 1–6.

H. Wang, H. Jia, L. Lu, and Y. Xia, “Thorax-net: An attention regularized deep neural network for classification of Thoracic diseases on chest radiography,” IEEE J. Biomed. Health Inform., vol. 24, no. 2, pp. 475–485, 2020.

A. P. Leynes, N. Deveshwar, S. S. Nagarajan, and P. E. Z. Larson, “Scan-specific self-supervised bayesian deep non-linear inversion for undersampled MRI reconstruction,” IEEE Trans. Med. Imaging, vol. 43, no. 6, pp. 2358–2369, 2024.

K. Lee, T. C. Cavalcanti, S. Kim, H. M. Lew, D. H. Suh, and D. H. Lee, “Multi-task and few-shot learning-based fully automatic deep learning platform for mobile diagnosis of skin diseases,” IEEE J. Biomed. Health Inform., vol. 27, no. 1, pp. 176–187, 2023.

S. A. Yamaç, O. Kuyucuoğlu, Ş. B. Köseoğlu, and S. Ulukaya, “Deep learning-based classification of human nail diseases using color nail images,” in Proc. 45th Int. Conf. Telecommun. and Signal Process. (TSP), Prague, Czech Republic, Jul. 2022, pp. 196–199.

H. Muneera Begum, A. Dhivya, A. J. Krishnan, and S. D. Keerthana, “Automated detection of skin and nail disorders using convolutional neural networks,” in Proc. 5th Int. Conf. Trends Electron. Inform. (ICOEI), Tirunelveli, India, Jun. 2021, pp. 1309–1316.

G. Shandilya et al., “Autonomous detection of nail disorders using a hybrid capsule CNN: A novel deep learning approach for early diagnosis,” BMC Med. Inform. Decis. Mak., vol. 24, 2024, Art. no. 414.

Nail Disease Image Classification Dataset, Kaggle, 2023. [Online]. Available: https://www.kaggle.com/datasets/josephrasanjana/nail-disease-image-classification-dataset

A. Vaswani et al., “Attention is all you need,” in Proc. 31st Conf. Neural Inf. Process. Syst. (NIPS), Long Beach, CA, USA, Dec. 2017, pp. 5998–6008. [Online]. Available: https://papers.nips.cc/paper_files/paper/2017/file/3f5ee243547dee91fbd053c1c4a845aa-Paper.pdf

R. Nijhawan, R. Verma, Ayushi, S. Bhushan, R. Dua, and A. Mittal, “An integrated deep learning framework approach for nail disease identification,” in Proc. 13th Int. Conf. Signal-Image Technol. Internet-Based Syst. (SITIS), Jaipur, India, Dec. 2017, pp. 197–202.

A. Kumar and K. K. Tiwari, “Disease classification in dermatology: A CNN-RF hybrid approach,” in Proc. 3rd Int. Conf. Artif. Intell. Internet Things (AIIoT), Vellore, India, May 2024, pp. 1–5.

S. Marulkar and B. Narain, “Nail disease prediction using a deep learning integrated framework,” in Proc. 3rd Int. Conf. Intell. Technol. (CONIT), Hubli, India, Jun. 2023, pp. 1–6.