paper-with-me

홈 › Papers

Factorization Vision Transformer: Modeling Long Range Dependency with Local Window Cost

2023-12-14 · Haolin Qin, Daquan Zhou, Tingfa Xu, Ziyang Bian, Jianan Li

Transformers have astounding representational power but typically consume considerable computation which is quadratic with image resolution. The prevailing Swin transformer reduces computational costs through a local window strategy. However, this strategy inevitably causes two drawbacks: (1) the local window-based self-attention hinders global dependency modeling capability; (2) recent studies point out that local windows impair robustness. To overcome these challenges, we pursue a preferable trade-off between computational cost and performance. Accordingly, we propose a novel factorization self-attention mechanism (FaSA) that enjoys both the advantages of local window cost and long-range dependency modeling capability. By factorizing the conventional attention matrix into sparse sub-attention matrices, FaSA captures long-range dependencies while aggregating mixed-grained information at a computational cost equivalent to the local window-based self-attention. Leveraging FaSA, we present the factorization vision transformer (FaViT) with a hierarchical structure. FaViT achieves high performance and robustness, with linear computational complexity concerning input image spatial resolution. Extensive experiments have shown FaViT's advanced performance in classification and downstream tasks. Furthermore, it also exhibits strong model robustness to corrupted and biased data and hence demonstrates benefits in favor of practical applications. In comparison to the baseline model Swin-T, our FaViT-B2 significantly improves classification accuracy by 1% and robustness by 7%, while reducing model parameters by 14%. Our code will soon be publicly available at https://github.com/q2479036243/FaViT.

📄 PDF Abstract BibTeX arXiv:2312.08614

Code (1)

q2479036243/favit 공식 구현 pytorch

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
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…
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$…
Residual Connection 설명 없음
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Vision Transformer The Vision Transformer, or ViT, is a model for image classification that employs a Transformer-like architecture over…

Similar Papers 제목 키워드 기반

Toward Next-generation Medical Vision Backbones: Modeling Finer-grained Long-range Visual Dependency

2025-09-14 · Mingyuan Meng arxiv

Medical Image Computing (MIC) is a broad research topic covering both pixel-wise (e.g., segmentation, registration) and image-wise (e.g., classification, regression) vision tasks. Effective analysis demands models that c…

Long-range modeling

Language Modeling With Factorization Memory

2025-10-31 · Lee Xiong, Maksim Tkachenko, Johanes Effendi, Ting Cai arxiv

We propose Factorization Memory, an efficient recurrent neural network (RNN) architecture that achieves performance comparable to Transformer models on short-context language modeling tasks while also demonstrating super…

Factorizer: A Scalable Interpretable Approach to Context Modeling for Medical Image Segmentation

2022-02-24 · Pooya Ashtari, Diana M. Sima, Lieven De Lathauwer, Dominique Sappey-Marinier 외

Convolutional Neural Networks (CNNs) with U-shaped architectures have dominated medical image segmentation, which is crucial for various clinical purposes. However, the inherent locality of convolution makes CNNs fail to…

Brain Tumor SegmentationImage SegmentationLesion SegmentationMedical Image Segmentation+3

Video Swin Transformer

2021-06-24 · CVPR 2022 1 · Ze Liu, Jia Ning, Yue Cao, Yixuan Wei 외

The vision community is witnessing a modeling shift from CNNs to Transformers, where pure Transformer architectures have attained top accuracy on the major video recognition benchmarks. These video models are all built o…

Action ClassificationAction RecognitionGeneral ClassificationInductive Bias+3

FactoFormer: Factorized Hyperspectral Transformers with Self-Supervised Pretraining

2023-09-18 · Shaheer Mohamed, Maryam Haghighat, Tharindu Fernando, Sridha Sridharan 외

Hyperspectral images (HSIs) contain rich spectral and spatial information. Motivated by the success of transformers in the field of natural language processing and computer vision where they have shown the ability to lea…