The encoding method of position embeddings in vision transformer

嵌入 职位(财务) 计算机科学 人工智能 卷积神经网络 编码(内存) 变压器 模式识别(心理学) 人工神经网络 计算机视觉 工程类 财务 电气工程 经济 电压
作者
Kai Jiang,Peng Peng,Youzao Lian,Weisheng Xu
出处
期刊:Journal of Visual Communication and Image Representation [Elsevier BV]
卷期号:89: 103664-103664 被引量:14
标识
DOI:10.1016/j.jvcir.2022.103664
摘要

In contrast to Convolutional Neural Networks (CNNs), Vision Transformers (ViT) cannot capture sequence ordering of input tokens and require position embeddings. As a learnable fixed-dimension vector, the position embedding improves accuracy while limiting the migration of the model between different input sizes. Hence, this paper conducts an empirical study on position embeddings of pre-trained models, which mainly focuses on two questions: (1) What do the position embeddings learn from training? (2) How do the position embeddings affect the self-attention modules? This paper analyzes the pattern of position embedding in pre-trained models and finds that the linear combination of Gabor filters and edge markers can fit the learned position embeddings well. The Gabor filters and edge markers can occupy some channels to append the position information, and the edge markers have flowed to values in self-attention modules. The experimental results can guide future work to choose suitable position embeddings.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
tangsuyun完成签到 ,获得积分10
刚刚
沉默的书琴完成签到,获得积分10
3秒前
茗佞完成签到 ,获得积分10
4秒前
空得空的空地完成签到,获得积分10
5秒前
欣喜糖豆发布了新的文献求助10
5秒前
5秒前
黄茹薇发布了新的文献求助10
5秒前
迟早year完成签到 ,获得积分10
6秒前
暮弦完成签到,获得积分10
7秒前
Moihan完成签到,获得积分10
7秒前
zhang值完成签到,获得积分10
7秒前
兴奋奇异果完成签到,获得积分10
8秒前
北风发布了新的文献求助10
8秒前
10秒前
梦想家完成签到,获得积分10
11秒前
zhang值发布了新的文献求助10
11秒前
14秒前
15秒前
zlb发布了新的文献求助10
16秒前
qiqi完成签到,获得积分10
16秒前
jiajia完成签到 ,获得积分10
17秒前
娜娜家的大宝贝完成签到,获得积分10
17秒前
17秒前
gaons完成签到,获得积分20
18秒前
shimmy完成签到,获得积分10
19秒前
20秒前
21秒前
21秒前
开心的谷兰完成签到,获得积分10
23秒前
23秒前
Hello应助梦想家采纳,获得30
23秒前
缓慢尔槐发布了新的文献求助10
24秒前
111发布了新的文献求助10
24秒前
pluto发布了新的文献求助10
24秒前
怕黑的魂幽完成签到,获得积分10
25秒前
科研通AI2S应助壮观的擎采纳,获得10
26秒前
28秒前
28秒前
闪电关注了科研通微信公众号
29秒前
魏源发布了新的文献求助10
30秒前
高分求助中
The Mother of All Tableaux: Order, Equivalence, and Geometry in the Large-scale Structure of Optimality Theory 3000
A new approach to the extrapolation of accelerated life test data 1000
Problems of point-blast theory 400
北师大毕业论文 基于可调谐半导体激光吸收光谱技术泄漏气体检测系统的研究 390
Phylogenetic study of the order Polydesmida (Myriapoda: Diplopoda) 370
Robot-supported joining of reinforcement textiles with one-sided sewing heads 320
Novel Preparation of Chitin Nanocrystals by H2SO4 and H3PO4 Hydrolysis Followed by High-Pressure Water Jet Treatments 300
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 内科学 纳米技术 计算机科学 化学工程 复合材料 遗传学 基因 物理化学 催化作用 冶金 细胞生物学 免疫学
热门帖子
关注 科研通微信公众号,转发送积分 3998480
求助须知:如何正确求助?哪些是违规求助? 3537993
关于积分的说明 11273002
捐赠科研通 3276991
什么是DOI,文献DOI怎么找? 1807228
邀请新用户注册赠送积分活动 883823
科研通“疑难数据库(出版商)”最低求助积分说明 810049