iconOpen Access

ARTICLE

An ROI-Guided Optimized Machine Learning Framework for Orange Disease Recognition with Feature Selection and Explainability

Israt Jahan Munny1, Anup Majumder2, Bibhas Roy Chowdhury Piyas3,*, Fahmid Al Farid4,5,*, Md. Rafsan Jani2, Fatama Jannat Tisha3, Israt Jahan3, Abu Saleh Musa Miah6, Hezerul Abdul Karim4,*

1 Department of Computer Science and Engineering, City University, Dhaka, Bangladesh
2 Department of Computer Science and Engineering, Jahangirnagar University, Dhaka, Bangladesh
3 Department of Software Engineering, Daffodil International University, Dhaka, Bangladesh
4 Centre for Image and Vision Computing (CIVC), COE for Artificial Intelligence, Faculty of Artificial Intelligence and Engineering (FAIE), Multimedia University, Cyberjaya, Malaysia
5 Faculty of Computer Science and Informatics, Berlin School of Business and Innovation, Karl-Marx-Straße 97–99, Berlin, Germany
6 Department of Computer Science and Engineering, Rajshahi University (RU), Rajshahi, Bangladesh

* Corresponding Authors: Bibhas Roy Chowdhury Piyas. Email: email; Fahmid Al Farid. Email: email; Hezerul Abdul Karim. Email: email

Computers, Materials & Continua 2026, 89(1), 65 https://doi.org/10.32604/cmc.2026.083167

Abstract

Orange is one of the most economically significant citrus crops worldwide, which is essential for the global food distribution network and supports rural livelihoods. However, its high susceptibility to destructive diseases results in substantial yield losses and long-term economic damage. Despite recent advances in smart agriculture, early and precise disease diagnosis remains challenging due to visual resemblance among disease symptoms, high computational cost, and limited model interpretability. To overcome these difficulties, we introduce a novel lightweight and Region of Interest (ROI)-guided explainable machine learning framework to identify orange disease that integrates a strategic feature selection method with Adaptive Step-Controlled Gorilla Troops Optimizer (ASC-GTO). The proposed method starts with Contrast Limited Adaptive Histogram Equalization (CLAHE)-based image enhancement, followed by K-means clustering to accurately segment and separate the diseased part, which is labelled as ROI. To extract discriminative features from the ROI, Gray-Level Co-occurrence Matrix (GLCM)-based texture and color features are first extracted. Least Absolute Shrinkage and Selection Operator (LASSO) is then used for ranking the features and finding the most discriminative features for each class. Finally, the proposed feature selection method integrates the union and intersection of top features identified in the class-wise scenario using LASSO with globally dominant features found by feature ranking to get a compact and discriminative feature subset for better multi-class classification. Model hyperparameter optimization was performed using the proposed ASC-GTO. Experimental findings indicate that the proposed method outperforms existing techniques with an accuracy of 99.57% on the widely adopted orange disease dataset from Kaggle. Furthermore, it significantly reduces computational complexity, with reductions of 22.2%, 34.76%, and 7.5% in training time, model size, and inference time, respectively, compared to models trained on unprocessed raw input images. Model explainability is further analyzed using SHAP and LIME to identify the most influential features contributing to the prediction outcomes. Overall, the proposed method supports early disease intervention, precision agriculture, and sustainable farming.

Keywords

Orange disease detection; explainable machine learning; ROI extraction; citrus disease; feature selection; plant disease detection; LASSO; SHAP; LIME; hyperparameter optimization; Gorilla Troops Optimizer

1  Introduction

The global citrus industry is a vital element of the agricultural economy, which plays a substantial role in food security, international trade, and rural livelihoods in over 140 countries. According to the United Nations’ Food and Agriculture Organization (FAO)1, citrus fruits are one of the most widely cultivated fruits in the world, with oranges contributing to the largest share of citrus production in the world. The global orange production has been consistently over 75 million metric tons per year in recent years, accounting for almost half of the global citrus production, and the key exporters are Brazil, China, India, the United States, and Spain [1,2]. These countries account for significant amounts of orange production, primarily for juice processing and export. Due to this high demand for fresh and processed products, oranges are a very important fruit crop economically around the world [3].

Despite their remarkable economic importance, orange crops are particularly vulnerable to harmful citrus diseases, including citrus greening and citrus canker. These diseases lead to significant yield reduction, deterioration of fruit quality and endanger overall productivity. Despite the recent advancements in smart agriculture technologies, the detection of diseases in many countries is still based on visual examination. This traditional approach is subjective, labour intensive, and requires expert skill [4]. It often finds infections only at later stages when the treatment options are limited, expensive, and less effective. This results in financial losses and the unnecessary use of pesticides, as well as possible food safety issues. These challenges raise the need for automated and reliable systems for early detection of diseases, which allows for quick intervention to mitigate financial losses, minimize pesticide misuse, and support sustainable practices in orange farming [5].

With the rise of Artificial Intelligence (AI) in the modern times, Machine Learning (ML) and Deep Learning (DL) have emerged as transformative technologies in smart automation and Data-driven Decision Making [6]. Owing to their capability in processing complex multi-dimensional data and extract hidden patterns, these techniques have gained a lot of importance across domains. They are particularly effective in agriculture where early detection is vital to prevent huge yield losses and sustainable crop production [7].

However, most of the prior studies are mainly based on deep learning frameworks, which are computationally intensive to deploy in real-world agricultural scenarios with limited resources. Although some studies have employed machine learning methods [8], they often suffer from limited model optimization, inadequate feature selection and high computational cost, making them less suitable for real-world deployment. Moreover, limited focus on model explainability decreases transparency and impedes trust in predictions [9]. Furthermore, the lack of validation and benchmarking adds to the lack of credibility and effectiveness of the existing solutions in practice. To address these limitations, this work proposes an optimized framework which is efficient, interpretable and has low computational complexity for accurate and reliable diagnosis of orange disease.

1.1 Challenges

While AI-driven methods have enhanced the ability to identify diseases in agriculture, there are several practical challenges with identifying orange disease:

•   Symptoms of orange diseases are very similar in appearance, making accurate identification challenging.

•   Full fruit images can include healthy skin areas, shadows, variations in illumination and background noise. In many cases, the disease-affected area occupies only a small portion of the image which reduces the visibility of disease-specific patterns.

