Next Article in Journal
A Review of Lightweight Object Detection Technologies for Densely Occluded Scenarios in Agricultural Fields
Previous Article in Journal
Encapsulation in Trehalose-Supplemented Alginate Beads Maintains Bradyrhizobium Functionality and Mitigates Water Stress in Arachis hypogaea L.
Previous Article in Special Issue
YOLOv11-IMP: Anchor-Free Multiscale Detection Model for Accurate Grape Yield Estimation in Precision Viticulture
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Efficient Olive Leaf Disease Detection Using Composite Feature Selection and Ensemble Learning

Software Engineering Department, Kocaeli University, Kocaeli 41001, Turkey
Agronomy 2026, 16(11), 1057; https://doi.org/10.3390/agronomy16111057
Submission received: 25 April 2026 / Revised: 18 May 2026 / Accepted: 20 May 2026 / Published: 27 May 2026
(This article belongs to the Special Issue Innovations in Agriculture for Sustainable Agro-Systems)

Abstract

Early and reliable detection of plant diseases is critical for sustaining agricultural productivity and reducing economic losses. In olive cultivation, peacock eye disease poses a significant threat by adversely affecting leaf health and crop yield. While deep learning models have demonstrated strong performance in plant disease detection, their reliance on high-dimensional feature representations often leads to increased computational cost and limited deployability in real-world agricultural settings. This study proposes an efficient and robust olive leaf disease classification framework that integrates deep feature extraction, devised composite filter-based feature selection, and ensemble learning. Deep features are extracted from olive leaf images using transfer learning with ResNet101 and MobileNet architectures. To address feature redundancy and computational inefficiency, multiple filter-based selection strategies—including mutual information, Chi-square, F-score, and five devised composite selectors (score fusion, union, intersection, hybrid, and class-wise filtering)—are employed to generate compact and informative feature subsets of fixed sizes (32, 64, and 128 features). The selected features are evaluated using k-NN, SVM, and LightGBM classifiers under stratified 5-fold cross-validation. Experimental results demonstrate that competitive and near-baseline performance can be achieved with substantially reduced feature dimensionality. In particular, using only 128 selected features, the proposed approach attains up to 0.988 accuracy and 0.976 MCC, closely matching the performance obtained with full deep feature vectors. Furthermore, voting-based ensemble strategies, including iterative majority voting and hybrid GA–BO fusion, further enhance robustness, achieving the highest mean accuracy of 0.9916 among the evaluated ensemble configurations. These findings highlight the effectiveness of the proposed composite filter-based selection and ensemble framework as a practical, lightweight, and accurate solution for olive leaf disease detection, suitable for deployment in precision agriculture and resource-constrained environments.

1. Introduction

In recent decades, the integration of artificial intelligence (AI) and machine learning (ML) into agriculture has substantially transformed practices related to crop management, plant disease detection, yield prediction, and nutritional planning [1,2]. This transformation, commonly referred to as precision agriculture or smart farming, plays a crucial role in addressing global challenges such as food security, environmental sustainability, and economic efficiency.
Modern agricultural systems are increasingly challenged by climate change, population growth, and the demand for sustainable production practices. Within this context, early and accurate detection of plant diseases is essential for preserving crop health, maintaining product quality, and minimizing economic losses. Conventional disease identification approaches, which rely primarily on expert visual inspection, are often time-consuming, subjective, and difficult to scale. These limitations have accelerated the adoption of AI-driven solutions, particularly ML-based methods, for automated and consistent disease diagnosis.
Machine learning techniques have demonstrated strong potential across a wide range of agricultural applications, including yield forecasting, soil classification, pest management, and plant disease detection [3]. Among these approaches, deep learning—especially convolutional neural networks (CNNs)—has achieved strong performance in analyzing leaf images and capturing subtle visual patterns associated with plant diseases [4,5]. Furthermore, transfer learning has significantly enhanced the practical applicability of deep learning models by enabling effective feature extraction even with limited labeled training data [6].
Despite their effectiveness, CNN-based models often produce high-dimensional feature representations that may contain redundant or weakly informative components [7]. Such high dimensionality increases computational cost, storage requirements, and inference complexity, potentially limiting practical deployment in resource-constrained agricultural environments. These limitations become particularly important in precision agriculture scenarios involving mobile devices, embedded systems, and edge-based monitoring platforms. Feature selection has therefore emerged as an important preprocessing step in constructing compact, computationally efficient classification pipelines. By identifying the most discriminative features, feature selection can reduce model complexity, improve generalization capability, and enhance interpretability [8,9].
Metaheuristic optimization algorithms provide an effective alternative to exhaustive search strategies for feature selection, especially in high-dimensional search spaces where combinatorial complexity becomes prohibitive. Algorithms such as genetic algorithms, grey wolf optimization, and related nature-inspired techniques iteratively refine candidate feature subsets to balance classification performance against feature compactness [10]. While these approaches often yield strong predictive performance, they may incur substantial computational overhead due to iterative optimization, limiting scalability in lightweight agricultural applications [11].
In parallel, ensemble learning has become a widely adopted strategy for improving predictive performance by combining the outputs of multiple models or feature representations [12,13]. By exploiting model diversity, ensemble methods can reduce variance, mitigate overfitting, and improve generalization compared with single-model approaches. Common ensemble strategies include bagging, boosting, and voting-based schemes. In high-dimensional, heterogeneous feature settings, hybrid ensemble frameworks that integrate classifier selection and adaptive weighting mechanisms have shown additional promise for enhancing robustness and decision stability.
Recent advances in computer vision have also introduced transformer-based architectures and end-to-end representation learning frameworks for plant disease analysis. Vision Transformers (ViTs) and related hybrid CNN-transformer models have demonstrated strong representational capability in several agricultural imaging tasks [14,15]. However, these approaches typically require larger datasets, higher computational resources, and more extensive optimization procedures. In contrast, practical precision agriculture applications—particularly those targeting edge deployment or low-resource environments—often require computationally efficient pipelines that maintain competitive accuracy on constrained hardware.
Motivated by these observations, this study aims to develop a computationally efficient framework for olive leaf disease detection by integrating deep feature extraction, composite filter-based feature selection, and ensemble learning techniques. Rather than proposing a fundamentally new deep neural architecture, the primary objective of this work is to systematically investigate how to derive compact, discriminative feature subsets from pretrained deep representations while preserving near-baseline classification performance. In this respect, the study focuses on the engineering optimization of deep representations through lightweight feature selection and ensemble integration strategies suitable for resource-constrained precision agriculture applications.
To achieve this objective, pretrained ResNet101 and MobileNet architectures are employed as fixed deep feature extractors, and multiple filter-based feature selection strategies are investigated under different feature budgets. In addition to classical filter methods, several composite selection mechanisms—including score fusion, union-based, intersection-based, hybrid, and class-wise filtering—are evaluated to assess how complementary feature-relevance signals affect classification performance and model compactness.
The main contributions of this work are summarized as follows:
  • We propose a multi-stage, composite, filter-based feature selection framework that combines classical filter ranking methods with aggregation-based refinement strategies to generate compact, discriminative feature subsets from deep representations.
  • We systematically investigate multiple composite filter variants—including class-wise filtering, score fusion, hybrid fusion, union-based, and intersection-based strategies—under different feature budgets to analyze the trade-off between dimensionality reduction and predictive performance.
  • We develop a hybrid voting-based ensemble framework integrating Genetic Algorithm (GA)-based model subset selection, Bayesian Optimization (BO)-based weight tuning, and Iterative Majority Voting (IMV) to improve robustness across heterogeneous reduced-feature classifiers.
  • We conduct a comprehensive experimental evaluation on an olive leaf disease dataset using stratified 5-fold cross-validation, demonstrating that near-baseline classification performance can be maintained even under substantial dimensionality reduction.
  • We analyze the computational efficiency and practical deployment implications of compact deep-feature representations for precision agriculture applications operating under resource-constrained environments.

2. Related Work

