paper-with-me

Papers

Local-Global Shifting Vision Transformers

2021-09-29 · Shelly Sheynin, Sagie Benaim, Adam Polyak, Lior Wolf

Recent work has shown the potential of transformers for computer vision applications. An image is first partitioned into patches, which are then used as input tokens for the attention mechanism. Due to the expensive quadratic cost of the attention mechanism, either a large patch size is used, resulting in coarse-grained global interactions, or alternatively, attention is applied only on a local region of the image at the expense of long-range interactions. In this work, we propose an approach that allows for both coarse global interactions and fine-grained local interactions simultaneously. At the core of our method is the application of local and global attention layers. In the local attention layer, we apply attention to each patch and its local shifts, resulting in virtually located local patches, which are not bound to a single, specific location. These virtually located patches are then used in global attention layers, where global coarse interactions are learned, using a pyramid of attention layers applied on decreasing resolution inputs. The separation of the attention layer into local and global counterparts allows for a low computational cost in the number of patches, while still supporting data-dependent localization, as opposed to the static positioning in other visual transformers. Our method is shown to be superior to both convolutional and transformer-based methods for image classification on CIFAR10, CIFAR100, and ImageNet.

📄 PDF Abstract BibTeX

Code (0)

등록된 구현이 없습니다.

Tasks

image-classificationImage Classification

Similar Papers 제목 키워드 기반

Mixing and Shifting: Exploiting Global and Local Dependencies in Vision MLPs

2022-02-14 · Huangjie Zheng, Pengcheng He, Weizhu Chen, Mingyuan Zhou

Token-mixing multi-layer perceptron (MLP) models have shown competitive performance in computer vision tasks with a simple architecture and relatively small computational cost. Their success in maintaining computation ef…

Global Context Vision Transformers

2022-06-20 · Ali Hatamizadeh, Hongxu Yin, Greg Heinrich, Jan Kautz 외

We propose global context vision transformer (GC ViT), a novel architecture that enhances parameter and compute utilization for computer vision. Our method leverages global context self-attention modules, joint with stan…

image-classificationImage ClassificationInductive BiasInstance Segmentation+3

DwinFormer: Dual Window Transformers for End-to-End Monocular Depth Estimation

2023-03-06 · Md Awsafur Rahman, Shaikh Anowarul Fattah

Depth estimation from a single image is of paramount importance in the realm of computer vision, with a multitude of applications. Conventional methods suffer from the trade-off between consistency and fine-grained detai…

DecoderDepth EstimationMonocular Depth Estimation

GLPanoDepth: Global-to-Local Panoramic Depth Estimation

2022-02-06 · Jiayang Bai, Shuichang Lai, Haoyu Qin, Jie Guo 외

In this paper, we propose a learning-based method for predicting dense depth values of a scene from a monocular omnidirectional image. An omnidirectional image has a full field-of-view, providing much more complete descr…

Depth Estimation

Other Tokens Matter: Exploring Global and Local Features of Vision Transformers for Object Re-Identification

2024-04-23 · Yingquan Wang, Pingping Zhang, Dong Wang, Huchuan Lu

Object Re-Identification (Re-ID) aims to identify and retrieve specific objects from images captured at different places and times. Recently, object Re-ID has achieved great success with the advances of Vision Transforme…

Object