Light-Head R-CNN: In Defense of Two-Stage Object Detector
Zeming Li, Chao Peng, Gang Yu, Xiangyu Zhang, Yangdong Deng, Jian Sun
TL;DR
The paper addresses the speed-accuracy conflict in two-stage object detectors by proposing Light-Head R-CNN, which replaces heavy RoI heads with thin feature maps produced by large-kernel separable convolutions and a lightweight R-CNN subnetwork. This design enables fast per-RoI predictions while preserving high localization and classification performance across backbones, including ResNet-101 and a compact Xception-like network. On COCO, it achieves a single-scale mmAP of around 40.8% and up to 41.5% with multi-scale training, surpassing many single-stage and traditional two-stage detectors, and reaches 102 FPS with a tiny backbone. The work demonstrates that a lighter head can unlock both speed and accuracy for two-stage detectors, offering practical deployment advantages and suggesting further optimizations via RoI pooling refinements and backbone scaling.
Abstract
In this paper, we first investigate why typical two-stage methods are not as fast as single-stage, fast detectors like YOLO and SSD. We find that Faster R-CNN and R-FCN perform an intensive computation after or before RoI warping. Faster R-CNN involves two fully connected layers for RoI recognition, while R-FCN produces a large score maps. Thus, the speed of these networks is slow due to the heavy-head design in the architecture. Even if we significantly reduce the base model, the computation cost cannot be largely decreased accordingly. We propose a new two-stage detector, Light-Head R-CNN, to address the shortcoming in current two-stage approaches. In our design, we make the head of network as light as possible, by using a thin feature map and a cheap R-CNN subnet (pooling and single fully-connected layer). Our ResNet-101 based light-head R-CNN outperforms state-of-art object detectors on COCO while keeping time efficiency. More importantly, simply replacing the backbone with a tiny network (e.g, Xception), our Light-Head R-CNN gets 30.7 mmAP at 102 FPS on COCO, significantly outperforming the single-stage, fast detectors like YOLO and SSD on both speed and accuracy. Code will be made publicly available.