•   Complex deep learning models typically require large amounts of computational power for training and deployment, making them impractical in real-world agricultural applications.

•   Extracted features can include redundant or less informative attributes, which can impact classification performance. Therefore, an appropriate feature selection approach should be employed to keep the most discriminative and relevant features.

•   In order to improve trust and transparency in decision-making for agricultural disease diagnosis, model predictions must be interpretable.

1.2 Limitations of Prior Work

While smart agriculture has rapidly advanced, the current AI-based methods for orange disease classification have some drawbacks. The main research gaps are summarized as follows:

•   Most existing studies mainly rely on deep learning models that are computationally expensive.

•   Most of the available approaches are based on the complete image analysis with no proper segmentation of the affected regions. Therefore, irrelevant visual information like healthy peel regions, shadows, illumination changes, and background noise can be captured. In many cases, the disease-affected area occupies only a small portion of the image, reducing the visibility of disease-specific patterns.

•   Several machine learning-based methods lack effective feature selection strategies. Thus, the model has redundant and less informative features, which may negatively impact classification performance.

•   Prior studies often do not optimize model hyperparameters systematically. Therefore, suboptimal hyperparameters often get trapped in local optima, affecting the disease detection performance.

•   Many previous works provide limited explainability for understanding disease prediction decisions.

1.3 Components of the Proposed Solution

In this study, we systematically overcome the shortcomings of existing methods. The salient contributions are outlined below:

•   Proposed a hierarchical multi-class feature selection framework (HMSFO) which combines the union and intersection of class-wise top features learned using LASSO with globally dominant features identified through feature ranking. This approach provides the selection of highly discriminative features, which results in better classification accuracy.

•   Introduced an effective preprocessing pipeline that enhances the contrast of the images and extracts the Region of Interest (ROI) that helps to improve the visual clarity and focus on the disease-relevant areas. This approach reduces the background noise, improves the model accuracy and decreases the computational complexity by removing irrelevant regions before training.

•   Proposed a novel Adaptive Step-Controlled Gorilla Troops Optimizer (ASC-GTO) that adaptively adjusts the step sizes in order to solve the unstable convergence problem of classical GTO. It guarantees stable convergence and better optimization accuracy through large exploratory steps for the global search in early iterations and smaller steps for local search refinement in later stages.

•   Performed model explainability using SHapley Additive exPlanations (SHAP) and Local Interpretable Model-agnostic Explanations (LIME) to identify the most important features impacting model predictions, which enhances transparency and reliability in the decision-making system.

2  Literature Review

Orange cultivation is greatly affected by diseases including greening, black spot and canker which results in poor fruit quality, low yield and heavy economic setbacks. With the recent developments in Machine Learning (ML) and Deep Learning (DL), automated image-based fruit disease detection systems have been developed, which are more accurate and reliable than manual inspection. However, challenges remain in achieving optimal feature selection, effective model optimization and sufficient explainability.

2.1 Machine Learning Approaches

Early ML-based approaches demonstrated the feasibility of automated fruit disease detection by exploring classical machine learning techniques. Awate et al. [10] developed a fruit disease classification system using K-means segmentation and ANN-based classification with color, texture, morphology, and structural features. Benlachmi et al. [11] developed a fruit disease detection system using texture and color features with KNN, Decision Tree, and Random Forest classifiers, where Random Forest achieved the highest accuracy of 99%. Liu et al. [12] applied machine learning with rhizosphere and phyllosphere bacterial features to predict citrus HLB, although the approach depends on complex microbiome data and is unsuitable for real-time image-based detection.

2.2 Deep Learning Approaches

Numerous studies highlight the success of deep learning models for detecting orange diseases, with notable enhancements in accuracy and reliability. A CNN-based model proposed in study [13] achieved 97% accuracy using improved preprocessing and colour segmentation, however its performance might be restricted by using a small dataset. Similarly, the modified DenseNet-121 (DS-MENet) model proposed by Liu et al. [14] achieved an accuracy of 95.02% with a better robustness for noisy conditions. Dhiman et al. [15] introduced a hybrid model combining CNN and LSTM optimized for portable devices that reached an accuracy of 98.25%, emphasizing its potential in real-time use. The YOLO-Citrus model in literature [16] further improved the detection performance with a 96.6% mAP that offers a lightweight solution for complex orchard environments.

Other deep learning frameworks have also shown a good performance, with a two-stage detection-classification model in study [17] achieving 94.5% accuracy, and CNN-based models in [18,19] achieving 93.2% and 96.1% accuracy, respectively. Furthermore, Syed-Ab-Rahman et al. [20] achieved 94.37% detection accuracy and 95.8% precision on a two-stage deep CNN model, while performance may vary in real-world conditions. The enhanced MobileNetV3 model in the paper [21] achieved 98.85% accuracy whereas a multi-component CNN model in study [22] achieved 97.75% accuracy, showing further performance improvement with the combined inputs of features. Faisal et al. [23] used a Citrus Plant Dataset of healthy and diseased leaves to develop a CNN-based transfer learning framework, with EfficientNetB3 achieving 99.58% accuracy. Shastri et al. [24] explored an Enhanced-CNN (E-CNN) architecture to detect citrus fruit and leaf disease in a variety of benchmark datasets with a highest accuracy of 98%. Based on this progress, Sankaran et al. [25] proposed CitrusDiseaseNet, a multi-stage ensemble of CNNs and Vision Transformers along with handcrafted texture descriptors (LBP, GLCM) with PCA-reduced embeddings which showed more robust performance on orange and lemon datasets. Devora-Guadarrama et al. [26] have shown that lightweight CNNs, like EfficientNetB0 can reach 99.88% accuracy when identifying citrus canker and Huanglongbing and can be effective for deployment in practical scenario.

Qiu et al. [27] proposed a multimodal image-text model, where ShuffleNetV2 + TextCNN achieved 98.33% accuracy on mixed-background images. Yu et al. [28] reviewed non-destructive quality evaluation using computer vision and spectroscopy, highlighting the role of data fusion in grading, damage detection, and traceability. Kaur et al. [29] introduced the NL-FuRBE ensemble by combining VGG19, AlexNet, and Xception with image enhancement techniques, achieving 96.51% accuracy for citrus leaf disease detection.

2.3 Deep Learning Approaches with Explainable AI