In recent years, there has been growing interest in computer-aided systems for plant disease detection, driven by the need for scalable, accurate, and objective diagnostic tools in precision agriculture. Beyond accuracy, current research increasingly emphasizes practical constraints such as deployability on edge devices, robustness under varying field conditions, multimodal integration with sensor streams, and explainability to support trustworthy decision-making. These trends reflect the broader evolution of computer and electronic technologies applied to agriculture, including IoT-enabled monitoring, lightweight deep learning models for real-time inference, and interpretable AI components [1,2,3].
A substantial body of work has investigated deep learning and transfer learning for plant and crop disease recognition. Many studies leverage pretrained networks and optimization-based enhancements (e.g., metaheuristic search, wrapper/embedded selection, or hyperparameter tuning) to improve predictive performance and reduce computational overhead [8,9,10,16,17]. Recent studies investigate multimodal fusion strategies that integrate imagery with environmental variables and diverse sensing modalities (e.g., RGB, thermal, spectral, and IoT streams). This approach enhances robustness and early-warning capabilities, though it often increases model complexity [12,13,18,19]. In parallel, explainable AI (XAI) methods (e.g., Grad-CAM, SHAP, concept-based explanations) are increasingly integrated to enhance transparency and user trust in agricultural decision support [1,3,20].
Within the olive leaf disease domain, early studies largely relied on transfer learning, optimized augmentation, and tuned CNN backbones. Alruwaili et al. [6] proposed a transfer learning-based approach combined with optimized hyperparameter tuning and intelligent data augmentation to address class imbalance. Similarly, Uğuz [4] employed transfer learning with parameter optimization and data augmentation to achieve competitive results, and Uğuz and Uysal [21] investigated VGG-16, VGG-19, and a custom CNN for multi-class olive leaf disease recognition, reporting an overall accuracy of 95%.
More recent studies on olive-focused technologies have explored hybrid and feature-fusion architectures. Ksibi et al. [5] introduced MobiResNet by combining deep features of ResNet and MobileNet to exploit complementary representational strengths. Lachgar et al. [22] studied multiple olive diseases and reported strong performance with MobileNet under optimized training configurations. Beyond conventional CNNs, Alshammari et al. [23] combined CNN and transformer representations and applied an optimization-based feature selection mechanism, highlighting the benefit of selection-driven compactness. Bocca et al. [24] presented an end-to-end field pipeline using Mask R-CNN for segmentation, detection networks for localization, and a deep classifier for final recognition, further illustrating the importance of robust preprocessing and field-aware processing.
Despite these advances, several limitations remain. Many existing studies rely on high-dimensional deep representations and computationally intensive end-to-end architectures, which may limit deployment in resource-constrained agricultural environments. Similarly, optimization-based feature selection approaches often introduce considerable computational overhead due to iterative search procedures [17]. Furthermore, while transformer-based and hybrid deep architectures have shown promising performance, they generally require larger datasets and increased training complexity.
In contrast to studies that focus primarily on maximizing predictive accuracy through increasingly complex architectures, the present work emphasizes computational efficiency and feature compactness while preserving competitive classification performance. Specifically, this study investigates the interaction among pretrained deep representations, composite filter-based feature selection strategies, and lightweight voting-based ensemble learning in aggressive dimensionality reduction settings. To the best of our knowledge, a systematic analysis of composite filter aggregation strategies—including score fusion, union/intersection mechanisms, hybrid filtering, and class-wise selection—combined with lightweight ensemble integration remains limited in the literature on olive leaf disease detection.

3. Method and Materials

Figure 1 illustrates the overall architecture of the proposed framework through a graphical abstract.
The proposed framework consists of four main stages: (i) deep feature extraction using pretrained CNN architectures, (ii) filter-based and composite feature selection, (iii) classification using machine learning models, and (iv) voting-based ensemble integration. Deep features extracted from ResNet101 and MobileNetV2 are processed using classical filter-based feature selection methods—Mutual Information (MI), F-score, and Chi-square—together with several composite variants including hybrid voting, score fusion, union-based, and intersection-based strategies. The resulting compact feature subsets are evaluated with multiple classifiers, and their outputs are subsequently combined via voting-based ensemble methods. Finally, a hybrid ensemble strategy integrates Genetic Algorithm (GA)-based classifier selection, Bayesian Optimization (BO)-based weight tuning, and Iterative Majority Voting (IMV).

3.1. Dataset

The study uses an olive leaf dataset summarized in Table 1. The dataset comprises 954 samples collected from the Edincik region in the Bandırma district, Balıkesir, Turkey.
The images of the leaves were originally collected from natural field environments; however, image acquisition was performed under controlled conditions to ensure consistency and reduce variability. Specifically, each leaf was placed individually inside a 42 × 42 cm LED-lit light box, and images were captured using a 48-megapixel camera positioned 52 cm above the sample. This setup ensured uniform illumination, fixed scale, and a clean white background across all images [25].
Therefore, the dataset represents a controlled imaging setting of field-collected samples rather than direct in-field acquisition. This design enables a consistent and reliable evaluation of feature extraction and selection mechanisms by minimizing external variability. However, it does not fully capture real-world agricultural conditions such as varying illumination, complex backgrounds, and occlusions. Consequently, while the proposed framework demonstrates strong performance under controlled conditions, further validation on in-field datasets is required to assess its robustness and generalizability in practical deployment scenarios.

3.2. Preprocessing Pipeline

To ensure consistency across the dataset ( n = 954 ), a standardized three-stage preprocessing pipeline was implemented (Figure 2). First, images were converted from RGB to RGBA format to integrate an explicit alpha channel for transparency mapping. Second, color-based segmentation was employed to isolate foliage from the background. Specifically, white pixels (all channels > 100 ) and blue-tinted regions (blue > 100 ; red and green < 100 ) were identified and excluded. Finally, a morphological closing operation using a 5 × 5 kernel was applied to refine the smoothness of the leaf contours and fill internal gaps.

3.3. Transfer Learning and Feature Extraction

Deep feature extraction was performed using pretrained ResNet101 and MobileNetV2 architectures [26,27]. In this study, both networks were employed as fixed feature extractors without fine-tuning, and the extracted deep representations were subsequently used as inputs to classical machine learning classifiers.
Feature vectors were obtained from the penultimate layer of each network, prior to the final classification layer. ResNet101 produced 2048-dimensional feature vectors, whereas MobileNetV2 generated 1024-dimensional representations.
The selected architectures provide complementary characteristics. MobileNetV2 was preferred for its lightweight architecture and computational efficiency, achieved through depthwise separable convolutions, making it suitable for resource-constrained agricultural applications [26,28]. In contrast, ResNet101 utilizes residual connections across deeper layers, enabling stronger representational capacity for complex visual patterns [27].
Although transformer-based architectures have recently demonstrated promising performance in agricultural image analysis, they generally require larger datasets and higher computational resources [14,15]. Since the primary objective of this study is to investigate compact, computationally efficient feature representations, lightweight CNN-based transfer learning architectures were preferred over transformer-based end-to-end models.

3.4. Feature Selection Methods

Deep feature extractors often generate high-dimensional representations containing redundant or weakly informative components. Feature selection is therefore employed to reduce dimensionality and improve computational efficiency while preserving discriminative capability. In this study, both classical filter-based methods and several composite variants are investigated.
  • Filter-Based Methods:
Three widely used filter criteria were considered due to their low computational complexity and suitability for high-dimensional feature spaces [29].
F-score: The F-score evaluates the discriminative capability of a feature by comparing between-class separability and within-class variability.
F ( w j ) = ( μ + μ ) 2 + ( μ μ ) 2 σ 2 + + σ 2
Chi-square ( χ 2 ) Test: The χ 2 statistic measures the dependency between a feature and the class label.
χ 2 ( w j , c i ) = N · P j ( 1 , c i ) · P j ( 0 , c i ¯ ) P j ( 1 , c i ¯ ) · P j ( 0 , c i ) P j ( 1 ) · P j ( 0 ) · P ( c i ) · P ( c i ¯ )
Mutual Information (MI): Mutual Information captures both linear and non-linear dependencies between features and class labels.
I ( w j ; C ) = w W c C P j ( w , c ) log P j ( w , c ) P j ( w ) P ( c )
  • Score Normalization:
