An Explainable and Lightweight Deep Convolutional Neural Network for Quality Detection of Green Coffee Beans

Author:

Hsia Chih-HsienORCID,Lee Yi-Hsuan,Lai Chin-Feng

Abstract

In recent years, the demand for coffee has increased tremendously. During the production process, green coffee beans are traditionally screened manually for defective beans before they are packed into coffee bean packages; however, this method is not only time-consuming but also increases the rate of human error due to fatigue. Therefore, this paper proposed a lightweight deep convolutional neural network (LDCNN) for a quality detection system of green coffee beans, which combined depthwise separable convolution (DSC), squeeze-and-excite block (SE block), skip block, and other frameworks. To avoid the influence of low parameters of the lightweight model caused by the model training process, rectified Adam (RA), lookahead (LA), and gradient centralization (GC) were included to improve efficiency; the model was also put into the embedded system. Finally, the local interpretable model-agnostic explanations (LIME) model was employed to explain the predictions of the model. The experimental results indicated that the accuracy rate of the model could reach up to 98.38% and the F1 score could be as high as 98.24% when detecting the quality of green coffee beans. Hence, it can obtain higher accuracy, lower computing time, and lower parameters. Moreover, the interpretable model verified that the lightweight model in this work was reliable, providing the basis for screening personnel to understand the judgment through its interpretability, thereby improving the classification and prediction of the model.

Funder

Ministry of Science and Technology

Publisher

MDPI AG

Subject

Fluid Flow and Transfer Processes,Computer Science Applications,Process Chemistry and Technology,General Engineering,Instrumentation,General Materials Science

Reference37 articles.

1. Influence of coffee drinking on subsequent risk of hepatocellular carcinoma: A prospective study in Japan;Inoue;J. Natl. Cancer Inst.,2005

2. Association of coffee consumption with overall and cause-specific mortality in a large US prospective cohort study;Loftfield;Am. J. Epidemiol.,2015

3. Chemical composition of defective coffee beans;Mazzafera;Food Chem.,1999

4. He, K., Zhang, X., Ren, S., and Sun, J. Deep residual learning for image recognition. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition.

5. Howard, A., Sandler, M., Chen, B., Wang, W., Chen, L.-C., Tan, M., Chu, G., Vasudevan, V., Zhu, Y., Pang, R., Searching for MobileNetV3. Proceedings of the IEEE/CVF International Conference on Computer Vision.

Cited by 8 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Defect Detection in Arabica Green Coffee Beans Based on Grade Quality;Proceedings of the 2024 10th International Conference on Computing and Artificial Intelligence;2024-04-26

2. Enhancing coffee bean classification: a comparative analysis of pre-trained deep learning models;Neural Computing and Applications;2024-04-01

3. CoffeeNet: A deep learning approach for coffee plant leaves diseases recognition;Expert Systems with Applications;2024-03

4. Real-Time Low-Light Imaging in Space Based on the Fusion of Spatial and Frequency Domains;Electronics;2023-12-15

5. Compact Convolutional Transformer based on Sharpness-Aware Minimization for Image Classification;2023 12th International Conference on Awareness Science and Technology (iCAST);2023-11-09

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3