Notwithstanding these impressive classification outcomes, the lack of interpretability in deep learning models remains a critical concern for real-world agricultural deployment. Jrondi et al. [30] developed an explainable citrus quality assessment framework by integrating Vision Transformers with the lightweight large language model Phi-3-mini, achieving an accuracy of 98.29%. Srinivasan et al. [31] proposed DBA-ViNet, a dual-branch attention-guided network with Grad-CAM-based explainability for fruit disease classification, achieving 99.51% accuracy and outperforming several state-of-the-art deep learning models. Additional related studies are summarized in Table 1.

images

Despite progress, existing fruit disease detection studies often lack explainability, optimal feature selection, efficient hyperparameter tuning, and computational feasibility. To address these gaps, this study proposes an optimized, lightweight, and interpretable framework for reliable orange disease recognition.

3  Materials and Methods

In this study, an ROI-guided explainable machine learning framework is proposed to accurately and reliably identify the orange disease with low computational overhead. The methodology starts with a detailed preprocessing pipeline where all the input images are resized to keep uniformity. Contrast enhancement methods are applied to improve the visibility of disease patterns. Image segmentation is done using K-means clustering to divide each image into three parts: background, foreground and diseased regions. The defective part is extracted as the Region of Interest (ROI) as it contains the most relevant information for the detection of a disease. By keeping the focus on the ROI only, the proposed framework is able to effectively reduce the background noise, improve the quality of features and reduce the computational complexity by removing the irrelevant regions before training.

From the extracted ROI, two main categories of features are extracted-texture features and color features. In order to discover the most informative features, feature ranking is executed by the Least Absolute Shrinkage and Selection Operator (LASSO). In order to perform feature selection, we proposed a hierarchical multi-class feature selection framework (HMSFO) that combines class-wise LASSO rankings with global top-ranked features. This strategy guarantees the selection of highly discriminative features based on their class-specific and overall discriminative power.

To further improve the model performance, a novel Adaptive Step-Controlled Gorilla Troops Optimizer (ASC-GTO) is proposed. The proposed optimizer adjusts the step sizes in an adaptive way to overcome the unstable convergence behavior of the classical Gorilla Troops Optimizer (GTO). It uses larger exploratory steps in the early iterations to provide global search and smaller steps in the later iterations for refined local optimization which ensures stable convergence and better optimization accuracy.

Multiple baseline machine learning models, including Random Forest, XGBoost, Decision Tree, K-Nearest Neighbors (KNN) and Support Vector Classifier (SVC) are explored in this framework. In addition, model explainability is performed using LIME and SHAP for increasing transparency and practical trustworthiness by finding the most influential features driving prediction outcomes. An outline of the proposed methodology is presented in Fig. 1.

images

Figure 1: Overview of proposed methodology.

3.1 Dataset Description

This study uses the Orange Disease Dataset available on Kaggle. It includes images of four different classes: Greening, Canker, Blackspot and Healthy. There are 206 images of Blackspot, 201 images of Canker, 369 images of Greening and 388 images of Healthy samples. Examples of each category are displayed in Table 2.

images

3.2 Image Preprocessing

All images are preprocessed before the feature extraction process to enhance image quality and normalize the input data. This involves resizing images to a common size, improving the contrast to reveal disease patterns, converting the color space to gain more discriminative color information, and finally segmentation to isolate the Region of Interest (ROI). ROI extraction helps reduce background noise, improve feature quality and enhance overall classification performance. The preprocessing pipeline is illustrated in Fig. 2.

images

Figure 2: Data preprocessing.

The RGB images are first transformed to the CIE L*a*b* color space where the luminance component L* is separated from the chromatic components a* and b*, which enhances the flexibility of the processing and the accuracy of the segmentation. Next, Contrast Limited Adaptive Histogram Equalization (CLAHE) is applied to the L* channel to enhance image visibility while preserving color information and preventing over-enhancement. Finally, K-means clustering is performed on the a* and b* channels to segment the images into background, foreground, and defected regions, where the defected region is selected as the ROI for subsequent disease analysis.

3.3 Feature Engineering

Feature engineering significantly contributes to enhancing the predictive capabilities of ML classifiers by ensuring that they operate on the most relevant attributes. This step involves feature extraction, ranking and selection.

3.3.1 Feature Extraction

Feature extraction is one of the most crucial steps in the proposed framework. In this study, the ROIs extracted from the images during the preprocessing stage were considered to capture disease-specific information. Accordingly, a total of 22 texture- and color-based features were extracted.

3.3.2 Proposed Feature Selection Method (HMSFO)

We proposed a Hierarchical Multi-Class Sparse Feature Optimization (HMSFO) algorithm to select the most informative features from the dataset through a hierarchical and sparsity-driven approach. For each class, a one-vs.-rest strategy is applied to convert the problem into binary classification and a sparse optimization model with L1 regularization is used to learn class-specific feature weights which ensures that only important features receive nonzero importance scores. These class-wise importance values are aggregated to compute global feature importance and all features are ranked accordingly. From this ranking, the top-k important features are selected for each class and combined to form a useful feature set while the remaining features are treated as non-useful. The top-k (k = 7) features for each class are selected using the correlation heatmap to form class-wise subsets. The union of these class-wise feature subsets retains features that are important for at least one class, while their intersection identifies features that remain consistently important across all classes. In parallel, a set of globally dominant features is picked by selecting the top-p (p = 5) features from global ranking. Finally, the optimized feature space is constructed by combining the union set, intersection set and uniquely selected global features resulting in compact, informative and balanced feature subset that captures class specific as well as global significant patterns for improved multi-class classification performance.

Unlike conventional LASSO-based feature selection, which typically relies on a single global sparse importance pattern, the proposed HMSFO employs LASSO as a base ranking mechanism within a hierarchical multi-class framework. Specifically, HMSFO performs class-wise one-vs.-rest feature ranking and integrates class-specific union features, commonly shared intersection features as well as globally dominant features to generate a compact, balanced and discriminative feature subset. Algorithm 1 illustrates the proposed framework for feature selection.

images

Computational complexity analysis of HMSFO:

The proposed HMSFO selects the most useful features by using class-wise LASSO learning, global feature ranking, and final feature subset formation. Let m be the number of samples, n be the number of features, C be the number of classes and TL be the number of LASSO iterations. The preprocessing step takes O(mn) time, while class-wise LASSO optimization takes O(CTLmn) time. Feature ranking and selection require O(Cnlogn) time. Therefore, the overall time complexity of HMSFO is O(CTLmn+Cnlogn). Since the LASSO step is the most time-consuming part, it mainly controls the total complexity. The space complexity is O(mn+Cn), mainly for storing the feature data and class-wise feature weights. Overall, HMSFO adds only a one-time feature selection cost and helps reduce the final feature size before model training.

3.4 Proposed ASC-GTO Algorithm

To optimize model hyperparameters, we propose an Adaptive Step-Controlled Gorilla Troops Optimizer (ASC-GTO), which extends the classical GTO by introducing a dynamic step-size control mechanism. Classical GTO may suffer from unstable convergence and local optima entrapment due to the absence of explicit step-size regulation. ASC-GTO addresses this issue by balancing global exploration and local exploitation where larger steps are used in the early iterations to explore the search space, while smaller steps are applied in later iterations for fine local refinement. This adaptive strategy enables more stable and effective hyperparameter optimization for orange disease classification.

The classical GTO mainly operates through two phases:

•   Exploration: Gorillas move toward randomly selected individuals to explore new regions and maintain population diversity.

•   Exploitation: Gorillas move toward the Silverback, representing the best solution found so far, to refine the optimal solution.

Although classical GTO balances between global and local search, it does not directly control the size of the steps, which may lead to unstable convergence and ability to get trapped in local optima. To address this, we introduce a step controlled mechanism which incorporates adaptive control parameters in the position update process.

•   Adaptive Inertia Weight: In order to dynamically regulate the magnitude of movement of each gorilla, an adaptive inertia weight w is introduced:

w=wmax(wmaxwminitermax)×iter(1)

here, iter denotes the current iteration and itermax is the maximum iteration count. The parameters wmax and wmin signifies the upper and lower limits of the inertia weight.

At the early stages of optimization, the weight of the inertia is large, which enables gorillas to move larger and cover a greater space. The weight of inertia decreases as the iterations advance and this helps to reduce the step size and create a finer local search. This is an adaptive mechanism that will allow a smooth transition between exploration and exploitation during the optimization process.

•   Adaptive Exploration Coefficient: To supplement the inertia control, the exploration coefficient is redefined to add an iteration-dependent behavior. The coefficient a is given by:

a=(cos(2r)+1)×(1iteritermax)(2)

where r[0,1] is a random variable.

The cosine term involves a regulated oscillatory motion, which provides variety to the search process. Meanwhile, the linearly diminishing factor slowly diminishes the strength of exploration over time. This leads to increased exploration in the initial stages and transition to exploitation as the process continues to bring about stable convergence to the optimal solution.

•   Modified Position Update Mechanism: The adaptive inertia weight and exploration coefficient are added to the movement equations to improve the classical GTO position update.

During the exploration phase (p<0.5), the i-th gorilla’s position is updated as:

Xit+1=Xit+w(XitXrand)r1(3)

where Xrand is a randomly chosen gorilla, and r1[0,1] is a random vector.

During the exploitation phase (p0.5), the update becomes:

Xit+1=Xit+wa(XsilverbackXit)r1(4)

where Xsilverback denotes the global best solution.

The proposed ASC-GTO modifies the search step size and direction of the search during the optimization process using the dynamic inertia weight w and the coefficient a that changes with the iteration. This dynamic control is useful to explore complex hyperparameter spaces in machine learning, exploring a wide variety of hyperparameter combinations initially and refining promising solutions subsequently. This transition maintains a constant convergence, prevents premature convergence and eventually enhances the performance of the models.

The integration step as shown in Fig. 3 integrates the ASC-GTO algorithm and five machine learning classifiers to produce an automatic feedback loop of determining the best model settings without human intervention. It uses the following steps: initialize a random sample of gorillas as hyperparameter combinations, compute their fitness with k-fold cross-validation, update their positions with respect to fitness, and choose the most successful parameters. Once the maximum number of iterations has been met, the most successful parameters are then utilized to train and test the final machine learning model to ensure it performs well on the unseen data.

images

Figure 3: ASC-GTO integration with ML models.

Computational complexity analysis of ASC-GTO: Let N be the number of gorillas, D be the search-space dimension, T be the maximum number of iterations, K be the number of cross-validation folds, and Ψmodel(m,q) be the training and validation cost of a classifier using m samples and q selected features. The population initialization requires O(ND) time, and the position update in each iteration also requires O(ND). The adaptive inertia weight and exploration coefficient require only constant-time operations. The main cost comes from fitness evaluation using K-fold cross-validation, which requires O(NKΨmodel(m,q)) per iteration. Therefore, the overall time complexity of ASC-GTO is O(TN(D+KΨmodel(m,q))), and its space complexity is O(ND). Since the adaptive step-control mechanism adds only constant-time calculations, ASC-GTO does not increase the asymptotic complexity compared with classical GTO, while improving convergence stability.

4  Results

4.1 Comparison of Feature Vectors

Table 3 compares the classification performance obtained using three feature vectors. Feature Vector 1 is constructed by randomly selecting ten features from the extracted feature set and is used as a baseline. Feature Vector 2 is generated by selecting the top 10 features according to LASSO-based feature ranking. In contrast, Feature Vector 3 represents the proposed HMSFO-based feature vector, which integrates class-wise discriminative features with globally dominant features to form a compact and informative feature subset.

images

The results demonstrate that Feature Vector 3 consistently outperforms the other feature vectors across most classifiers and evaluation metrics. Random Forest achieves the highest accuracy of 99.57%, followed by XGBoost with 99.15% and SVC with 98.72%. Moderate performance is observed in Feature Vector 2, demonstrating the effectiveness of LASSO-based ranking compared to a random selection. However, the performance of Feature Vector 1 is quite inferior as there is no relevance-based feature selection. In general, the results verify that the proposed Feature Vector 3 using HMSFO is the most discriminative for accurate identification of orange disease.

It can also be seen in Fig. 4 that among the three feature vectors, Feature Vector 3 has the best discriminative power, where the overlap between the two classes, Blackspot and Canker, is minimal in the t-distributed Stochastic Neighbor Embedding (t-SNE) projection and the classes are clearly separated, which shows good representation of the features. Minimal overlap is crucial for accurate identification because it boosts the confidence of the model in distinguishing between similar patterns of the disease and minimizes the chances of misclassification. This improved separability indicates that Feature Vector 3 contains more distinguishing and class-specific features, making it the most suitable for accurate orange disease detection.