Since different filter methods produce scores with different numerical scales, all scores were normalized using min-max normalization:
s ˜ j ( m ) = s j ( m ) min ( s ( m ) ) max ( s ( m ) ) min ( s ( m ) )
  • Composite Feature Selection Variants:
Let T k ( m ) denote the top-k features selected by method m.
  • Hybrid Voting:
    Hybrid Voting retains features that are supported by multiple filter criteria, aiming to improve robustness to method-specific ranking biases.
    w j S hybrid m I ( w j T k ( m ) ) 2
  • Score Fusion:
    Score Fusion aggregates normalized relevance scores from different filters into a unified ranking score.
    S j = 1 3 m s ˜ j ( m )
  • Intersect:
    The intersection strategy retains only features consistently selected by all filter methods, resulting in a more conservative feature subset.
    S intersect = m T k ( m )
  • Union:
    The union strategy combines all features selected by at least one filter method to preserve complementary discriminative information.
    S union = m T k ( m )
  • Classwise Filtering:
    Class-wise filtering evaluates feature relevance independently for each class, thereby better capturing class-specific discriminative patterns.
    S j class = 1 | C | c C s j ( c )
These composite strategies generate compact feature subsets while maintaining computational complexity lower than that of wrapper-based or metaheuristic feature selection approaches. Unlike end-to-end representation learning approaches that introduce additional trainable parameters and optimization stages, the proposed composite filter-based framework operates directly on deep pretrained representations with low computational overhead [30]. This design enables systematic investigation of compact, discriminative feature subsets while preserving the computational efficiency advantages of transfer learning-based feature extraction. Consequently, the proposed framework is particularly suitable for resource-constrained precision agriculture applications where lightweight deployment and reduced inference complexity are important practical considerations.

3.5. Classifiers

After feature extraction and feature selection, the resulting vectors were evaluated using k-NN, SVM, and LightGBM classifiers.

3.5.1. Support Vector Machines (SVM)

SVM classifiers with radial basis function (RBF) and polynomial kernels were employed due to their strong performance in high-dimensional feature spaces [31]. The regularization parameter C controls the trade-off between margin maximization and training error minimization.

3.5.2. k-Nearest Neighbors (k-NN)

A 1-NN classifier using Euclidean distance was employed as a lightweight non-parametric baseline [32]. The value of k = 1 was selected based on preliminary cross-validation experiments.

3.5.3. LightGBM (LGB)

LightGBM was included as an efficient tree-based boosting model capable of capturing non-linear feature interactions in reduced deep feature representations [33].

3.6. Majority Voting-Based Ensemble Methods

The reduced feature subsets generated by different selection strategies may induce complementary decision boundaries across classifiers and feature extractors. To improve robustness and reduce sensitivity to individual model configurations, multiple classifiers were combined using voting-based ensemble schemes.
Three ensemble mechanisms were investigated: Iterative Majority Voting (IMV), Genetic Algorithm-Based Voting (GA–Voting), and Bayesian Optimization-Based Voting (BO–Voting). In addition, a hybrid GA+BO configuration was evaluated, where GA performs model subset selection, and BO optimizes classifier fusion weights.

3.6.1. Iterative Majority Voting (IMV):

IMV starts from the best individual classifier h best and progressively builds an ensemble by adding models from the pool H . At iteration t, predictions are obtained by majority vote over the selected subset S ( t ) :
y ^ ( t ) = mode h i ( x ) | h i S ( t )
A candidate classifier h j H S ( t ) is retained only if adding it improves validation accuracy, i.e., S ( t + 1 ) = S ( t ) { h j } . The procedure terminates when no further improvement is observed [34].

3.6.2. Genetic Algorithm-Based Voting (GA–Voting):

GA–Voting treats ensemble construction as a binary optimization problem. Each chromosome is a binary vector.
z { 0 , 1 } K indicating whether classifier h i is included ( z i = 1 ) or excluded ( z i = 0 ). The resulting ensemble label is computed by majority voting among the selected models:
y ^ GA = mode h i ( x ) | z i = 1
The fitness F ( z ) is defined as the validation accuracy of the ensemble:
F ( z ) = 1 N n = 1 N I y ^ GA ( n ) = y ( n )
where I [ · ] denotes the indicator function. Standard GA operators (selection, crossover, and mutation) are then applied to evolve the population toward higher fitness [35].

3.6.3. Bayesian Optimization-Based Voting (BO–Voting):

In BO–Voting, we employ soft voting by assigning a weight w i [ 0 , 1 ] to each classifier, resulting in a weight vector w [ 0 , 1 ] K with i = 1 K w i = 1 . For class c, the aggregated score is computed as:
s c ( x ) = i = 1 K w i · I h i ( x ) = c
The predicted label follows from:
y ^ BO = arg max c s c ( x )
Bayesian Optimization is used to identify the optimal weights w * that maximize validation accuracy:
w * = arg max w [ 0 , 1 ] K 1 N n = 1 N I y ^ BO ( n ) = y ( n )
This approach allows the ensemble to emphasize strong classifiers while down-weighting weaker ones.
Overall, IMV employs a greedy inclusion strategy, GA–Voting performs a global search over base-classifier subsets, and BO–Voting tunes continuous fusion weights. These complementary mechanisms enable a systematic comparison of ensemble construction strategies for olive leaf disease detection.

3.7. Model Evaluation

Model performance was evaluated using accuracy, F1-score, and Matthews Correlation Coefficient (MCC):
Accuracy = T P + T N T P + F P + F N + T N
F 1 = 2 T P 2 T P + F P + F N
MCC = ( T P × T N ) ( F P × F N ) ( T P + F P ) ( T P + F N ) ( T N + F P ) ( T N + F N )

3.8. Experimental Protocol and Data Leakage Prevention

To ensure fair and unbiased evaluation, all feature selection, hyperparameter tuning, and ensemble optimization steps were performed exclusively within the training portion of each cross-validation fold.
The dataset was evaluated using stratified 5-fold cross-validation, preserving class distributions across folds. A 5-fold protocol was preferred instead of higher-fold settings (e.g., 10-fold) to provide a balance between reliable performance estimation and computational efficiency, particularly considering the large number of evaluated feature-selection and ensemble configurations.
For each fold:
  • The dataset was split into training (80%) and validation (20%) subsets.
  • Deep feature extraction using pretrained ResNet101 and MobileNetV2 models was performed independently for training and validation samples.
  • Feature selection methods were applied only on the training data. The selected top-k features ( k { 32 , 64 , 128 } ) were then transferred to the validation fold.
  • Hyperparameter tuning for k-NN, SVM, and LightGBM was performed using grid search within the training fold.
  • Ensemble optimization (GA-based selection and BO-based weighting) was also performed exclusively on the training data.
This protocol ensures that no information from the validation fold is used during feature selection, hyperparameter optimization, or ensemble construction, thereby providing unbiased estimates of generalization performance.

4. Experimental Results

This section reports the experimental results for olive leaf disease classification under three settings: (i) baseline classification using the full deep feature vectors, (ii) classification after applying the proposed (devised) filter-based feature selection variants, and (iii) model fusion using voting-based ensembles.
Rather than proposing a new end-to-end representation learning architecture, the primary objective of these experiments is to investigate whether compact feature subsets derived from pretrained deep representations can preserve near-baseline classification performance under aggressive dimensionality reduction settings. Therefore, the experiments focus not only on predictive accuracy but also on the trade-off between feature compactness, computational efficiency, and classification stability.
All experiments were conducted in Python 3.11.3 using TensorFlow 2.4.1 and HuggingFace Transformers 4.5.1 on a system equipped with an Intel Ultra7–265K CPU, 64 GB RAM, and an NVIDIA RTX 5070 Ti GPU. Model performance was assessed using 5-fold stratified cross-validation. Hyperparameters for each classifier were tuned via grid search (Table 2).
We applied eight feature selection strategies—three classical filters (Chi-square, Mutual Information, and F-score) and five devised composite selectors (hybrid, score fusion, union, intersect, and class-wise filtering). Each selector was applied independently to deep features extracted by both ResNet101 and MobileNetV2, producing 16 feature subsets (8 selectors × 2 feature extractors).
Each feature subset was evaluated using three classifiers (k-NN, SVM, and LightGBM), resulting in 48 model configurations (16 feature subsets × 3 classifiers). All configurations were ranked by classification accuracy, and the top-performing models are summarized in the following tables.

