Building Vision Transformers with Hierarchy Aware Feature Aggregation

Yongjie Chen, Hongmin Liu, Haoran Yin, Bin Fan
2/14/2026

No official code found. Best implementation: CBCZJL/Building-Vision-Transformers-with-Hierarchy-Aware-Feature-Aggregation (22 stars, MIT, last commit 2025-07-15).

Abstract

Thanks to the excellent global modeling capability of attention mechanisms, the Vision Transformer has achieved better results than ConvNet in many computer tasks. However, in generating hierarchical feature maps, the Transformer still adopts the ConvNet feature aggregation scheme. This leads to the problem that the semantic information of the grid area of image becomes confused after feature aggregation, making it difficult for attention to accurately model global relationships. To address this, we propose the Hierarchy Aware Feature Aggregation framework (HAFA). HAFA enhances the extraction of local features adaptively in shallow layers where semantic information is weak, while is able to aggregate patches with similar semantics in deep layers. The clear semantic information of the aggregated patches, enables the attention mechanism to more accurately model global information at the semantic level. Extensive experiments show that after using the HAFA framework, significant improvements have been achieved relative to the baseline models in image classification, object detection, and semantic segmentation tasks.

DOISemantic Scholar

Code Implementations(1)

MIT

ICCV23 Building Vision Transformers with Hierarchy Aware Feature Aggregation

220Shell, PythonSep 24, 20231 years agoMIT

Similar Papers

Cite this paper

@article{chen2026building,
  title  = {Building Vision Transformers with Hierarchy Aware Feature Aggregation},
  author = {Yongjie Chen and Hongmin Liu and Haoran Yin and Bin Fan},
  year   = {2026},
  doi    = {10.1109/ICCV51070.2023.00543},
  url    = {https://doi.org/10.1109/ICCV51070.2023.00543},
  journal = {ICCV 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/5bf265ae30f2f6b12b73ae1ccbf82460a0e8c885.svg)](https://codeofpaper.com/paper/5bf265ae30f2f6b12b73ae1ccbf82460a0e8c885)

Discussion