paper-with-me

홈 › Papers

CAT: Cross Attention in Vision Transformer

2021-06-10 · Hezheng Lin, Xing Cheng, Xiangyu Wu, Fan Yang, Dong Shen, Zhongyuan Wang, Qing Song, Wei Yuan

Since Transformer has found widespread use in NLP, the potential of Transformer in CV has been realized and has inspired many new approaches. However, the computation required for replacing word tokens with image patches for Transformer after the tokenization of the image is vast(e.g., ViT), which bottlenecks model training and inference. In this paper, we propose a new attention mechanism in Transformer termed Cross Attention, which alternates attention inner the image patch instead of the whole image to capture local information and apply attention between image patches which are divided from single-channel feature maps capture global information. Both operations have less computation than standard self-attention in Transformer. By alternately applying attention inner patch and between patches, we implement cross attention to maintain the performance with lower computational cost and build a hierarchical network called Cross Attention Transformer(CAT) for other vision tasks. Our base model achieves state-of-the-arts on ImageNet-1K, and improves the performance of other methods on COCO and ADE20K, illustrating that our network has the potential to serve as general backbones. The code and models are available at \url{https://github.com/linhezheng19/CAT}.

📄 PDF Abstract BibTeX arXiv:2106.05786

Code (1)

linhezheng19/CAT 공식 구현 pytorch

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
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 설명 없음
Adam 설명 없음
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
Residual Connection 설명 없음
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…

Similar Papers 제목 키워드 기반

CrossFormer: A Versatile Vision Transformer Hinging on Cross-scale Attention

2021-07-31 · ICLR 2022 4 · Wenxiao Wang, Lu Yao, Long Chen, Binbin Lin 외

Transformers have made great progress in dealing with computer vision tasks. However, existing vision transformers do not yet possess the ability of building the interactions among features of different scales, which is …

image-classificationImage ClassificationInstance Segmentationobject-detection+3

CrossFormer++: A Versatile Vision Transformer Hinging on Cross-scale Attention

2023-03-13 · Wenxiao Wang, Wei Chen, Qibo Qiu, Long Chen 외

While features of different scales are perceptually important to visual inputs, existing vision transformers do not yet take advantage of them explicitly. To this end, we first propose a cross-scale vision transformer, C…

image-classificationImage ClassificationInstance Segmentationobject-detection+2

HAViT: Historical Attention Vision Transformer

2026-03-19 · Swarnendu Banik, Manish Das, Shiv Ram Dubey, Satish Kumar Singh arxiv

Vision Transformers have excelled in computer vision but their attention mechanisms operate independently across layers, limiting information flow and feature learning. We propose an effective cross-layer attention propa…

DeforHMR: Vision Transformer with Deformable Cross-Attention for 3D Human Mesh Recovery

2024-11-18 · Jaewoo Heo, George Hu, Zeyu Wang, Serena Yeung-Levy

Human Mesh Recovery (HMR) is an important yet challenging problem with applications across various domains including motion capture, augmented reality, and biomechanics. Accurately predicting human pose parameters from a…

DecoderHuman Mesh Recoveryregression

Attention Deficit is Ordered! Fooling Deformable Vision Transformers with Collaborative Adversarial Patches

2023-11-21 · Quazi Mishkatul Alam, Bilel Tarchoun, Ihsen Alouani, Nael Abu-Ghazaleh

The latest generation of transformer-based vision models has proven to be superior to Convolutional Neural Network (CNN)-based models across several vision tasks, largely attributed to their remarkable prowess in relatio…

object-detectionObject Detection