Understanding Why ViT Trains Badly on Small Datasets: An Intuitive Perspective

直觉 计算机科学 残差神经网络 可视化 人工智能 机器学习 透视图(图形) 火车 模式识别(心理学) 人工神经网络 代表(政治) 数据挖掘 地图学 地理 心理学 政治 认知科学 法学 政治学
作者
Hehua Zhu,Boyuan Chen,Carter Yang
出处
期刊:Cornell University - arXiv
标识
DOI:10.48550/arxiv.2302.03751
摘要

Vision transformer (ViT) is an attention neural network architecture that is shown to be effective for computer vision tasks. However, compared to ResNet-18 with a similar number of parameters, ViT has a significantly lower evaluation accuracy when trained on small datasets. To facilitate studies in related fields, we provide a visual intuition to help understand why it is the case. We first compare the performance of the two models and confirm that ViT has less accuracy than ResNet-18 when trained on small datasets. We then interpret the results by showing attention map visualization for ViT and feature map visualization for ResNet-18. The difference is further analyzed through a representation similarity perspective. We conclude that the representation of ViT trained on small datasets is hugely different from ViT trained on large datasets, which may be the reason why the performance drops a lot on small datasets.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
1秒前
1秒前
1秒前
1秒前
汉堡包应助dou采纳,获得10
1秒前
夜信发布了新的文献求助10
1秒前
1秒前
情怀应助含糊的书雁采纳,获得10
1秒前
2秒前
小二郎应助油条采纳,获得20
2秒前
妮儿完成签到,获得积分10
2秒前
2秒前
FFF完成签到,获得积分10
2秒前
2秒前
2秒前
3秒前
xyh发布了新的文献求助10
3秒前
乐乐应助噼里啪啦冲冲子采纳,获得10
4秒前
Liiiii完成签到,获得积分10
4秒前
星辰大海应助冰阔落采纳,获得10
4秒前
4秒前
daydayup发布了新的文献求助20
5秒前
oycy关注了科研通微信公众号
5秒前
堀江真夏完成签到 ,获得积分0
5秒前
6秒前
大个应助四叶菜采纳,获得10
6秒前
6秒前
Hello应助NING采纳,获得10
6秒前
rourou发布了新的文献求助10
7秒前
星辰大海应助juaner采纳,获得10
7秒前
8秒前
DTOU发布了新的文献求助10
8秒前
歪比巴卜完成签到,获得积分10
8秒前
yanyan发布了新的文献求助10
8秒前
caixia发布了新的文献求助10
8秒前
9秒前
无头骑士K发布了新的文献求助10
9秒前
小蜗睡吧完成签到 ,获得积分10
9秒前
天阳完成签到,获得积分10
10秒前
11秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
The Organometallic Chemistry of the Transition Metals 800
Chemistry and Physics of Carbon Volume 18 800
The Organometallic Chemistry of the Transition Metals 800
The formation of Australian attitudes towards China, 1918-1941 640
Signals, Systems, and Signal Processing 610
全相对论原子结构与含时波包动力学的理论研究--清华大学 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6438853
求助须知:如何正确求助?哪些是违规求助? 8253035
关于积分的说明 17563855
捐赠科研通 5497124
什么是DOI,文献DOI怎么找? 2899149
邀请新用户注册赠送积分活动 1875767
关于科研通互助平台的介绍 1716511