Fruit Freshness Detection Explainable Model Based on Attention Mechanism

被引:0
|
作者
Zhang, Yinsheng [1 ]
Song, Zenglin [2 ]
Wang, Haiyan [1 ]
机构
[1] Zhejiang Food and Drug Quality & Safety Engineering Research Institute, Zhejiang Gongshang University, Hangzhou,310018, China
[2] School of Management and E-Business, Zhejiang Gongshang University, Hangzhou,310018, China
关键词
Cams;
D O I
10.16429/j.1009-7848.2024.10.003
中图分类号
学科分类号
摘要
In recent years, fruit freshness detection based on machine vision and deep learning has become one of the mainstream methods. This study explores the application of deep learning technologies, particularly convolutional neural networks (CNNs), in feature extraction for fruit freshness identification. This paper introduces the CBAM (Convolutional block attention module) attention mechanism module into the ResNet34 (34-layer residual network) backbone network to achieve fruit freshness detection. Class activation mapping (CAM) techniques are employed to visualize the heatmaps of pixels that reflect the critical features in the images. On a public fruit dataset, the classification accuracy of the ResNet34 network before and after introducing the attention mechanism is 96.80% and 99.71%, respectively. The CAM heatmaps show that the attention model can more accurately capture the regions of interest in the fruit images, indicating that the proposed model improves the feature extraction capability of deep learning, not only enhancing the model's generalization ability but also increasing its interpretability. © 2024 Chinese Institute of Food Science and Technology. All rights reserved.
引用
收藏
页码:28 / 36
相关论文
共 50 条
  • [31] Video Anomaly Detection Based on Attention Mechanism
    Zhang, Qianqian
    Wei, Hongyang
    Chen, Jiaying
    Du, Xusheng
    Yu, Jiong
    SYMMETRY-BASEL, 2023, 15 (02):
  • [32] Event detection based on the label attention mechanism
    Cheng, Qing
    Fu, Yanghui
    Huang, Jincai
    Cheng, Guangquan
    Du, Hang
    INTERNATIONAL JOURNAL OF MACHINE LEARNING AND CYBERNETICS, 2023, 14 (02) : 633 - 641
  • [33] Sarcasm detection based on BERT and attention mechanism
    Jiana Meng
    Yanlin Zhu
    Shichang Sun
    Dandan Zhao
    Multimedia Tools and Applications, 2024, 83 : 29159 - 29178
  • [34] ROULETTE: A neural attention multi-output model for explainable Network Intrusion Detection
    Andresini, Giuseppina
    Appice, Annalisa
    Caforio, Francesco Paolo
    Malerba, Donato
    Vessio, Gennaro
    EXPERT SYSTEMS WITH APPLICATIONS, 2022, 201
  • [35] Explainable AI model for PDFMal detection based on gradient boosting model
    Elattar, Mona
    Younes, Ahmed
    Gad, Ibrahim
    Elkabani, Islam
    Neural Computing and Applications, 2024, 36 (34) : 21607 - 21622
  • [36] Research and Explainable Analysis of a Real-Time Passion Fruit Detection Model Based on FSOne-YOLOv7
    Ou, Juji
    Zhang, Rihong
    Li, Xiaomin
    Lin, Guichao
    AGRONOMY-BASEL, 2023, 13 (08):
  • [37] Explainable Software vulnerability detection based on Attention-based Bidirectional Recurrent Neural Networks
    Mao, Yi
    Li, Yun
    Sun, Jiatai
    Chen, Yixin
    2020 IEEE INTERNATIONAL CONFERENCE ON BIG DATA (BIG DATA), 2020, : 4651 - 4656
  • [38] An explainable attention-based bidirectional GRU model for pedagogical classification of MOOCs
    Sebbaq, Hanane
    El Faddouli, Nour-eddine
    INTERACTIVE TECHNOLOGY AND SMART EDUCATION, 2022, 19 (04) : 396 - 421
  • [39] An Intrusion Detection Method Based on Attention Mechanism to Improve CNN-BiLSTM Model
    Shou, Dingyu
    Li, Chao
    Wang, Zhen
    Cheng, Song
    Hu, Xiaobo
    Zhang, Kai
    Wen, Mi
    Wang, Yong
    COMPUTER JOURNAL, 2023, 67 (05): : 1851 - 1865
  • [40] Enhanced credit card fraud detection based on attention mechanism and LSTM deep model
    Ibtissam Benchaji
    Samira Douzi
    Bouabid El Ouahidi
    Jaafar Jaafari
    Journal of Big Data, 8