mlsanityData to 7 Oct 2026

Understanding Self-attention Mechanism via Dynamical System Perspective

arXiv 2308.09939 ↗First posted 19 Aug 2023cs.CV cs.AIcited by 9

Not on the map. Why?

Abstract (arXiv)

The self-attention mechanism (SAM) is widely used in various fields of artificial intelligence and has successfully boosted the performance of different models. However, current explanations of this mechanism are mainly based on intuitions and experiences, while there still lacks direct modeling for how the SAM helps performance. To mitigate this issue, in this paper, based on the dynamical system perspective of the residual neural network, we first show that the intrinsic stiffness phenomenon (SP) in the high-precision solution of ordinary differential equations (ODEs) also widely exists in high-performance neural networks (NN). Thus the ability of NN to measure SP at the feature level is necessary to obtain high performance and is an important factor in the difficulty of training NN. Similar to the adaptive step-size method which is effective in solving stiff ODEs, we show that the SAM is also a stiffness-aware step size adaptor that can enhance the model's representational ability to measure intrinsic SP by refining the estimation of stiffness information and generating adaptive attention values, which provides a new understanding about why and how the SAM can benefit the model performance. This novel perspective can also explain the lottery ticket hypothesis in SAM, design new quantitative metrics of representational ability, and inspire a new theoretic-inspired approach, StepNet. Extensive experiments on several popular benchmarks demonstrate that StepNet can extract fine-grained stiffness information and measure SP accurately, leading to significant improvements in various visual tasks.

Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 45 of its 80 references that are in the map. First posted on arXiv 19 Aug 2023.

Builds on

45 of 80 references.

References · 45

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  4. 2017Squeeze-and-Excitation Networkscited by 4,763
  5. 2018Neural Ordinary Differential Equationscited by 3,733
  6. 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,540
  7. 2018CBAM: Convolutional Block Attention Modulecited by 2,463
  8. 2016Matching Networks for One Shot Learningcited by 2,246
  9. 2018DARTS: Differentiable Architecture Searchcited by 1,782
  10. 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
  11. 2018Image Super-Resolution Using Very Deep Residual Channel Attention Networkscited by 1,256
  12. 2016Pruning Filters for Efficient ConvNetscited by 1,129
33 more
  1. 2021CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classificationcited by 806
  2. 2020A Survey on Visual Transformercited by 653
  3. 2019ECA-Net: Efficient Channel Attention for Deep Convolutional Neural Networkscited by 572
  4. 2021MetaFormer Is Actually What You Need for Visioncited by 523
  5. 2020UNet 3+: A Full-Scale Connected UNet for Medical Image Segmentationcited by 331
  6. 2020Single Image Super-Resolution via a Holistic Attention Networkcited by 265
  7. 2021Attention Mechanisms in Computer Vision: A Surveycited by 232
  8. 2016Network Trimming: A Data-Driven Neuron Pruning Approach towards Efficient Deep Architecturescited by 220
  9. 2017Beyond Finite Layer Neural Networks: Bridging Deep Architectures and Numerical Differential Equationscited by 203
  10. 2020FcaNet: Frequency Channel Attention Networkscited by 177
  11. 2018BAM: Bottleneck Attention Modulecited by 171
  12. 2019Symplectic Recurrent Neural Networkscited by 148
  13. 2021Visformer: The Vision-friendly Transformercited by 137
  14. 2021Towards Robust Vision Transformercited by 137
  15. 2019Global Sparse Momentum SGD for Pruning Very Deep Neural Networkscited by 70
  16. 2020Knowledge-Guided Multi-Label Few-Shot Learning for General Image Recognitioncited by 69
  17. 2019SRM : A Style-based Recalibration Module for Convolutional Neural Networkscited by 65
  18. 2017Multi-level Residual Networks from Dynamical Systems Viewcited by 59
  19. 2021A Dynamical System Perspective for Lipschitz Neural Networkscited by 59
  20. 2020Cross-Domain Facial Expression Recognition: A Unified Evaluation Benchmark and Adversarial Graph Learningcited by 46
  21. 2020Continuous-in-Depth Neural Networkscited by 40
  22. 2019DIANet: Dense-and-Implicit Attention Networkcited by 37
  23. 2019Spatial Group-wise Enhance: Improving Semantic Feature Learning in Convolutional Networkscited by 33
  24. 2020Convolution-Weight-Distribution Assumption: Rethinking the Criteria of Channel Pruningcited by 29
  25. 2019Instance Enhancement Batch Normalization: an Adaptive Regulator of Batch Noisecited by 28
  26. 2018Convolutional Neural Networks combined with Runge-Kutta Methodscited by 18
  27. 2022Efficient Image Super-Resolution using Vast-Receptive-Field Attentioncited by 16
  28. 2021Blending Pruning Criteria for Convolutional Neural Networkscited by 13
  29. 2021Recurrence along Depth: Deep Convolutional Neural Networks with Recurrent Layer Aggregationcited by 13
  30. 2020Efficient Attention Network: Accelerate Attention by Searching Where to Plugcited by 9
  31. 2022The Lottery Ticket Hypothesis for Self-attention in Convolutional Neural Networkcited by 7
  32. 2022A Generic Shared Attention Mechanism for Various Backbone Neural Networkscited by 5
  33. 2022Switchable Self-attention Modulecited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 5; 2025: 3; 2026: 1.

9 papers.