4.1. Baseline Performance Without Feature Selection

Table 3 reports the baseline results obtained using the full deep feature vectors from ResNet101 (2048 features) and MobileNetV2 (1024 features). This setting represents the upper-bound performance of the classifiers when no dimensionality reduction is applied.
Across both feature extractors, SVM achieves the highest accuracy and MCC, indicating a strong ability to separate healthy and diseased leaves in the original feature space. However, using thousands of features increases both training time and memory consumption, motivating subsequent experiments to reduce feature dimensionality while preserving classification performance.

4.2. Performance with Devised Filter-Based Feature Selection

To systematically analyze the effect of the proposed filter-based feature selection strategies on classification performance, we conducted a series of experiments using compact feature subsets of fixed sizes: 32, 64, and 128 features. The primary goal of this stage was to investigate whether competitive or near-baseline performance could be maintained under aggressive dimensionality reduction by prioritizing the most discriminative components of the deep feature representations.
The devised feature selection strategies include score fusion, union, intersection, hybrid combinations, and class-wise filtering mechanisms, which aim to integrate complementary relevance information from multiple filter criteria. All experiments were again evaluated using a stratified 5-fold cross-validation scheme to ensure class balance across folds and to obtain reliable performance estimates.
Table 4 reports the top-performing configurations when only 32 features are retained. Despite the severe reduction in dimensionality, the results demonstrate that high classification performance can still be achieved.
In particular, the best-performing configuration is MobileNetV2 + Mutual Information (SVM), which achieves an accuracy of 0.976, an F1-score of 0.980, and an MCC of 0.950. Several other configurations, including Hybrid and F-score-based selections, yield comparable performance, indicating that the proposed composite and classical filter strategies are effective in isolating highly informative features even under strict feature constraints.
When the number of selected features is increased to 64, the performance trends become more pronounced, as shown in Table 5. Both ResNet101- and MobileNet-based models exhibit consistent improvements in both central tendency and stability, as reflected by increased mean accuracy and reduced variance across folds. At this level, multiple configurations achieve comparable top performance. In particular, ResNet101 + Union (SVM) and ResNet101 + Mutual Information (LightGBM) both reach an accuracy of 0.980 with MCC values around 0.959. Similarly, MobileNetV2 + Hybrid (SVM) slightly exceeds this level, achieving an accuracy of 0.981, the highest observed value for this feature budget. These results indicate that increasing feature dimensionality enables models to capture additional discriminative information while maintaining computational efficiency. Notably, MobileNet-based models paired with score fusion and hybrid selection strategies also perform competitively, highlighting the robustness of the devised filters across different backbone architectures.
Finally, Table 6 presents the results obtained using 128 selected features. At this level, the top-performing models approach or match the baseline performance achieved with much higher-dimensional representations. The ResNet + F-Score (SVM) configuration yields the highest overall performance, with an accuracy of 0.988, an F1-score of 0.990, and an MCC of 0.976. These results confirm that the devised filter-based selection strategies scale effectively with increasing subset sizes, allowing models to exploit richer feature representations while still benefiting from reduced dimensionality.
Figure 3 provides a consolidated view of the accuracy–efficiency trade-off across different feature budgets. As the number of selected features increases from 32 to 128, both the median accuracy and the overall stability of the models improve, while the performance gap with the full-feature baseline narrows substantially. Notably, the full-feature setting exhibits higher variance across configurations, whereas compact feature subsets—particularly at 64 and 128 features—yield more consistent accuracy distributions, highlighting the robustness of the proposed composite filter-based selection strategies.
Figure 4 further highlights the accuracy–efficiency trade-off achieved by the proposed feature selection framework. Both MobileNet- and ResNet101-based models exhibit a monotonic increase in accuracy as the feature budget grows, with diminishing performance gains beyond 128 features. Notably, ResNet101 benefits more from increased feature dimensionality, whereas MobileNet achieves competitive performance with fewer features, underscoring the suitability of compact representations for resource-constrained agricultural applications.
Table 7 summarizes the computational efficiency characteristics of the best-performing configurations under different feature budgets. As the number of selected features increases, storage requirements and inference overhead also increase, although the overall computational costs remain relatively low. Notably, compact feature subsets substantially reduce storage requirements while preserving near-baseline classification performance. For example, the 32-feature configuration requires only 119.25 KB of feature storage while still achieving 0.976 accuracy. Similarly, the 64-feature configuration provides an effective balance between predictive performance and computational efficiency, achieving 0.980 accuracy with the lowest inference time among the evaluated settings. These findings further support the suitability of the proposed framework for lightweight and resource-constrained precision agriculture applications.
To sum up, the findings from Table 4, Table 5 and Table 6 and the accuracy distributions shown in Figure 3 demonstrate that the proposed composite filter-based feature selection methods provide a strong trade-off between classification accuracy and computational efficiency. Even with highly compact feature subsets, the devised strategies preserve the most discriminative information embedded in deep feature vectors. In contrast, larger subsets enable a smooth and consistent convergence toward baseline performance. This behavior highlights the practical suitability of the proposed selection framework for real-world applications where both performance and efficiency are critical considerations.

4.3. Ensemble-Based Model Performance

Table 8 summarizes the performance of the voting-based ensemble strategies evaluated in terms of accuracy, F1-score, Matthews Correlation Coefficient (MCC), and computational time. The motivation for introducing an ensemble layer is that reduced feature subsets generated by different selection strategies (e.g., score fusion, union, intersection, hybrid, and class-wise filtering) induce complementary decision boundaries across base classifiers. Aggregating these predictors improves robustness by reducing sensitivity to individual model configurations and exploiting complementary decision boundaries.
The ensemble pool consists of the base models obtained from the top-performing 64-feature setting. This choice provides a balance between model diversity and computational efficiency. Specifically, the pool includes models derived from different feature extractors (ResNet101 and MobileNetV2), feature selection strategies, and classifier types (SVM, k-NN, LightGBM), resulting in a heterogeneous set of candidate predictors. The 64-feature setting was selected because it offers strong performance while maintaining compact representations, thereby enabling efficient ensemble construction.
IMV employs a greedy strategy that incrementally constructs an ensemble by adding candidate models only if they improve validation accuracy. As shown in Table 8, IMV achieves strong performance (Accuracy = 0.9906, MCC = 0.9804) with negligible computational cost (0.49 s), demonstrating that simple majority voting can effectively exploit complementary decision boundaries while remaining computationally efficient.
GA–Voting formulates ensemble selection as a combinatorial optimization problem, identifying a subset of classifiers that maximizes validation accuracy. This approach reduces redundancy by excluding weaker or correlated models. GA–Voting achieves competitive performance (Accuracy = 0.9895, MCC = 0.9783), slightly below IMV, while requiring a higher computational cost due to evolutionary search.
BO–Voting introduces weighted soft voting, where classifier contributions are optimized via Bayesian Optimization. This approach yields an accuracy of 0.9853 (MCC = 0.9697), indicating that adaptive weighting can refine predictions, although it does not exceed the performance of majority-based approaches in this setting.
The hybrid GA+BO approach combines subset selection (GA) with weight optimization (BO). This configuration achieves the highest mean performance among the evaluated ensemble methods (Accuracy = 0.9916, F1-score = 0.9931, MCC = 0.9826), slightly improving upon the IMV strategy. However, the absolute performance gain remains limited relative to the substantial increase in optimization time (394.29 s). Considering the overlapping standard deviations across cross-validation folds, the observed improvement should be interpreted as a marginal gain rather than a substantial statistical difference.
From a practical perspective, the additional computational overhead introduced by GA+BO may not always be justified for real-time or resource-constrained deployment scenarios. Nevertheless, the GA+BO strategy may still be valuable in offline analytical settings where maximizing predictive performance is prioritized over runtime efficiency. In contrast, IMV provides a considerably stronger performance–efficiency trade-off, achieving near-best performance with negligible computational overhead, making it particularly suitable for lightweight agricultural decision-support systems operating under limited computational resources.
The results suggest that optimization-based ensemble strategies can lead to modest improvements in performance. In contrast, lightweight majority-based voting methods can retain most of the benefits of ensemble techniques while significantly reducing computational complexity. These findings highlight the effectiveness of compact feature representations and lightweight ensemble integration for practical applications in precision agriculture.

