An Explainable Artificial Intelligence-Guided Agentic Framework for Turfgrass Seed Set Assessment
Rapid assessment of seed quality is important for turfgrass breeding, seed lot evaluation, and successful stand establishment. However, distinguishing empty from filled turfgrass seeds remains challenging because seeds are small, internal structural cues are subtle, and large-scale evaluation is difficult. This study developed an integrated object detection, explainable artificial intelligence (XAI), and evidence-grounded agentic framework for image-based classification of empty and filled zoysiagrass seeds. The collected dataset contained 3,231 annotated seed instances. YOLO26 and RT-DETRv2 variants were evaluated using exposure-specific and pooled protocols. RT-DETRv2-m under high exposure provided the best detection performance, achieving 98.9 ± 0.8% accuracy, 99.5 ± 0.4% precision, 99.0 ± 0.5% recall, and 99.4 ± 0.2% F1-score. In addition, an XAI layer was applied to detection models, and class-specific heatmaps were generated with important cells that summarized evidence within the segmented seed body. A constrained large language model (LLM)-based agent then combined predictions, confidence scores, XAI descriptors, and expert seed morphology knowledge into auditable explanations. The proposed framework demonstrates the feasibility of replacing labor-intensive manual seed evaluation with a scalable, transparent, and interpretable AI-assisted workflow for seed fill assessment. Such an approach could support high-throughput screening in turfgrass breeding, seed phenotyping, and seed quality control programs.
Harris Hawks Optimization–Optimized Explainable Quality Index for Tomato Grading
Automated tomato ripeness and quality grading is essential for precision agriculture and industrial packing lines, replacing slow, subjective manual sorting. Most reported systems, however, rely on heavy deep networks or a single accuracy figure without ablation, statistical validation, or an explicit accuracy–interpretability–latency trade-off. This study proposes HHO-XQI, a Harris Hawks Optimization (HHO)-optimized Explainable Quality Index that fuses interpretable color-statistical features into a continuous Tomato Quality Index for four-class grading (Damaged, Old, Ripe, Unripe). The framework extracts 125 RGB/HSV/Lab colorstatistical descriptors, fuses four base learners (logistic regression, random forest, extra trees, k-nearest neighbors) via HHO-optimized soft voting on 7,226 images, and is benchmarked against a fine-tuned ResNet18 CNN with Gradient-weighted Class Activation Mapping (Grad-CAM). Evaluation combined held-out accuracy/macro-F1, repeated cross-validation with Holm-corrected Wilcoxon tests, feature- and ensemble-composition ablation, HHO sensitivity/convergence analysis, SHapley Additive exPlanations (SHAP) attribution, and latency/training-time profiling. HHO-XQI reached 94.62% accuracy (92.90% macro-F1), significantly beating three baselines (p < 10−4 ) but not extra trees alone (p = 0.071); the CNN reached 99.31% accuracy at comparable CPU latency (11.31 vs. 12.05 ms) yet required approximately 147 × longer training (575.7 vs. 3.92 s). These findings support a two-tier deployment: HHO-XQI as a near-instantly retrainable, SHAP-native first-stage screener, and the CNN + Grad-CAM branch as a slower-to-retrain but more accurate second-stage auditor. The study contributes a statistically validated, fully reproducible metaheuristic-fused explainable grading pipeline that fills a rigor gap common in agricultural swarm-intelligence literature. Received: 29 July 2026 | Revised: 7 September 2026 | Accepted: 29 September 2026 Conflicts of Interest The authors declare that they have no conflicts of interest to this work. Data Availability Statement The tomato image dataset used in this study is the publicly available Tomatoes dataset published by Enalis (2023) on Kaggle: https://www.kaggle.com/datasets/enalis/tomatoes-dataset. Per the journal’s editorial guidance, this dataset is not listed as a numbered reference in the reference list; the full dataset citation and access link are provided here instead. The feature-extraction, HHO optimization, and CNN training code are available from the corresponding author upon reasonable request. Author Contribution Statement Van Van Chau: Conceptualization, Methodology, Software, Formal analysis, Investigation, Writing – original draft, Visualization. Minh Tuan Nguyen: Conceptualization, Methodology, Validation, Data curation, Writing – review & editing, Project administration. Phayung Meesad: Resources, Writing – review & editing, Supervision, Project administration.