images

Figure 4: T-SNE visualization of the extracted feature vectors (a) Feature Vector 1 (b) Feature Vector 2 (c) Feature Vector 3.

4.2 Impact of Proposed ASC-GTO on Model Performance

Table 4 presents the class-wise performance of the models optimized with classical GTO, Particle Swarm Optimization (PSO) and ASC-GTO. The results show that ASC-GTO provides the best overall performance for the key classifiers, particularly Random Forest, SVC, and XGBoost. Notably, the accuracy of the Random Forest algorithm is enhanced from 95.73% using classical GTO and 97.65% using PSO to 99.57% using ASC-GTO. Similarly, XGBoost improves from 98.72% and 98.93% to 99.15%, while SVC improves from 95.73% and 97.22% to 98.72%.

images

The class-wise results indicate that ASC-GTO achieves higher precision, recall, and F1-scores for the visually similar Blackspot and Canker classes, where misclassifications are more likely to occur. The performance of Greening and Healthy classes is near perfect in most optimized models. While PSO is competitive in some classifiers, the proposed ASC-GTO gives the best overall accuracy with Random Forest (RF), which shows its effectiveness in hyperparameter optimization of orange disease classification.

4.3 Impact of ROI Extraction on Model Performance and Computational Complexity

Fig. 5 indicates that the extraction of ROI not only enhances the model performance in all the evaluation metrics but also reduces the computational complexity. ROI extraction focuses on the diseased part of the image and eliminates the irrelevant background information to improve the representation of the disease-specific features and reduce noise from healthy peel regions, shadows, and illumination changes. For this reason, all the classifiers perform better with accuracy improvements between about 2% and 3.5% as shown in Fig. 5a. The highest improvement is observed for the Decision Tree model, with an accuracy gain of 3.19%.

images

Figure 5: Improvement after ROI extraction: (a) performance gain and (b) computational complexity reduction.

Furthermore, Fig. 5b demonstrates that ROI extraction results in reduced computational complexity while improving predictive performance. Since the models are trained on a compact and disease-focused input region, feature dimensionality, memory usage, training time, inference time, model size, and parameter requirements are reduced. Notable reductions include model size decreases of 34.76% for Random Forest, 41.67% for SVC, and 24.44% for XGBoost, along with training time reductions of 22.22% for Random Forest and 25% for both SVC and XGBoost. Furthermore, ROI extraction reduced the average inference time by approximately 15.4%, highlighting its contribution to improving model efficiency. These results show that ROI extraction can improve classification accuracy while reducing computational complexity, making the model more suitable for lightweight deployment on resource-constrained devices such as smartphones and smart agriculture embedded systems.

4.4 Convergence Analysis of the Proposed ASC-GTO

The convergence behavior of the proposed ASC-GTO was compared with classical GTO, Bayesian Optimization, PSO and Grid Search over 20 iterations, as shown in Fig. 6. The outcomes show that ASC-GTO achieves faster and more stable convergence compared with the other methods. It quickly decreases the test error in the initial iterations and settles around the 7th iteration at a final error of 0.075. In contrast, classical GTO converges more slowly and stabilizes at a higher error of approximately 0.087, while PSO, Bayesian Optimization, and Grid Search also remain at comparatively higher final error levels.

images

Figure 6: Convergence analysis of the proposed ASC-GTO.

This convergence analysis is a good indicator of the fact that the adaptive step-controlled mechanism improves the balance between global exploration and local exploitation. Overall, ASC-GTO demonstrates superior convergence stability and optimization accuracy which supports its effectiveness for reliable hyperparameter optimization in orange disease classification.

4.5 K-Fold cross Validation

Stratified 5-fold cross-validation was performed to evaluate the reliability and generalizability of the proposed ASC-GTO optimized Random Forest model. The model obtained a mean accuracy of 98.2% with a low standard deviation of 0.011, as presented in Table 5, which represents the stable performance of the model over various data partitions and a minimal risk of overfitting. The obtained results validate the robustness of the proposed optimization and feature selection approach for the identification of the orange disease.

images

4.6 Error Analysis

The confusion matrices in Fig. 7 show that most misclassifications occur between blackspot and canker, mainly due to their visual similarity. Decision Tree exhibits the highest confusion, with 14 cross-class misclassifications, whereas KNN and SVM reduce this error. Random Forest and XGBoost achieve near-optimal performance, producing only one misclassification between blackspot and canker.

images

Figure 7: Confusion matrix for (a) Decision tree (b) KNN (c) Random forest (d) SVC (e) XGBoost.

Healthy and greening samples are classified with almost perfect accuracy across all models. Overall, the ASC-GTO-optimized Random Forest model provides the most reliable classification performance, with minimal inter-disease confusion.

4.7 Model Explainability

In smart and sustainable agriculture, model interpretability is crucial for trust and transparency. In this study, SHapley Additive exPlanations (SHAP) and Local Interpretable Model-agnostic Explanations (LIME) were employed to provide both global and local interpretability by identifying the most influential features contributing to each prediction.

4.7.1 Explainability Analysis Using SHAP

SHAP analysis was conducted to interpret the contribution of individual features to the proposed model’s predictions. As shown in Fig. 8, color and texture features such as blue_std, green_std, blue_skew, homogeneity, red_std, green_mean, contrast, and dissimilarity show strong contributions.

images

Figure 8: Explainability analysis using SHAP: (a) Combined SHAP decision plot (b) Feature importance by class (c) Waterfall plot for blackspot (d) Waterfall plot for canker (e) Waterfall plot for greening (f) Waterfall plot for healthy.

These findings are biologically meaningful because the target diseases are mainly identified through visible changes in peel color, lesion formation, and surface texture. Citrus black spot commonly produces dark spots or blotches on fruit, citrus canker is associated with raised brown lesions, yellow halos, and corky surfaces, while citrus greening often causes fruits to color unevenly and remain partially green2. Therefore, the strong influence of color-channel statistics and texture features indicates that the model is capturing disease-relevant visual symptoms rather than arbitrary image patterns. For blackspot and canker, RGB color statistics and texture features reflect dark lesions, corky spots, irregular discoloration, and rough lesion boundaries. For greening, amt_non_green, contrast, and homogeneity are consistent with uneven color development and greenish appearance. Overall, SHAP confirms that the proposed model relies on biologically relevant color and texture characteristics extracted from ROI-segmented regions, thereby improving the interpretability of orange disease detection.

