Penerapan Bayesian-Optimized Deep Learning Framework Berbasis YOLOv8 dan Optuna untuk Deteksi Multikelas Penyakit Kakao

Authors

  • I Putu Oka Wisnawa Politeknik Negeri Bali
  • Putu Manik Prihatini Politeknik Negeri Bali
  • Ni Gusti Ayu Putu Harry Saptarini Politeknik Negeri Bali
  • I Made Dwi Jendra Sulastra Politeknik Negeri Bali
  • Ni Luh Putu Listya Dewi Politeknik Negeri Bali

DOI:

https://doi.org/10.46880/jmika.Vol10No1.pp326-343

Keywords:

Cocoa Diseases, Hyperparameter Optimization, Object Detection, Precision Agriculture, YOLOv8

Abstract

A 30–50% reduction in Theobroma cacao L. productivity is frequently induced by the severe infestation of Anthracnose (Colletotrichum gloeosporioides) and Black Pod Rot (Phytophthora palmivora) pathogens. However, the field deployment of conventional deep learning detection systems remains widely hindered by manual hyperparameter tuning procedures that are inherently sub-optimal, inconsistent, and computationally inefficient. This study aims to develop a Bayesian-optimized deep learning framework integrating the YOLOv8 architecture and the Optuna platform to achieve robust, early multiclass cocoa disease detection across highly heterogeneous field imagery. The methodology was designed through an experimental approach using an in-field dataset acquired from Jembrana, Bali, which couples the anchor-free YOLOv8 model with automated Hyperparameter Optimization (HPO) governed by the Tree-structured Parzen Estimator (TPE) algorithm over 173 trials. The optimal model isolated at Trial 172 successfully achieved high-tier performance metrics on an independent test set, yielding an mAP50 of 0.9546, an $mAP50-95 of 0.7987, a Macro Precision of 0.9083, and a Macro Recall of 0.9370. The emergence of a remarkably narrow generalization gap (0.0019) paired with an elite average inference latency of 12.58 ms per image rigorously confirms the tactical feasibility of this framework for real-time deployment on edge computing devices within agricultural environments.

References

Abid, M. S. Z., Jahan, B., Mamun, A. A., Hossen, M. J., & Mazumder, S. H. (2024). Bangladeshi Crops Leaf Disease Detection using YOLOv8. Heliyon, 10(18). https://doi.org/10.1016/j.heliyon.2024.e36694

Agila, R., & Harin Fernandez, F. M. (2025). Automated Leaf Counting and Detection in Bean Crops using YOLOv8 during Summer Growth. 2025 International Conference on Sustainable Communication Networks and Application (ICSCN), 280–285. https://doi.org/10.1109/ICSCN67106.2025.11308200

Bischl, B., Binder, M., Lang, M., Pielok, T., Richter, J., Coors, S., Thomas, J., Ullmann, T., Becker, M., Boulesteix, A.-L., Deng, D., & Lindauer, M. (2023). Hyperparameter Optimization: Foundations, Algorithms, Best Practices, and Open Challenges. WIREs Data Mining and Knowledge Discovery, (2). https://doi.org/10.1002/widm.1484

Chen, Z., Wu, R., Lin, Y., Li, C., Chen, S., Yuan, Z., Chen, S., & Zou, X. (2022). Plant Disease Recognition Model Based on Improved YOLOv5. Agronomy, 12(2), 365. https://doi.org/10.3390/agronomy12020365

Gao, Y., Liu, W., Chui, H.-C., & Chen, X. (2024). Large Span Sizes and Irregular Shapes Target Detection Methods Using Variable Convolution-Improved YOLOv8. Sensors (Basel, Switzerland), 24(8), 2560. https://doi.org/10.3390/s24082560

Gomez, D., Selvaraj, M. G., Casas, J., Mathiyazhagan, K., Rodriguez, M., Assefa, T., Mlaki, A., Nyakunga, G., Kato, F., Mukankusi, C., Girma, E., Mosquera, G., Arredondo, V., & Espitia, E. (2024). Advancing Common Bean (Phaseolus vulgaris L.) Disease Detection with YOLO Driven Deep Learning to Enhance Agricultural AI. Scientific Reports, 14, 15596. https://doi.org/10.1038/s41598-024-66281-w

Logeshwaran, J., Srivastava, D., Kumar, K. S., Rex, M. J., Al-Rasheed, A., Getahun, M., & Soufiene, B. O. (2024). Improving Crop Production using an Agro-Deep Learning Framework in Precision Agriculture. BMC Bioinformatics, 25, 341. https://doi.org/10.1186/s12859-024-05970-9

Noon, S. K., Amjad, M., Qureshi, M. A., Mannan, A., & Awan, T. (2024a). An Improved Detection Method for Crop & Fruit Leaf Disease under Real-Field Conditions. AgriEngineering, 6(1), 344–360. https://doi.org/10.3390/agriengineering6010021

Noon, S. K., Amjad, M., Qureshi, M. A., Mannan, A., & Awan, T. (2024b). An Improved Detection Method for Crop & Fruit Leaf Disease under Real-Field Conditions. AgriEngineering, 6(1), 344–360. https://doi.org/10.3390/agriengineering6010021

Noon, S. K., Amjad, M., Qureshi, M. A., Mannan, A., & Awan, T. (2024c). An Improved Detection Method for Crop & Fruit Leaf Disease under Real-Field Conditions. AgriEngineering, 6(1), 344–360. https://doi.org/10.3390/agriengineering6010021

Singh, R., Singh, L. K., Gupta, V. K., & Kaur, M. (2025). Tomato Leaf Disease Detection Using a Hybrid of CNN and Whale Optimization Algorithm. 2025 2nd Global AI Summit - International Conference on Artificial Intelligence and Emerging Technology (AI Summit), 393–398. https://doi.org/10.1109/AISummit66170.2025.11411119

Soekarta, R., Nurdjan, N., & Syah, A. (2023). Klasifikasi Penyakit Tanaman Tomat Menggunakan Metode Convolutional Neural Network (CNN). Insect (Informatics and Security): Jurnal Teknik Informatika, 8(2), 143–151. https://doi.org/10.33506/insect.v8i2.2356

Sykes, J. R., Denby, K. J., & Franks, D. W. (2023). Computer Vision for Plant Pathology: A Review with Examples from Cocoa Agriculture. Applications in Plant Sciences, 12(2), e11559. https://doi.org/10.1002/aps3.11559

Utomo, R. H., Idhom, M., & Trimono, T. (2025). Rice Leaf Disease Classification Using EfficientNetV2 with Hyperparameter Tuning. Bit-Tech, 8(2), 2038–2047. https://doi.org/10.32877/bt.v8i2.3194

Published

2026-06-24

Issue

Section

METHOMIKA: Jurnal Manajemen Informatika & Komputersisasi Akuntansi