paper-with-me

Papers

Shuffle Transformer: Rethinking Spatial Shuffle for Vision Transformer

2021-06-07 · Zilong Huang, Youcheng Ben, Guozhong Luo, Pei Cheng, Gang Yu, Bin Fu

Very recently, Window-based Transformers, which computed self-attention within non-overlapping local windows, demonstrated promising results on image classification, semantic segmentation, and object detection. However, less study has been devoted to the cross-window connection which is the key element to improve the representation ability. In this work, we revisit the spatial shuffle as an efficient way to build connections among windows. As a result, we propose a new vision transformer, named Shuffle Transformer, which is highly efficient and easy to implement by modifying two lines of code. Furthermore, the depth-wise convolution is introduced to complement the spatial shuffle for enhancing neighbor-window connections. The proposed architectures achieve excellent performance on a wide range of visual tasks including image-level classification, object detection, and semantic segmentation. Code will be released for reproduction.

📄 PDF Abstract BibTeX arXiv:2106.03650

Code (4)

BR-IDL/PaddleViT/blob/main/image_classification/Shuffle_Transformer paddle
alibaba/EasyCV pytorch
mindspore-courses/External-Attention-MindSpore/blob/main/model/backbone/ShuffleTransformer.py mindspore
mulinmeng/Shuffle-Transformer pytorch

Tasks

image-classificationImage Classificationobject-detectionObject DetectionSegmentationSemantic Segmentation

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Shuffle-T The Shuffle Transformer Block consists of the Shuffle Multi-Head Self-Attention module (ShuffleMHSA), the Neighbor-Window Connection module (NWC), and the MLP module. To…
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Position-Wise Feed-Forward Layer 설명 없음
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Adam 설명 없음

Similar Papers 제목 키워드 기반

Masked Jigsaw Puzzle: A Versatile Position Embedding for Vision Transformers

2022-05-25 · CVPR 2023 1 · Bin Ren, Yahui Liu, Yue Song, Wei Bi 외

Position Embeddings (PEs), an arguably indispensable component in Vision Transformers (ViTs), have been shown to improve the performance of ViTs on many vision tasks. However, PEs have a potentially high risk of privacy …

Federated LearningPosition

3D Shuffle-Mixer: An Efficient Context-Aware Vision Learner of Transformer-MLP Paradigm for Dense Prediction in Medical Volume

2022-04-14 · Jianye Pang, Cheng Jiang, Yihao Chen, Jianbo Chang 외

Dense prediction in medical volume provides enriched guidance for clinical analysis. CNN backbones have met bottleneck due to lack of long-range dependencies and global context modeling power. Recent works proposed to co…

Inductive BiasPrediction

Can Transformer Models Measure Coherence In Text? Re-Thinking the Shuffle Test

2021-07-07 · ACL 2021 7 · Philippe Laban, Luke Dai, Lucas Bandarkar, Marti A. Hearst

The Shuffle Test is the most common task to evaluate whether NLP models can measure coherence in text. Most recent work uses direct supervision on the task; we show that by simply finetuning a RoBERTa model, we can achie…

Plug n' Play: Channel Shuffle Module for Enhancing Tiny Vision Transformers

2023-10-09 · Xuwei Xu, Sen Wang, Yudong Chen, Jiajun Liu

Vision Transformers (ViTs) have demonstrated remarkable performance in various computer vision tasks. However, the high computational complexity hinders ViTs' applicability on devices with limited memory and computing re…

Stochastic Layer-Wise Shuffle: A Good Practice to Improve Vision Mamba Training

2024-08-30 · Zizheng Huang, Haoxing Chen, Jiaqi Li, Jun Lan 외

Recent Vision Mamba models not only have much lower complexity for processing higher resolution images and longer videos but also the competitive performance with Vision Transformers (ViTs). However, they are stuck into …

Image ClassificationMambaObject DetectionSemantic Segmentation