Hierarchical Self-Attention: Generalizing Neural Attention Mechanics to Multi-Scale Problems
Not on the map. Why?
Abstract (arXiv)
Transformers and their attention mechanism have been revolutionary in the field of Machine Learning. While originally proposed for the language data, they quickly found their way to the image, video, graph, etc. data modalities with various signal geometries. Despite this versatility, generalizing the attention mechanism to scenarios where data is presented at different scales from potentially different modalities is not straightforward. The attempts to incorporate hierarchy and multi-modality within transformers are largely based on ad hoc heuristics, which are not seamlessly generalizable to similar problems with potentially different structures. To address this problem, in this paper, we take a fundamentally different approach: we first propose a mathematical construct to represent multi-modal, multi-scale data. We then mathematically derive the neural attention mechanics for the proposed construct from the first principle of entropy minimization. We show that the derived formulation is optimal in the sense of being the closest to the standard Softmax attention while incorporating the inductive biases originating from the hierarchical/geometric information of the problem. We further propose an efficient algorithm based on dynamic programming to compute our derived attention mechanism. By incorporating it within transformers, we show that the proposed hierarchical attention mechanism not only can be employed to train transformer models in hierarchical/multi-modal settings from scratch, but it can also be used to inject hierarchical information into classical, pre-trained transformer models post training, resulting in more efficient models in zero-shot manner.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 78 of its 100 references that are in the map. First posted on arXiv 18 Sep 2025.
Builds on
78 of 100 references.
References · 78
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
- 2016Layer Normalizationcited by 5,669
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,375
38 more
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2019A Comprehensive Survey on Graph Neural Networkscited by 2,919
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
- 2019ViLBERT: Pretraining Task-Agnostic Visiolinguistic Representations for Vision-and-Language Taskscited by 2,222
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2021Is Space-Time Attention All You Need for Video Understanding?cited by 1,620
- 2021ViViT: A Video Vision Transformercited by 1,620
- 2020Rethinking Attention with Performerscited by 1,601
- 2019Generating Long Sequences with Sparse Transformerscited by 1,546
- 2020Point Transformercited by 1,470
- 2017Deep Setscited by 1,421
- 2019VisualBERT: A Simple and Performant Baseline for Vision and Languagecited by 1,296
- 2021ViLT: Vision-and-Language Transformer Without Convolution or Region Supervisioncited by 1,230
- 2021Geometric Deep Learning: Grids, Groups, Graphs, Geodesics, and Gaugescited by 1,167
- 2017Multimodal Machine Learning: A Survey and Taxonomycited by 1,013
- 2020PCT: Point cloud transformercited by 732
- 2022Recipe for a General, Powerful, Scalable Graph Transformercited by 713
- 2021Vector-quantized Image Modeling with Improved VQGANcited by 658
- 2019Multimodal Transformer for Unaligned Multimodal Language Sequencescited by 645
- 2021AST: Audio Spectrogram Transformercited by 643
- 2022AudioLM: a Language Modeling Approach to Audio Generationcited by 616
- 2019Graph Transformer Networkscited by 523
- 2020Hopfield Networks is All You Needcited by 475
- 2022Multimodal Learning with Transformers: A Surveycited by 400
- 2020A Survey of Convolutional Neural Networks: Analysis, Applications, and Prospectscited by 397
- 2021Multi-Modal Fusion Transformer for End-to-End Autonomous Drivingcited by 377
- 2018Efficient Attention: Attention with Linear Complexitiescited by 368
- 2020Pixel-BERT: Aligning Image Pixels with Text by Deep Multi-Modal Transformerscited by 288
- 2021Video Transformer Networkcited by 272
- 2020Generalizing Convolutional Neural Networks for Equivariance to Lie Groups on Arbitrary Continuous Datacited by 248
- 2021Efficient Training of Audio Transformers with Patchoutcited by 226
- 2023Pengi: An Audio Language Model for Audio Taskscited by 220
- 2022UniFormer: Unified Transformer for Efficient Spatiotemporal Representation Learningcited by 184
- 2019Adaptively Sparse Transformerscited by 155
- 2023The emergence of clusters in self-attention dynamicscited by 140
- 2019Hierarchical Transformers for Multi-Document Summarizationcited by 132
- 2019Understanding and Improving Transformer From a Multi-Particle Dynamic System Point of Viewcited by 113
- 2022Transformer for Graphs: An Overview from Architecture Perspectivecited by 107
50 most cited of 78 All 78 (JSON)
Built on by
Citing papers per year: 2026: 1.
1 paper.