4.4. Ablation Study

To better understand the contribution of each component in the proposed framework, we conduct an ablation analysis focusing on three key aspects: (i) the effect of feature selection, (ii) the contribution of composite filter strategies, and (iii) the impact of ensemble learning.
We first analyze the impact of dimensionality reduction by comparing baseline results obtained with full deep feature vectors (Table 3) against reduced feature subsets (Table 4, Table 5 and Table 6). The baseline ResNet101 + SVM model achieves an accuracy of 0.991 using 2048 features. When the feature dimensionality is reduced to 128, the best-performing configuration still achieves 0.988 accuracy, corresponding to a reduction of over 93% in feature dimensionality with only a marginal drop in performance. Even with an aggressive reduction to 32 features, the accuracy remains at 0.976. These results demonstrate that feature selection plays a critical role in removing redundant information while preserving the most discriminative components of deep representations.
We next examine the benefit of the proposed composite filter strategies compared with individual filter methods. As shown in Table 4, Table 5 and Table 6, classical filters such as Mutual Information and F-score already yield strong performance. However, composite strategies such as Hybrid and Score Fusion consistently appear among the top-performing configurations across different feature budgets. This indicates that combining multiple relevance signals can enhance feature quality by capturing complementary statistical properties, leading to more robust and stable classification performance.
Finally, we evaluate the contribution of ensemble learning by comparing individual models with voting-based ensembles (Table 8). The best single-model performance (ResNet101 + SVM with full features) reaches approximately 0.991 accuracy, while the proposed GA+BO hybrid ensemble achieves 0.9916 accuracy with improved MCC. Although the absolute improvement is modest, ensemble methods provide increased robustness by aggregating diverse decision boundaries. Notably, the IMV approach achieves near-optimal performance (accuracy of 0.9906) with minimal computational cost, demonstrating that even simple ensemble strategies can significantly enhance model stability.
The ablation analysis confirms that all three components—feature selection, composite filtering, and ensemble learning—contribute to the overall performance of the proposed framework. Feature selection provides the most substantial efficiency gains with minimal loss in accuracy; composite filters improve feature quality and stability; and ensemble learning offers additional robustness and marginal performance improvements. Together, these components form a complementary pipeline that balances accuracy, efficiency, and generalization. The findings indicate that the key contribution of the proposed framework does not stem from introducing a new deep architecture. Instead, it systematically explores how compact feature selection and lightweight ensemble optimization can maintain the discriminative power of pretrained deep representations in resource-constrained environments.

5. Discussion

This section discusses the experimental findings presented in the previous section to contextualize the observed performance trends and highlight their practical implications for olive leaf disease detection. First, the impact of the proposed composite filter-based feature selection strategies is examined in terms of their ability to preserve discriminative power under aggressive dimensionality reduction. Next, the accuracy–efficiency trade-off under varying feature budgets is analyzed, followed by a discussion of classifier behavior and backbone-specific trends. Finally, the benefits of ensemble learning and the comparative performance of the proposed framework with respect to existing studies are addressed.

5.1. Impact of Composite Filter-Based Feature Selection

This study demonstrates that filter-based feature selection, when carefully devised through composite strategies (i.e., score fusion, union, intersect, hybrid, and class-wise filtering), can deliver a strong accuracy–efficiency trade-off for olive leaf disease classification. Unlike meta-heuristic feature selection pipelines that require extensive iterative searches, the proposed framework relies on fast relevance-driven ranking and aggregation of deep features extracted from ResNet101 (2048-d) and MobileNetV2 (1024-d). This design enables aggressive dimensionality reduction while preserving most of the discriminative information embedded in deep representations.
Baseline results (Table 3) confirm that full deep feature vectors already provide near-ceiling separability for the task. In particular, ResNet101 combined with SVM or LightGBM achieves baseline accuracy close to 0.99, establishing a strong upper bound. However, operating with 1024–2048 features substantially increases storage and inference costs, which may limit practical deployment in resource-constrained agricultural environments.

5.2. Accuracy–Efficiency Trade-Off Under Feature Budget Constraints

The feature selection experiments demonstrate that high classification performance can be maintained even with compact feature subsets. With only 32 selected features (Table 4), the best configurations achieve Accuracy = 0.976 and MCC = 0.950 , indicating that the devised selectors can isolate a small set of highly informative deep features. Increasing the feature budget to 64 features yields a consistent improvement (Table 5), with peak accuracy approaching 0.981 and MCC values exceeding 0.96, while maintaining extreme compactness relative to the original feature space.
The strongest reduced-feature results are obtained with 128 selected features (Table 6), where the best configuration (ResNet101 + F-score + SVM) achieves Accuracy = 0.988 and MCC = 0.976 . This corresponds to using only approximately 6.25% of the original ResNet101 feature dimensionality, yet approaching baseline performance. These results highlight the effectiveness of the proposed composite filter strategies in balancing dimensionality reduction and predictive accuracy.

5.3. Classifier Behavior and Backbone-Specific Trends

Across the reduced-feature experiments, SVM consistently dominates the top-ranked configurations, particularly for 64 and 128 feature settings. This observation suggests that margin-based learning is especially well-suited to the compact deep feature manifolds produced by the proposed selection strategies. While MobileNet-based subsets remain highly competitive—especially under hybrid, mutual information, and union selectors—ResNet101-based subsets tend to yield the best peak performance at larger subset sizes. This trend indicates that the richer ResNet embedding space retains additional discriminative cues that become exploitable as the feature budget increases.

5.4. Ensemble Learning and Robustness Considerations

Table 9 compares the proposed framework with recent olive leaf disease detection studies under different datasets, acquisition conditions, and evaluation protocols. Unlike several prior studies that rely on simple train/test splits, the proposed framework was evaluated using stratified 5-fold cross-validation to obtain more reliable and unbiased performance estimates. In addition, while many previous approaches focus primarily on end-to-end deep learning classification, the proposed method emphasizes compact deep representations combined with lightweight composite feature selection and ensemble optimization.
It should be noted that direct comparisons across studies should be interpreted with caution, since different datasets, acquisition conditions, preprocessing pipelines, class distributions, and evaluation strategies can substantially influence reported performance metrics. Therefore, the comparisons presented in Table 9 are intended to provide contextual insight rather than definitive superiority claims.
Beyond single-model performance, the ensemble results (Table 8) demonstrate that voting-based fusion can further improve robustness by leveraging complementary decision boundaries among reduced-feature models derived from different feature extractors and selection strategies. The proposed GA+BO hybrid ensemble achieved the highest overall performance (Accuracy = 0.9916 , MCC = 0.9826 ), slightly improving upon the best individual reduced-feature configurations.
However, this performance gain should be interpreted in light of computational cost considerations. The GA+BO strategy introduces additional optimization overhead due to iterative selection of classifier subsets and adaptive weight tuning. In contrast, Iterative Majority Voting (IMV) achieved highly competitive performance (Accuracy = 0.9906 , MCC = 0.9804 ) with substantially lower computational complexity and near-negligible optimization overhead.
These findings indicate that lightweight voting strategies can preserve most of the ensemble benefits while being more suitable for practical agricultural deployments under resource-constrained conditions. Overall, the proposed framework demonstrates that compact deep representations, composite filter-based selection, and lightweight ensemble integration can collectively provide strong classification performance without relying on computationally intensive end-to-end architectures.

5.5. Comparison with Existing Studies and Practical Implications

