Distilled vision transformers with CNN fusion for robust cashew apple maturity prediction

Introduction: Cashew apple is a nutrient-rich fruit containing abundant minerals, vitamins, and energy. However, its fleshy texture and delicate skin significantly limit its storage life and market value. Accurate maturity grading is therefore essential for improving post-harvest management and transportation efficiency. Methods: This study proposes a lightweight vision transformer (ViT) student model trained using multi-granular knowledge distillation (KD) from a stronger data-efficient image transformer (DeiT)-Base teacher. The distillation framework integrates response-based soft-label supervision, attention transfer, and token-level feature regression to enhance representation learning under limited data conditions. Auxiliary lightweight architectures, including MobileNet, ConvNeXt, and EdgeNeXt, were trained independently to provide complementary predictions, and a weighted fusion strategy was employed for ensemble evaluation. Results: The proposed ensemble ViT-KD with EdgeNeXt achieved 90% accuracy under the evaluated test split. To ensure statistical reliability and address potential partition bias, a stratified fivefold cross-validation was conducted on the dataset, yielding a mean accuracy of 86.89% ± 2.89% with consistent F1 scores and recall. The relatively low variance across the folds indicates stable internal generalization. Comparative experiments with conventional convolutional neural network (CNN) baselines and lightweight CNN baselines such as MobileViT-S and ShuffleNetV2 were performed, with the proposed ensemble framework achieving improved accuracy while maintaining computational efficiency. Computational analysis indicates that the stand-alone distilled ViT maintains a real-time inference capability of 8.79 ms per image, which supports suitability for edge-oriented agricultural applications. Discussion: These results highlight the effectiveness of knowledge-distilled lightweight transformers for data-efficient maturity grading of cashew apples.

Authors

Institutions

Publication Details

Journal
Frontiers in Plant Science
Published
2026-04-21
DOI
https://doi.org/10.3389/fpls.2026.1787609
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Distilled vision transformers with CNN fusion for robust cashew apple maturity prediction

L. Sumalatha, P. M. Durai Raj Vincent, Felicita S. A. M., Jeevaratnam Mudidana
Frontiers in Plant Science
Smart Agriculture and AI
article

Distilled vision transformers with CNN fusion for robust cashew apple maturity prediction

L. Sumalatha, P. M. Durai Raj Vincent, Felicita S. A. M., Jeevaratnam Mudidana
article en

Abstract

Introduction: Cashew apple is a nutrient-rich fruit containing abundant minerals, vitamins, and energy. However, its fleshy texture and delicate skin significantly limit its storage life and market value. Accurate maturity grading is therefore essential for improving post-harvest management and transportation efficiency. Methods: This study proposes a lightweight vision transformer (ViT) student model trained using multi-granular knowledge distillation (KD) from a stronger data-efficient image transformer (DeiT)-Base teacher. The distillation framework integrates response-based soft-label supervision, attention transfer, and token-level feature regression to enhance representation learning under limited data conditions. Auxiliary lightweight architectures, including MobileNet, ConvNeXt, and EdgeNeXt, were trained independently to provide complementary predictions, and a weighted fusion strategy was employed for ensemble evaluation. Results: The proposed ensemble ViT-KD with EdgeNeXt achieved 90% accuracy under the evaluated test split. To ensure statistical reliability and address potential partition bias, a stratified fivefold cross-validation was conducted on the dataset, yielding a mean accuracy of 86.89% ± 2.89% with consistent F1 scores and recall. The relatively low variance across the folds indicates stable internal generalization. Comparative experiments with conventional convolutional neural network (CNN) baselines and lightweight CNN baselines such as MobileViT-S and ShuffleNetV2 were performed, with the proposed ensemble framework achieving improved accuracy while maintaining computational efficiency. Computational analysis indicates that the stand-alone distilled ViT maintains a real-time inference capability of 8.79 ms per image, which supports suitability for edge-oriented agricultural applications. Discussion: These results highlight the effectiveness of knowledge-distilled lightweight transformers for data-efficient maturity grading of cashew apples.

Frontiers in Plant ScienceVol. 17
Jawaharlal Nehru Technological University, Kakinada (IN), Vellore Institute of Technology University (IN)
Arthritis National Research Foundation
Zero hunger
Openalex Percentile: Top 21%
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.