ResT: An Efficient Transformer for Visual Recognition. Zhang, Q. & Yang, Y. October, 2021. arXiv:2105.13677 [cs]
Paper doi abstract bibtex This paper presents an efficient multi-scale vision Transformer, called ResT, that capably served as a general-purpose backbone for image recognition. Unlike existing Transformer methods, which employ standard Transformer blocks to tackle raw images with a fixed resolution, our ResT have several advantages: (1) A memory-efficient multi-head self-attention is built, which compresses the memory by a simple depth-wise convolution, and projects the interaction across the attention-heads dimension while keeping the diversity ability of multi-heads; (2) Position encoding is constructed as spatial attention, which is more flexible and can tackle with input images of arbitrary size without interpolation or fine-tune; (3) Instead of the straightforward tokenization at the beginning of each stage, we design the patch embedding as a stack of overlapping convolution operation with stride on the 2D-reshaped token map. We comprehensively validate ResT on image classification and downstream tasks. Experimental results show that the proposed ResT can outperform the recently state-of-the-art backbones by a large margin, demonstrating the potential of ResT as strong backbones. The code and models will be made publicly available at https://github.com/wofmanaf/ResT.
@misc{zhang_rest_2021,
title = {{ResT}: {An} {Efficient} {Transformer} for {Visual} {Recognition}},
shorttitle = {{ResT}},
url = {http://arxiv.org/abs/2105.13677},
doi = {10.48550/arXiv.2105.13677},
abstract = {This paper presents an efficient multi-scale vision Transformer, called ResT, that capably served as a general-purpose backbone for image recognition. Unlike existing Transformer methods, which employ standard Transformer blocks to tackle raw images with a fixed resolution, our ResT have several advantages: (1) A memory-efficient multi-head self-attention is built, which compresses the memory by a simple depth-wise convolution, and projects the interaction across the attention-heads dimension while keeping the diversity ability of multi-heads; (2) Position encoding is constructed as spatial attention, which is more flexible and can tackle with input images of arbitrary size without interpolation or fine-tune; (3) Instead of the straightforward tokenization at the beginning of each stage, we design the patch embedding as a stack of overlapping convolution operation with stride on the 2D-reshaped token map. We comprehensively validate ResT on image classification and downstream tasks. Experimental results show that the proposed ResT can outperform the recently state-of-the-art backbones by a large margin, demonstrating the potential of ResT as strong backbones. The code and models will be made publicly available at https://github.com/wofmanaf/ResT.},
language = {en},
urldate = {2023-08-19},
publisher = {arXiv},
author = {Zhang, Qinglong and Yang, Yubin},
month = oct,
year = {2021},
note = {arXiv:2105.13677 [cs]},
keywords = {\#NIPS{\textgreater}21, \#Recognition, \#Transformer, \#Vision, /unread, Computer Science - Computer Vision and Pattern Recognition},
}
Downloads: 0
{"_id":"yoneqFs9uCcXFjJmX","bibbaseid":"zhang-yang-restanefficienttransformerforvisualrecognition-2021","author_short":["Zhang, Q.","Yang, Y."],"bibdata":{"bibtype":"misc","type":"misc","title":"ResT: An Efficient Transformer for Visual Recognition","shorttitle":"ResT","url":"http://arxiv.org/abs/2105.13677","doi":"10.48550/arXiv.2105.13677","abstract":"This paper presents an efficient multi-scale vision Transformer, called ResT, that capably served as a general-purpose backbone for image recognition. Unlike existing Transformer methods, which employ standard Transformer blocks to tackle raw images with a fixed resolution, our ResT have several advantages: (1) A memory-efficient multi-head self-attention is built, which compresses the memory by a simple depth-wise convolution, and projects the interaction across the attention-heads dimension while keeping the diversity ability of multi-heads; (2) Position encoding is constructed as spatial attention, which is more flexible and can tackle with input images of arbitrary size without interpolation or fine-tune; (3) Instead of the straightforward tokenization at the beginning of each stage, we design the patch embedding as a stack of overlapping convolution operation with stride on the 2D-reshaped token map. We comprehensively validate ResT on image classification and downstream tasks. Experimental results show that the proposed ResT can outperform the recently state-of-the-art backbones by a large margin, demonstrating the potential of ResT as strong backbones. The code and models will be made publicly available at https://github.com/wofmanaf/ResT.","language":"en","urldate":"2023-08-19","publisher":"arXiv","author":[{"propositions":[],"lastnames":["Zhang"],"firstnames":["Qinglong"],"suffixes":[]},{"propositions":[],"lastnames":["Yang"],"firstnames":["Yubin"],"suffixes":[]}],"month":"October","year":"2021","note":"arXiv:2105.13677 [cs]","keywords":"#NIPS\\textgreater21, #Recognition, #Transformer, #Vision, /unread, Computer Science - Computer Vision and Pattern Recognition","bibtex":"@misc{zhang_rest_2021,\n\ttitle = {{ResT}: {An} {Efficient} {Transformer} for {Visual} {Recognition}},\n\tshorttitle = {{ResT}},\n\turl = {http://arxiv.org/abs/2105.13677},\n\tdoi = {10.48550/arXiv.2105.13677},\n\tabstract = {This paper presents an efficient multi-scale vision Transformer, called ResT, that capably served as a general-purpose backbone for image recognition. Unlike existing Transformer methods, which employ standard Transformer blocks to tackle raw images with a fixed resolution, our ResT have several advantages: (1) A memory-efficient multi-head self-attention is built, which compresses the memory by a simple depth-wise convolution, and projects the interaction across the attention-heads dimension while keeping the diversity ability of multi-heads; (2) Position encoding is constructed as spatial attention, which is more flexible and can tackle with input images of arbitrary size without interpolation or fine-tune; (3) Instead of the straightforward tokenization at the beginning of each stage, we design the patch embedding as a stack of overlapping convolution operation with stride on the 2D-reshaped token map. We comprehensively validate ResT on image classification and downstream tasks. Experimental results show that the proposed ResT can outperform the recently state-of-the-art backbones by a large margin, demonstrating the potential of ResT as strong backbones. The code and models will be made publicly available at https://github.com/wofmanaf/ResT.},\n\tlanguage = {en},\n\turldate = {2023-08-19},\n\tpublisher = {arXiv},\n\tauthor = {Zhang, Qinglong and Yang, Yubin},\n\tmonth = oct,\n\tyear = {2021},\n\tnote = {arXiv:2105.13677 [cs]},\n\tkeywords = {\\#NIPS{\\textgreater}21, \\#Recognition, \\#Transformer, \\#Vision, /unread, Computer Science - Computer Vision and Pattern Recognition},\n}\n\n\n\n","author_short":["Zhang, Q.","Yang, Y."],"key":"zhang_rest_2021-1","id":"zhang_rest_2021-1","bibbaseid":"zhang-yang-restanefficienttransformerforvisualrecognition-2021","role":"author","urls":{"Paper":"http://arxiv.org/abs/2105.13677"},"keyword":["#NIPS\\textgreater21","#Recognition","#Transformer","#Vision","/unread","Computer Science - Computer Vision and Pattern Recognition"],"metadata":{"authorlinks":{}},"downloads":0,"html":""},"bibtype":"misc","biburl":"https://bibbase.org/zotero/zzhenry2012","dataSources":["nZHrFJKyxKKDaWYM8"],"keywords":["#nips\\textgreater21","#recognition","#transformer","#vision","/unread","computer science - computer vision and pattern recognition"],"search_terms":["rest","efficient","transformer","visual","recognition","zhang","yang"],"title":"ResT: An Efficient Transformer for Visual Recognition","year":2021}