Vision Transformer-Based Rice Leaf Disease Classification with Imbalanced Data Handling Using Image Augmentation

Authors

  • Nasywa Alya Musyaffa' Universitas Panca Marga
  • Tamam Asrori Universitas Panca Marga
  • Dyah Ariyanti Universitas Panca Marga
  • Dwi Putri Kartini Universitas Panca Marga
  • Ira Aprilia Universitas Panca Marga

Keywords:

vision transformer, image augmentation, rice leaf disease classification, data imbalance, deep learning

Abstract

Image-based classification of rice leaf diseases helps identify issues quickly and accurately, but data imbalance poses a challenge in deep learning models. This study analyzes the effect of handling imbalanced data using a Vision Transformer-based image augmentation strategy on the Paddy Doctor dataset which contains 10,407 images across 9 disease classes and 1 healthy class. Experiments tested five scenarios including no augmentation, flipping, rotate, cropping, and noise injection, evaluated using accuracy, precision, recall, and F1-Score metrics. Results show the scenario without augmentation provides the best performance with 96.29% accuracy and a 0.9588 macro F1-score on test data. All augmentation techniques decrease model accuracy by 1.41% to 1.94%. Among the tested techniques, cropping gave the best results while rotate produced the lowest performance. This research concludes that generic image augmentation does not always improve Vision Transformer performance because its effectiveness heavily depends on visual characteristics and data distribution.

References

[1] R. Fuadi and Istiqomah, “Produktivitas Padi sebagai Indikator Modernisasi Pertanian dan Kaitannya dengan Ketahanan Pangan di Jawa Tengah Tahun 2023,” J. Agrica, vol. 18, no. 2, pp. 308–314, 2025, doi: 10.31289/agrica.v18i2.15779.

[2] BPS 2024, “Luas Panen dan Produksi Padi Di Indonesia 2024 (Angka Tetap),” Badan Pus. Stat., vol. 8, no. 15, p. 52, 2025, [Online]. Available: https://www.bps.go.id

[3] T. Febriyanto and S. Syofian, “Implementasi Deep Learning Menggunakan Vision Transformer Untuk Klasifikasi Penyakit Daun Padi,” J. TIFDA (Technology Inf. Data Anal., vol. 1, no. 2, pp. 34–39, 2024, doi: 10.70491/tifda.v1i2.47.

[4] A. T. Adiana, Jumadi, and E. Nurlatifah, “Klasifikasi Penyakit Pada Daun Padi Menggunakan Model Hybrid CNN-SVM,” SMATIKA STIKI Inform. J., vol. 6, no. 1, pp. 258–267, 2025, doi: https://doi.org/10.32664/smatika.v15i02.1548.

[5] R. W. Taufiqurrahman, N. Yudistira, and A. W. Widodo, “Penerapan Model Vision Transformer Dalam Klasifikasi Hama Pada Pertanian,” J. Pengemb. Teknol. Inf. dan Ilmu Komput., vol. 9, no. 10, pp. 2548–964, 2025, [Online]. Available: http://j-ptiik.ub.ac.id

[6] K. Han et al., “A Survey on Vision Transformer,” IEEE Trans. Pattern Anal. Mach. Intell., vol. 45, no. 1, pp. 87–110, 2023, doi: 10.1109/TPAMI.2022.3152247.

[7] M. Imani, “Imbalanced data classification using graph based transformation,” Sci. Rep., vol. 15, no. 1, pp. 1–14, 2025, doi: 10.1038/s41598-025-18804-2.

[8] M. S. Ardiyansyah, F. R. Umbara, and M. Melina, “Klasifikasi Kanker Payudara Berbasis Deep Learning Menggunakan Vision Transformer dengan Teknik Augmentasi Data Citra,” JURIKOM (Jurnal Ris. Komputer), vol. 12, no. 3, pp. 241–250, 2025, doi: 10.30865/jurikom.v12i3.8619.

[9] D. Mirwansyah, A. Solichin, R. Hardi, N. Wanti Wulan Sari, N. Arista Riski, and D. Aldo, “Augmentasi Citra Pohon Kelapa Sawit untuk Deteksi Objek Berbasis Deep Learning,” Metik J., vol. 9, pp. 195–202, 2025, doi: 10.47002/metik.v9i1.1001.

[10] H. Hairani and T. Widiyaningtyas, “Augmented Rice Plant Disease Detection with Convolutional Neural Networks,” INTENSIF J. Ilm. Penelit. dan Penerapan Teknol. Sist. Inf., vol. 8, no. 1, pp. 27–39, 2024, doi: 10.29407/intensif.v8i1.21168.

[11] Petchiammal, B. Kiruba, Murugan, and P. Arjunan, “Paddy Doctor: A Visual Image Dataset for Automated Paddy Disease Classification and Benchmarking,” ACM Int. Conf. Proceeding Ser., no. January 2023, pp. 203–207, 2023, doi: 10.1145/3570991.3570994.

[12] J. Al Amien, H. A. Ghani, N. I. Saleh, and Y. Fatma, “A comprehensive evaluation of multiclass imbalance techniques with ensemble models in IoT environments,” vol. 22, no. 3, pp. 690–701, 2024, doi: 10.12928/TELKOMNIKA.v22i3.25887.

Downloads

Published

2026-07-25

How to Cite

Musyaffa', N. A., Asrori, T., Ariyanti, D., Kartini, D. P., & Aprilia, I. (2026). Vision Transformer-Based Rice Leaf Disease Classification with Imbalanced Data Handling Using Image Augmentation. Journal of Adaptive Intelligent Systems, 1(1), 1–11. Retrieved from https://jurnal.muikotaprobolinggo.or.id/index.php/jais/article/view/28

Issue

Section

Articles