4.7.2 Explainability Analysis Using LIME

LIME analysis further supports the SHAP findings by providing instance-level interpretability. As shown in Fig. 9, the selected sample is predicted as greening with a probability of 1.00, while the probabilities for other classes are negligible.

images

Figure 9: Explainability analysis using LIME.

The local explanation shows that amt_non_green, homogeneity, contrast, dissimilarity, and blue_skew are the most influential features for the greening prediction. This pattern is biologically meaningful because citrus greening commonly causes poor and uneven fruit coloration, misshapen fruit and fruit that may remain partially green3. Therefore, the strong contribution of amt_non_green reflects abnormal greenish coloration, while homogeneity, contrast, and dissimilarity capture irregular color distribution and texture variation within the diseased ROI. Overall, the agreement between SHAP and LIME confirms that the model relies on disease-relevant color and texture features, improving its trustworthiness and interpretability.

4.8 Ablation Study

To assess the contribution of each major component, an ablation analysis was conducted using the component-wise experimental results. Three feature vectors were used to evaluate the effect of the proposed HMSFO feature selection strategy. As displayed in Table 3, Feature Vector 3 outperformed the other two with Random Forest obtaining the highest accuracy of 99.57%, justifying the effectiveness of the optimized feature representation.

Second, the impact of ASC-GTO was assessed by comparing it with classical GTO and PSO. The results in Table 4 indicate that ASC-GTO boosts the accuracy of the Random Forest classifier from 95.73% to 99.57%, highlighting its effectiveness in enhancing hyperparameter optimization and model stability.

Finally, the results for performance and computational complexity in Fig. 5 are used to assess the contribution of ROI extraction. The results indicate that the proposed ROI-based preprocessing method enhances the classification accuracy and decreases training time, inference time, model size, and overall computational cost. Overall, the ablation results confirm that HMSFO, ASC-GTO and ROI extraction each contribute to the accuracy, stability and efficiency of the proposed framework.

4.9 Comparison with Related Work

This research examines a range of methods previously proposed for early detection of orange disease. A systematic comparison with existing approaches is shown in Table 6, highlighting the strengths of our proposed model in terms of reliable recognition of diseases, improved interpretability and low computational overhead.

images

5  Conclusion and Future Work

This study introduced a lightweight and explainable machine learning model for multi-class orange disease detection. The framework includes CLAHE-based image enhancement, ROI extraction using K-means, texture and color feature extraction, hierarchical feature selection using HMSFO, and adaptive hyperparameter optimization using ASC-GTO. The experimental results showed that the proposed method achieved a high accuracy of 99.57% and reduced the training time, inference time, parameter count, and model size compared with the raw-image-based models. Furthermore, SHAP and LIME analyses added value to the model’s interpretability by highlighting the most important features contributing to the predictions. Overall, the proposed framework offers an accurate, efficient and interpretable solution for early orange disease diagnosis with a strong potential for future deployment in edge-based precision agriculture systems.

While CLAHE-based enhancement, ROI extraction, and 5-fold cross-validation were employed for enhancing robustness and generalizability, these steps cannot fully guarantee the performance under real-world conditions with occlusion, complex background, weather variation, and uncontrolled image acquisition. Future work will validate the proposed framework using larger, more diverse, and real-field agricultural datasets. Moreover, future work will explore deployment and benchmarking on edge/mobile devices to evaluate hardware-specific inference latency, memory usage, power consumption, and real-time performance.

Acknowledgement: We sincerely appreciate the dedication and commitment of all the coauthors, whose contributions were essential to the completion of this study.

Funding Statement: This research is supported by Multimedia University, Malaysia (Grant Number: PostDoc (MMUI/240029)).

Author Contributions: Conceptualization: Israt Jahan Munny, Anup Majumder, Bibhas Roy Chowdhury Piyas and Md. Rafsan Jani; Coding and simulations: Israt Jahan Munny, Bibhas Roy Chowdhury Piyas, Fatama Jannat Tisha, Abu Saleh Musa Miah and Israt Jahan; Analysis and interpretation of results: Bibhas Roy Chowdhury Piyas, Md. Rafsan Jani, Anup Majumder, Abu Saleh Musa Miah, Fahmid Al Farid and Hezerul Abdul Karim; Manuscript preparation: Israt Jahan Munny, Bibhas Roy Chowdhury Piyas, Fatama Jannat Tisha and Israt Jahan; Acquisition of funding: Fahmid Al Farid and Hezerul Abdul Karim. All authors reviewed and approved the final version of the manuscript.

Availability of Data and Materials: The implementation code for the proposed model is publicly available at the following GitHub repository: Data.

Ethics Approval: Not applicable.

Conflicts of Interest: The authors declare no conflicts of interest.

1https://www.fao.org/markets-and-trade/commodities-overview/food-and-agriculture-market-analysis-(FAMA)/citrus/.

2https://www.aphis.usda.gov/plant-pests-diseases/citrus-diseases.

3https://crec.ifas.ufl.edu/research/citrus-production/disease-identification/citrus-greening-huanglongbing/.

References

1. Dou S, Yuan S, Zhang X, Hou Y, Wu G, Mei Z, et al. From wide-area screening to precise diagnosis: a two-step air-ground collaborative approach for the detection of citrus huanglongbing. Agriculture. 2026;16(2):180. (In Chinese). doi:10.3390/agriculture16020180. [Google Scholar] [CrossRef]

2. Sireesha N, Gillala R, Almenweer RA. Unassailable citrus disease classification via multi-stage deep ensemble learning with vision transformers. Sci Rep. 2025;15(1):40573. doi:10.1038/s41598-025-24416-7. [Google Scholar] [PubMed] [CrossRef]

3. Zheng C, Li J. Study on the cause of the fluctuation of China’s citrus export to RCEP—analysis based on CMS model. China Fruits. 2023;35:82–9. (In Chinese). doi:10.16626/j.cnki.issn1000-8047.2023.12.014. [Google Scholar] [CrossRef]

