HCTE: a stacking-based heterogeneous local–global feature fusion framework for robust rice leaf disease classification
Abstract
Proper detection of rice leaf diseases is important for rapid crop management, but visually similar symptoms might hinder the reliability of individual deep-learning classifiers. This research proposes a Hybrid CNN-Transformer Ensemble (HCTE) for the six-class rice-leaf classification, including five disease classes and one healthy-leaf class. Instead, HCTE considers hybridization as an out-of-fold (OOF) stacking and multinomial logistic-regression meta-learning of the complementary predictions of ResNet50, EfficientNetB4, DenseNet121, and Swin Transformer rather than a simple aggregation of network outputs. The meta-classifier is trained on OOF predictions, hence it does not learn from in-sample base-model predictions and offers a leakage-controlled stacking protocol. An exhaustive intra-dataset evaluation was carried out using a separate test split, five-fold cross-validation, ablation studies, confusion matrices, receiver operating characteristic analysis, t-distributed stochastic neighbour embedding visualization, component-level interpretability with Grad-CAM, robustness analysis against Gaussian noise, and computational analysis. The reported evaluation accuracy of 97.65% was achieved by HCTE, and the mean accuracy of 96.25% was achieved by fivefold cross validation with a standard deviation of 0.93%, which demonstrates the consistency of the performance across folds. Ablation studies also revealed that the full CNN-Transformer configuration improved the CNN-only ensemble significantly, with an accuracy improvement from 87.47% to 97.65%. HCTE also achieved better predictive performance than the individual models as Gaussian noise increased, but this robustness check does not cover the whole range of field-image degradation. The analysis also showed that the main residual errors are between visually similar disease classes. The computational analysis shows the higher cost of the heterogeneous ensemble. These results suggest that the leakage-controlled stacking of complementary CNN and Transformer features at the prediction level may significantly improve the classification of rice-leaf diseases in the dataset under consideration.
// Source
Authors: Sourav Nag, Palash Ghosal, Suman Das
Institutions: Sikkim Manipal University, Brainware University