Cited by 44Advanced Neural Network ApplicationsNeural Networks and ApplicationsVisual Attention and Saliency Detection

Understanding Self-attention Mechanism via Dynamical System Perspective

Open access
Huang, Zhongzhan, Liang, Mingfu, Qin, Jinghui, Zhong, Shanshan, Lin, Liang·2023·2023 IEEE/CVF International Conference on Computer Vision (ICCV)

Abstract

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.

Integrity signals

Registry

Crossref · 10.1109/iccv51070.2023.00136

Cites

67 of 67 references verified0 citation errors · 0 not checkable

Statistics

Recomputing p-values needs the paper’s full text.

Claims the paper makes

We couldn’t retrieve this paper’s full text, so its claims and self-check weren’t run. The registry and citation checks still apply.

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

  • The self-attention mechanism enables the model to compute pairwise interactions between all patch tokens, capturing both short-range and long-range dependencies, which are crucial in HAR for distinguishing activities with overlapping or variable-length motions.

    “The self-attention mechanism enables the model to compute pairwise interactions between all patch tokens, allowing it to capture both short-range and long-range dependencies which are crucial in HAR for distinguishing activities with overlapping or variable-length motions.”

Cites

Flagged first, then by citations

Cited by

Sorted by citations

Authors
Huang, Z., Liang, M., Qin, J., Zhong, S., & Lin, L.
Affiliations
  • Sun Yat-sen University (CN)
  • Northwestern University (US)
  • Guangdong University of Technology (CN)
Venue
2023 IEEE/CVF International Conference on Computer Vision (ICCV)
Publisher
IEEE
Published
2023-10-01
Pages
1412-1422
OpenAlex
W4390874069
Cited by
44
References
66
Citations by year
2026: 10 · 2025: 23 · 2024: 11
FWCI
4.71
Type
conference paper
Language
en
Open access
Locations
  • IEEE/CVF International Conference on Computer Vision (ICCV) (publishedVersion)
  • arXiv (Cornell University) (submittedVersion)
  • arXiv (Cornell University)
Funders
National Natural Science Foundation of China
Topics
  • Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Advanced Neural Network Applications
  • Physical Sciences › Computer Science › Artificial Intelligence › Neural Networks and Applications
  • Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Visual Attention and Saliency Detection
Keywords
self-attention, ResNet, stiff ordinary differential equations, adaptive step size, adaptive attention, representational ability, lottery ticket hypothesis, visual task

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review