Advancing Dermatology Diagnostics with Vision Transformers for Binary Skin Lesion Classification
摘要
Accurate classification of skin lesions into benign or malignant categories is crucial for early diagnosis and treatment of dermatological conditions. In this study, we present a comprehensive evaluation of Vision Transformer (ViT) models for binary classification tasks using a curated subset of the DermNet dataset. By leveraging a pre-trained ViT model fine-tuned on domain-specific data, we achieve a test accuracy of 94% with consistently high precision and recall scores. The results highlight the advantages of transformer-based architectures over traditional convolutional neural networks (CNNs), particularly in capturing global and contextual patterns in dermatological images. We describe the preprocessing pipeline, model architecture, and training strategies in detail, and we provide exhaustive evaluation metrics, confusion-matrix analysis, and interpretability visualizations. Finally, we discuss challenges and future directions—including computational efficiency, multi-class extensions, and clinical integration—showing the potential of ViTs to enhance dermatology decision-making.