HRDNet: High-resolution Detection Network for Small Objects

Ziming Liu, Guangyu Gao, Lin Sun, Zhiyuan Fang

Abstract

Small object detection remains a significant challenge in computer vision due to the loss of fine-grained spatial details in deep convolutional neural networks. While increasing input resolution can mitigate this, it often leads to prohibitive computational costs and can paradoxically degrade the detection of larger objects. This paper introduces HRDNet (High-Resolution Detection Network), an architecture designed to leverage high-resolution images efficiently. HRDNet employs a Multi-Depth Image Pyramid Network (MD-IPN) that feeds varying image resolutions into backbones of corresponding depths—shallow for high-resolution and deep for low-resolution. A Multi-Scale Feature Pyramid Network (MS-FPN) then fuses these multi-scale features to enhance semantic representation. HRDNet achieves state-of-the-art performance on the VisDrone2019 and MS COCO datasets, particularly in small object detection, while maintaining a manageable computational footprint.

Introduction

Object detection has seen massive strides, yet small objects continue to be a "blind spot" for standard models. As images pass through deep Convolutional Neural Networks (CNNs), repeated pooling and strided convolutions reduce spatial resolution, causing small objects to effectively vanish from the feature maps used for prediction.

The intuitive solution—increasing input resolution—is fraught with difficulties. First, the computational cost grows quadratically with image dimensions, making deep backbones like ResNet-101 impractical for 2K or 4K inputs. Second, the authors identify a "scale variance" issue: simply upscaling images can actually hurt the performance on large object categories (e.g., buses or trucks) by increasing the range of scales the network must generalize across. HRDNet addresses these issues by balancing resolution and depth across multiple processing streams.

The HRDNet Architecture

HRDNet is designed as a flexible backbone replacement for existing detection frameworks. Its core innovation lies in two components:

Multi-Depth Image Pyramid Network (MD-IPN)

Instead of a single high-resolution pass, HRDNet constructs an image pyramid (e.g., $I_0$ at 1x, $I_1$ at 0.5x, $I_2$ at 0.25x). Crucially, it assigns different backbone depths to these resolutions. The highest-resolution stream uses a shallow, lightweight network (like ResNet-18) to preserve spatial detail without excessive compute. Lower-resolution streams use deeper networks (like ResNet-101) to extract rich semantic information.

Overview of the HRDNet architecture showing MD-IPN and MS-FPN components.

Multi-Scale Feature Pyramid Network (MS-FPN)

Standard Feature Pyramid Networks (FPNs) operate within a single resolution hierarchy. MS-FPN, however, aligns and fuses features across the different streams. It propagates semantic information from the deep/low-res streams into the shallow/high-res streams. This ensures that the high-resolution features, which are spatially precise but semantically weak, receive the necessary context for accurate classification.

Detailed view of the Multi-Scale Feature Pyramid Network (MS-FPN) showing cross-stream feature fusion.

Experimental Results

The authors evaluated HRDNet on several benchmarks, focusing on its ability to handle small objects without losing performance on larger ones.

  • VisDrone2019: This drone-captured dataset is characterized by extremely small objects. HRDNet achieved a state-of-the-art 35.51 AP, outperforming previous leaders by over 3.0% AP.
  • MS COCO2017: On this general benchmark, HRDNet reached 47.4 AP. Most notably, it showed a >4.9% improvement in the $AP_{small}$ metric compared to contemporary models.
  • Pascal VOC: To ensure the model doesn't over-specialize, it was tested on Pascal VOC, achieving 83.4 mAP, confirming its robustness across object scales.

Key Insights

  • Depth-Resolution Synergy: Pairing shallow networks with high-res images and deep networks with low-res images provides an optimal balance between spatial acuity and semantic depth.
  • Superiority over Ensembles: HRDNet outperforms a naive ensemble of separate high-res and low-res models, proving that the cross-stream fusion in MS-FPN creates more powerful integrated representations.
  • Efficiency: A two-stream configuration (ResNet18+101) provides a superior speed/accuracy trade-off compared to monolithic deep backbones on high-resolution inputs.

Conclusion

HRDNet provides a principled approach to the high-resolution detection problem. By decoupling depth and resolution and then re-integrating them through multi-scale fusion, it sets a new standard for small object detection. Future work may explore its application as a universal backbone for a wider variety of vision tasks where scale variance is a primary concern.

Summary updated

BibTeX
@inproceedings{liu2021hrdnet,
  author = {Ziming Liu and Guangyu Gao and Lin Sun and Zhiyuan Fang},
  title = {{HRDNet: High-resolution Detection Network for Small Objects}},
  booktitle = {ICME},
  year = {2021},
  doi = {10.1109/icme51207.2021.9428241},
}
Figure