4. Khattak A, Asghar MU, Batool U, Asghar MZ, Ullah H, Al-Rakhami M, et al. Automatic detection of citrus fruit and leaves diseases using deep neural network model. IEEE Access. 2021;9:112942–54. doi:10.1109/ACCESS.2021.3096895. [Google Scholar] [CrossRef]

5. Çetiner H. Citrus disease detection and classification using convolution deep neural network. Microprocess Microsyst. 2022;95:104687. doi:10.1016/j.micpro.2022.104687. [Google Scholar] [CrossRef]

6. Upadhyay A, Chandel NS, Singh KP, Chakraborty SK, Nandede BM, Kumar M, et al. Deep learning and computer vision in plant disease detection: a comprehensive review of techniques, models, and trends in precision agriculture. Artif Intell Rev. 2025;58(3):92. doi:10.1007/s10462-024-11100-x. [Google Scholar] [CrossRef]

7. Shafique MA, Rehman SU, Rashid J, Liaquat M, Elganainy SM, Almaghaslah MI, et al. Real-time multiclass detection of citrus leaf diseases using an enhanced YOLOv11 architecture. IEEE Access. 2026;14:22998–3017. doi:10.1109/ACCESS.2026.3656089. [Google Scholar] [CrossRef]

8. Hu S, Xiao J, Huang B, Sun H, Lan Y, Xu R, et al. A deep survival analysis approach for citrus huanglongbing prognosis. Smart Agric Technol. 2026;13:101828. (In Chinese). doi:10.1016/j.atech.2026.101828. [Google Scholar] [CrossRef]

9. Majid A, Khan MA, Alhaisoni M, Yar MAE, Tariq U, Hussain N, et al. An integrated deep learning framework for fruits diseases classification. Comput Mater Contin. 2022;71(1):1387. doi:10.32604/cmc.2022.017701. [Google Scholar] [CrossRef]

10. Awate A, Deshmankar D, Amrutkar G, Bagul U, Sonavane S. Fruit disease detection using color, texture analysis and ANN. In: Proceedings of the 2015 International Conference on Green Computing and Internet of Things (ICGCIoT); 2015 Oct 8–10; Greater Noida, India. p. 970–5. doi:10.1109/ICGCIoT.2015.7380603. [Google Scholar] [CrossRef]

11. Benlachmi Y, El Airej A, Hasnaoui ML. Fruits disease classification using machine learning techniques. Indones J Electr Eng Inform. 2022;10(4):917–29. doi:10.52549/ijeei.v10i4.3907. [Google Scholar] [CrossRef]

12. Liu HQ, Zhao ZL, Li HJ, Yu SJ, Cong L, Ding LL, et al. Accurate prediction of huanglongbing occurrence in citrus plants by machine learning-based analysis of symbiotic bacteria. Front Plant Sci. 2023;14:1129508. (In Chinese). doi:10.3389/fpls.2023.1129508. [Google Scholar] [PubMed] [CrossRef]

13. Sifath S, Saha S, Jahan S. Automatic classification of orange fruit diseases using deep neural network model. J Agric Food Res. 2026;27:102712. doi:10.1016/j.jafr.2026.102712. [Google Scholar] [CrossRef]

14. Liu X, Hu Y, Zhou G, Cai W, He M, Zhan J, et al. DS-MENet for the classification of citrus disease. Front Plant Sci. 2022;13:884464. (In Chinese). doi:10.3389/fpls.2022.884464. [Google Scholar] [PubMed] [CrossRef]

15. Dhiman P, Kaur A, Hamid Y, Alabdulkreem E, Elmannai H, Ababneh N. Smart disease detection system for citrus fruits using deep learning with edge computing. Sustainability. 2023;15(5):4576. doi:10.3390/su15054576. [Google Scholar] [CrossRef]

16. Feng W, Liu J, Li Z, Lyu S. YOLO-Citrus: a lightweight and efficient model for citrus leaf disease detection in complex agricultural environments. Front Plant Sci. 2025;16:1668036. (In Chinese). doi:10.3389/fpls.2025.1668036. [Google Scholar] [PubMed] [CrossRef]

17. Fan G. Advances in machine learning construction process for citrus quality and disease detection. Food Control. 2026;182:111849. doi:10.1016/j.foodcont.2025.111849. [Google Scholar] [CrossRef]

18. Goyal A, Lakhwani K. Integrating advanced deep learning techniques for citrus leaf and fruit disease detection. Sci Rep. 2025;15:12659. doi:10.1038/s41598-025-97159-0. [Google Scholar] [CrossRef]

19. Butt N, Iqbal MM, Ramzan S, Raza A, Abualigah L, Fitriyani NL, et al. Citrus diseases detection using innovative deep learning approach and hybrid meta-heuristic. PLoS One. 2025;20(1):e0316081. doi:10.1371/journal.pone.0316081. [Google Scholar] [PubMed] [CrossRef]

20. Syed-Ab-Rahman SF, Hesamian MH, Prasad M. Citrus disease detection and classification using end-to-end anchor-based deep learning model. Appl Intell. 2022;52:927–38. doi:10.1007/s10489-021-02452-w. [Google Scholar] [CrossRef]

21. Phung TT, Chu HD, Nguyen MQ, Hoang TM, Pham MT. Citrus disease detection using deep learning on edge devices. In: Thi Dieu Linh N, Yu S, Selamat A, Tran DT, editors. Proceedings of the Fifth International Conference on Intelligent Systems and Networks. ICISN 2025. Lecture Notes in Networks and Systems, Vol. 1596. Singapore: Springer; 2026. doi:10.1007/978-981-95-1746-6_32. [Google Scholar] [CrossRef]

22. Sharma P, Abrol P. Multi-component image analysis for citrus disease detection using convolutional neural networks. Crop Prot. 2025;193:107181. doi:10.1016/j.cropro.2025.107181. [Google Scholar] [CrossRef]

23. Faisal S, Javed K, Ali S, Alasiry A, Marzougui M, Khan MA, et al. Deep transfer learning based detection and classification of citrus plant diseases. Comput Mater Contin. 2023;76(1):895–914. doi:10.32604/cmc.2023.039781. [Google Scholar] [CrossRef]

24. Shastri R, Chaturvedi A, Mouleswararao B, Varalakshmi S, Prasad GNR, Ram MK. An automatic detection of citrus fruits and leaves diseases using enhanced convolutional neural network. Remote Sens Earth Syst Sci. 2023;6(3):123–34. doi:10.1007/s41976-023-00086-9. [Google Scholar] [CrossRef]

