OPTIMASI MOBILENETV2 DENGAN PRUNING DAN QUANTIZATION UNTUK DETEKSI PENYAKIT DAUN PADI PADA PERANGKAT EDGE
DOI:
https://doi.org/10.36080/skanika.v9i2.3828Keywords:
rice disease detection, MobileNetV2, pruning, quantization, edge computingAbstract
Rice leaf diseases Bacterial Leaf Blight (BLB), Brown Spot, and Leaf Blast pose a serious threat to food security, with potential yield losses of 30–70%. Existing deep learning models are typically large (>80 MB), making them impractical for farmers' low-specification smartphones. This study proposes MobileNetV2 optimization through 40% magnitude-based weight pruning and Post-Training Quantization (PTQ) Int8 using TensorFlow Lite for Android deployment. The dataset is sourced from a Mendeley repository (DOI: 10.17632/fwcj7stb8r/1) comprising 5,932 images across 4 classes, from which a 3-class subset (BLB, Brown Spot, Leaf Blast) totaling 4,804 images was used, split 70-15-15 into training, validation, and test sets. Evaluation was performed on 721 held-out test images, excluded from the training, validation, and quantization calibration processes. The proposed model achieves 2.89 MB (88.23% reduction from the 24.58 MB baseline), an inference speed of 14.53 ms/image on an Intel CPU workstation, and an accuracy of 98.34% (macro F1-Score 0.9831). More aggressive 50% pruning caused accuracy to degrade to 83.50% post-quantization, confirming 40% as the best trade-off among the sparsity levels tested. Grad-CAM analysis validated the biological relevance of the extracted features for each disease class. Future work includes on-device validation on Android hardware and expanded disease class coverage
Downloads
References
[1] M. D. H. Bin Rahman and D. Zhang, "Trends in rice research: 2030 and beyond," Food and Energy Security, vol. 12, no. 4, e390, 2023, doi: 10.1002/fes3.390.
[2] S. Savary, L. Willocquet, S. J. Pethybridge, P. Esker, N. McRoberts, and A. Nelson, "The global burden of pathogens and pests on major food crops," Nature Ecology & Evolution, vol. 3, no. 3, pp. 430–439, Feb. 2019, doi: 10.1038/s41559-018-0793-y.
[3] B. Ribeiro et al., "Utilizing convolutional neural networks for the effective classification of rice leaf diseases through a deep learning approach," Electronics, vol. 13, no. 20, p. 4095, Oct. 2024, doi: 10.3390/electronics13204095.
[4] G. Latif, S. E. Abdelhamid, R. E. Mallouhy, J. Alghazo, and Z. A. Kazimi, "Deep learning utilization in agriculture: Detection of rice plant diseases using an improved CNN model," Plants, vol. 11, no. 17, Sep. 2022, doi: 10.3390/plants11172230.
[5] M. Muslih and E. H. Rachmawanto, "Convolutional neural network (CNN) untuk klasifikasi citra penyakit diabetes retinopathy," SKANIKA: Sistem Komputer dan Teknik Informatika, vol. 5, no. 2, pp. 167–176, 2022, doi: 10.36080/skanika.v5i2.2945.
[6] A. S. Kusuma, A. I. Pradana, and B. W. P., "Pengembangan sistem perhitungan jumlah kendaraan berdasarkan jenis kendaraan menggunakan algoritma YOLO secara realtime," SKANIKA: Sistem Komputer dan Teknik Informatika, vol. 7, no. 2, pp. 166–179, 2024, doi: 10.36080/skanika.v7i2.3201.
[7] S. Mulyana et al., "Identifikasi penyakit tanaman berdasarkan citra daun berbasis web dengan pendekatan algoritma convolutional neural network," SKANIKA: Sistem Komputer dan Teknik Informatika, vol. 8, no. 2, pp. 305–317, 2025, doi: 10.36080/skanika.v8i2.3573.
[8] H. Guan, et al., "A lightweight model for efficient identification of plant diseases and pests based on deep learning," Frontiers in Plant Science, vol. 14, p. 1227011, 2023, doi: 10.3389/fpls.2023.1227011.
[9] M. Sandler, et al., "MobileNetV2: Inverted residuals and linear bottlenecks," in Proc. IEEE/CVF Conf. Computer Vision and Pattern Recognition (CVPR), 2018, pp. 4510–4520, doi: 10.1109/CVPR.2018.00474.
[10] H. Nugroho, J. X. Chew, S. Eswaran, and F. S. Tay, "Resource-optimized CNNs for real-time rice disease detection with ARM Cortex-M microprocessors," Plant Methods, vol. 20, no. 159, 2024, doi: 10.1186/s13007-024-01280-6.
[11] O. O. Martins, C. C. Oosthuizen, and D. A. Desai, "RiceLeafClassifier-v1.0: A quantized deep learning model for automated rice leaf disease detection and edge deployment," Engineering Reports, vol. 7, no. 6, p. e70231, 2025, doi: 10.1002/eng2.70231.
[12] R. R. Selvaraju, M. Cogswell, A. Das, R. Vedantam, D. Parikh, and D. Batra, "Grad-CAM: Visual explanations from deep networks via gradient-based localization," in Proc. IEEE Int. Conf. Computer Vision (ICCV), 2017, pp. 618–626, doi: 10.1109/ICCV.2017.74.
[13] H. B. Prajapati, J. P. Shah, and V. K. Dabhi, "Detection and classification of rice plant diseases," Intelligent Decision Technologies, vol. 11, no. 3, pp. 357–373, 2017, doi: 10.3233/IDT-170301.
[14] B. S. Bari et al., "A real-time approach of diagnosing rice leaf disease using deep learning-based faster R-CNN framework," PeerJ Computer Science, vol. 7, p. e432, 2021, doi: 10.7717/peerj-cs.432.
[15] A. S. Paymode and V. B. Malode, "Transfer learning for multi-crop leaf disease image classification using convolutional neural network VGG," Artificial Intelligence in Agriculture, vol. 6, pp. 23–33, 2022, doi: 10.1016/j.aiia.2021.12.002.
[16] A. Haridasan, J. Thomas, and E. D. Raj, "Deep learning system for paddy plant disease detection and classification," Environmental Monitoring and Assessment, vol. 195, no. 120, 2023, doi: 10.1007/s10661-022-10656-x.
[17] M. J. Karim, et al., "Enhancing agriculture through real-time grape leaf disease classification via an edge device with a lightweight CNN architecture and Grad-CAM," Scientific Reports, vol. 14, no. 16022, 2024, doi: 10.1038/s41598-024-66989-9.
[18] A. T. Khan, S. M. Jensen, A. R. Khan, and S. Li, "Plant disease detection model for edge computing devices," Frontiers in Plant Science, vol. 14, p. 1308528, 2023, doi: 10.3389/fpls.2023.1308528.
[19] B. N. Kumar and S. Sakthivel, "Rice leaf disease classification using a fusion vision approach," Scientific Reports, vol. 15, no. 8692, 2025, doi: 10.1038/s41598-025-87800-3.
[20] S. Han, J. Pool, J. Tran, and W. J. Dally, "Learning both weights and connections for efficient neural networks," in Advances in Neural Information Processing Systems, vol. 28, 2015, pp. 1135–1143.
[21] B. Jacob et al., "Quantization and training of neural networks for efficient integer-arithmetic-only inference," in Proc. IEEE/CVF Conf. Computer Vision and Pattern Recognition (CVPR), 2018, pp. 2704–2713, doi: 10.1109/CVPR.2018.00286.
[22] P. K. Sethy, "Rice leaf disease image samples," Mendeley Data, vol. 1, 2020, doi: 10.17632/fwcj7stb8r.1.
[23] International Rice Research Institute (IRRI), "Bacterial blight," Rice Knowledge Bank. [Online]. Available: http://www.knowledgebank.irri.org/decision-tools/rice-doctor/rice-doctor-fact-sheets/item/bacterial-blight.
[24] M. Bilal et al., "High-performance deep learning for instant pest and disease detection in precision agriculture," Food Science & Nutrition, 2025, doi: 10.1002/fsn3.70963.
[25] H. K. Kondaveeti and C. G. Simhadri, "Evaluation of deep learning models using explainable AI with qualitative and quantitative analysis for rice leaf disease detection," Scientific Reports, vol. 15, no. 31850, 2025, doi: 10.1038/s41598-025-14306-3.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Nur Dwi Priyambodo, Edi Sugiarto

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
CC BY-SA 4.0
Creative Commons Attribution-ShareAlike 4.0 International
This license requires that reusers give credit to the creator. It allows reusers to distribute, remix, adapt, and build upon the material in any medium or format, even for commercial purposes. If others remix, adapt, or build upon the material, they must license the modified material under identical terms.
BY: Credit must be given to you, the creator.
SA: Adaptations must be shared under the same terms.ng







