paper-with-me

홈 › Papers

SG-Former: Self-guided Transformer with Evolving Token Reallocation

2023-08-23 · ICCV 2023 1 · Sucheng Ren, Xingyi Yang, Songhua Liu, Xinchao Wang

Vision Transformer has demonstrated impressive success across various vision tasks. However, its heavy computation cost, which grows quadratically with respect to the token sequence length, largely limits its power in handling large feature maps. To alleviate the computation cost, previous works rely on either fine-grained self-attentions restricted to local small regions, or global self-attentions but to shorten the sequence length resulting in coarse granularity. In this paper, we propose a novel model, termed as Self-guided Transformer~(SG-Former), towards effective global self-attention with adaptive fine granularity. At the heart of our approach is to utilize a significance map, which is estimated through hybrid-scale self-attention and evolves itself during training, to reallocate tokens based on the significance of each region. Intuitively, we assign more tokens to the salient regions for achieving fine-grained attention, while allocating fewer tokens to the minor regions in exchange for efficiency and global receptive fields. The proposed SG-Former achieves performance superior to state of the art: our base size model achieves \textbf{84.7\%} Top-1 accuracy on ImageNet-1K, \textbf{51.2mAP} bbAP on CoCo, \textbf{52.7mIoU} on ADE20K surpassing the Swin Transformer by \textbf{+1.3\% / +2.7 mAP/ +3 mIoU}, with lower computation costs and fewer parameters. The code is available at \href{https://github.com/OliverRensu/SG-Former}{https://github.com/OliverRensu/SG-Former}

📄 PDF Abstract BibTeX arXiv:2308.12216

Code (1)

oliverrensu/sg-former 공식 구현 pytorch

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
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 설명 없음
Stochastic Depth Stochastic Depth aims to shrink the depth of a network during training, while keeping it unchanged during testing. This is achieved by randomly dropping entire…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…

Similar Papers 제목 키워드 기반

Global-Lens Transformers: Adaptive Token Mixing for Dynamic Link Prediction

2025-11-16 · Tao Zou, Chengfeng Wu, Tianxi Liao, Junchen Ye 외 arxiv

Dynamic graph learning plays a pivotal role in modeling evolving relationships over time, especially for temporal link prediction tasks in domains such as traffic systems, social networks, and recommendation platforms. W…

Dynamic Link PredictionGraph Learning

Exploiting Optical Flow Guidance for Transformer-Based Video Inpainting

2023-01-24 · Kaidong Zhang, Jialun Peng, Jingjing Fu, Dong Liu

Transformers have been widely used for video processing owing to the multi-head self attention (MHSA) mechanism. However, the MHSA mechanism encounters an intrinsic difficulty for video inpainting, since the features ass…

Optical Flow EstimationVideo Inpainting

What to Hide from Your Students: Attention-Guided Masked Image Modeling

2022-03-23 · Ioannis Kakogeorgiou, Spyros Gidaris, Bill Psomas, Yannis Avrithis 외

Transformers and masked language modeling are quickly being adopted and explored in computer vision as vision transformers and masked image modeling (MIM). In this work, we argue that image token masking differs from tok…

Language ModelingLanguage ModellingMasked Language ModelingSelf-Supervised Learning

3D-Convolution Guided Spectral-Spatial Transformer for Hyperspectral Image Classification

2024-04-20 · Shyam Varahagiri, Aryaman Sinha, Shiv Ram Dubey, Satish Kumar Singh

In recent years, Vision Transformers (ViTs) have shown promising classification performance over Convolutional Neural Networks (CNNs) due to their self-attention mechanism. Many researchers have incorporated ViTs for Hyp…

ClassificationHyperspectral Image Classificationimage-classificationImage Classification

CoReDiT: Spatial Coherence-Guided Token Pruning and Reconstruction for Efficient Diffusion Transformers

2026-05-13 · Zhuojin Li, Hsin-Pai Cheng, Hong Cai, Shizhong Han 외 arxiv

Diffusion Transformers (DiTs) deliver remarkable image and video generation quality but incur high computational cost, limiting scalability and on-device deployment. We introduce CoReDiT, a structured token pruning frame…

Video Generation