Abstract
Human Pose Estimation (HPE) is increasingly important for applications like virtual reality and motion analysis, yet current methods struggle with balancing accuracy, computational efficiency, and reliable uncertainty quantification (UQ). Traditional regression-based methods assume fixed distributions, which might lead to poor UQ. Heatmap-based methods effectively model the output distribution using likelihood heatmaps, however, they demand significant resources. To address this, we propose Continuous Flow Residual Estimation (CFRE), an integration of Continuous Normalizing Flows (CNFs) into regression-based models, which allows for dynamic distribution adaptation. Through extensive experiments, we show that CFRE leads to better accuracy and uncertainty quantification with retained computational efficiency on both 2D and 3D human pose estimation tasks.
Introduction
In the world of computer vision, Human Pose Estimation (HPE)—identifying the coordinates of joints like elbows and knees—is a foundational task for everything from VR gaming to clinical motion analysis. However, most models struggle with a "pick two" dilemma: accuracy, computational efficiency, or reliable uncertainty quantification (knowing when the model is guessing).
Current HPE methods generally fall into two camps:
- Heatmap-based methods: These treat keypoint detection as a classification task over a grid. They are highly accurate but computationally expensive and memory-intensive.
- Regression-based methods: These directly predict coordinates. They are fast and efficient but usually rely on fixed distributional assumptions (like Gaussian or Laplace distributions).
The problem is that real-world data is messy. Occlusions, motion blur, and diverse postures mean that the "true" distribution of a joint's location is rarely a perfect bell curve. When a model assumes a simple distribution but the data is complex, its Uncertainty Quantification (UQ) fails. It might provide a coordinate but have no reliable way to signal that it is "unsure," which is a dealbreaker for safety-critical applications like autonomous driving or human-robot interaction.
Methods: Continuous Flow Residual Estimation (CFRE)
The core idea of CFRE is to let a regression network predict the basics (mean and scale) while using a Continuous Normalizing Flow (CNF) to learn the complex "residuals" of the distribution.
Key Innovations:
- CNFs via Neural ODEs: Unlike standard Normalizing Flows that use discrete transformation steps, CNFs use neural ordinary differential equations to transform a simple base distribution into a complex target distribution through continuous-time transformations. This allows them to capture more intricate patterns like anisotropy and sharper peaks.
- Decoupled Training Strategy: Training CNFs can be unstable. The authors propose a loss function that separates the regression task from the flow-matching task: $\mathcal{L}_{total} = \mathcal{L}_{reg} + \lambda(\hat{\sigma}) \cdot \mathcal{L}_{flow}$.
- Self-Adaptive Scaling: The weight $\lambda(\hat{\sigma})$ dynamically adjusts based on the model's predicted uncertainty. Early in training, it downweights the CNF component, allowing the regression backbone to first learn a robust "coarse" estimate before the CNF begins refining the distribution.
- Zero-Cost Inference: While the CNF is used during training to help the model learn the true data distribution, the final inference only requires the regression network. The model learns to output better parameters ($\hat{\mu}, \hat{\sigma}$) because it was trained against a more realistic distribution, but it doesn't need to run the expensive ODE solver at runtime.
Datasets and Evaluation
The authors validated their approach on two major benchmarks:
- MSCOCO (2D): A large-scale "in-the-wild" dataset with 17 keypoints per person.
- Human3.6M (3D): A standard benchmark for 3D human pose estimation in controlled environments.
Key Insights and Ideas
- The "Misalignment" Trap: The paper demonstrates that the gap between assumed distributions (Gaussian/Laplace) and the actual data distribution is a primary cause of poor UQ. By using CNFs to "bridge" this gap during training, the model becomes significantly better at ranking its own errors.
- Flow Matching > Explicit NLL: Instead of directly minimizing Negative Log-Likelihood (which requires expensive Jacobian calculations), the authors use Flow Matching. This optimizes an upper bound of the loss, making the training process much more efficient and stable.
- Qualitative Superiority: Visualizing the learned distributions shows that CFRE captures asymmetric spreads and heavier tails that standard models completely miss.
Key Results
- Accuracy: On COCO val, CFRE achieved a 75.6 mAP, outperforming other regression-based methods like RLE (75.4) and SimplePose (74.3) using the same ResNet-152 backbone.
- 3D Performance: On Human3.6M, it achieved the lowest error recorded in the study (48.2 mm MPJPE), surpassing the previous state-of-the-art regression method, RLE.
- Uncertainty Calibration: The model showed significant improvements in AUSE (Area Under Sparsification Error). This means that when you remove the samples the model is most "uncertain" about, the error drops much faster than in competing models.
- Efficiency: CFRE maintains a low computational footprint (24.9 GFLOPs), making it significantly more efficient than high-end heatmap methods like HRNet (32.9 GFLOPs) while delivering comparable accuracy.
Limitations and Future Work
While CFRE improves the parameters of the predicted distribution, the inference still ultimately relies on the regression network's output. The authors note that while the CNF helps the model learn a better Laplace-like distribution, the actual inference doesn't "sample" from the complex CNF distribution. Future work could involve extending this framework to multi-person "bottom-up" estimation or exploring if the CNF's learned distribution can be used directly in real-time for applications that require full probability density functions.
Summary updated