Intrinsic and Extrinsic Organized Attention: Softmax Invariance and Network Sparsity
Not on the map. Why?
Abstract (arXiv)
We examine the intrinsic (within the attention head) and extrinsic (amongst the attention heads) structure of the self-attention mechanism in transformers. Theoretical evidence for invariance of the self-attention mechanism to softmax activation is obtained by appealing to paradifferential calculus, (and is supported by computational examples), which relies on the intrinsic organization of the attention heads. Furthermore, we use an existing methodology for hierarchical organization of tensors to examine network structure by constructing hierarchal partition trees with respect to the query, key, and head axes of network 3-tensors. Such an organization is consequential since it allows one to profitably execute common signal processing tasks on a geometry where the organized network 3-tensors exhibit regularity. We exemplify this qualitatively, by visualizing the hierarchical organization of the tree comprised of attention heads and the diffusion map embeddings, and quantitatively by investigating network sparsity with the expansion coefficients of individual attention heads and the entire network with respect to the bi and tri-haar bases (respectively) on the space of queries, keys, and heads of the network. To showcase the utility of our theoretical and methodological findings, we provide computational examples using vision and language transformers. The ramifications of these findings are two-fold: (1) a subsequent step in interpretability analysis is theoretically admitted, and can be exploited empirically for downstream interpretability tasks (2) one can use the network 3-tensor organization for empirical network applications such as model pruning (by virtue of network sparsity) and network architecture comparison.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 18 of its 39 references that are in the map. First posted on arXiv 18 Jun 2025.
Builds on
18 of 39 references.
References · 18
- 2017Attention Is All You Needcited by 60,361
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
- 2021Transformers in Vision: A Surveycited by 1,013
- 2020Efficient Transformers: A Surveycited by 790
- 2020Quantifying Attention Flow in Transformerscited by 775
- 2020A Survey on Visual Transformercited by 654
- 2020Transformer Interpretability Beyond Attention Visualizationcited by 627
- 2021Rethinking Graph Transformers with Spectral Attentioncited by 473
- 2019Are Transformers universal approximators of sequence-to-sequence functions?cited by 406
- 2021A Survey of Transformerscited by 401
6 more
- 2023Explainability for Large Language Models: A Surveycited by 333
- 2023Transformers learn to implement preconditioned gradient descent for in-context learningcited by 279
- 2022Transformers Learn Shortcuts to Automatacited by 268
- 2022Toward Transparent AI: A Survey on Interpreting the Inner Structures of Deep Neural Networkscited by 129
- 2021IA-RED2: Interpretability-Aware Redundancy Reduction for Vision Transformerscited by 127
- 2015Hierarchical Coupled Geometry Analysis for Neuronal Structure and Activity Pattern Discoverycited by 10
Built on by
Not cited yet.