Lightweight Vision Transformer for damaged wheat detection and classification using spectrograms

光谱图 人工智能 计算机科学 计算机视觉 图像处理 模式识别(心理学) 图像(数学)
作者
Hao Lin,Min Guo,Miao Ma
出处
期刊:Journal of Electronic Imaging [SPIE]
卷期号: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
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
Janice227完成签到,获得积分10
刚刚
郭郭要努力ya完成签到 ,获得积分0
刚刚
科研通AI5应助kobe采纳,获得10
1秒前
to高坚果发布了新的文献求助10
2秒前
西门明雪完成签到,获得积分10
2秒前
自由的松发布了新的文献求助10
3秒前
5秒前
5秒前
olia发布了新的文献求助10
5秒前
Candice应助孤独树叶采纳,获得10
6秒前
YUJIALING完成签到 ,获得积分10
6秒前
酷波er应助tdtk采纳,获得10
6秒前
冰冰完成签到 ,获得积分20
7秒前
7秒前
7秒前
胡桃夹子发布了新的文献求助30
7秒前
8秒前
syxz0628发布了新的文献求助10
8秒前
都可以完成签到,获得积分10
8秒前
科研通AI5应助qfchen0716网易采纳,获得10
9秒前
JamesPei应助qfchen0716网易采纳,获得10
9秒前
丘比特应助qfchen0716网易采纳,获得10
9秒前
子川发布了新的文献求助10
9秒前
田様应助qfchen0716网易采纳,获得10
9秒前
科目三应助qfchen0716网易采纳,获得10
10秒前
黄紫红蓝应助qfchen0716网易采纳,获得10
10秒前
rr发布了新的文献求助10
10秒前
科目三应助qfchen0716网易采纳,获得10
10秒前
Orange应助qfchen0716网易采纳,获得10
10秒前
FashionBoy应助qfchen0716网易采纳,获得10
10秒前
今后应助qfchen0716网易采纳,获得10
10秒前
汉堡包应助Rober采纳,获得10
10秒前
11秒前
13秒前
哈哈哈哈发布了新的文献求助10
13秒前
张大旭77发布了新的文献求助10
14秒前
16秒前
科研通AI5应助感动苡采纳,获得10
17秒前
雪山大地完成签到,获得积分10
17秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Pipeline and riser loss of containment 2001 - 2020 (PARLOC 2020) 1000
Artificial Intelligence driven Materials Design 600
Comparing natural with chemical additive production 500
Machine Learning in Chemistry 500
Phylogenetic study of the order Polydesmida (Myriapoda: Diplopoda) 500
A Manual for the Identification of Plant Seeds and Fruits : Second revised edition 500
热门求助领域 (近24小时)
化学 医学 生物 材料科学 工程类 有机化学 内科学 生物化学 物理 计算机科学 纳米技术 遗传学 基因 复合材料 化学工程 物理化学 病理 催化作用 免疫学 量子力学
热门帖子
关注 科研通微信公众号,转发送积分 5194361
求助须知:如何正确求助?哪些是违规求助? 4376657
关于积分的说明 13629793
捐赠科研通 4231614
什么是DOI,文献DOI怎么找? 2321134
邀请新用户注册赠送积分活动 1319292
关于科研通互助平台的介绍 1269676