Learning Efficient Single-Stage Pedestrian Detectors by Asymptotic Localization Fitting

Wei Liu, Shengcai Liao, Weidong Hu, Xuezhi Liang, Xiao ChenECCV 2018

Abstract

While two-stage detectors like Faster R-CNN have significantly improved pedestrian detection accuracy, their computational cost remains a barrier for real-time applications. Single-stage detectors like SSD offer the necessary speed but often fail to match the accuracy of their two-stage counterparts. This paper introduces ALFNet (Asymptotic Localization Fitting Network), a single-stage architecture designed to achieve the speed of SSD with the precision of Faster R-CNN. The core of ALFNet is the Asymptotic Localization Fitting (ALF) module, which stacks multiple predictors to progressively refine anchor boxes. This approach allows for increasing IoU thresholds during training, enabling the model to learn more precise localization without suffering from a lack of positive samples. ALFNet achieves state-of-the-art performance on the CityPersons and Caltech benchmarks. Code is available at https://github.com/VideoObjectSearch/ALFNet.

The Positive-Negative Definition Dilemma

Pedestrian detection requires a delicate balance between precision and recall. Single-stage detectors typically face a "positive-negative definition dilemma." When training with a low Intersection-over-Union (IoU) threshold (e.g., 0.5), the model has plenty of positive samples but struggles with localization accuracy, often producing high-confidence false positives. Conversely, a high IoU threshold (e.g., 0.7) improves precision but results in a severe scarcity of positive training samples, making the model difficult to train effectively.

The distribution of pedestrians per image (a) and the rapid decline of positive samples as the IoU threshold increases (b).

Asymptotic Localization Fitting (ALF)

To overcome this dilemma, the authors propose Asymptotic Localization Fitting (ALF). Instead of predicting the final bounding box in a single step, ALFNet utilizes a series of stacked convolutional predictors to evolve default anchor boxes step-by-step.

Multi-step Refinement and Progressive Thresholding

The refinement process is "asymptotic" because the IoU thresholds are increased at each subsequent step. For instance, the first predictor might use a 0.5 IoU threshold to capture a broad set of initial candidates. The second predictor then takes these refined boxes and applies a stricter threshold (e.g., 0.7).

This multi-step approach creates a "hand-over" effect: early predictors act as a filter and warm-up, providing higher-quality candidates for later stages. As anchor boxes are refined and moved closer to the ground truth, the number of samples that pass even stricter IoU thresholds actually increases, solving the sample starvation problem.

Visualization of the multi-step refinement process. From step 1 to step 3, the number of positive samples (num_pos) and their mean IoU (mean_iou) significantly improve.

Efficiency through Convolution

A key advantage of ALFNet is that it remains a single-stage detector. Unlike two-stage models, it avoids computationally expensive ROI pooling. The entire refinement process is implemented using fully convolutional layers, preserving the high inference speed characteristic of single-stage pipelines.

Experimental Results

ALFNet was evaluated on the CityPersons and Caltech datasets, two of the most challenging benchmarks for pedestrian detection.

  • State-of-the-Art Accuracy: On the CityPersons "Reasonable" subset, ALFNet achieved a Miss Rate (MR) of 12.0%, surpassing previous methods like RepLoss (13.2%).
  • High Precision: The model demonstrated superior localization on the Caltech dataset, becoming the first to push the Miss Rate below 20% (achieving 18.6%) under a strict IoU=0.75 evaluation.
  • Speed and Flexibility: ALFNet maintains real-time performance, running at approximately 20 FPS on standard resolutions. It also shows flexibility across backbones; a lightweight MobileNet version of ALFNet can outperform a standard ResNet-50 detector that lacks the ALF module.

Conclusion

ALFNet successfully bridges the gap between single-stage speed and two-stage accuracy. By progressively fitting localization through stacked predictors and increasing IoU thresholds, it solves the sample starvation problem at high precision levels. While adding more than two refinement steps shows diminishing returns, the ALF module itself is architecture-agnostic and holds potential for integration into other single-stage frameworks like YOLO or FPN to further enhance their localization capabilities.

Summary updated

BibTeX
@inproceedings{liu2018learning,
  author = {Wei Liu and Shengcai Liao and Weidong Hu and Xuezhi Liang and Xiao Chen},
  title = {{Learning Efficient Single-Stage Pedestrian Detectors by Asymptotic Localization Fitting}},
  booktitle = {European Conference on Computer Vision},
  year = {2018},
  url = {https://openreview.net/forum?id=HyZ7D5-ubS},
}
Figure