Explainable AI-Driven Vision Transformers for Assessing Fruit Freshness via Transfer Learning

The assessment of fruit freshness is a critical factor in ensuring the quality and safety of food products, impacting both consumer satisfaction and market value. This paper presents a comparative evaluation of Vision Transformer (ViT) models for assessing fruit freshness using transfer learning techniques. Three pretrained ViT models—ViT model A (vit_base_patch16_clip_384), ViT model B (vit_betwixt_patch16_reg4_gap_384), and ViT model C (vit_mediumd_patch16_reg4_gap_384)—were employed on two publicly available datasets: Dataset A from the Mendeley Data Repository and Dataset B from the Kaggle Repository. Data augmentation techniques were applied to enhance the generalization capabilities of the models. Superior performance was exhibited by ViT model B on Dataset A, with an accuracy of 98.44%, precision of 98.46%, an F1-score of 98.44%, and a recall of 98.44%. Again, exceptional results were achieved by ViT model B on Dataset B, reaching an accuracy of 99.57%, precision of 99.56%, an F1-score of 99.56%, and a recall of 99.56%. The effectiveness of ViTs in accurately classifying fruit freshness is underscored, demonstrating their potential for practical applications in food quality assessment. Later, Local Interpretable Model-agnostic Explanation (LIME) was incorporated to improve the interpretability of the model.

Authors

Institutions

Publication Details

Published
2024-12-20
DOI
https://doi.org/10.1109/iccit64611.2024.11021956
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
article

Explainable AI-Driven Vision Transformers for Assessing Fruit Freshness via Transfer Learning

Aritra Das, M. F. Mridha, Hadiur Rahman Nabil, Jungpil Shin et al.
Smart Agriculture and AI
article

Explainable AI-Driven Vision Transformers for Assessing Fruit Freshness via Transfer Learning

Aritra Das, M. F. Mridha, Hadiur Rahman Nabil, Jungpil Shin, Fahad Pathan, Momotaz Rahman Ouishy
article en

Abstract

The assessment of fruit freshness is a critical factor in ensuring the quality and safety of food products, impacting both consumer satisfaction and market value. This paper presents a comparative evaluation of Vision Transformer (ViT) models for assessing fruit freshness using transfer learning techniques. Three pretrained ViT models—ViT model A (vit_base_patch16_clip_384), ViT model B (vit_betwixt_patch16_reg4_gap_384), and ViT model C (vit_mediumd_patch16_reg4_gap_384)—were employed on two publicly available datasets: Dataset A from the Mendeley Data Repository and Dataset B from the Kaggle Repository. Data augmentation techniques were applied to enhance the generalization capabilities of the models. Superior performance was exhibited by ViT model B on Dataset A, with an accuracy of 98.44%, precision of 98.46%, an F1-score of 98.44%, and a recall of 98.44%. Again, exceptional results were achieved by ViT model B on Dataset B, reaching an accuracy of 99.57%, precision of 99.56%, an F1-score of 99.56%, and a recall of 99.56%. The effectiveness of ViTs in accurately classifying fruit freshness is underscored, demonstrating their potential for practical applications in food quality assessment. Later, Local Interpretable Model-agnostic Explanation (LIME) was incorporated to improve the interpretability of the model.

American International University-Bangladesh (BD), Shahjalal University of Science and Technology (BD), University of Aizu (JP)
Zero hunger
Openalex Percentile: Top 83%
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.

Explainable AI-Driven Vision Transformers for Assessing Fruit Freshness via Transfer Learning — Aritra Das, M. F. Mridha, et al. · (2024) | TGRS Research Map | TGRS