mlsanityData to 7 Oct 2026

HAFormer: Unleashing the Power of Hierarchy-Aware Features for Lightweight Semantic Segmentation

arXiv 2407.07441 ↗First posted 10 Jul 2024cs.CVcited by 5

Not on the map. Why?

Abstract (arXiv)

Both Convolutional Neural Networks (CNNs) and Transformers have shown great success in semantic segmentation tasks. Efforts have been made to integrate CNNs with Transformer models to capture both local and global context interactions. However, there is still room for enhancement, particularly when considering constraints on computational resources. In this paper, we introduce HAFormer, a model that combines the hierarchical features extraction ability of CNNs with the global dependency modeling capability of Transformers to tackle lightweight semantic segmentation challenges. Specifically, we design a Hierarchy-Aware Pixel-Excitation (HAPE) module for adaptive multi-scale local feature extraction. During the global perception modeling, we devise an Efficient Transformer (ET) module streamlining the quadratic calculations associated with traditional Transformers. Moreover, a correlation-weighted Fusion (cwF) module selectively merges diverse feature representations, significantly enhancing predictive accuracy. HAFormer achieves high performance with minimal computational overhead and compact model size, achieving 74.2% mIoU on Cityscapes and 71.1% mIoU on CamVid test datasets, with frame rates of 105FPS and 118FPS on a single 2080Ti GPU. The source codes are available at https://github.com/XU-GITHUB-curry/HAFormer.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 50 of its 71 references that are in the map. First posted on arXiv 10 Jul 2024.

Builds on

50 of 71 references.

References · 50

  1. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  2. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  3. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
  4. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  5. 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,427
  6. 2016DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFscited by 3,239
  7. 2018Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentationcited by 3,210
  8. 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,923
  9. 2016Pyramid Scene Parsing Networkcited by 2,472
  10. 2018CBAM: Convolutional Block Attention Modulecited by 2,463
  11. 2017Non-local Neural Networkscited by 2,290
  12. 2015SegNet: A Deep Convolutional Encoder-Decoder Architecture for Image Segmentationcited by 1,483
38 more
  1. 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,368
  2. 2022Planning-oriented Autonomous Drivingcited by 1,068
  3. 2018Dual Attention Network for Scene Segmentationcited by 1,001
  4. 2021UNETR: Transformers for 3D Medical Image Segmentationcited by 954
  5. 2021CvT: Introducing Convolutions to Vision Transformerscited by 946
  6. 2021PVT v2: Improved Baselines with Pyramid Vision Transformercited by 749
  7. 2018CCNet: Criss-Cross Attention for Semantic Segmentationcited by 717
  8. 2021Do Vision Transformers See Like Convolutional Neural Networks?cited by 671
  9. 2021MViTv2: Improved Multiscale Vision Transformers for Classification and Detectioncited by 516
  10. 2019Selective Kernel Networkscited by 401
  11. 2020BiSeNet V2: Bilateral Network with Guided Aggregation for Real-time Semantic Segmentationcited by 294
  12. 2016ENet: A Deep Neural Network Architecture for Real-Time Semantic Segmentationcited by 291
  13. 2017ICNet for Real-Time Semantic Segmentation on High-Resolution Imagescited by 261
  14. 2021UCTransNet: Rethinking the Skip Connections in U-Net from a Channel-wise Perspective with Transformercited by 197
  15. 2019Asymmetric Non-local Neural Networks for Semantic Segmentationcited by 196
  16. 2021Transformer for Single Image Super-Resolutioncited by 150
  17. 2021CrossFormer: A Versatile Vision Transformer Hinging on Cross-scale Attentioncited by 139
  18. 2018ESPNet: Efficient Spatial Pyramid of Dilated Convolutions for Semantic Segmentationcited by 133
  19. 2022FacT: Factor-Tuning for Lightweight Adaptation on Vision Transformercited by 133
  20. 2021MPViT: Multi-Path Vision Transformer for Dense Predictioncited by 122
  21. 2019DFANet: Deep Feature Aggregation for Real-Time Semantic Segmentationcited by 100
  22. 2018CGNet: A Light-weight Context Guided Network for Semantic Segmentationcited by 94
  23. 2022HiFormer: Hierarchical Multi-scale Representations Using Transformers for Medical Image Segmentationcited by 94
  24. 2021Multi-Scale High-Resolution Vision Transformer for Semantic Segmentationcited by 92
  25. 2022Deep Hierarchical Semantic Segmentationcited by 84
  26. 2022TopFormer: Token Pyramid Transformer for Mobile Semantic Segmentationcited by 82
  27. 2019LEDNet: A Lightweight Encoder-Decoder Network for Real-Time Semantic Segmentationcited by 50
  28. 2019DABNet: Depth-wise Asymmetric Bottleneck for Real-time Semantic Segmentationcited by 45
  29. 2022D-Former: A U-shaped Dilated Transformer for 3D Medical Image Segmentationcited by 35
  30. 2022Lawin Transformer: Improving Semantic Segmentation Transformer with Multi-Scale Representations via Large Window Attentioncited by 30
  31. 2022Dual Vision Transformercited by 29
  32. 2022CTCNet: A CNN-Transformer Cooperation Network for Face Image Super-Resolutioncited by 19
  33. 2021FBSNet: A Fast Bilateral Symmetrical Network for Real-Time Semantic Segmentationcited by 17
  34. 2023Denoising Diffusion Semantic Segmentation with Mask Prior Modelingcited by 15
  35. 2021MSCFNet: A Lightweight Network With Multi-Scale Context Fusion for Real-Time Semantic Segmentationcited by 14
  36. 2019Feature Pyramid Encoding Network for Real-time Semantic Segmentationcited by 13
  37. 2023Lightweight Real-time Semantic Segmentation Network with Efficient Transformer and CNNcited by 12
  38. 2020Real-time Semantic Segmentation via Spatial-detail Guided Context Propagationcited by 7

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 2; 2026: 3.

5 papers.