MGTF-Net: a Multi-Granularity Transformer Fusion Network for cross-fruit disease detection in mango and custard apple

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.

Authors

Institutions

Publication Details

Journal
Frontiers in Artificial Intelligence
Published
2026-11-09
DOI
https://doi.org/10.3389/frai.2026.1938478
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

MGTF-Net: a Multi-Granularity Transformer Fusion Network for cross-fruit disease detection in mango and custard apple

D. Ajitha, Kothakota Naveen
Frontiers in Artificial Intelligence
Smart Agriculture and AI
article

MGTF-Net: a Multi-Granularity Transformer Fusion Network for cross-fruit disease detection in mango and custard apple

D. Ajitha, Kothakota Naveen
article en

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.

Frontiers in Artificial IntelligenceVol. 9
Vellore Institute of Technology University (IN)
Smart Agriculture and AI
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon