Skip to content
DraconiticResearch
Search Sources API
201,818 studies31 sourcesUpdated 44 min ago
Peer-reviewedCC BY 4.0Frontiers in Plant Science

Interpretable YOLO and mask-guided pooling for maize leaf disease classification in complex field backgrounds

Abstract

Accurate identification of maize leaf diseases is essential for intelligent agricultural field management and targeted pesticide application. However, most current deep learning recognition research is limited to uniform laboratory backgrounds, presenting a significant domain gap with real-world farmland environments. Existing end-to-end classification models are prone to “Shortcut Learning” when facing complex field backgrounds containing soil, weeds, and varying illumination. They tend to fit environmental noise rather than true pathological characteristics, leading to poor generalization and the risk of illusory high performance. To fundamentally address this overfitting paradox, this paper proposes an innovative mask-guided pooling classification model requiring zero additional parameters (Mgp-YOLO11n). Specifically, we constructed a dataset of 3,092 real-world field images with complex backgrounds covering five maize health categories: Healthy, Gray Leaf Spot (GLS), Northern Leaf Blight (NLB), Northern Leaf Spot (NLS), and Curvularia Leaf Spot (CLS). We utilized a YOLO11-seg model embedded with a Convolutional Block Attention Module (CBAM) to achieve high-quality instance segmentation of disease spots. Subsequently, the traditional Global Average Pooling (GAP) layer is replaced in the downstream classification network. The prior mask serves as spatial hard attention weights, and a dynamic effective area normalization mechanism (MGP operator) is introduced during feature aggregation to achieve physical isolation at the feature space level. Classic large models were introduced as benchmarks for a “background retention” versus “black background” cross-validation, alongside deep interpretability analysis via Grad-CAM. Experimental results indicate that while the baseline YOLO11n-cls model achieves an initial accuracy of 92.30% in complex backgrounds, it decreases sharply to 77.30% in the black background test (in which pixels outside the annotated leaf mask are set to black while the leaf region and image dimensions remain unchanged—this masks rather than crops the background, eliminating background cues without forcing the model to attend specifically to lesions), confirming the defect of relying on background induced spurious correlations. In contrast, Mgp-YOLO11n improves accuracy in complex backgrounds to 93.24%, and its accuracy in black background tests increases to 95.94% with zero additional learnable parameters and negligible impact on real-time inference speed. Grad-CAM heatmaps conclusively demonstrate that the MGP mechanism successfully eliminates background shortcuts, overcomes the receptive field’s edge penetration issue, and forces the network to focus entirely on intrinsic pathological characteristics. This study reconstructs the feature extraction paradigm of the classification head, mitigates the accuracy-centric pitfall in agricultural vision, and provides a robust framework for deploying agricultural edge-intelligent terminals, such as plant protection drones, in highly complex farmland environments.

Related

  1. MangoSwin-attention: a swin transformer with attention pooling for generalizable mango leaf disease classification
    Saksham Khurana, Valarmathi Prahasam, Brindha Subburaj +2
    Scientific ReportsPeer-reviewedCC BY-NC-ND 4.0Full textPlant biologyCrossref
  2. Beyond Mean Pooling: Statistical Meta-Aggregation for Subject-Level EEG Classification in Parkinson's Disease
    P. Taghipour Langrodi, A. Khodadadi, F. Rezaei +3
    bioRxivPreprintCC BY-NC-NDFull textNeurosciencebioRxiv
  3. An Interpretable EEG Machine Learning Prototype for Alzheimers Disease Classification
    A. DAS, A. Chakravarty
    bioRxivPreprintCC BY-NDFull textNeurosciencebioRxiv
  4. Interpretable EOG-based gaze classification using tree-based models: A SHAP and LIME analysis
    Ayse Nur Ay Gul
    PLOS OnePeer-reviewedCC BYFull textGeneral biologyHydrology & soilsPLOSEurope PMCPMC
  5. Learning Epidemic Threshold Equations from Simulation: REEBLRA, an Interpretable Bayesian Classification Framework for Reproduction Numbers
    Jomar F. Rabajante, Norvin P. Bansilan, Maria Czarina T. Lagura-Arreza +2
    arXivPreprintCC BY-NC-ND 4.0Full textBioinformatics & computational biologyEvolutionary biologyarXiv