Table 9 compares the proposed framework with representative studies on olive leaf disease detection. The best-performing configuration achieves an accuracy of 99.16%, exceeding previously reported results. Importantly, this improvement is achieved while preserving feature compactness and computational efficiency. Strong performance is already observed with 64–128 selected features, and the lightweight IMV ensemble yields nearly identical accuracy with minimal runtime.
Beyond olive leaf disease detection, the proposed framework offers practical advantages for broader applications in precision agriculture. The filter-composition strategy scales linearly with feature dimensionality, supports mobile and edge deployments via compact representations, and is model-agnostic, enabling transfer to different CNN backbones and crop-disease datasets. The transparency of filter-based selection further facilitates interpretability and system analysis in agricultural decision-support pipelines.

6. Conclusions

This study presented an efficient and robust olive leaf disease detection framework that integrates deep feature extraction, composite filter-based feature selection, and voting-based ensemble learning. The experimental results confirm that the proposed selection strategies preserve near-baseline classification performance under substantial dimensionality reduction, and that ensemble fusion can further enhance robustness and peak accuracy.
The findings demonstrate that compact feature subsets derived from pretrained deep representations can maintain strong discriminative capability while substantially reducing feature dimensionality and computational overhead. In this respect, the contribution of the proposed framework lies not in introducing a new end-to-end deep architecture but in systematically investigating how lightweight feature selection and ensemble optimization strategies can improve the efficiency, compactness, and deployment suitability of transfer learning-based disease detection systems.
From a practical perspective, two deployment modes emerge: (i) a lightweight mode using 64–128 selected features with SVM and optional IMV for low-latency applications, and (ii) a maximum-accuracy mode employing GA+BO-based ensemble optimization for offline analysis. These modes allow practitioners to balance accuracy, efficiency, and computational cost according to application requirements.
Future work will focus on validating the proposed framework across additional olive cultivars and disease types, as well as evaluating its robustness to domain shifts, including variations in lighting conditions, acquisition devices, and background clutter. Another promising direction is to combine the fast filter-composition stage with selective, budgeted meta-optimization to reduce optimization overhead. In addition, future studies will investigate integrating representation learning approaches, such as lightweight vision transformers, autoencoder-based latent embeddings, and self-supervised representation learning techniques, to improve compactness and generalization further. Finally, incorporating multispectral or temporal information and exploring cross-crop transfer learning may further strengthen real-world applicability.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The olive leaf disease image dataset used in this study is publicly available on Kaggle at: https://www.kaggle.com/datasets/serhathoca/zeytin (accessed on 12 Feb 2026). The dataset contains images of healthy olive leaves and leaves affected by Peacock Eye disease captured under natural field conditions. Researchers can obtain the dataset directly from the Kaggle repository, subject to the dataset provider’s licensing terms. The preprocessing pipeline, feature extraction procedures, and supporting experimental scripts used in this study are publicly available in the following GitHub repository: https://github.com/hakangunduz86/Efficient-Olive-Leaf-Disease-Detection (accessed on 4 March 2026). The repository includes the Jupyter Notebook v7.5.3 that implements the preprocessing workflow, documentation describing the processing steps, and instructions for reproducing the feature-extraction stage of the experimental pipeline.

Acknowledgments

The author declares that a generative artificial intelligence tool (ChatGPT 5.2, OpenAI) was used solely to assist with language editing and to improve the clarity and readability of the manuscript. The use of this tool did not influence the scientific content, experimental design, data analysis, or interpretation of results. All research contributions, including methodology development, experimental evaluation, and conclusions, were conceived, performed, and validated by the authors.

Conflicts of Interest

The author declares no conflicts of interest.

