Paper commentary
Deep High-Resolution Representation Learning for Visual Recognition
HRNet keeps high-resolution features throughout the network for vision tasks
- Problem Position-sensitive vision tasks need high-resolution features, but networks that shrink resolution in series and then recover it lose spatial precision.
- Method HRNet runs high-to-low resolution streams in parallel and repeatedly exchanges information across them. Instead of recovering resolution at the end, it keeps the full-resolution stream throughout.
- Results HRNetV1-W32 reached 73.4 AP on COCO val without ImageNet pretraining, and HRNetV2-W48 reached 81.1 mIoU on Cityscapes val.
Why recover resolution after the network has shrunk it
Classification backbones such as AlexNet, VGGNet, GoogleNet and ResNet reduce the spatial size of their feature maps step by step, so the final representation is coarse. That coarse representation suits image-level labels but loses the spatial detail that human pose estimation, semantic segmentation and object detection depend on.
The usual fix is a second stage that raises the resolution again, as in Hourglass, SegNet, DeconvNet, U-Net and SimpleBaseline, or dilated convolutions that keep resolution medium. The authors argue that this recovery route leaves the features semantically strong but spatially less precise, which motivates keeping the high-resolution features from the start.
Parallel streams and repeated fusion
HRNet starts with a single high-resolution stream and adds one lower-resolution stream at each later stage, so a stage with n streams works at n resolutions. The stem applies two stride-2 3×3 convolutions, reducing the input to one quarter of its size before the main body, and the four stages run at 1/4, 1/8, 1/16 and 1/32 resolution.
Within the stages, the streams are not fed in series. Each new stream starts from the output of the previous stage, and the streams run side by side. The exchange between streams happens in fusion modules placed repeatedly, roughly every four residual units, so information moves in both directions.
For a given output resolution, the fusion module sums transformed versions of the input representations from every resolution. Inputs at lower resolution are brought up by bilinear upsampling followed by a 1×1 convolution to match channels, while inputs at higher resolution are brought down by stride-2 3×3 convolutions, one per factor of two.
Strided convolutions are preferred to bilinear downsampling for reducing resolution, because they learn a better reduction of the representation volume.
Output heads for each task
HRNetV1 outputs only the high-resolution stream and ignores the other three representations, and it is the head used for human pose estimation. HRNetV2 brings the low-resolution representations up to the high resolution without changing their channel counts, concatenates all four, and mixes them with a 1×1 convolution; it is used for semantic segmentation.
HRNetV2p builds a feature pyramid by downsampling the high-resolution output of HRNetV2 to several levels, and it is used for object detection.
Pose estimation on COCO val
Keypoints are predicted as heatmaps, one per keypoint, and trained with mean squared error against Gaussian targets with a standard deviation of 2 pixels. Training follows a top-down pipeline in which a person detector first finds the instances, and the models are trained with the Adam optimizer from a base learning rate of 1e-3.
Relative to Hourglass, the authors report an AP gain of 6.5 points with a GFLOPs budget less than half of that of Hourglass.
At the 384×288 input size, HRNetV1-W32 reached 75.8 AP and HRNetV1-W48 reached 76.3 AP, both with ImageNet pretraining. The authors note that the gain for AP75 is larger than for AP50, which points to more precise keypoint localization rather than only better detection of people.
Semantic segmentation on Cityscapes, PASCAL-Context and LIP
Performance is reported with mIoU, the mean of class-wise intersection over union.
On Cityscapes val, under single-scale testing without flipping, HRNetV2-W40 reached 80.2 mIoU and HRNetV2-W48 reached 81.1 mIoU.
HRNetV2 was compared with HRNetV1 on Cityscapes and PASCAL-Context, and the authors report that HRNetV2 is clearly better except that the gain is minor for the large model on Cityscapes.
Object detection on COCO val
HRNetV2p is used as the feature pyramid for detectors trained on MMDetection, and the input images are resized so the shorter edge is 800 pixels. Faster R-CNN, Cascade R-CNN, FCOS and CenterNet were tested with the anchor-based and anchor-free frameworks, and Mask R-CNN, Cascade Mask R-CNN and Hybrid Task Cascade with the joint detection and segmentation frameworks.
In Faster R-CNN with a 2× learning schedule, HRNetV2p-W32 reached 40.9 AP while ResNet-101-FPN reached 39.8 AP on COCO val. Under the 1× schedule, HRNetV2p-W18 reached 36.2 AP, below the 36.7 AP of ResNet-50-FPN. The authors suggest the 1× shortfall for HRNetV2p-W18 may come from too few optimization iterations, a point they put forward as a possibility rather than a demonstrated cause.
What the fusion and resolution ablations show
With only the final fusion, pose AP was 70.8 and segmentation mIoU was 74.8; adding across-stage fusions gave 71.9 and 75.4, and adding within-stage fusions as well gave 73.4 and 76.4. These ablations were trained from scratch, so the gain from fusion is measured without ImageNet pretraining.
Replacing strided convolutions with bilinear downsampling lowered pose AP to 72.6 and segmentation mIoU to 74.2. Replacing the sum in the fusion with multiplication lowered them much further, to 54.7 AP and 66.0 mIoU, which the authors attribute to a harder training problem.
Pose estimation with the high-resolution branch alone is far below the other output resolutions; the heatmap from the lowest-resolution map has an AP below 10 points. The authors read this as evidence that resolution affects keypoint quality. A variant with all four streams added at the start and equal depth reached 72.5 AP against 73.4 for HRNetV1-W32, and 75.7 mIoU against 76.4 for HRNetV2-W48.
Limitations
The authors state that memory cost is comparable to other methods for pose estimation, segmentation and detection, except that the training memory in object detection is a little larger. The shortfall for HRNetV2p-W18 at 1× on Faster R-CNN and the overall gain of HRNetV2p-W18 at the 1× schedule over ResNet-50-FPN are the only exceptions the authors report for the detection tables.
The pose and segmentation ablations were run only on HRNetV1-W32 and HRNetV2-W48, so the gains are shown for those variants.
Paper info
- Authors
- Jingdong Wang, Ke Sun, Tianheng Cheng, Borui Jiang, Chaorui Deng, Yang Zhao, Dong Liu, Yadong Mu, Mingkui Tan, Xinggang Wang, Wenyu Liu, Bin Xiao
- Venue
- arXiv · Preprint
- First published
- 2019-8-20
- Added
- 2026-11-11
- Updated
- 2020-3-13
- Version
- v2
- arXiv
- 1908.07919
- Category
- cs.CV
- Original paper terms
- arXiv non-exclusive 1.0
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
Jingdong Wang, Ke Sun, Tianheng Cheng, Borui Jiang, Chaorui Deng, Yang Zhao, Dong Liu, Yadong Mu, Mingkui Tan, Xinggang Wang, Wenyu Liu, Bin Xiao (2019). Deep High-Resolution Representation Learning for Visual Recognition. arXiv:1908.07919v2. https://arxiv.org/abs/1908.07919v2
BibTeX
@misc{wang2019deep,
title = {{Deep High-Resolution Representation Learning for Visual Recognition}},
author = {Jingdong Wang and Ke Sun and Tianheng Cheng and Borui Jiang and Chaorui Deng and Yang Zhao and Dong Liu and Yadong Mu and Mingkui Tan and Xinggang Wang and Wenyu Liu and Bin Xiao},
year = {2019},
eprint = {1908.07919},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1908.07919v2}
}