Evaluasi Efektifitas Optimizer Adam dan SGD pada Klasifikasi Citra Dermoskopi dengan MobileNetV4
DOI:
https://doi.org/10.47065/bulletincsr.v6i4.1165Keywords:
Adam Optimizer; Dermoscopy; ISIC 2019; MobileNetV4; SGD; Skin Disease Classification; Transfer LearningAbstract
Skin disease is one of the most common health problems and requires fast and accurate diagnosis. The limited availability of dermatology specialists and the high subjectivity of conventional diagnosis have driven the development of artificial intelligence-based automatic classification systems. This study aims to compare the performance of the Adam and Stochastic Gradient Descent (SGD) optimizers on the MobileNetV4 architecture for classifying eight classes of skin diseases using the ISIC 2019 dataset. The dataset consists of 23,257 valid dermoscopic images after preprocessing, which includes duplicate image removal, hair artifact elimination using the blackhat morphology method, and an asymmetric sampling strategy in which majority classes were capped at a maximum of 2,000 images while minority classes were augmented to reach the target count, in order to address extreme class imbalance with a ratio of up to 53:1. The model was trained using a three-phase training strategy with gradual unfreezing of the MobileNetV4 backbone initialized with pretrained ImageNet weights. All training configurations were made identical for both optimizers except for the optimization algorithm and learning rate, ensuring a fair comparison. Evaluation results on the test set show that the Adam optimizer achieved an accuracy of 71.07% with a macro F1-score of 0.72, while SGD achieved an accuracy of 58.06% with a macro F1-score of 0.57. Adam outperformed SGD across all eight skin disease classes. The performance difference of 13.01% indicates that Adam's adaptive learning rate mechanism is more effective for dermoscopic datasets with imbalanced class distributions compared to SGD. Nevertheless, it should be noted that Adam requires greater computational memory than SGD due to the storage of first and second moment estimates per parameter, and therefore the computational efficiency trade-off should be considered when deploying the model on resource-constrained devices. This study provides empirical contribution in selecting the optimal optimizer for skin lesion classification based on lightweight architectures.
Downloads
References
J. Ferlay dkk., “Global Cancer Observatory: Cancer Today,” Lyon, France, 2024. Diakses: 1 April 2026. [Daring]. Tersedia pada: https://gco.iarc.who.int/today
C. Hernández-Pérez dkk., “BCN20000: Dermoscopic Lesions in the Wild,” Sci. Data, vol. 11, no. 1, Des 2024, doi: 10.1038/s41597-024-03387-w.
P. Tschandl, C. Rosendahl, dan H. Kittler, “The HAM10000 dataset, a large collection of multi-source dermatoscopic images of common pigmented skin lesions,” Sci. Data, vol. 5, Agu 2018, doi: 10.1038/sdata.2018.161.
A. N. Pratama, “Sistem Klasifikasi Penyakit Kulit pada Manusia Convolutional Neural Network (CNN) EfficientNet B2,” Paradigma?: Jurnal Filsafat, Sains, Teknologi,dan Sosial Budaya, vol. 30, hlm. 30–37, 2024, doi: https://doi.org/10.33503/paradigma.v30i2.439.
R. Agarwal dan D. Godavarthi, “Skin Disease Classification Using CNN Algorithms,” EAI Endorsed Trans. Pervasive Health Technol., vol. 9, no. 1, Mei 2023, doi: 10.4108/eetpht.9.4039.
R. Agustina, R. Magdalena, dan N. K. C. Pratiwi, “Klasifikasi Kanker Kulit menggunakan Metode Convolutional Neural Network dengan Arsitektur VGG-16,” ELKOMIKA: Jurnal Teknik Energi Elektrik, Teknik Telekomunikasi, & Teknik Elektronika, vol. 10, no. 2, hlm. 446, Apr 2022, doi: 10.26760/elkomika.v10i2.446.
G. P. H. P. Gusti, E. Haerani, F. Syafria, F. Yanto, dan S. K. Gusti, “Implementasi Algoritma Convolutional Neural Network (Resnet-50) untuk Klasifikasi Kanker Kulit Benign dan Malignant,” MALCOM: Indonesian Journal of Machine Learning and Computer Science, vol. 4, no. 3, hlm. 984–992, Jun 2024, doi: 10.57152/malcom.v4i3.1398.
D. Qin dkk., “MobileNetV4?: Universal Models for the Mobile Ecosystem,” dalam Computer Vision – ECCV 2024, Spring Nature Link, Nov 2024. doi: 10.1007/978-3-031-73661-2_5.
R. Suhartoyo, “Implementation of MobileNetV4 and Efficient Channel Attention in Anti-Spoofing Face Attack Detection,” INOVTEK Polbeng-Seri Informatika, vol. 11, no. 1, 2026, doi: 10.35314/kth2nc32.
M. N. Anugrah dan N. Rachmat, “Klasifikasi Penyakit Daun Tanaman Jagung Menggunakan Pendekatan Transfer Learning Arsitektur MobileNetV4,” Jurnal Teknologi dan Manajemen Industri Terapan (JTMIT), vol. 4, no. 4, hlm. 2174–2182, 2025, doi: 10.55826/jtmit.v4i4.1393.
G. Prabhat dan A. Kumar Mahato, “Adam Vs. SGD: Achieving Comparable Generalization In Image Classification Through Adaptive Techniques,” International Journal of Current Science (IJCSPUB), vol. 15, no. 2, hlm. 273–279, Apr 2025, Diakses: 15 Juni 2026. [Daring]. Tersedia pada: https://www.rjpn.org/ijcspub/papers/IJCSP25B1033.pdf
A. Telea, “An Image Inpainting Technique Based on the Fast Marching Method,” Journal of Graphics Tools, vol. 9, no. 1, hlm. 25–36, 2004, doi: 10.1080/10867651.2004.10487596.
E. S. Nugroho, I. Ardiyanto, dan H. A. Nugroho, “Boosting the performance of pretrained CNN architecture on dermoscopic pigmented skin lesion classification,” Skin Research and Technology, vol. 29, no. 11, Nov 2023, doi: 10.1111/srt.13505.
Aurélien Géron, Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow. Sevastopol, CA: O’Reilly Media, Inc., 2022.
D. P. Kingma dan J. Ba, “Adam: A Method for Stochastic Optimization,” Jan 2014, [Daring]. Tersedia pada: http://arxiv.org/abs/1412.6980
A. T. Ibrahim, M. Abdullahi, A. F. D. Kana, M. T. Mohammed, dan I. H. Hassan, “Categorical classification of skin cancer using a weighted ensemble of transfer learning with test time augmentation,” Data Science and Management, vol. 8, no. 2, hlm. 174–184, Jun 2025, doi: 10.1016/j.dsm.2024.10.002.
B. Shetty, R. Fernandes, A. P. Rodrigues, R. Chengoden, S. Bhattacharya, dan K. Lakshmanna, “Skin lesion classification of dermoscopic images using machine learning and convolutional neural network,” Sci. Rep., vol. 12, no. 1, Des 2022, doi: 10.1038/s41598-022-22644-9.
S. Sathyanarayanan, “Confusion Matrix-Based Performance Evaluation Metrics,” African Journal of Biomedical Research, hlm. 4023–4031, Nov 2024, doi: 10.53555/ajbr.v27i4s.4345.
M. K. Hasan, M. A. Ahamad, C. H. Yap, dan G. Yang, “A survey, review, and future trends of skin lesion segmentation and classification,” Elsevier Ltd. Maret 2023, doi: 10.1016/j.compbiomed.2023.106624.
I. Goodfellow, Y. Bengio, dan A. Courville, Deep Learning. Cambrige, MA: MIT Press, 2016. Diakses: 9 April 2026. [Daring]. Tersedia pada: https://www.deeplearningbook.org
T. Saputra dan M. E. Al-Rivan, “Analisis Performa ResNet-152 dan AlexNet dalam Klasifikasi Jenis Kanker Kulit,” STRING (Satuan Tulisan Riset dan Inovasi Teknologi), vol 8, no. 1, 2023, doi: http://dx.doi.org/10.30998/string.v8i1.16464.
Bila bermanfaat silahkan share artikel ini
Berikan Komentar Anda terhadap artikel Evaluasi Efektifitas Optimizer Adam dan SGD pada Klasifikasi Citra Dermoskopi dengan MobileNetV4
ARTICLE HISTORY
How to Cite
Issue
Section
Copyright (c) 2026 Ahmad Naufal, Nur Rachmat

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under Creative Commons Attribution 4.0 International License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (Refer to The Effect of Open Access).