References

  1. Martin, J.; Mittal, R.; Malik, V.; Jeribi, F.; Siddiqui, S.T.; Hossain, M.A.; Swapna, S. XAI-powered smart agriculture framework for enhancing food productivity and sustainability. IEEE Access 2024, 12, 168412–168427. [Google Scholar] [CrossRef]
  2. Sowmiya, K.; Anitha, V. A context-aware IoT and edge computing framework for wireless plant disease diagnosis using compressed Mask R-CNN and ResNet-50. J. Wirel. Mob. Netw. Ubiquitous Comput. Dependable Appl. 2025, 16, 707–720. [Google Scholar] [CrossRef]
  3. Amara, J.; König-Ries, B.; Samuel, S. Explainability of deep learning-based plant disease classifiers through automated concept identification. arXiv 2024, arXiv:2412.07408. [Google Scholar] [CrossRef]
  4. Uğuz, S. Automatic olive peacock spot disease recognition system development by using single shot detector. Sak. Univ. J. Comput. Inf. Sci. 2020, 3, 158–168. [Google Scholar] [CrossRef]
  5. Ksibi, A.; Ayadi, M.; Soufiene, B.O.; Jamjoom, M.M.; Ullah, Z. MobiRes-net: A hybrid deep learning model for detecting and classifying olive leaf diseases. Appl. Sci. 2022, 12, 10278. [Google Scholar] [CrossRef]
  6. Alruwaili, M.; Alanazi, S.; Abd El-Ghany, S.; Shehab, A. An efficient deep learning model for olive diseases detection. Int. J. Adv. Comput. Sci. Appl. 2019, 10, 486–492. [Google Scholar] [CrossRef]
  7. Zhuang, F.; Qi, Z.; Duan, K.; Xi, D.; Zhu, Y.; Zhu, H.; Xiong, H.; He, Q. A comprehensive survey on transfer learning. Proc. IEEE 2020, 109, 43–76. [Google Scholar] [CrossRef]
  8. Khan, M.A.; Alqahtani, A.; Khan, A.; Alsubai, S.; Binbusayyis, A.; Cha, J. Cucumber leaf diseases recognition using multi-level deep entropy-ELM feature selection. Appl. Sci. 2022, 12, 593. [Google Scholar] [CrossRef]
  9. Salman, R. Hybrid model for plant disease diagnosis: Transfer learning with dynamic feature selection. J. Inf. Syst. Eng. Manag. 2025, 10, 625–639. [Google Scholar] [CrossRef]
  10. Jabbar, A.N.; Koyuncu, H. Deep learning and grey wolf optimization technique for plant disease detection: A novel methodology for improved agricultural health. Trait. Signal 2023, 40, 1961–1972. [Google Scholar] [CrossRef]
  11. Alshammari, H.H.; Taloba, A.I.; Shahin, O.R. Identification of olive leaf disease through optimized deep learning approach. Alex. Eng. J. 2023, 72, 213–224. [Google Scholar] [CrossRef]
  12. Xu, S.; Wang, S. An intelligent identification for pest and disease detection in wheat leaf based on environmental data using multimodal data fusion. Front. Plant Sci. 2025, 16, 1608515. [Google Scholar] [CrossRef]
  13. Njoroge, T.K.; Mugoye, K.; Kibuku, R.N. Edge optimized multimodal cross fusion model with statistical validation for multi-crop disease detection. Int. J. Adv. Intell. Inform. 2025, 11, 439. [Google Scholar] [CrossRef]
  14. Pacal, I.; Kilicarslan, S.; Ozdemir, B.; Deveci, M.; Kadry, S. Efficient and autonomous detection of olive leaf diseases using AI-enhanced MetaFormer. Artif. Intell. Rev. 2025, 58, 303. [Google Scholar] [CrossRef]
  15. Toprak Erdurak, C.; Kiliçarslan, S. Impact of Optimizers on Transformer Models for Classification of Olive Fruit Disease. Appl. Fruit Sci. 2026, 68, 66. [Google Scholar] [CrossRef]
  16. Yag, I.; Altan, A. Artificial intelligence-based robust hybrid algorithm design and implementation for real-time detection of plant diseases in agricultural environments. Biology 2022, 11, 1732. [Google Scholar] [CrossRef]
  17. Turkmenoglu, C.; Gunduz, H.; Gazioglu, E. Efficient Olive Leaf Disease Detection via Hybrid Artificial Rabbit Optimization and Genetic Algorithm-Based Deep Feature Selection. Agriculture 2026, 16, 626. [Google Scholar] [CrossRef]
  18. Zhang, J.; Dong, S.; Chen, D.; Ming, D.; Ren, D.; Diao, Z. ISMSFuse: Multi-modal fusing recognition algorithm for rice bacterial blight disease adaptable in edge computing scenarios. Comput. Electron. Agric. 2024, 223, 109089. [Google Scholar] [CrossRef]
  19. Liu, Z.; Li, S.; Yang, Y.; Jiang, X.; Wang, M.; Chen, D. High-precision pest management based on multimodal fusion and attention-guided lightweight networks. Insects 2025, 16, 850. [Google Scholar] [CrossRef]
  20. Dai, G.; Tian, Z.; Fan, J.; Sunil, C.; Dewi, C. DFN-PSAN: Multi-level deep information feature fusion extraction network for interpretable plant disease classification. Comput. Electron. Agric. 2024, 216, 108481. [Google Scholar] [CrossRef]
  21. Uğuz, S.; Uysal, N. Classification of olive leaf diseases using deep convolutional neural networks. Neural Comput. Appl. 2021, 33, 4133–4149. [Google Scholar] [CrossRef]
  22. Lachgar, M.; Hrimech, H.; Kartit, A. Optimization techniques in deep convolutional neuronal networks applied to olive diseases classification. Artif. Intell. Agric. 2022, 6, 77–89. [Google Scholar] [CrossRef]
  23. Alshammari, H.; Gasmi, K.; Ben Ltaifa, I.; Krichen, M.; Ben Ammar, L.; Mahmood, M.A. Olive disease classification based on vision transformer and CNN models. Comput. Intell. Neurosci. 2022, 2022, 3998193. [Google Scholar] [CrossRef]
  24. Bocca, P.; Orellana, A.; Soria, C.; Carelli, R. On field disease detection in olive tree with vision systems. Array 2023, 18, 100286. [Google Scholar] [CrossRef]
  25. Diker, A.; Elen, A.; Közkurt, C.; Kılıçarslan, S.; Dönmez, E.; Arslan, K.; Kuran, E.C. An effective feature extraction method for olive peacock eye leaf disease classification. Eur. Food Res. Technol. 2024, 250, 287–299. [Google Scholar] [CrossRef]
  26. Nan, Y.; Ju, J.; Hua, Q.; Zhang, H.; Wang, B. A-MobileNet: An approach of facial expression recognition. Alex. Eng. J. 2022, 61, 4435–4444. [Google Scholar]
  27. Zhang, Q. A novel ResNet101 model based on dense dilated convolution for image classification. SN Appl. Sci. 2022, 4, 9. [Google Scholar]
  28. Falconí, L.G.; Pérez, M.; Aguilar, W.G. Transfer learning in breast mammogram abnormalities classification with mobilenet and nasnet. In Proceedings of the 2019 International Conference on Systems, Signals and Image Processing (IWSSIP); IEEE: Osijek, Croatia, 2019; pp. 109–114. [Google Scholar]
  29. Guyon, I.; Elisseeff, A. An introduction to variable and feature selection. J. Mach. Learn. Res. 2003, 3, 1157–1182. [Google Scholar]
  30. Huaquipaco, S.; Vera, O.; Yana-Mamani, V.; Mamani, W.; Calsina, H.; Puma, F.; Morales-Rojas, E.; Beltran, N.; Cruz, J. Peacock spot detection in Olive leaves using self supervised learning in an assembly Meta-Architecture. IEEE Access 2024, 12, 192828–192839. [Google Scholar] [CrossRef]
  31. Rojas-Domínguez, A.; Padierna, L.C.; Valadez, J.M.C.; Puga-Soberanes, H.J.; Fraire, H.J. Optimal hyper-parameter tuning of SVM classifiers with application to medical diagnosis. IEEE Access 2017, 6, 7164–7176. [Google Scholar] [CrossRef]
  32. Zhang, S.; Li, X.; Zong, M.; Zhu, X.; Wang, R. Efficient kNN classification with different numbers of nearest neighbors. IEEE Trans. Neural Netw. Learn. Syst. 2017, 29, 1774–1785. [Google Scholar] [CrossRef] [PubMed]
  33. Ke, G.; Meng, Q.; Finley, T.; Wang, T.; Chen, W.; Ma, W.; Ye, Q.; Liu, T.Y. Lightgbm: A highly efficient gradient boosting decision tree. Adv. Neural Inf. Process. Syst. 2017, 30. [Google Scholar]
  34. Tasci, B.; Tasci, G.; Dogan, S.; Tuncer, T. A novel ternary pattern-based automatic psychiatric disorders classification using ECG signals. Cogn. Neurodynamics 2024, 18, 95–108. [Google Scholar]
  35. Dhar, J. Multistage ensemble learning model with weighted voting and genetic algorithm optimization strategy for detecting chronic obstructive pulmonary disease. IEEE Access 2021, 9, 48640–48657. [Google Scholar] [CrossRef]
