Vol. 7 No. 3 (2026) • Articles
Open Access

Implementasi Algoritma Hybrid CNN-ViT (LeViT-128) dalam Klasifikasi Motif Batik Indonesia

Kevin Novebrianto
Universitas Pamulang image/svg+xml
Hadi Zakaria
Universitas Pamulang image/svg+xml
Published: September 30, 2026 Pages: 730-739
Original Full-Text Article
Download published version for reading and archiving
Abstract

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.

Article Metrics & Downloads Graph
Monthly Download Trends:
Author Biographies
Kevin Novebrianto Universitas Pamulang

Program Studi Teknik Informatika, Fakultas Ilmu Komputer, Universitas Pamulang, Kota Tangerang Selatan, Provinsi Banten, Indonesia

Hadi Zakaria Universitas Pamulang

Program Studi Teknik Informatika, Fakultas Ilmu Komputer, Universitas Pamulang, Kota Tangerang Selatan, Provinsi Banten, Indonesia

How to Cite
Novebrianto, K., & Zakaria, H. (2026). Implementasi Algoritma Hybrid CNN-ViT (LeViT-128) dalam Klasifikasi Motif Batik Indonesia. Jurnal Indonesia : Manajemen Informatika Dan Komunikasi, 7(3), 730-739. https://doi.org/10.63447/jimik.v7i3.2087
License

This work is licensed under a Copyright (c) 2026 Kevin Novebrianto, Hadi Zakaria .

Creative Commons Attribution 4.0 International License (CC BY 4.0)

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.
Copyright & Retention: Authors retain copyright without restrictions and grant this journal the right of first publication under an open-access model. The journal retains non-exclusive publishing rights for archiving, indexing, and scholarly dissemination.

References
Total: 8 References
  1. 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
  2. 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.
  3. Brownlee, J. (2021). Ensemble learning algorithms with Python: Make better predictions with bagging, boosting, and stacking. Machine Learning Mastery.
  4. 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
  5. 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
  6. HendryHB. (2024). Batik Nusantara (Batik Indonesia) dataset [Data set]. Kaggle. https://doi.org/10.34740/KAGGLE/DSV/7641980
  7. Najar, A. M., Abu, M., Ratianingsih, R., & Jaya, A. I. (2024). Revealing the relationship of batik motifs using convolutional neural network. SISTEMASI, 13(5), 2082. https://doi.org/10.32520/stmsi.v13i5.4480
  8. Nofiantoro, R., & Saputri, T. A. (2026). Analisis pengaruh augmentasi data pada arsitektur CNN dan vision transformer untuk klasifikasi motif batik. JATI (Jurnal Mahasiswa Teknik Informatika), 10(4), 6677–6685. https://doi.org/10.36040/jati.v10i4.18777
Similar Articles

Articles sharing related keywords and machine learning classifications:

Pengenalan dan Edukasi Motif Batik Untuk Sekolah Dasar Negeri Pondok Bahar 06 Menggunakan Metode Convolution Neural Network (CNN)
Implementasi Web Klasifikasi Suasana Hati Berdasarkan Potongan Lagu dengan Memanfaatkan Convolutional Neural Network
Implementasi Algoritma Convolutional Neural Network dalam Menentukan Kelayakan Kayu
Analisis Emosi dalam Lirik Lagu menggunakan Natural Language Processing
Klasifikasi Batik Pekalongan Berdasarkan Citra dengan Metode GLCM dan JST Backpropagation
Most read articles by the same author(s)

Other papers published by author(s) in this journal:

Penerapan Metode Simple Additive Weighting (SAW) pada Sistem Pendukung Keputusan Pemilihan Karyawan Terbaik Berbasis Web