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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
刚刚
XIXI发布了新的文献求助20
1秒前
1秒前
Zoom发布了新的文献求助30
3秒前
饭团发布了新的文献求助10
3秒前
4秒前
4秒前
4秒前
4秒前
云漫山完成签到 ,获得积分10
5秒前
萌萌发布了新的文献求助10
5秒前
5秒前
宣幻桃完成签到,获得积分10
5秒前
6秒前
Cumin完成签到 ,获得积分10
7秒前
7秒前
8秒前
宣幻桃发布了新的文献求助10
9秒前
ziz发布了新的文献求助10
10秒前
寒冷如曼发布了新的文献求助200
11秒前
11秒前
Jasper应助称心如意采纳,获得10
11秒前
刻苦大叔发布了新的文献求助10
11秒前
CC发布了新的文献求助10
12秒前
核桃应助2U35采纳,获得10
12秒前
机智的誉发布了新的文献求助10
13秒前
岳文琦给岳文琦的求助进行了留言
13秒前
荣哥儿发布了新的文献求助10
13秒前
hug完成签到,获得积分10
14秒前
14秒前
搜集达人应助科研通管家采纳,获得10
17秒前
若雨凌风应助科研通管家采纳,获得20
17秒前
奈思完成签到 ,获得积分10
17秒前
领导范儿应助科研通管家采纳,获得10
17秒前
CC完成签到,获得积分10
18秒前
科目三应助科研通管家采纳,获得10
18秒前
现代的自行车完成签到 ,获得积分10
18秒前
Jasper应助科研通管家采纳,获得10
18秒前
无花果应助科研通管家采纳,获得10
18秒前
高分求助中
Thinking Small and Large 500
Algorithmic Mathematics in Machine Learning 500
Mapping the Stars: Celebrity, Metonymy, and the Networked Politics of Identity 400
Getting Published in SSCI Journals: 200+ Questions and Answers for Absolute Beginners 300
The phrasal lexicon 200
Solving Nonlinear Equations with Newton's Method 200
Reference Guide for Dynamic Models of HVAC Equipment 200
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 物理 生物化学 纳米技术 计算机科学 化学工程 内科学 复合材料 物理化学 电极 遗传学 量子力学 基因 冶金 催化作用
热门帖子
关注 科研通微信公众号,转发送积分 3836233
求助须知:如何正确求助?哪些是违规求助? 3378583
关于积分的说明 10504968
捐赠科研通 3098204
什么是DOI,文献DOI怎么找? 1706318
邀请新用户注册赠送积分活动 820958
科研通“疑难数据库(出版商)”最低求助积分说明 772349