Replacing softmax with ReLU in Vision Transformers
Not on the map. Why?
Abstract (arXiv)
Previous research observed accuracy degradation when replacing the attention softmax with a point-wise activation such as ReLU. In the context of vision transformers, we find that this degradation is mitigated when dividing by sequence length. Our experiments training small to large vision transformers on ImageNet-21k indicate that ReLU-attention can approach or match the performance of softmax-attention in terms of scaling behavior as a function of compute.
Key facts. Cited by 43 papers in the map (data through 7 Oct 2026). Builds on 19 of its 30 references that are in the map. First posted on arXiv 15 Sep 2023.
Builds on
19 of 30 references.
References · 19
- 2017Attention Is All You Needcited by 59,932
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2016Layer Normalizationcited by 5,579
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2016Gaussian Error Linear Units (GELUs)cited by 3,431
- 2013Describing Textures in the Wildcited by 2,110
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2023Scaling Vision Transformers to 22 Billion Parameterscited by 690
- 2023Transformers as Statisticians: Provable In-Context Learning with In-Context Algorithm Selectioncited by 291
- 2022Transformer Quality in Linear Timecited by 189
- 2021Self-attention Does Not Need O(n2) Memorycited by 152
7 more
- 2021SOFT: Softmax-free Transformer with Linear Complexitycited by 128
- 2020Infinite attention: NNGP and NTK for deep attention networkscited by 117
- 2022Better plain ViT baselines for ImageNet-1kcited by 97
- 2023A Study on ReLU and Softmax in Transformercited by 53
- 2023What can a Single Attention Layer Learn? A Study Through the Random Features Lenscited by 39
- 2022SimA: Simple Softmax-free Attention for Vision Transformerscited by 32
- 2022Robust Training of Neural Networks Using Scale Invariant Architecturescited by 29
Built on by
Citing papers per year: 2023: 8; 2024: 13; 2025: 8; 2026: 14.
43 papers.
Sort:
By area:
- 2023Small-scale proxies for large-scale Transformer training instabilitiescited by 182
- 2023ReLU Strikes Back: Exploiting Activation Sparsity in Large Language Modelscited by 91
- 2024The Hidden Attention of Mamba Modelscited by 88
- 2023Transformers as Decision Makers: Provable In-Context Reinforcement Learning via Supervised Pretrainingcited by 82
- 2023How Do Transformers Learn In-Context Beyond Simple Functions? A Case Study on Learning with Representationscited by 72
- 2023Transformers Implement Functional Gradient Descent to Learn Non-Linear Functions In Contextcited by 63
- 2023Transformers Learn to Achieve Second-Order Convergence Rates for In-Context Linear Regressioncited by 47
- 2024ProSparse: Introducing and Enhancing Intrinsic Activation Sparsity within Large Language Modelscited by 43
- 2023MobileDiffusion: Instant Text-to-Image Generation on Mobile Devicescited by 42
- 2024Frequency Decoupling for Motion Magnification via Multi-Level Isomorphic Architecturecited by 28
- 2024On Provable Length and Compositional Generalizationcited by 22
- 2024HSR-Enhanced Sparse Attention Accelerationcited by 19
31 more
- 2024Attention layers provably solve single-location regressioncited by 15
- 2024More Expressive Attention with Negative Weightscited by 9
- 2024Rethinking Attention: Polynomial Alternatives to Softmax in Transformerscited by 8
- 2023MobileUtr: Revisiting the relationship between light-weight CNN and Transformer for efficient medical image segmentationcited by 4
- 2024Attention is a smoothed cubic splinecited by 4
- 2026ZeroS: Zero-Sum Linear Attention for Efficient Transformerscited by 4
- 2024NIMBA: Towards Robust and Principled Processing of Point Clouds With SSMscited by 3
- 2025On the Expressivity of Selective State-Space Layers: A Multivariate Polynomial Approachcited by 3
- 2025Self-Adjust Softmaxcited by 3
- 2025Disentangling Feature Structure: A Mathematically Provable Two-Stage Training Dynamics in Transformerscited by 3
- 2024Optimized Speculative Sampling for GPU Hardware Acceleratorscited by 2
- 2025Efficient High-Resolution Image Editing with Hallucination-Aware Loss and Adaptive Tilingcited by 2
- 2026HyperMLP: An Integrated Perspective for Sequence Modelingcited by 2
- 2024USEFUSE: Uniform Stride for Enhanced Performance in Fused Layer Architecture of Deep Neural Networkscited by 1
- 2025What Can We Learn From MIMO Graph Convolutions?cited by 1
- 2025Rethinking Graph-Based Document Classification: Learning Data-Driven Structures Beyond Heuristic Approachescited by 1
- 2026Capacity-Controlled Global Attention for Graph Transformerscited by 1
- 2026Gradient Flow Structure and Quantitative Dynamics of Multi-Head Self-Attentioncited by 1
- 2024Sampling Foundational Transformer: A Theoretical Perspectivecited by 0
- 2025Softplus Attention with Re-weighting Boosts Length Extrapolation in Large Language Modelscited by 0
- 2025Lightweight Backbone Networks Only Require Adaptive Lightweight Self-Attention Mechanismscited by 0
- 2026Finite-Time Analysis of Gradient Descent for Shallow Transformerscited by 0
- 2026ReGLA: Efficient Receptive-Field Modeling with Gated Linear Attention Networkcited by 0
- 2026From Global to Local: Learning Context-Aware Graph Representations for Document Classification and Summarizationcited by 0
- 2026Gradient Flow Polarizes Softmax Outputs towards Low-Entropy Solutionscited by 0
- 2026A Boltzmann-machine-enhanced Transformer For DNA Sequence Classificationcited by 0
- 2026Cubit: Token Mixer with Kernel Ridge Regressioncited by 0
- 2026A Unifying View of Attention Sinks: From Mechanisms to Architectural Interventionscited by 0
- 2026Pretraining Transformers with Quantized Softmax in Attentioncited by 0
- 2026Attention Function as an Intrinsic Inductive Bias: How Models' Behavior Diverges in Novel Contextscited by 0
- 2026Attention Kernels for Learning Maps Between Heavy-Tailed Measurescited by 0
- 2026Attention Kernels for Learning Maps Between Heavy-Tailed Measures30 Sep 2026
- 2026Attention Function as an Intrinsic Inductive Bias: How Models' Behavior Diverges in Novel Contexts30 Sep 2026
- 2026Pretraining Transformers with Quantized Softmax in Attention27 Sep 2026
- 2026A Unifying View of Attention Sinks: From Mechanisms to Architectural Interventions6 Jun 2026
- 2026Cubit: Token Mixer with Kernel Ridge Regression7 May 2026
- 2026Gradient Flow Structure and Quantitative Dynamics of Multi-Head Self-Attention5 May 2026
- 2026Capacity-Controlled Global Attention for Graph Transformers19 Apr 2026
- 2026A Boltzmann-machine-enhanced Transformer For DNA Sequence Classification27 Mar 2026
- 2026Gradient Flow Polarizes Softmax Outputs towards Low-Entropy Solutions6 Mar 2026
- 2026HyperMLP: An Integrated Perspective for Sequence Modeling13 Feb 2026
- 2026ReGLA: Efficient Receptive-Field Modeling with Gated Linear Attention Network5 Feb 2026
- 2026ZeroS: Zero-Sum Linear Attention for Efficient Transformers5 Feb 2026
31 more
- 2026From Global to Local: Learning Context-Aware Graph Representations for Document Classification and Summarization3 Feb 2026
- 2026Finite-Time Analysis of Gradient Descent for Shallow Transformers23 Jan 2026
- 2025Efficient High-Resolution Image Editing with Hallucination-Aware Loss and Adaptive Tiling7 Oct 2025
- 2025Lightweight Backbone Networks Only Require Adaptive Lightweight Self-Attention Mechanisms2 Aug 2025
- 2025Rethinking Graph-Based Document Classification: Learning Data-Driven Structures Beyond Heuristic Approaches18 Jul 2025
- 2025What Can We Learn From MIMO Graph Convolutions?16 May 2025
- 2025Disentangling Feature Structure: A Mathematically Provable Two-Stage Training Dynamics in Transformers28 Feb 2025
- 2025Self-Adjust Softmax25 Feb 2025
- 2025On the Expressivity of Selective State-Space Layers: A Multivariate Polynomial Approach4 Feb 2025
- 2025Softplus Attention with Re-weighting Boosts Length Extrapolation in Large Language Models23 Jan 2025
- 2024USEFUSE: Uniform Stride for Enhanced Performance in Fused Layer Architecture of Deep Neural Networks18 Dec 2024
- 2024More Expressive Attention with Negative Weights11 Nov 2024
- 2024NIMBA: Towards Robust and Principled Processing of Point Clouds With SSMs31 Oct 2024
- 2024Rethinking Attention: Polynomial Alternatives to Softmax in Transformers24 Oct 2024
- 2024HSR-Enhanced Sparse Attention Acceleration14 Oct 2024
- 2024Attention layers provably solve single-location regression2 Oct 2024
- 2024Attention is a smoothed cubic spline19 Aug 2024
- 2024Sampling Foundational Transformer: A Theoretical Perspective11 Aug 2024
- 2024Optimized Speculative Sampling for GPU Hardware Accelerators16 Jun 2024
- 2024Frequency Decoupling for Motion Magnification via Multi-Level Isomorphic Architecture12 Mar 2024
- 2024The Hidden Attention of Mamba Models3 Mar 2024
- 2024ProSparse: Introducing and Enhancing Intrinsic Activation Sparsity within Large Language Models21 Feb 2024
- 2024On Provable Length and Compositional Generalization7 Feb 2024
- 2023Transformers Implement Functional Gradient Descent to Learn Non-Linear Functions In Context11 Dec 2023
- 2023MobileUtr: Revisiting the relationship between light-weight CNN and Transformer for efficient medical image segmentation4 Dec 2023
- 2023MobileDiffusion: Instant Text-to-Image Generation on Mobile Devices28 Nov 2023
- 2023Transformers Learn to Achieve Second-Order Convergence Rates for In-Context Linear Regression26 Oct 2023
- 2023How Do Transformers Learn In-Context Beyond Simple Functions? A Case Study on Learning with Representations16 Oct 2023
- 2023Transformers as Decision Makers: Provable In-Context Reinforcement Learning via Supervised Pretraining12 Oct 2023
- 2023ReLU Strikes Back: Exploiting Activation Sparsity in Large Language Models6 Oct 2023
- 2023Small-scale proxies for large-scale Transformer training instabilities25 Sep 2023
- 2023Small-scale proxies for large-scale Transformer training instabilitiescited by 182
- 2023ReLU Strikes Back: Exploiting Activation Sparsity in Large Language Modelscited by 91
- 2023How Do Transformers Learn In-Context Beyond Simple Functions? A Case Study on Learning with Representationscited by 72
- 2023Transformers Implement Functional Gradient Descent to Learn Non-Linear Functions In Contextcited by 63
- 2024Frequency Decoupling for Motion Magnification via Multi-Level Isomorphic Architecturecited by 28
- 2024On Provable Length and Compositional Generalizationcited by 22
- 2024HSR-Enhanced Sparse Attention Accelerationcited by 19
- 2024Attention layers provably solve single-location regressioncited by 15
- 2024More Expressive Attention with Negative Weightscited by 9
- 2024Rethinking Attention: Polynomial Alternatives to Softmax in Transformerscited by 8
- 2023MobileUtr: Revisiting the relationship between light-weight CNN and Transformer for efficient medical image segmentationcited by 4
- 2024Attention is a smoothed cubic splinecited by 4
12 most cited of 35 All 35 (JSON)
- 2026Attention Kernels for Learning Maps Between Heavy-Tailed Measures30 Sep 2026
- 2026Attention Function as an Intrinsic Inductive Bias: How Models' Behavior Diverges in Novel Contexts30 Sep 2026
- 2026Pretraining Transformers with Quantized Softmax in Attention27 Sep 2026
- 2026A Unifying View of Attention Sinks: From Mechanisms to Architectural Interventions6 Jun 2026
- 2026Cubit: Token Mixer with Kernel Ridge Regression7 May 2026
- 2026Gradient Flow Structure and Quantitative Dynamics of Multi-Head Self-Attention5 May 2026
- 2026Capacity-Controlled Global Attention for Graph Transformers19 Apr 2026
- 2026A Boltzmann-machine-enhanced Transformer For DNA Sequence Classification27 Mar 2026
- 2026Gradient Flow Polarizes Softmax Outputs towards Low-Entropy Solutions6 Mar 2026
- 2026HyperMLP: An Integrated Perspective for Sequence Modeling13 Feb 2026
- 2026ReGLA: Efficient Receptive-Field Modeling with Gated Linear Attention Network5 Feb 2026
- 2026ZeroS: Zero-Sum Linear Attention for Efficient Transformers5 Feb 2026
12 newest of 35 All 35 (JSON)