HCR-Net: A Hybrid of Classification and Regression Network for Object Pose Estimation

Zairan Wang, Weiming Li, Yueying Kao, Dongqing Zou, Qiang Wang, Minsu Ahn, Sunghoon Hong

Introduction

Estimating the 3D orientation of an object from a single 2D image is a fundamental challenge in computer vision, with critical applications in autonomous driving and robotics. Traditionally, researchers have approached this as either a classification or a regression problem. Classification methods discretize the rotation space into bins, providing robustness to imbalanced data but sacrificing precision. Conversely, regression methods predict continuous values for higher precision but are highly sensitive to the data imbalances common in real-world datasets like Pascal3D+.

In their IJCAI-18 paper, researchers from Samsung and SAIT-China Lab propose HCR-Net, a hybrid architecture designed to leverage the strengths of both approaches while mitigating their weaknesses.

Methodology

The core innovation of HCR-Net is its dual-branch structure that decouples pose estimation into a coarse classification task and a fine-grained regression task. The model utilizes a shared feature extraction backbone (e.g., VGG16) that feeds into two parallel branches: a Classification Network and a Regression Network.

The HCR-Net architecture featuring parallel classification and regression branches.

Hybrid Estimation Logic

By breaking the global pose space into smaller bins, the data distribution within each bin becomes more uniform. This "local homogeneity" allows the regression branch to train more effectively. The process involves two steps:

  1. Principal Orientation Classification: This branch divides the 360-degree azimuth into $N$ discrete "principal orientations" (typically 8) and predicts the most likely bin.
  2. Difference Angle Regression: Instead of predicting the global angle, this branch predicts the specific offset, or "difference angle," between the true pose and the center of the predicted principal orientation.
Illustration of the relationship between the true pose, principal orientation label, and the difference angle d.

To optimize this hybrid system, the authors introduced specialized loss functions. A Smooth Euclidean Loss is used for regression to only penalize errors for the ground-truth class, preventing interference from irrelevant bins. Additionally, a Weighted Cross Entropy Loss for classification penalizes "near misses" (adjacent bins) less severely, acknowledging the continuous nature of rotation.

Experimental Results

HCR-Net was evaluated on the Pascal3D+ benchmark, which contains 12 categories of rigid objects in diverse real-world settings. Despite using significantly less training data and augmentation than competitors—relying on approximately 60,000 samples compared to millions of synthetic images used by others—HCR-Net achieved state-of-the-art performance.

Key results include:

  • Accuracy: A ~4% improvement in $Acc_{\pi/6}$ (accuracy within 30 degrees).
  • Precision: A reduction in Median Error (MedErr) by 2.4 to 4.7 degrees.
  • Detection and Pose: A 6% improvement in Average Viewpoint Prediction (AVP) for joint detection and estimation tasks.

Conclusion

HCR-Net demonstrates that a parallel hybrid approach can effectively bridge the gap between robust classification and precise regression. By using classification to provide a stable anchor and regression for fine-tuning, the model handles imbalanced datasets with high efficiency. Future work will explore adaptive methods for learning optimal principal orientations to further refine performance across diverse object categories.

Summary updated

BibTeX
@inproceedings{wang2018hcr,
  author = {Zairan Wang and Weiming Li and Yueying Kao and Dongqing Zou and Qiang Wang and Minsu Ahn and Sunghoon Hong},
  title = {{HCR-Net: A Hybrid of Classification and Regression Network for Object Pose Estimation}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2018},
  doi = {10.24963/ijcai.2018/141},
}
Figure