The Fastest Deformable Part Model for Object Detection

Junjie Yan, Zhen Lei, Longyin Wen, Stan Z. Li

Introduction

In the early 2010s, the Deformable Part Model (DPM) was the gold standard for object detection. By representing objects as a "root" filter for the overall shape and several "part" filters that account for deformations, it achieved high accuracy across diverse categories. However, DPM was notoriously slow, often taking over 10 seconds to process a single image. Even with early "cascade" optimizations, reaching real-time speeds remained a significant hurdle for video and robotics applications.

This paper, a classic from CVPR 2014, introduces "The Fastest DPM," achieving a 4x speedup over previous state-of-the-art acceleration methods while maintaining detection accuracy. The authors optimized three specific bottlenecks: HOG feature extraction, root filter correlation, and part pruning.

Methods: The Triple Threat of Optimizations

The authors proposed three key innovations to bring DPM to frame-rate speeds:

1. LUT HOG (Look-Up Table)

Instead of calculating complex trigonometric functions for every pixel's gradient orientation and magnitude, the authors realized that since pixel values are limited (0-255), all possible outcomes could be pre-calculated. By replacing expensive math with simple look-up tables (LUT), HOG extraction became 6x faster.

2. Discriminative Low-Rank Root Filter

Sliding a 2D filter over an image is computationally expensive. The authors constrained the root filter to be "low-rank," allowing a complex 2D filter to be decomposed into a small number of much faster 1D filters. A proximal gradient algorithm ensured these simplified filters remained highly discriminative.

3. Neighborhood Aware Cascade

Standard cascades evaluate every potential object location independently. This paper observes that neighboring windows are highly correlated. They introduced pruning rules using "first-order" neighborhood information to skip entire regions of the image. If a location has a very low score, its immediate neighbors likely do too, allowing for much more aggressive pruning in the early stages of the model.

Pruning efficiency of the Neighborhood Aware Cascade.

Key Results

The researchers evaluated their method on major benchmarks including Pascal VOC 2007, Caltech Pedestrians, and AFW Face detection.

Speed and Efficiency

On the Pascal VOC 2007 dataset, the proposed method processed images in 0.29 seconds (roughly 3.4 FPS), compared to 1.45 seconds for the previous fastest cascade DPM. This represents a 5x improvement in total processing time, with significant reductions across all pipeline stages.

Processing time breakdown comparison.

Accuracy Benchmarks

  • Pascal VOC 2007: Achieved a mean Average Precision (mAP) of 30.4, nearly identical to the original slow DPM (30.7).
  • Pedestrian Detection: Reached 40 FPS on a 6-core CPU, outperforming the Viola-Jones detector in accuracy.
  • Face Detection: Achieved 93.7% AP on the AFW dataset, performing on par with top commercial systems while being 100x faster than the then-standard Tree Structure Model (TSM).

Conclusion

While Deep Learning has since become the dominant paradigm in object detection, the principles introduced in this paper—low-rank approximation, efficient feature look-up tables, and spatial correlation pruning—remain highly relevant for deploying efficient models on edge devices and mobile hardware. The "Fastest DPM" stands as a pinnacle of its era, bridging the gap between high-accuracy modeling and real-time performance.

Summary updated

BibTeX
@inproceedings{yan2014fastest,
  author = {Junjie Yan and Zhen Lei and Longyin Wen and Stan Z. Li},
  title = {{The Fastest Deformable Part Model for Object Detection}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2014},
  doi = {10.1109/cvpr.2014.320},
}
Figure