25. Sankaran S, Subbiah D, Chokkalingam BS. CitrusDiseaseNet: an integrated approach for automated citrus disease detection using deep learning and kernel extreme learning machines. Earth Sci Inform. 2024;17(4):3053–70. doi:10.1007/s12145-024-01320-8. [Google Scholar] [CrossRef]

26. Devora-Guadarrama M, Luna-Benoso B, Alarcón-Paredes A, Martínez-Perales JC, Morales-Rodríguez ÚS. Deep learning-based citrus canker and Huanglongbing disease detection using leaf images. Computers. 2025;14(11):500. doi:10.3390/computers14110500. [Google Scholar] [CrossRef]

27. Qiu X, Chen H, Huang P, Zhong D, Guo T, Pu C, et al. Detection of citrus diseases in complex backgrounds based on image–text multimodal fusion and knowledge assistance. Front Plant Sci. 2023;14:1280365. (In Chinese). doi:10.3389/fpls.2023.1280365. [Google Scholar] [CrossRef]

28. Yu K, Zhong M, Zhu W, Rashid A, Han R, Virk MS, et al. Advances in computer vision and spectroscopy techniques for non-destructive quality assessment of citrus fruits: a comprehensive review. Foods. 2025;14(3):386. doi:10.3390/foods14030386. [Google Scholar] [PubMed] [CrossRef]

29. Kaur B, Gupta SK, Janarthan M, Alsekait DM, AbdElminaam DS. Precision diagnosis of citrus leaf diseases using image enhancement and nonlinear fuzzy ranking ensemble approach NLFuRBe. Sci Rep. 2025;15(1):32296. doi:10.17632/44nrn4593f.1. [Google Scholar] [CrossRef]

30. Jrondi Z, Moussaid A, Hadi MY. Interpretable citrus fruit quality assessment using vision transformers and lightweight large language models. AgriEngineering. 2025;7(9):286. doi:10.3390/agriengineering7090286. [Google Scholar] [CrossRef]

31. Srinivasan S, Somasundharam L, Rajendran S, Singh VP, Mathivanan SK, Moorthy U. DBA-ViNet: an effective deep learning framework for fruit disease detection and classification using explainable AI. BMC Plant Biol. 2025;25(1):965. doi:10.1186/s12870-025-07015-6. [Google Scholar] [PubMed] [CrossRef]

32. Doh B, Zhang D, Shen Y, Hussain F, Doh RF, Ayepah K. Automatic citrus fruit disease detection by phenotyping using machine learning. In: Proceedings of the 2019 25th International Conference on Automation and Computing (ICAC); 2019 Sep 5–7; Lancaster, UK. p. 1–5. (In Chinese). doi:10.23919/IConAC.2019.8895102. [Google Scholar] [CrossRef]

33. Behera SK, Jena L, Rath AK, Sethy PK. Disease classification and grading of orange using machine learning and fuzzy logic. In: Proceedings of the 2018 International Conference on Communication and Signal Processing (ICCSP); 2018 Apr 3–5; Chennai, India. p. 678–82. doi:10.1109/ICCSP.2018.8524415. [Google Scholar] [CrossRef]

34. Zhang X, Xun Y, Chen Y. Automated identification of citrus diseases in orchards using deep learning. Biosyst Eng. 2022;223:249–58. (In Chinese). doi:10.1016/j.biosystemseng.2022.09.006. [Google Scholar] [CrossRef]

35. Kaushik P, Sharma P. Deep learning-based detection of orange diseases using MobileNetV2 for enhanced agricultural diagnostics. In: Proceedings of the 2024 13th International Conference on System Modeling & Advancement in Research Trends (SMART); 2024 Dec 13–14; Moradabad, India. p. 28–33. doi:10.1109/SMART63812.2024.10882535. [Google Scholar] [CrossRef]

36. Kaushik P, Jain E, Kukreja V, Ahuja V, Dogra A, Bansal A. Vision transformer-capsule network for orange quality inspection: ripeness and black spot disease detection. Appl Fruit Sci. 2025;67(4):185. doi:10.1007/s10341-025-01388-6. [Google Scholar] [CrossRef]

37. Tanvir K, Tanim SA, kabir Md S, Kabir KMT, Rassel MM, Al Sohan MF, et al. Explainability in orange disease detection through a res-inception framework integrating deep learning techniques. Procedia Comput Sci. 2025;258:2597–606. doi:10.1016/j.procs.2025.04.521. [Google Scholar] [CrossRef]

38. Aggarwal S, Verma AK. Explainable AI-based early detection of fruit diseases using a multimodal image fusion cross-species deep learning framework. Appl Fruit Sci. 2025;67(5):388. doi:10.1007/s10341-025-01602-5. [Google Scholar] [CrossRef]

39. Sireesha NV, Rekha G, Guntreddi V. Interpretable citrus disease classification through GradCAM++ LIME and vision transformer-based deep learning. Discov Appl Sci. 2026;8:294. doi:10.1007/s42452-026-08292-y. [Google Scholar] [CrossRef]


Cite This Article

APA Style
Munny, I.J., Majumder, A., Piyas, B.R.C., Farid, F.A., Jani, M.R. et al. (2026). An ROI-Guided Optimized Machine Learning Framework for Orange Disease Recognition with Feature Selection and Explainability. Computers, Materials & Continua, 89(1), 65. https://doi.org/10.32604/cmc.2026.083167
Vancouver Style
Munny IJ, Majumder A, Piyas BRC, Farid FA, Jani MR, Tisha FJ, et al. An ROI-Guided Optimized Machine Learning Framework for Orange Disease Recognition with Feature Selection and Explainability. Comput Mater Contin. 2026;89(1):65. https://doi.org/10.32604/cmc.2026.083167
IEEE Style
I. J. Munny et al., “An ROI-Guided Optimized Machine Learning Framework for Orange Disease Recognition with Feature Selection and Explainability,” Comput. Mater. Contin., vol. 89, no. 1, pp. 65, 2026. https://doi.org/10.32604/cmc.2026.083167


cc Copyright © 2026 The Author(s). Published by Tech Science Press.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 324

    View

  • 69

    Download

  • 0

    Like

Share Link