Fruit freshness detection based on multi-task convolutional neural network

IF 6.2 2区 农林科学 Q1 FOOD SCIENCE & TECHNOLOGY
Yinsheng Zhang , Xudong Yang , Yongbo Cheng , Xiaojun Wu , Xiulan Sun , Ruiqi Hou , Haiyan Wang
{"title":"Fruit freshness detection based on multi-task convolutional neural network","authors":"Yinsheng Zhang ,&nbsp;Xudong Yang ,&nbsp;Yongbo Cheng ,&nbsp;Xiaojun Wu ,&nbsp;Xiulan Sun ,&nbsp;Ruiqi Hou ,&nbsp;Haiyan Wang","doi":"10.1016/j.crfs.2024.100733","DOIUrl":null,"url":null,"abstract":"<div><h3>Background</h3><p>Fruit freshness detection by computer vision is essential for many agricultural applications, e.g., automatic harvesting and supply chain monitoring. This paper proposes to use the multi-task learning (MTL) paradigm to build a deep convolutional neural work for fruit freshness detection.</p></div><div><h3>Results</h3><p>We design an MTL model that optimizes the freshness detection (T<sub>1</sub>) and fruit type classification (T<sub>2</sub>) tasks in parallel. The model uses a shared CNN (convolutional neural network) subnet and two FC (fully connected) task heads. The shared CNN acts as a feature extraction module and feeds the two task heads with common semantic features. Based on an open fruit image dataset, we conducted a comparative study of MTL and single-task learning (STL) paradigms. The STL models use the same CNN subnet with only one specific task head. In the MTL scenario, the T<sub>1</sub> and T<sub>2</sub> mean accuracies on the test set are 93.24% and 88.66%, respectively. Meanwhile, for STL, the two accuracies are 92.50% and 87.22%. Statistical tests report significant differences between MTL and STL on T1 and T2 test accuracies. We further investigated the extracted feature vectors (semantic embeddings) from the two STL models. The vectors have an averaged 0.7 cosine similarity on the entire dataset, with most values lying in the 0.6–0.8 range. This indicates a between-task correlation and justifies the effectiveness of the proposed MTL approach.</p></div><div><h3>Conclusion</h3><p>This study proves that MTL exploits the mutual correlation between two or more relevant tasks and can maximally share their underlying feature extraction process. we envision this approach to be extended to other domains that involve multiple interconnected tasks.</p></div>","PeriodicalId":10939,"journal":{"name":"Current Research in Food Science","volume":"8 ","pages":"Article 100733"},"PeriodicalIF":6.2000,"publicationDate":"2024-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.sciencedirect.com/science/article/pii/S2665927124000595/pdfft?md5=120bd65704dc6d6b245af1a18ca15f6b&pid=1-s2.0-S2665927124000595-main.pdf","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Current Research in Food Science","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2665927124000595","RegionNum":2,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"FOOD SCIENCE & TECHNOLOGY","Score":null,"Total":0}
引用次数: 0

Abstract

Background

Fruit freshness detection by computer vision is essential for many agricultural applications, e.g., automatic harvesting and supply chain monitoring. This paper proposes to use the multi-task learning (MTL) paradigm to build a deep convolutional neural work for fruit freshness detection.

Results

We design an MTL model that optimizes the freshness detection (T1) and fruit type classification (T2) tasks in parallel. The model uses a shared CNN (convolutional neural network) subnet and two FC (fully connected) task heads. The shared CNN acts as a feature extraction module and feeds the two task heads with common semantic features. Based on an open fruit image dataset, we conducted a comparative study of MTL and single-task learning (STL) paradigms. The STL models use the same CNN subnet with only one specific task head. In the MTL scenario, the T1 and T2 mean accuracies on the test set are 93.24% and 88.66%, respectively. Meanwhile, for STL, the two accuracies are 92.50% and 87.22%. Statistical tests report significant differences between MTL and STL on T1 and T2 test accuracies. We further investigated the extracted feature vectors (semantic embeddings) from the two STL models. The vectors have an averaged 0.7 cosine similarity on the entire dataset, with most values lying in the 0.6–0.8 range. This indicates a between-task correlation and justifies the effectiveness of the proposed MTL approach.

Conclusion

This study proves that MTL exploits the mutual correlation between two or more relevant tasks and can maximally share their underlying feature extraction process. we envision this approach to be extended to other domains that involve multiple interconnected tasks.

Abstract Image

基于多任务卷积神经网络的水果新鲜度检测
背景利用计算机视觉进行水果新鲜度检测对许多农业应用(如自动收获和供应链监控)至关重要。结果我们设计了一个 MTL 模型,该模型可并行优化新鲜度检测(T1)和水果类型分类(T2)任务。该模型使用一个共享 CNN(卷积神经网络)子网和两个 FC(全连接)任务头。共享 CNN 充当特征提取模块,为两个任务头提供共同的语义特征。基于一个开放的水果图像数据集,我们对 MTL 和单任务学习(STL)范式进行了比较研究。STL 模型使用相同的 CNN 子网,但只有一个特定的任务头。在 MTL 场景中,测试集上的 T1 和 T2 平均准确率分别为 93.24% 和 88.66%。而对于 STL,这两个准确率分别为 92.50% 和 87.22%。统计测试表明,MTL 和 STL 在 T1 和 T2 测试准确率上存在明显差异。我们进一步研究了从两个 STL 模型中提取的特征向量(语义嵌入)。在整个数据集上,这些向量的平均余弦相似度为 0.7,大多数值在 0.6-0.8 之间。结论这项研究证明,MTL 可以利用两个或多个相关任务之间的相互关联性,最大限度地共享其基础特征提取过程。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Current Research in Food Science
Current Research in Food Science Agricultural and Biological Sciences-Food Science
CiteScore
7.40
自引率
3.20%
发文量
232
审稿时长
84 days
期刊介绍: Current Research in Food Science is an international peer-reviewed journal dedicated to advancing the breadth of knowledge in the field of food science. It serves as a platform for publishing original research articles and short communications that encompass a wide array of topics, including food chemistry, physics, microbiology, nutrition, nutraceuticals, process and package engineering, materials science, food sustainability, and food security. By covering these diverse areas, the journal aims to provide a comprehensive source of the latest scientific findings and technological advancements that are shaping the future of the food industry. The journal's scope is designed to address the multidisciplinary nature of food science, reflecting its commitment to promoting innovation and ensuring the safety and quality of the food supply.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信