Unified CNNs and transformers underlying learning mechanism reveals multi-head attention modus vivendi
Not on the map. Why?
Abstract (arXiv)
Convolutional neural networks (CNNs) evaluate short-range correlations in input images which progress along the layers, whereas vision transformer (ViT) architectures evaluate long-range correlations, using repeated transformer encoders composed of fully connected layers. Both are designed to solve complex classification tasks but from different perspectives. This study demonstrates that CNNs and ViT architectures stem from a unified underlying learning mechanism, which quantitatively measures the single-nodal performance (SNP) of each node in feedforward (FF) and multi-head attention (MHA) sub-blocks. Each node identifies small clusters of possible output labels, with additional noise represented as labels outside these clusters. These features are progressively sharpened along the transformer encoders, enhancing the signal-to-noise ratio. This unified underlying learning mechanism leads to two main findings. First, it enables an efficient applied nodal diagonal connection (ANDC) pruning technique without affecting the accuracy. Second, based on the SNP, spontaneous symmetry breaking occurs among the MHA heads, such that each head focuses its attention on a subset of labels through cooperation among its SNPs. Consequently, each head becomes an expert in recognizing its designated labels, representing a quantitative MHA modus vivendi mechanism. This statistical mechanics inspired viewpoint enables to reveal macroscopic behavior of the entire network from the microscopic performance of each node. These results are based on a compact convolutional transformer architecture trained on the CIFAR-100 and Flowers-102 datasets and call for their extension to other architectures and applications, such as natural language processing.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 22 of its 33 references that are in the map. First posted on arXiv 22 Jan 2025.
Builds on
22 of 33 references.
References · 22
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2023GPT-4 Technical Reportcited by 18,132
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
- 2020Reformer: The Efficient Transformercited by 1,658
- 2014Deep Learning in Neural Networks: An Overviewcited by 765
- 2021Do Vision Transformers See Like Convolutional Neural Networks?cited by 671
- 2020A Survey on Visual Transformercited by 653
10 more
- 2021Transformer in Transformercited by 632
- 2019On the Relationship between Self-Attention and Convolutional Layerscited by 299
- 2021Escaping the Big Data Paradigm with Compact Transformerscited by 261
- 2023A Complete Survey on Generative AI (AIGC): Is ChatGPT from GPT-4 to GPT-5 All You Need?cited by 84
- 2016Phase transitions in Restricted Boltzmann Machines with generic priorscited by 20
- 2023Towards a universal mechanism for successful deep learningcited by 8
- 2020Brain experiments imply adaptation mechanisms which outperform common AI learning algorithmscited by 7
- 2022Learning on tree architectures outperforms a convolutional feedforward networkcited by 4
- 2023The mechanism underlying successful deep learningcited by 4
- 2024Role of Delay in Brain Dynamicscited by 1
Built on by
Citing papers per year: 2025: 5; 2026: 1.
6 papers.
- 2025Low-latency vision transformers via large-scale multi-head attentioncited by 4
- 2025Tiny language modelscited by 3
- 2025Learning Mechanism Underlying NLP Pre-Training and Fine-Tuningcited by 2
- 2025Translation Entropy: A Statistical Framework for Evaluating Translation Systemscited by 1
- 2025Self-attention vector output similarities reveal how machines pay attentioncited by 1
- 2026Single-Nodal Spontaneous Symmetry Breaking in NLP Modelscited by 0
- 2026Single-Nodal Spontaneous Symmetry Breaking in NLP Models28 Jan 2026
- 2025Self-attention vector output similarities reveal how machines pay attention26 Dec 2025
- 2025Translation Entropy: A Statistical Framework for Evaluating Translation Systems17 Nov 2025
- 2025Learning Mechanism Underlying NLP Pre-Training and Fine-Tuning3 Sep 2025
- 2025Tiny language models20 Jul 2025
- 2025Low-latency vision transformers via large-scale multi-head attention30 Jun 2025