Figure 1. Graphical overview of the proposed pipeline for olive leaf disease detection.
Figure 1. Graphical overview of the proposed pipeline for olive leaf disease detection.
Agronomy 16 01057 g001
Figure 2. Preprocessing workflow applied to healthy and diseased olive leaf images. The pipeline includes segmentation mask generation, background removal, and an RGBA transformation to ensure consistent feature extraction. Data and imagery adapted from [17].
Figure 2. Preprocessing workflow applied to healthy and diseased olive leaf images. The pipeline includes segmentation mask generation, background removal, and an RGBA transformation to ensure consistent feature extraction. Data and imagery adapted from [17].
Agronomy 16 01057 g002
Figure 3. Accuracy distribution by feature budget. Boxplots summarize the distribution of cross-validation mean accuracies across the reported model configurations for each feature budget (32, 64, 128, and all features). Mean ( μ ) and median (m) values are annotated above each box to highlight performance stability and central tendency under different dimensionality constraints.
Figure 3. Accuracy distribution by feature budget. Boxplots summarize the distribution of cross-validation mean accuracies across the reported model configurations for each feature budget (32, 64, 128, and all features). Mean ( μ ) and median (m) values are annotated above each box to highlight performance stability and central tendency under different dimensionality constraints.
Agronomy 16 01057 g003
Figure 4. Accuracy versus feature count for the best-performing MobileNet- and ResNet101-based models at each feature budget. The results illustrate a smooth convergence toward baseline performance as the number of selected features increases, with ResNet101 achieving higher peak accuracy at larger feature budgets.
Figure 4. Accuracy versus feature count for the best-performing MobileNet- and ResNet101-based models at each feature budget. The results illustrate a smooth convergence toward baseline performance as the number of selected features increases, with ResNet101 achieving higher peak accuracy at larger feature budgets.
Agronomy 16 01057 g004
Table 1. Summary of the olive leaf dataset used in this study.
Table 1. Summary of the olive leaf dataset used in this study.
PropertyDescription
Dataset NameOlive Leaf Dataset
Total Samples954
Number of Classes2
Healthy Samples572
Diseased Samples382
Disease TypePeacock Eye Disease
Collection RegionEdincik, Bandırma, Balıkesir, Turkey
Image SourceKaggle Dataset 1
Table 2. Hyperparameter configurations for the evaluated classifiers.
Table 2. Hyperparameter configurations for the evaluated classifiers.
ModelParameterValue
k-NNNumber of neighbors (k){1, 3, 5, 7, 9}
Distance metricEuclidean
SVMKernel type{rbf, poly}
Regularization (C){1, 2, 4, 8}
LightGBMNumber of estimators{100, 200, 300}
Learning rate{0.1, 0.01}
Number of leaves{31, 63}
Table 3. Baseline classification results using all features without selection (5-fold stratified CV, mean ± std).
Table 3. Baseline classification results using all features without selection (5-fold stratified CV, mean ± std).
ModelAccuracyF1-ScoreMCC
MobileNetV2 + KNN 0.939 ± 0.023 0.952 ± 0.018 0.876 ± 0.047
MobileNetV2 + SVM 0.985 ± 0.013 0.988 ± 0.011 0.970 ± 0.028
MobileNetV2 + LGB 0.975 ± 0.015 0.979 ± 0.012 0.948 ± 0.031
ResNet101 + KNN 0.951 ± 0.041 0.960 ± 0.033 0.897 ± 0.086
ResNet101 + SVM 0.991 ± 0.010 0.992 ± 0.008 0.980 ± 0.020
ResNet101 + LGB 0.991 ± 0.009 0.992 ± 0.007 0.980 ± 0.018
Table 4. Classification results using 32 selected features (5-fold stratified CV, mean ± std).
Table 4. Classification results using 32 selected features (5-fold stratified CV, mean ± std).
ModelAccuracyF1-ScoreMCC
MobileNetV2 + Mutual Info (SVM) 0.976 ± 0.013 0.980 ± 0.010 0.950 ± 0.026
MobileNetV2 + Hybrid (SVM) 0.975 ± 0.015 0.979 ± 0.012 0.948 ± 0.030
MobileNetV2 + Mutual Info (LGB) 0.974 ± 0.015 0.979 ± 0.012 0.946 ± 0.031
MobileNetV2 + F-score (SVM) 0.974 ± 0.014 0.979 ± 0.011 0.946 ± 0.028
MobileNetV2 + F-score (LGB) 0.972 ± 0.010 0.977 ± 0.008 0.942 ± 0.020
ResNet101 + F-score (LGB) 0.971 ± 0.022 0.976 ± 0.018 0.939 ± 0.046
MobileNetV2 + Score Fusion (LGB) 0.971 ± 0.008 0.976 ± 0.007 0.940 ± 0.018
MobileNetV2 + Union (SVM) 0.970 ± 0.012 0.975 ± 0.010 0.937 ± 0.025
ResNet101 + F-score (SVM) 0.969 ± 0.020 0.974 ± 0.016 0.935 ± 0.041
MobileNetV2 + Score Fusion (SVM) 0.969 ± 0.009 0.974 ± 0.008 0.935 ± 0.019
Table 5. Classification results with 64 selected features (top 10 models; 5-fold stratified CV, mean ± std).
Table 5. Classification results with 64 selected features (top 10 models; 5-fold stratified CV, mean ± std).
ModelAccuracyF1-ScoreMCC
MobileNetV2 + Hybrid (SVM) 0.981 ± 0.015 0.985 ± 0.012 0.961 ± 0.030
ResNet101 + Mutual Info (LGB) 0.980 ± 0.018 0.984 ± 0.015 0.959 ± 0.038
ResNet101 + Union (SVM) 0.980 ± 0.011 0.984 ± 0.009 0.959 ± 0.023
MobileNetV2 + Score Fusion (SVM) 0.978 ± 0.015 0.982 ± 0.012 0.954 ± 0.030
MobileNetV2 + F-score (SVM) 0.977 ± 0.018 0.981 ± 0.015 0.952 ± 0.037
MobileNetV2 + F-score (LGB) 0.977 ± 0.015 0.981 ± 0.012 0.952 ± 0.031
MobileNetV2 + Intersect (SVM) 0.977 ± 0.014 0.981 ± 0.011 0.952 ± 0.028
MobileNetV2 + Union (SVM) 0.977 ± 0.016 0.981 ± 0.013 0.952 ± 0.033
MobileNetV2 + Score Fusion (LGB) 0.976 ± 0.010 0.980 ± 0.008 0.950 ± 0.020
MobileNetV2 + Mutual Info (SVM) 0.976 ± 0.015 0.980 ± 0.012 0.950 ± 0.030
Table 6. Classification results with 128 selected features (top 10 models; 5-fold stratified CV, mean ± std).
Table 6. Classification results with 128 selected features (top 10 models; 5-fold stratified CV, mean ± std).
ModelAcc.F1MCC
ResNet + F-score (SVM) 0.988 ± 0.009 0.990 ± 0.007 0.976 ± 0.019
ResNet + Hybrid (SVM) 0.987 ± 0.011 0.990 ± 0.009 0.974 ± 0.022
ResNet + Score Fusion (SVM) 0.987 ± 0.008 0.990 ± 0.006 0.974 ± 0.016
ResNet + Mutual Info (SVM) 0.984 ± 0.011 0.987 ± 0.009 0.967 ± 0.023
ResNet + Mutual Info (LGB) 0.983 ± 0.009 0.986 ± 0.007 0.965 ± 0.019
ResNet + Chi2 (SVM) 0.982 ± 0.011 0.985 ± 0.009 0.963 ± 0.022
ResNet + Union (SVM) 0.982 ± 0.013 0.985 ± 0.010 0.963 ± 0.026
MobileNetV2 + Mutual Info (SVM) 0.982 ± 0.013 0.985 ± 0.010 0.963 ± 0.026
MobileNetV2 + Union (LGB) 0.982 ± 0.016 0.985 ± 0.013 0.963 ± 0.033
MobileNetV2 + Hybrid (SVM) 0.982 ± 0.016 0.985 ± 0.013 0.963 ± 0.033
Table 7. Computational efficiency comparison across different feature budgets using the best-performing configurations.
Table 7. Computational efficiency comparison across different feature budgets using the best-performing configurations.
ConfigurationAcc.FS Time (s)Train (s)Infer. (ms/Sample)Memory (MB)Storage (KB)
MobileNetV2 + MI (SVM) [32F] 0.976 ± 0.013 29.290.047 0.0082 ± 0.0029 4.58 × 10 5 119.25
MobileNetV2 + Hybrid (SVM) [64F] 0.981 ± 0.015 22.950.025 0.0044 ± 0.0004 4.58 × 10 5 238.50
ResNet101 + F-score (SVM) [128F] 0.988 ± 0.009 23.240.052 0.0091 ± 0.0010 4.58 × 10 5 477.00
Table 8. Performance of voting-based ensemble strategies (including running times).
Table 8. Performance of voting-based ensemble strategies (including running times).
Ensemble MethodAccuracyF1-ScoreMCCTime (s)
IMV0.99060.99220.98040.49
GA–Voting0.98950.99130.978326.96
BO–Voting0.98530.98790.9697144.50
GA+BO (Hybrid)0.99160.99310.9826394.29
Table 9. Comparison of the proposed framework with related olive leaf disease detection studies.
Table 9. Comparison of the proposed framework with related olive leaf disease detection studies.
StudyDataset SizeClassesImage Source/AcquisitionEvaluation ProtocolAccuracy (%)
Ksibi et al. [5]5400 images3 classesUAV-based field acquisition from olive groves in Saudi ArabiaTrain/test evaluation97.08
Lachgar et al. [22]5571 images6 classes + healthyReal-field olive disease dataset collected from different regions of MoroccoTrain/test evaluation without augmentation92.59
Alshammari et al. [23]3400 images3 classesField-collected olive leaf images with augmentationBinary and multi-class experiments96.00
Bocca et al. [24]Multispectral olive tree imagesMultiple disease categoriesTree-level RGB and multispectral imagingDetection and classification pipeline89.90
Diker et al. [25]954 images2 classesControlled imaging setup using light-box acquisitionTransfer learning-based evaluation98.63
This Study954 images2 classesControlled light-box imaging of field-collected leavesStratified 5-fold cross-validation99.16
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Gunduz, H. Efficient Olive Leaf Disease Detection Using Composite Feature Selection and Ensemble Learning. Agronomy 2026, 16, 1057. https://doi.org/10.3390/agronomy16111057

AMA Style

Gunduz H. Efficient Olive Leaf Disease Detection Using Composite Feature Selection and Ensemble Learning. Agronomy. 2026; 16(11):1057. https://doi.org/10.3390/agronomy16111057

Chicago/Turabian Style

Gunduz, Hakan. 2026. "Efficient Olive Leaf Disease Detection Using Composite Feature Selection and Ensemble Learning" Agronomy 16, no. 11: 1057. https://doi.org/10.3390/agronomy16111057

APA Style

Gunduz, H. (2026). Efficient Olive Leaf Disease Detection Using Composite Feature Selection and Ensemble Learning. Agronomy, 16(11), 1057. https://doi.org/10.3390/agronomy16111057

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop