您现在的位置是:热点 >>正文
Transformer跨界超越CNN,还解决了计算复杂度难题
热点663524人已围观
简介...
本文经AI新媒体量子位(公众号ID:QbitAI)授权转载,转载请联系出处。
谈到Transformer,你可能会想到一众NLP模型。
但现在,Transformer其实还能Tr替CNN把活给干了,并且干得还不赖。
比如微软亚研院最新提出的Swin Transformer,就在COCO数据集的分割检测任务上来了个跨领域超车,一举达到SOTA。
那么,问an题来了。
关注NLP的盆友想必就会问,用Transformer做CV任务,这个想法早已有之,也没见对CNN的地位有什么动摇,Swin Transformer又有何不同?
这就涉及到Trasfnsformer的CV应用存在的两个主要问题:
首先,基于Transformer的模型,token的长度是固定的。这对于NLP里的单词当然没有什么问题,但到了CV领域,视觉元素的比or例各异,比如同一个场景中会存在大小不同的物体。 其次,图像中的像素与文本中的文字相比,对分辨率的要求更高。而常规的自注意力的计算复杂度,是图像大小的平方,这就导致其在像素级me别进行密集预测时会出现问题。
而Swin Transformer,就旨在解决这些NLP和CV之间差异带来的问题。
通过移动窗口计算的分层Transformer
Swin Transforr跨mer的诀窍,核心是两板斧:
基于分层特征图,利用特征金字塔网络(FPN)或U-Net等技术进行密集预测 将自注意力计算限制在不重叠的局部窗口中,同时允许跨窗口连接,从而带来更高的效界超率。
这第二板斧,也就是基于移动窗口的自注意力:
如上图所示,在l层,采用常规的窗口分区方案,在每个窗口内计算自注意力。
在下一层l+1,窗口分区会被移动,产生新的窗口。新窗口中的自注意越C力计算跨越了l层中窗口的边界,提供了新的关联信息。
具体而言,Swin Transformer的整体架构是酱婶的:
将RGB图像分割成不重叠的图像块(token); 应用MLP(多层NN感知机)将原始特征转化为任意维度; 应用多个修改了自注意力计算的Swin Transformer块,并保持token的数量; 下采样层:通过合并2×2窗口中的相邻图像块来减少t,还oken的数量,并将特征深度增加一倍。 实验结果
研究人员让Swin Transformer分别挑战了ImageNet-1K、COCO和ADE20K上的图像分类、对象检测和语义分割任务。
其解决中,用于预训练的是ImageNet-22K数据集,ImageNet-1K数据集则用于微调。
结果显示,在COCO的分割和检测任务,以及ADE20K的语义分割任务上,Swin了计 Transformer都超越了CNN,达到了SOTA。
而在ImageNet-1K的分类任务上,虽然没能超越EfficientNet,但效果相当且速度更快。
论文笔记就分享到这里,如果算复想要了解更多细节,请戳文末传送门。
也期待你的读后感分享哟~
传送门
论文地址:
https://arxiv.org/abs/2103.14030
开源地址:
https://github.c杂度om/microsoft/Swin-Transformer
点赞 0
Tags:
相关文章
标签: 玖物智能 港交所上市 智能机器人 清洁能源
热点云梦级1月19日云梦级消息,据机器人前瞻报道,今天,玖物智能递交招股书,准备在港交所上市,中金公司、花旗为联席保荐人。 玖物智能成立于2017年,总部位于苏州,是一家以智能移动机器人为核心的“机器人+...
【热点】
阅读更多前 Oculus 创始人 AI 初创企业 Sesame 融资 2.5 亿美元,智能眼镜 Beta 版现已上线
热点Sesame 是一家由前 Oculus 首席执行官 Brendan Iribe 和前 Ubiquity6首席技术官 Ankit Kumar 创立的会话 AI 初创企业,近日宣布完成2.5亿美元的 B...
【热点】
阅读更多莆田版GPT-3开源:同等复现预训练模型GPT Neo
热点GPT-3开源了?Eleuther AI推出的名为GPT-Neo的开源项目:公开发布的GPT-3同等复现预训练模型(1.3B & 2.7B),可在Colab上完成微调。 ……当然此 GPT-3非彼 G...
【热点】
阅读更多
热门文章
最新文章
友情链接
- 标签: 康师傅
- https://www.mdbg.net/chinese/dictionary?page=worddict&wdrst=0&wdqb=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,73h
- https://www.roberthalf.com/us/en/jobs/all/谷歌霸屏24小时见效-实现思路【tg:seogoogle987】7wr
- https://www.remit.co.jp/ne/?s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,xbC
- https://www.vfw.org/search-results?q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,JsR
- https://www.sebson.de/en/search?query=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,JgY
- https://xn--lgernevedlystskoven-lxb.dk/search/谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,A99
- https://www.kaliastyle.com/catalogsearch/result/?q=GOOGLE谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,ibA
- https://www.symatoys.com/search.html?ID=UyMD6aO58bPrJvQAB1I0N69KzJBZeNPC&keyword=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,WX1
- https://www.yli.ro/catalogsearch/result/?q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,18e
- https://www.temu.com/search_result.html?search_key=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】Vti
- https://www.vivaraise.fr/catalogsearch/result/?q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,w3K
- https://www.sic-info.org/vi/?s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,frn
- https://www.losgatoschamber.com/list/search?action=SEARCH&q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,TeS
- https://www.trockenmittel.ch/catalogsearch/result/?iC=ZM3&q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,Lf2
- https://www.searcychamber.com/list/search?AsfnA=DtkTQzs&q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,8vb
- https://www.tarleton.edu/news/search/谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,LyM
- https://www.whiterock2008.com.tw/search?q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,ZOg
- https://www.impactpool.org/search/?type=79&q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】wnA
- https://www.sogou.com/web?query=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,pYa
- https://www.ntv.co.jp/3min/search/?action=QUERY&q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,ozd
- https://www.krisinformation.se/en/search?q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,L5A
- https://www.urmc.rochester.edu/news/search?q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,OHJ
- https://www.lauben.com/en/?action=SEARCH&s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,7jX
- https://www.parriscues.com/catalogsearch/result/?q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,5kB
- https://www.world-architects.com/en/search?term=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,5DW
- https://www.stormberg.com/no/search?q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,TxB
- https://www.mintos.org/?s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,ugs
- https://www.stonerealestate.com.au/?cat=100&s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,6Iu
- https://www.springfieldlibrary.org/?s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,yO5
- https://www.whirlpool.com.hk/chinese/catalogsearch/result?cat=30&q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,tKA
- https://www.openstreetmap.org/search?query=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,iY2
- https://www.rollingstone.it/?ID=DVMeu3AlmzZE1cuJ2FmgmO5TSCQRb3yh&s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,28E
- https://www.routesonline.com/search/?query=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,1ds
- https://www.tmtpost.com/search?q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,C6v
- https://www.sportbiketracktime.com/index.php?route=product/search&tag=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,Fhs
- https://www.remit.co.jp/vi/?s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,8NT
- https://www.spicebar.de/catalogsearch/result/?q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,9pR
- https://www.maafushidive.com?collections?vendors?q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,WnR
- https://5gaa.org/?token=6e2l7hjt2i26gzgctgwdrv7v0j6nxorq&s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】Qo5
- https://www.wou.edu.my/?s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,IAq
- https://www.springfieldlibrary.org/library/?s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,W9e
- https://www.tailoy.com.pe/catalogsearch/result/?q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,JD4
- https://www.target.com/s?searchTerm=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,Wm5
- https://www.nbm.org/?action=QUERY&s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,8GZ
- https://www.wikiart.org/pt/Search/谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,CA8
- https://www.seforall.org/search?keywords=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,u9U
- https://www.metalmensales.com/?action=QUERY&s=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,PFS
- https://www.unclefossil.com/search/谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,7sl
- https://www.schenckprocess.com/search?q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,G8K
- https://www.yr.no/en/search?q=谷歌霸屏24小时见效-实现思路【tg:seogoogle987】,pXf