Performance Comparison of YOLOv11 under Baseline and Hyperparameter Optimization Configurations for Chili Pest Detection
Abstract
The chili pepper (Capsicum annuum L.) is a key horticultural commodity in Indonesia with significant economic value. Its productivity is frequently reduced by pest infestations, for which early-stage detection remains challenging when relying solely on conventional approaches. Recent advances in computer vision have enabled the development of automated, image-based pest detection systems to support precision agriculture. This study aims to compare the performance of the YOLOv11 model under baseline and hyperparameter-optimized configurations for chili pest detection. The analysis utilizes a public dataset consisting of 4957 annotated images covering four major pest classes. Both models were trained for 300 epochs using identical architectures and datasets. Model performance was evaluated using precision, recall, mAP@0.5, and mAP@0.5–0.95 metrics. On the validation set, the baseline model achieved 86% precision, 74% recall, 78.0% mAP@0.5, and 34% mAP@0.5–0.95, while the optimized model achieved 85% precision, 78% recall, 80.2% mAP@0.5, and 37% mAP@0.5–0.95. On the test set, the baseline model obtained 89% precision, 81% recall, 83% mAP@0.5, and 38% mAP@0.5–0.95, whereas the optimized model achieved 85% precision, 82% recall, 81% mAP@0.5, and 38% mAP@0.5–0.95, indicating comparable performance between the two configurations. Furthermore, analysis of training curves and confusion matrices reveals differences in convergence behavior across configurations; however, both models demonstrate similar generalization capabilities on the test set.
Full text article
Authors
Copyright (c) 2026 Attiya Dianti Fadli, Ernawati, Desi Andreswari

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License (CC BY 4.0) that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.