Lightweight Vision Transformer for damaged wheat detection and classification using spectrograms

光谱图 人工智能 计算机科学 计算机视觉 图像处理 模式识别(心理学) 图像(数学)
作者
Hao Lin,Min Guo,Miao Ma
出处
期刊:Journal of Electronic Imaging [SPIE - International Society for Optical Engineering]
卷期号:33 (05)
标识
DOI:10.1117/1.jei.33.5.053063
摘要

Grain is one of the basic human necessities, and its quality and safety directly impact human dietary health. Various issues occur during grain storage, primarily mold and pest infestation. With the development of artificial intelligence, increasingly, more technologies are applied to grain detection and classification. Transformer-based models are becoming popular in grain detection. Although transformer models exhibit excellent performance, they are often large and cumbersome, limiting practical applications. We propose a framework named KD-ASF based on intermediate layer knowledge distillation and one-shot neural architecture search, to optimize the hyperparameters of vision transformer (ViT) for detecting and classifying molded wheat kernels (MDK), Insect-Damaged wheat kernels (IDK), and undamaged wheat kernels (UDK). In KD-ASF, we use the ViT model as our teacher network. Next, we design a search space containing adjustable hyperparameters of transformer building blocks. The super-network stacks maximum transformer building blocks and is trained under the guidance of the teacher network. Subsequently, the trained super-network undergoes evolutionary search, and the resulting networks are used for classifying different wheat kernels. We conducted experiments using a five-fold cross-validation approach and obtained an F1 score of 97.13%, and the last model parameter size is only 5.94M. The results demonstrate that this method not only outperforms the majority of neural networks in terms of performance but also has a significantly smaller model size than most network models. Its lightweight nature facilitates easy deployment and application. These findings indicate that the structure of KD-ASF is feasible and effective.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
栗子完成签到,获得积分10
刚刚
1秒前
Doctorxie完成签到,获得积分10
1秒前
1秒前
youdizhidu完成签到,获得积分10
1秒前
1秒前
1秒前
FY完成签到,获得积分10
2秒前
zdh给zdh的求助进行了留言
2秒前
2秒前
娇气的万仇完成签到,获得积分10
2秒前
自觉的丹珍完成签到,获得积分10
2秒前
hqf802802完成签到,获得积分10
2秒前
2秒前
wy完成签到,获得积分10
3秒前
发AFM完成签到,获得积分10
3秒前
科研通AI6.2应助NCBIdd采纳,获得30
3秒前
3秒前
3秒前
4秒前
4秒前
wangyue完成签到 ,获得积分10
4秒前
香蕉诗蕊完成签到,获得积分0
5秒前
5秒前
感动的念双完成签到,获得积分10
5秒前
高皮皮发布了新的文献求助10
5秒前
传奇3应助JCSY采纳,获得30
5秒前
HUYAOWEI发布了新的文献求助20
6秒前
哈噗咻发布了新的文献求助10
6秒前
LiPengpeng完成签到,获得积分10
6秒前
Orange应助小王同学采纳,获得10
6秒前
6秒前
XXXX完成签到,获得积分10
6秒前
今天柚子保熟了完成签到,获得积分10
7秒前
慕青应助秦桂敏采纳,获得10
7秒前
7秒前
修勾发布了新的文献求助10
7秒前
7秒前
李健应助高兴的幻柏采纳,获得10
7秒前
8秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Aerospace Standards Index - 2026 ASIN2026 3000
Relation between chemical structure and local anesthetic action: tertiary alkylamine derivatives of diphenylhydantoin 1000
Signals, Systems, and Signal Processing 610
Discrete-Time Signals and Systems 610
Principles of town planning : translating concepts to applications 500
Work Engagement and Employee Well-being 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 纳米技术 有机化学 物理 生物化学 化学工程 计算机科学 复合材料 内科学 催化作用 光电子学 物理化学 电极 冶金 遗传学 细胞生物学
热门帖子
关注 科研通微信公众号,转发送积分 6067851
求助须知:如何正确求助?哪些是违规求助? 7899857
关于积分的说明 16328412
捐赠科研通 5209572
什么是DOI,文献DOI怎么找? 2786550
邀请新用户注册赠送积分活动 1769457
关于科研通互助平台的介绍 1647899