paper-with-me

Papers

SimA: Simple Softmax-free Attention for Vision Transformers

2022-06-17 · Soroush Abbasi Koohpayegani, Hamed Pirsiavash

Recently, vision transformers have become very popular. However, deploying them in many applications is computationally expensive partly due to the Softmax layer in the attention block. We introduce a simple but effective, Softmax-free attention block, SimA, which normalizes query and key matrices with simple $\ell_1$-norm instead of using Softmax layer. Then, the attention block in SimA is a simple multiplication of three matrices, so SimA can dynamically change the ordering of the computation at the test time to achieve linear computation on the number of tokens or the number of channels. We empirically show that SimA applied to three SOTA variations of transformers, DeiT, XCiT, and CvT, results in on-par accuracy compared to the SOTA models, without any need for Softmax layer. Interestingly, changing SimA from multi-head to single-head has only a small effect on the accuracy, which simplifies the attention block further. The code is available here: https://github.com/UCDvision/sima

📄 PDF Abstract BibTeX arXiv:2206.08898

Code (1)

ucdvision/sima 공식 구현 pytorch

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Test 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Depthwise Convolution Depthwise Convolution is a type of convolution where we apply a single convolutional filter for each input channel. In the regular 2D…
Residual Connection 설명 없음
Local Patch Interaction Local Patch Interaction, or LPI, is a module used for the XCiT layer to enable explicit communication across patches. LPI…
Multi-Head Attention 설명 없음

Similar Papers 제목 키워드 기반

SimAM: A Simple, Parameter-Free Attention Module for Convolutional Neural Networks

2022-07-24 · Proceedings of Machine Learning Research 2022 7 · Lingxiao Yang, Ru-Yuan Zhang, Lida Li, Xiaohua Xie

In this paper, we propose a conceptually simple but very effective attention module for Convolutional Neural Networks (ConvNets). In contrast to existing channel-wise and spatial-wise attention modules, our module instea…

DAUNet: A Lightweight UNet Variant with Deformable Convolutions and Parameter-Free Attention for Medical Image Segmentation

2025-12-07 · Adnan Munir, Muhammad Shahid Jabbar, Shujaat Khan arxiv

Medical image segmentation plays a pivotal role in automated diagnostic and treatment planning systems. In this work, we present DAUNet, a novel lightweight UNet variant that integrates Deformable V2 Convolutions and Par…

Pulmonary Embolism DetectionMedical Image Segmentation

PADRe: A Unifying Polynomial Attention Drop-in Replacement for Efficient Vision Transformer

2024-07-16 · Pierre-David Letourneau, Manish Kumar Singh, Hsin-Pai Cheng, Shizhong Han 외

We present Polynomial Attention Drop-in Replacement (PADRe), a novel and unifying framework designed to replace the conventional self-attention mechanism in transformer models. Notably, several recent alternative attenti…

2D Object DetectionComputational EfficiencyGPUimage-classification+4

A functional central limit theorem for kernel gradient flow and infinitesimal gradient boosting

2026-06-24 · Clément Dombry, Jean-Jil Duchamps arxiv

Building on the large-sample analysis of infinitesimal gradient boosting (Dombry and Duchamps, 2024b), we study the fluctuations of the process around its deterministic limit and establish a functional central limit theo…

SOFT: Softmax-free Transformer with Linear Complexity

2021-10-22 · NeurIPS 2021 12 · Jiachen Lu, Jinghan Yao, Junge Zhang, Xiatian Zhu 외

Vision transformers (ViTs) have pushed the state-of-the-art for various visual recognition tasks by patch-wise image tokenization followed by self-attention. However, the employment of self-attention modules results in a…

Computational Efficiency