MGTF-Net: a Multi-Granularity Transformer Fusion Network for cross-fruit disease detection in mango and custard apple
- 1School of Computer Science and Engineering, Vellore Institute of Technology, Vellore, India
Abstract
Introduction: Automated plant disease detection is essential for securing the food supply and reducing agricultural losses in developing countries. Mango (Mangifera indica) and custard apple (Annona squamosa) suffer heavy yield losses from fungal, bacterial, and environmental diseases, while conventional single-backbone classifiers capture disease morphology at only one semantic granularity.
Methods: We propose MGTF-Net (Multi-Granularity Transformer Fusion Network), which extracts multi-scale features using three heterogeneous backbones (EfficientNet-B4, ResNet-50, and DenseNet-121) with architecture-matched attention (CBAM and SE) and fuses the tokens using a four-layer, eight-head Transformer encoder trained jointly on both species.
Results: On MCFD-9K (9,500 images across 10 classes), MGTF-Net achieves 98.73% accuracy, 98.74% macro precision, 98.73% macro recall, 98.73% macro F1-score, Cohen's κ of 0.9859, and a mean AUC of 0.9987 on a held-out test set of 1,500 images. McNemar's test shows statistically significant improvement over a conventional transfer-learning CNN (p < 0.001), while differences from four recent transformer-based baselines are not statistically significant.
Discussion: Ablation, cross-fruit, input-resolution, and Grad-CAM++ analyses show that multi-backbone fusion and cross-species joint training improve feature representation and localization. The dataset and code are released publicly.
Related
- HECA-MobileNet: an explainable lightweight attention-based deep learning framework for custard apple disease detection
- Open-set detection of training-time unseen attacks in encrypted traffic based on a multi-granularity pre-trained transformer and prototype contrastive learning
- CuFormer U-Net: a transformer-enhanced multi-task network for cucumber leaf disease detection and segmentation
- MSPRP: multi-granularity symptom-aware probabilistic representation prompting for target-domain-free plant disease detection
- GT-PNID: A lightweight graph-temporal network integrating GCN and transformer for power network intrusion detection
BibTeX
@article{naveen2026mgtfnet,
title = {{MGTF-Net: a Multi-Granularity Transformer Fusion Network for cross-fruit disease detection in mango and custard apple}},
author = {Kothakota Naveen and D. Ajitha},
journal = {Frontiers in Artificial Intelligence},
year = {2026},
month = nov,
doi = {10.3389/frai.2026.1938478},
url = {https://doi.org/10.3389/frai.2026.1938478},
note = {CC BY 4.0},
}
RIS
TY - JOUR
TI - MGTF-Net: a Multi-Granularity Transformer Fusion Network for cross-fruit disease detection in mango and custard apple
AU - Kothakota Naveen
AU - D. Ajitha
PY - 2026
DA - 2026/11/09
JO - Frontiers in Artificial Intelligence
DO - 10.3389/frai.2026.1938478
UR - https://doi.org/10.3389/frai.2026.1938478
AB - Introduction: Automated plant disease detection is essential for securing the food supply and reducing agricultural losses in developing countries. Mango (Mangifera indica) and custard apple (Annona squamosa) suffer heavy yield losses from fungal, bacterial, and environmental diseases, while conventional single-backbone classifiers capture disease morphology at only one semantic granularity. Methods: We propose MGTF-Net (Multi-Granularity Transformer Fusion Network), which extracts multi-scale features using three heterogeneous backbones (EfficientNet-B4, ResNet-50, and DenseNet-121) with architecture-matched attention (CBAM and SE) and fuses the tokens using a four-layer, eight-head Transformer encoder trained jointly on both species. Results: On MCFD-9K (9,500 images across 10 classes), MGTF-Net achieves 98.73% accuracy, 98.74% macro precision, 98.73% macro recall, 98.73% macro F1-score, Cohen's κ of 0.9859, and a mean AUC of 0.9987 on a held-out test set of 1,500 images. McNemar's test shows statistically significant improvement over a conventional transfer-learning CNN (p < 0.001), while differences from four recent transformer-based baselines are not statistically significant. Discussion: Ablation, cross-fruit, input-resolution, and Grad-CAM++ analyses show that multi-backbone fusion and cross-species joint training improve feature representation and localization. The dataset and code are released publicly.
SN - 2624-8212
ER -