PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
April 19, 2024Deleted Journal60 citationsOpen Access

Vision Transformers with Hierarchical Attention

View Full Paper
YLYun LiuYWYu-Huan WuGSGuolei Sun

Key Points

  • Hierarchical multi-head self-attention reduces computational load while preserving fine-grained token representations, enabling efficient scene understanding.
  • Evaluation using the HAT-Net architecture models local relationships across small patches and aggregates global dependencies across merged tokens.
  • Validation on image classification, semantic segmentation, object detection, and instance segmentation highlights broad visual modeling capability.

Abstract

Abstract This paper tackles the high computational/space complexity associated with multi-head self-attention (MHSA) in vanilla vision transformers. To this end, we propose hierarchical MHSA (H-MHSA), a novel approach that computes sell-attention in a hierarchical fashion. Specifically, we first divide the input image into patches as commonly done, and each patch is viewed as a token. Then, the proposed H-MHSA learns token relationships within local patches, serving as local relationship modeling. Then, the small patches are merged into larger ones, and H-MHSA models the global dependencies for the small number of the merged tokens. At last, the local and global attentive features are aggregated to obtain features with powerful representation capacity. Since we only calculate attention for a limited number of tokens at each step, the computational load is reduced dramatically. Hence, H-MHSA can efficiently model global relationships among tokens without sacrificing fine-grained information. With the H-MHSA module incorporated, we build a family of hierarchical-attention-based transformer networks, namely HAT-Net. To demonstrate the superiority of HAT-Net in scene understanding, we conduct extensive experiments on fundamental vision tasks, including image classification, semantic segmentation, object detection and instance segmentation. Therefore, HAT-Net provides a new perspective for vision transformers. Code and pretrained models are available at https://github.com/yun-liu/HAT-Net .

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Liu et al. (2024) studied this question.

synapsesocial.com/papers/68e6e657b6db64358766136dhttps://doi.org/10.1007/s11633-024-1393-8
Ask AI
Helpful
Bookmark
Share
View Full Paper

Also Consider

Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context:

  1. 1Hierarchical Self-Attention: Generalizing Neural Attention Mechanics to Multi-Scale Problems2025
  2. 2DuoFormer: Leveraging Hierarchical Representations by Local and Global Attention Vision Transformer2025
  3. 3Hyperspectral Image Classification Using Group-Aware Hierarchical Transformer2022 · 368 citations
  4. 4Hybrid attention optimized hierarchical multiscale transformer architecture for image super-resolution2026
  5. 5HMANet: Hybrid Multi-Axis Aggregation Network for Image Super-Resolution2024