In this ECCV 2018 paper, researchers from Microsoft Research present an elegant bridge between two historically competing approaches in computer vision: heat map-based detection and coordinate regression.
TL;DR
The authors introduce Integral Human Pose Regression, a technique that replaces the non-differentiable "taking-maximum" step in pose estimation with a differentiable "taking-expectation" operation. This simple change enables end-to-end training, eliminates quantization errors, and allows 3D pose models to be trained effectively using a mix of 2D and 3D data.
The Heat Map vs. Regression Dilemma
In human pose estimation, researchers usually choose one of two paths:
- Heat Map Detection: The network outputs a grid (heat map) for each joint, where each pixel represents the likelihood of a joint being there. You find the joint by picking the pixel with the maximum value. This is very accurate but has two flaws: the "pick the max" step isn't differentiable (breaking end-to-end learning), and the output is limited by the resolution of the grid (quantization error).
- Regression: The network directly predicts $(x, y)$ coordinates. This is end-to-end and continuous, but historically, it hasn't performed as well as heat maps for 2D pose tasks.
The authors tackle the "best of both worlds" challenge: How can we keep the high performance of heat maps while gaining the end-to-end differentiability and sub-pixel precision of regression?
The Integral Operation
The core innovation is the Integral Operation (also known as soft-argmax). Instead of finding the maximum likelihood point ($J_k = \text{argmax}_p H_k(p)$), the authors treat the heat map as a probability distribution. They apply a softmax to the heat map so all values are non-negative and sum to one, then calculate the expectation of the joint's position:
$$J_k = \sum_{p \in \Omega} p \cdot \tilde{H}_k(p)$$
Where $p$ is the pixel coordinate and $\tilde{H}_k(p)$ is the normalized probability at that coordinate.
Why this is clever: * Differentiable: The entire operation is a weighted sum, making it easy to backpropagate through. * Sub-pixel Accuracy: Because it's an average of positions, the result can be fractional (e.g., $15.42$) rather than being forced to an integer grid point. This solves the quantization problem. * Mixed 2D/3D Training: For 3D pose, the authors decompose the 3D integral. This allows them to supervise the $x$ and $y$ components using abundant 2D image data, while using scarce 3D data to supervise the $z$ (depth) component.
Results and Efficiency
The approach was validated on major benchmarks including Human3.6M (3D), MPII (2D), and COCO (multi-person).
Key findings include:
- High Precision: On the MPII benchmark, the method significantly improved accuracy at high-precision thresholds ([email protected]), jumping from 17.2% (standard heat map) to 29.3% (integral).
- Robustness to Resolution: Because the integral operation provides continuous coordinates, the model is much less sensitive to low-resolution heat maps. A smaller ResNet-18 model using integral regression actually outperformed a much larger ResNet-101 model using standard heat maps in several metrics.
- 3D State-of-the-Art: On Human3.6M, the model reduced the Mean Per Joint Position Error (MPJPE) to 49.6mm, a significant improvement over previous regression-based methods.
Conclusion
Integral regression isn't a new neural network architecture; it's a new head that can be plugged into almost any existing heat map-based model. By unifying detection and regression, it provides a simple, efficient, and differentiable way to achieve sub-pixel precision in both 2D and 3D human pose estimation.
Summary updated