Implementasi Algoritma Hybrid CNN-ViT (LeViT-128) dalam Klasifikasi Motif Batik Indonesia
Original Full-Text Article
Download published version for reading and archivingAbstract
Batik is an Indonesian cultural heritage featuring a wide variety of motifs with high inter-class visual similarity. The visual and manual identification process is highly subjective and inefficient. To address this classification problem, this study implements a deep learning approach using a hybrid Convolutional Neural Network (CNN) and Vision Transformer (ViT) architecture, specifically the LeViT model. This integration aims to synergize CNN's ability to extract local features—such as lines and dots—with ViT's self-attention mechanism to capture global spatial context efficiently. The research methodology follows the Cross-Industry Standard Process for Data Mining (CRISP-DM) framework. The model was trained on a dataset of 5,292 images covering 39 batik motif classes. To address data imbalance, class weight adjustments and image augmentation techniques were applied. Based on the final evaluation using the One-vs-Rest approach on the test set, the model achieved an overall accuracy of 90.05% and a Weighted F1-Score of 89.84%, demonstrating the effectiveness and reliability of the hybrid CNN-ViT algorithm in classifying batik motifs with high visual complexity.
Author Biographies
Program Studi Teknik Informatika, Fakultas Ilmu Komputer, Universitas Pamulang, Kota Tangerang Selatan, Provinsi Banten, Indonesia
Program Studi Teknik Informatika, Fakultas Ilmu Komputer, Universitas Pamulang, Kota Tangerang Selatan, Provinsi Banten, Indonesia
How to Cite
This work is licensed under a Copyright (c) 2026 Kevin Novebrianto, Hadi Zakaria .
This is an open-access article distributed under the terms of the Creative Commons Attribution 4.0 International License .
- Share: You are free to copy, distribute, and transmit the work in any medium or format.
- Adapt: You are free to remix, transform, and build upon the work for any purpose, even commercially.
- Attribution: You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
References
Total: 8 References- Aditama, D. F., Sejati, Rr. H. P., & Sanjaya, F. I. (2025). Klasifikasi motif batik Solo menggunakan convolutional neural network dengan transfer learning VGG16. TIN: Terapan Informatika Nusantara, 6(7), 1214–1224. https://doi.org/10.47065/tin.v6i7.8940
- Anggraini, A., & Zakaria, H. (2023). Penerapan metode deep learning pada aplikasi pembelajaran menggunakan sistem isyarat bahasa Indonesia menggunakan convolutional neural network: Studi kasus SLB-BC Mahardika Depok. JURIHUM: Jurnal Inovasi dan Humaniora, 1(4), 452–464.
- Brownlee, J. (2021). Ensemble learning algorithms with Python: Make better predictions with bagging, boosting, and stacking. Machine Learning Mastery.
- Chandra, A. Y., Setyaningsih, P. W., & Pratama, I. (2025). Comparative analysis of CNN architectures' performance with vision transformer for batik type classification. Proceedings of the 2025 2nd International Conference on Information System and Information Technology (ICISIT), 1–6. https://doi.org/10.1109/ICISIT66233.2025.11402957
- Graham, B., El-Nouby, A., Touvron, H., Stock, P., Joulin, A., Jégou, H., & Douze, M. (2021). LeViT: A vision transformer in ConvNet's clothing for faster inference. Proceedings of the 2021 IEEE/CVF International Conference on Computer Vision (ICCV), 12239–12249. https://doi.org/10.1109/ICCV48922.2021.01204
Similar Articles
Articles sharing related keywords and machine learning classifications:
Most read articles by the same author(s)
Other papers published by author(s) in this journal: