English

HRFormer: High-Resolution Transformer for Dense Prediction

Computer Vision and Pattern Recognition 2021-11-09 v3

Abstract

We present a High-Resolution Transformer (HRFormer) that learns high-resolution representations for dense prediction tasks, in contrast to the original Vision Transformer that produces low-resolution representations and has high memory and computational cost. We take advantage of the multi-resolution parallel design introduced in high-resolution convolutional networks (HRNet), along with local-window self-attention that performs self-attention over small non-overlapping image windows, for improving the memory and computation efficiency. In addition, we introduce a convolution into the FFN to exchange information across the disconnected image windows. We demonstrate the effectiveness of the High-Resolution Transformer on both human pose estimation and semantic segmentation tasks, e.g., HRFormer outperforms Swin transformer by 1.31.3 AP on COCO pose estimation with 50%50\% fewer parameters and 30%30\% fewer FLOPs. Code is available at: https://github.com/HRNet/HRFormer.

Keywords

Cite

@article{arxiv.2110.09408,
  title  = {HRFormer: High-Resolution Transformer for Dense Prediction},
  author = {Yuhui Yuan and Rao Fu and Lang Huang and Weihong Lin and Chao Zhang and Xilin Chen and Jingdong Wang},
  journal= {arXiv preprint arXiv:2110.09408},
  year   = {2021}
}

Comments

Accepted at NeurIPS 2021

R2 v1 2026-06-24T06:58:51.903Z