NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Removing the Bias of Integral Pose Regression

Kerui Gu, Linlin Yang, Angela YaoICCV 2021

Abstract

Heatmap-based detection methods are dominant for 2D human pose estimation even though regression is more intuitive. The introduction of the integral regression method, which, architecture-wise uses an implicit heatmap, brings the two approaches even closer together. This begs the question – does detection really outperform regression? In this paper, we investigate the difference in supervision between the heatmap-based detection and integral regression, as this is the key remaining difference between the two approaches. In the process, we discover an underlying bias behind integral pose regression that arises from taking the expectation after the softmax function. To counter the bias, we present a compensation method which we find to improve integral regression accuracy on all 2D pose estimation benchmarks. We further propose a simple combined detection and bias-compensated regression method that considerably outperforms state-of-the-art baselines with few added components.

The Challenge of Integral Regression

In 2D human pose estimation, researchers typically choose between two paths: detection (predicting a heatmap where each pixel represents the likelihood of a joint) and regression (directly predicting x, y coordinates). Recently, "integral regression" (or soft-argmax) has become popular because it combines the best of both worlds: it uses a heatmap internally but remains fully differentiable, allowing for end-to-end training. However, integral regression is notoriously slow to converge and often lags behind detection-based methods in accuracy.

The authors of this paper discovered a "hidden" reason for this performance gap: Bias. Because the softmax function used in integral regression assigns a non-zero probability to every single pixel in a heatmap—even those far away from the actual joint—the final "expected" coordinate is mathematically dragged toward the center of the heatmap. The further a joint is from the center, the worse this "gravitational pull" becomes.

Visualization of the systematic bias in integral regression. The white square represents the predicted coordinate, which is pulled toward the center of the heatmap relative to the ground truth (colored blob). The quadrants $\Omega_i$ are used in the proposed compensation method.

Proposed Methodology

The paper introduces two main innovations to fix integral regression:

  1. Bias Compensation: The authors mathematically derive the relationship between the biased predicted location and the true location. They propose a compensation formula that "pushes" the predicted joint back to its rightful place. This is done by partitioning the heatmap into regions (as seen in the quadrants of Figure 1) and calculating a scaling factor and offset based on the softmax normalizing constant.
  2. Joint Training Framework: To solve the slow convergence problem, the authors propose a two-stage loss function. In the early stages of training, they use a standard heatmap-based MSE loss (detection loss) to provide "dense supervision" and help the network learn spatial structures quickly. Later in training, they transition to their bias-compensated regression loss to achieve sub-pixel accuracy.

Key Insights: The Softmax Trap and Hard Scenarios

A critical insight is the "Softmax Trap." We often think of softmax as "picking" the best pixel, but mathematically, it's a weighted average of all pixels. Even "zero-valued" pixels contribute a tiny bit of weight, and because there are so many of them, they collectively act like an anchor pulling the result toward the center.

The bias is controlled by a smoothing parameter, $\beta$. A high $\beta$ reduces bias but makes the gradients "vanish," making the model impossible to train. The authors' compensation method allows for a moderate $\beta$ (they found 10 to be optimal) that stays trainable while still being accurate. Furthermore, the research reveals that while detection-based methods win on average, regression actually performs better in "hard" scenarios—such as when joints are heavily occluded.

Performance comparison across different levels of joint occlusion and visibility. The proposed bias-compensated method (S) shows significant improvements over standard integral regression (R) and remains competitive with detection (D) in challenging scenarios.

Experimental Results

The authors evaluated their approach on three widely recognized benchmarks: MS COCO, MPII, and the Rendered Hand Dataset (RHD). The proposed method consistently outperformed baseline models:

  • MS COCO: On the validation set, adding the bias compensation to a ResNet-101 backbone improved the Average Precision (AP) by 1.9 points. Using an HRNet-W48 backbone, the method achieved 76.1 AP on the COCO test-dev set, surpassing previous top-tier models.
  • Efficiency: The joint framework allowed the regression model to approach the fast training speeds of detection-based methods, which was previously a major bottleneck.

Conclusion and Future Work

While the method is robust, the mathematical derivation for bias compensation assumes the joint's probability distribution is relatively well-localized. If the heatmap is extremely noisy, the compensation might be less effective. Future work includes explicitly extending this bias-removal logic to 3D volumetric heatmaps, building on the success seen in the RHD hand dataset.

Summary updated

BibTeX
@inproceedings{gu2021removing,
  author = {Kerui Gu and Linlin Yang and Angela Yao},
  title = {{Removing the Bias of Integral Pose Regression}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2021},
  url = {https://openreview.net/forum?id=_bqhoDNA07C},
}

Loading related content...

Figure