Enhancing Cross-Grade Generalization in Banana Variety Classification via Hybrid CNN-Transformers and Knowledge Self-Distillation
Khush Kataruka, Mohammad Muzammila, Zahid Akhtar, Raghavendra Ramachandra, Praveen Kumar Chandaliya
Key points
From the paper's conclusion- Comprehensive experimental analyzes show that the presented hybrid framework with KL-divergence based self-distillation achieves better overall performance, i.e., it attains a mean accuracy of 81.25% and significantly surpasses CNN and Transformer baseline models.
Abstract
In recent years, automated fruit classification systems have become a more critical component in precision agriculture for efficient yield estimation, quality control, and supply chain optimization. However, they still face significant challenges under varying quality, fruit maturity, illumination, texture degradation, morphological attributes, domain shift, and post-harvest handling conditions. In this study, we address the challenging issue of cross-grade banana variety classification. This is a real-world setting where models that have been trained on specific quality grades must generalize to unseen grades to handle significant domain shift. Under a rigorous Leave-One-Grade-Out evaluation protocol, we present a thorough comparative analysis of CNNs, ViTs, and dual-stream hybrid architectures using a large-scale dataset of 31,678 banana images with three varieties and three quality grades. Specifically, to address the drawbacks of single-paradigm frameworks, we present a dual-stream Swin ResNet hybrid framework enhanced with KL-divergence-based self-distillation to align probabilistic feature representations across the CNN and Transformer streams. Comprehensive experimental analyzes show that the presented hybrid framework with KL-divergence based self-distillation achieves better overall performance, i.e., it attains a mean accuracy of 81.25% and significantly surpasses CNN and Transformer baseline models. Qualitative analysis further confirms that the hybrid framework in this study improves discriminative feature transferability, improves attention localization, and stabilizes optimization.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Multistage AI Crop Inspection and Segmentation Framework (MACISF)bioRxiv · 2026
- Intelligent Postharvest Sorting of Bananas Using Thermal Imaging and Deep Neural Network ModelsFood and Bioprocess Technology · 2025
- A Physics-Informed Multimodal Pipeline Coupling Convolutional Quality Classification, Q10 Spoilage Kinetics, and a Lightweight Language Model for Smartphone-Based Fruit Shelf-Life EstimationAgriEngineering · 2026
- MS-SFNet: a tiny reproductive phenological stage detection model for strawberry inspection robotsFrontiers in Plant Science · 2026
- Cross-Device Generalization Identification of Plug-Seedling Cultivar via an Improved ConvNeXtAgriculture · 2026
- BMDNet-YOLO: A Lightweight and Robust Model for High-Precision Real-Time Recognition of Blueberry MaturityHorticulturae · 2025