BibTeX
@article{ren2026interpretable,
  title = {{Interpretable YOLO and mask-guided pooling for maize leaf disease classification in complex field backgrounds}},
  author = {Shengsheng Ren and Yang Liu and Haiping Si and Wei Guo and Lei Shi and Jiayao Sun and Yifan Hou and Hui Zhang and Qiang Wang},
  journal = {Frontiers in Plant Science},
  year = {2026},
  month = nov,
  doi = {10.3389/fpls.2026.1935572},
  url = {https://www.frontiersin.org/articles/10.3389/fpls.2026.1935572},
  note = {CC BY 4.0},
}
RIS
TY  - JOUR
TI  - Interpretable YOLO and mask-guided pooling for maize leaf disease classification in complex field backgrounds
AU  - Shengsheng Ren
AU  - Yang Liu
AU  - Haiping Si
AU  - Wei Guo
AU  - Lei Shi
AU  - Jiayao Sun
AU  - Yifan Hou
AU  - Hui Zhang
AU  - Qiang Wang
PY  - 2026
DA  - 2026/11/02
JO  - Frontiers in Plant Science
DO  - 10.3389/fpls.2026.1935572
UR  - https://www.frontiersin.org/articles/10.3389/fpls.2026.1935572
AB  - Accurate identification of maize leaf diseases is essential for intelligent agricultural field management and targeted pesticide application. However, most current deep learning recognition research is limited to uniform laboratory backgrounds, presenting a significant domain gap with real-world farmland environments. Existing end-to-end classification models are prone to “Shortcut Learning” when facing complex field backgrounds containing soil, weeds, and varying illumination. They tend to fit environmental noise rather than true pathological characteristics, leading to poor generalization and the risk of illusory high performance. To fundamentally address this overfitting paradox, this paper proposes an innovative mask-guided pooling classification model requiring zero additional parameters (Mgp-YOLO11n). Specifically, we constructed a dataset of 3,092 real-world field images with complex backgrounds covering five maize health categories: Healthy, Gray Leaf Spot (GLS), Northern Leaf Blight (NLB), Northern Leaf Spot (NLS), and Curvularia Leaf Spot (CLS). We utilized a YOLO11-seg model embedded with a Convolutional Block Attention Module (CBAM) to achieve high-quality instance segmentation of disease spots. Subsequently, the traditional Global Average Pooling (GAP) layer is replaced in the downstream classification network. The prior mask serves as spatial hard attention weights, and a dynamic effective area normalization mechanism (MGP operator) is introduced during feature aggregation to achieve physical isolation at the feature space level. Classic large models were introduced as benchmarks for a “background retention” versus “black background” cross-validation, alongside deep interpretability analysis via Grad-CAM. Experimental results indicate that while the baseline YOLO11n-cls model achieves an initial accuracy of 92.30% in complex backgrounds, it decreases sharply to 77.30% in the black background test (in which pixels outside the annotated leaf mask are set to black while the leaf region and image dimensions remain unchanged—this masks rather than crops the background, eliminating background cues without forcing the model to attend specifically to lesions), confirming the defect of relying on background induced spurious correlations. In contrast, Mgp-YOLO11n improves accuracy in complex backgrounds to 93.24%, and its accuracy in black background tests increases to 95.94% with zero additional learnable parameters and negligible impact on real-time inference speed. Grad-CAM heatmaps conclusively demonstrate that the MGP mechanism successfully eliminates background shortcuts, overcomes the receptive field’s edge penetration issue, and forces the network to focus entirely on intrinsic pathological characteristics. This study reconstructs the feature extraction paradigm of the classification head, mitigates the accuracy-centric pitfall in agricultural vision, and provides a robust framework for deploying agricultural edge-intelligent terminals, such as plant protection drones, in highly complex farmland environments.
SN  - 1664-462X
ER  -