paper-with-me

Papers

Maximizing the Position Embedding for Vision Transformers with Global Average Pooling

2025-02-05 · Wonjun Lee, Bumsub Ham, Suhyun Kim

In vision transformers, position embedding (PE) plays a crucial role in capturing the order of tokens. However, in vision transformer structures, there is a limitation in the expressiveness of PE due to the structure where position embedding is simply added to the token embedding. A layer-wise method that delivers PE to each layer and applies independent Layer Normalizations for token embedding and PE has been adopted to overcome this limitation. In this paper, we identify the conflicting result that occurs in a layer-wise structure when using the global average pooling (GAP) method instead of the class token. To overcome this problem, we propose MPVG, which maximizes the effectiveness of PE in a layer-wise structure with GAP. Specifically, we identify that PE counterbalances token embedding values at each layer in a layer-wise structure. Furthermore, we recognize that the counterbalancing role of PE is insufficient in the layer-wise structure, and we address this by maximizing the effectiveness of PE through MPVG. Through experiments, we demonstrate that PE performs a counterbalancing role and that maintaining this counterbalancing directionality significantly impacts vision transformers. As a result, the experimental results show that MPVG outperforms existing methods across vision transformers on various tasks.

📄 PDF Abstract BibTeX arXiv:2502.02919

Code (0)

등록된 구현이 없습니다.

Tasks

Position

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
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…
Residual Connection 설명 없음
Multi-Head Attention 설명 없음
Average Pooling 설명 없음

Similar Papers 제목 키워드 기반

A survey of the Vision Transformers and their CNN-Transformer based Variants

2023-05-17 · Asifullah Khan, Zunaira Rauf, Anabia Sohail, Abdul Rehman 외

Vision transformers have become popular as a possible substitute to convolutional neural networks (CNNs) for a variety of computer vision applications. These transformers, with their ability to focus on global relationsh…

Survey

Reviving Shift Equivariance in Vision Transformers

2023-06-13 · Peijian Ding, Davit Soselia, Thomas Armstrong, Jiahao Su 외

Shift equivariance is a fundamental principle that governs how we perceive the world - our recognition of an object remains invariant with respect to shifts. Transformers have gained immense popularity due to their effec…

Inductive Bias

Locality-Attending Vision Transformer

2026-03-05 · Sina Hajimiri, Farzad Beizaee, Fereshteh Shakeri, Christian Desrosiers 외 arxiv

Vision transformers have demonstrated remarkable success in classification by leveraging global self-attention to capture long-range dependencies. However, this same mechanism can obscure fine-grained spatial details cru…

AdPE: Adversarial Positional Embeddings for Pretraining Vision Transformers via MAE+

2023-03-14 · Xiao Wang, Ying Wang, Ziwei Xuan, Guo-Jun Qi

Unsupervised learning of vision transformers seeks to pretrain an encoder via pretext tasks without labels. Among them is the Masked Image Modeling (MIM) aligned with pretraining of language transformers by predicting ma…

Transfer Learning

MobileUtr: Revisiting the relationship between light-weight CNN and Transformer for efficient medical image segmentation

2023-12-04 · Fenghe Tang, Bingkun Nian, Jianrui Ding, Quan Quan 외

Due to the scarcity and specific imaging characteristics in medical images, light-weighting Vision Transformers (ViTs) for efficient medical image segmentation is a significant challenge, and current studies have not yet…

Image SegmentationInductive BiasMedical Image SegmentationSegmentation+1