Leakage-resistant and occlusion-aware coconut disease classification using an NRRE–MSFF Swin transformer
Introduction Automated coconut disease classification has achieved increasingly high performance on clean images; however, the reliability of such results may be affected by visually related samples across experimental partitions and by limited evaluation under degraded visual conditions. This study presents a leakage-resistant and robustness-oriented framework for five-class coconut disease classification using the Coconut Tree Disease Dataset. Methods The original 5,798 images were subjected to exact-duplicate, perceptual-similarity, and deep-feature-similarity auditing, resulting in 5,735 retained images organized into 2,476 visually derived scene groups. Group-preserving partitioning produced 4,302 training, 860 validation, and 573 held-out test images, with zero path, SHA-256, and scene-group overlap across the partitions. Five pretrained architectures were initially evaluated under a common experimental protocol, after which a Swin-Small framework integrating Noise-Robust Residual Enhancement (NRRE) and Multi-Stage Feature Fusion (MSFF) was assessed through four controlled ablation configurations across five training seeds. Results Clean-image performance was near saturation, with the standard Swin configuration achieving a held-out Macro-F1 of 0.9951 ± 0.0029, compared with 0.9935 ± 0.0049 for the complete NRRE–MSFF configuration. Under 30% spatial occlusion, however, the corresponding Macro-F1 values were 0.9410 ± 0.0645 and 0.9595 ± 0.0167, respectively, with approximately 37% lower clean-to-occluded degradation for the proposed configuration. These differences were descriptive rather than statistically significant, and the observed advantage did not extend to Gaussian noise. Additional external-collection evaluation also favored the standard Swin model. Discussion Overall, the findings demonstrate the importance of leakage-aware partitioning, multi-seed evaluation, uncertainty analysis, and corruption-specific robustness assessment, while identifying hierarchical multi-stage feature fusion as a promising direction for improving model stability under partial spatial information loss.
Authors
- Harshita Patel (ORCID: https://orcid.org/0000-0002-9381-9028)
- Gunanidhi G. S.
Institutions
- Vellore Institute of Technology University (IN)
Publication Details
- Journal
- Frontiers in Artificial Intelligence
- Published
- 2026-11-27
- DOI
- https://doi.org/10.3389/frai.2026.1930502
- Primary Topic
- Smart Agriculture and AI
- Type
- article
- Field-Weighted Citation Impact
- 0.00