mlsanityData to 14 Oct 2026

Hierarchical Self-Attention: Generalizing Neural Attention Mechanics to Multi-Scale Problems

arXiv 2509.15448 ↗First posted 18 Sep 2025cs.LG cs.AI cs.NEcited by 1

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  5. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  6. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  7. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  8. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
  9. 2016Layer Normalizationcited by 5,669
  10. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  11. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
  12. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,375
38 more
  1. 2020Longformer: The Long-Document Transformercited by 3,413
  2. 2019A Comprehensive Survey on Graph Neural Networkscited by 2,919
  3. 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
  4. 2019ViLBERT: Pretraining Task-Agnostic Visiolinguistic Representations for Vision-and-Language Taskscited by 2,222
  5. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  6. 2021Is Space-Time Attention All You Need for Video Understanding?cited by 1,620
  7. 2021ViViT: A Video Vision Transformercited by 1,620
  8. 2020Rethinking Attention with Performerscited by 1,601
  9. 2019Generating Long Sequences with Sparse Transformerscited by 1,546
  10. 2020Point Transformercited by 1,470
  11. 2017Deep Setscited by 1,421
  12. 2019VisualBERT: A Simple and Performant Baseline for Vision and Languagecited by 1,296
  13. 2021ViLT: Vision-and-Language Transformer Without Convolution or Region Supervisioncited by 1,230
  14. 2021Geometric Deep Learning: Grids, Groups, Graphs, Geodesics, and Gaugescited by 1,167
  15. 2017Multimodal Machine Learning: A Survey and Taxonomycited by 1,013
  16. 2020PCT: Point cloud transformercited by 732
  17. 2022Recipe for a General, Powerful, Scalable Graph Transformercited by 713
  18. 2021Vector-quantized Image Modeling with Improved VQGANcited by 658
  19. 2019Multimodal Transformer for Unaligned Multimodal Language Sequencescited by 645
  20. 2021AST: Audio Spectrogram Transformercited by 643
  21. 2022AudioLM: a Language Modeling Approach to Audio Generationcited by 616
  22. 2019Graph Transformer Networkscited by 523
  23. 2020Hopfield Networks is All You Needcited by 475
  24. 2022Multimodal Learning with Transformers: A Surveycited by 400
  25. 2020A Survey of Convolutional Neural Networks: Analysis, Applications, and Prospectscited by 397
  26. 2021Multi-Modal Fusion Transformer for End-to-End Autonomous Drivingcited by 377
  27. 2018Efficient Attention: Attention with Linear Complexitiescited by 368
  28. 2020Pixel-BERT: Aligning Image Pixels with Text by Deep Multi-Modal Transformerscited by 288
  29. 2021Video Transformer Networkcited by 272
  30. 2020Generalizing Convolutional Neural Networks for Equivariance to Lie Groups on Arbitrary Continuous Datacited by 248
  31. 2021Efficient Training of Audio Transformers with Patchoutcited by 226
  32. 2023Pengi: An Audio Language Model for Audio Taskscited by 220
  33. 2022UniFormer: Unified Transformer for Efficient Spatiotemporal Representation Learningcited by 184
  34. 2019Adaptively Sparse Transformerscited by 155
  35. 2023The emergence of clusters in self-attention dynamicscited by 140
  36. 2019Hierarchical Transformers for Multi-Document Summarizationcited by 132
  37. 2019Understanding and Improving Transformer From a Multi-Particle Dynamic System Point of Viewcited by 113
  38. 2022Transformer for Graphs: An Overview from Architecture Perspectivecited by 107

50 most cited of 78 All 78 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.