Pre-Segmentation: A Data Augmentation-Based Strategy for Thinning ViT Models

作者
Houbin Guo,Xing Guo,Haohua Du
出处
期刊: [Institute of Electrical and Electronics Engineers]
卷期号:: 96-102
标识
DOI:10.1109/bigcom65357.2024.00022
摘要

In the basic Vision transformer (ViT) model, the way to process the image is to cut the image into a certain number of patches as labeled (location coded) tokens, which are inputted to the multi-attention part of the model to extract the information, and then passed through the full connectivity layer to a classifier to classify the image. If all the Tokens are utilized for interaction, the complex ViT structure brings a huge amount of computation, which is a major drawback of the model. The ViT model itself is characterized by global interaction, and Attention is extremely sensitive to global information, so the over-pursuit of interaction with all the Tokens will bring about a sharp increase in complexity and a multiplication of the pressure on the hardware facilities, such as the reduction in the number of Tokens, which will bring about a reduction in the amount of information. If the number of Tokens is reduced, it brings about loss of information and unsatisfactory accuracy. In this study, we take the lightweight ViT model as a starting point, and preprocess the images: the images are chunked and then entered into the coding layer for information extraction respectively, and finally the respective cls labels are processed to get the classification results, which can solve the problem of over-attention to global attention of ViT as well as avoiding the loss of information due to the reduction of Tokens, and ultimately realizing the model's lightweighting. In conclusion, our model (PS-ViT) starts from two aspects, firstly, data enhancement is used to improve the generalization ability of the model; secondly, in the processing of input images, pre-blocking can both change the range of model information interaction and reduce the computation of the model in order to achieve efficient reasoning. Finally, a 40% reduction in computation can be achieved while maintaining accuracy.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
Hiddleston完成签到 ,获得积分10
刚刚
刚刚
1秒前
wilddreamer完成签到,获得积分10
1秒前
1秒前
鳗鳗发布了新的文献求助10
1秒前
1秒前
bkagyin的应助被liulian采纳,获得10
1秒前
玛卡巴卡完成签到 ,获得积分10
1秒前
Z1213发布了新的文献求助10
2秒前
棉花糖发布了新的文献求助10
2秒前
3秒前
3秒前
单身的冰双完成签到,获得积分10
3秒前
一颗药顽发布了新的文献求助10
3秒前
3秒前
遇见发布了新的文献求助10
3秒前
哈哈哈完成签到 ,获得积分10
4秒前
FL发布了新的文献求助10
5秒前
爆米花的应助被呼延惜珊采纳,获得10
5秒前
无亞完成签到,获得积分10
5秒前
5秒前
爱搞科研的壮壮完成签到 ,获得积分10
5秒前
xrL发布了新的文献求助10
5秒前
小鹿5460的应助被xuanxuan采纳,获得10
5秒前
5秒前
Owen的应助被jyxm采纳,获得10
6秒前
lxt完成签到,获得积分10
7秒前
ly666完成签到,获得积分10
7秒前
7秒前
的DQ的发布了新的文献求助10
7秒前
三旬老人完成签到 ,获得积分10
7秒前
沫哈完成签到,获得积分10
7秒前
7秒前
背后世平发布了新的文献求助10
7秒前
7秒前
7秒前
HOLLYWOO发布了新的文献求助10
8秒前
8秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
The Martian climate revisited : atmosphere and environment of a desert planet 600
Bonding in Metal(IV) Hexafluorides Examined Using Fluorine K-edge X-ray Absorption Spectroscopy 500
Trend and Out-of-Trend Analysis for Pharmaceutical Quality and Manufacturing Using Minitab 500
初発骨髄異形成腫瘍におけるIPSS-RとIPSS-Mの比較:単施設での検討 500
Sleisenger and Fordtran's Gastrointestinal and Liver Disease - 2 Volume Set Pathophysiology, Diagnosis, Management 500
[Radiotherapy of prostatic cancer at the loco-regional stage: therapeutic results and prognostic factors] 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8236751
求助须知:如何正确求助?哪些是违规求助? 9612290
关于积分的说明 22066867
捐赠科研通 7850724
什么是DOI,文献DOI怎么找? 3452039
关于科研通互助平台的介绍 2572007
邀请新用户注册赠送积分活动 2501916