Uncertainty-Aware Testing-Time Optimization for 3D Human Pose Estimation

Ti Wang, Mengyuan Liu, Hong Liu, Bin Ren, Yingxuan You, Wenhao Li, Nicu Sebe, Xia Li · DOI

TL;DR

This paper introduces an "Uncertainty-Aware Testing-Time Optimization" (UAO) framework for 3D human pose estimation. It improves upon existing methods by leveraging uncertainty estimates of individual joints during a post-training optimization phase, leading to more robust and accurate 3D pose predictions, especially in challenging "in-the-wild" scenarios.

What Problem Does This Paper Address?

Estimating the 3D pose of a human from a single 2D image is a notoriously difficult problem due to inherent depth ambiguity. While data-driven deep learning methods have become dominant, they often struggle with generalizing to new domains or unseen environments (the "domain gap"). Traditional optimization-based methods can fine-tune for specific cases but are generally less performant overall. Existing optimization approaches often rely on a "projection constraint" to align predicted 3D poses with their 2D counterparts. However, this constraint alone can lead to overfitting, where the optimization process pushes the pose away from the ground truth, especially when dealing with the inherent ambiguity of 3D pose from 2D input. This paper aims to bridge this gap by combining the strengths of data-driven and optimization-based methods, specifically by using uncertainty to guide the optimization process and prevent overfitting.

Methods

The core of the proposed solution is the Uncertainty-Aware Testing-Time Optimization (UAO) framework.

  1. Training Phase (GUMLP Network):
    • A novel 2D-to-3D lifting network called GUMLP is designed.
  2. This network uses a combination of Graph Convolutional Networks (GCNs) for skeletal structure understanding and a parallel U-shaped multi-layer perception (UMLP) module to capture multi-level and multi-scale features.
  3. Crucially, GUMLP is trained not only to predict the 3D pose but also to estimate the uncertainty associated with each 3D joint. This is achieved by reformulating the network as a Bayesian Neural Network that predicts a Gaussian distribution (mean and variance) for each joint.
  4. Testing-Time Optimization (UAO Framework):
    • During inference, the pre-trained GUMLP model's parameters are frozen. This preserves the learned prior knowledge from the training data.
  5. Instead of optimizing the entire network, UAO optimizes a latent state (initialized from the input 2D pose). This significantly reduces the number of parameters to optimize, making it more efficient.
  6. Two key constraints are applied during this optimization:
  7. Projection Constraint: Ensures the optimized 3D pose, when projected back to 2D, aligns with the input 2D pose. This is a standard technique but can lead to overfitting.
  8. Uncertainty Constraint: This is the novel contribution. It uses the predicted uncertainty of each joint to control how much that joint is allowed to deviate from its initial position. Joints with high uncertainty have more freedom to be optimized, while joints with low uncertainty are kept closer to their initial estimates. This prevents overfitting and guides the optimization towards more plausible 3D poses.

Datasets

The proposed method was evaluated on several standard datasets:

  • Human3.6M: A large-scale benchmark dataset for 3D human pose estimation, containing indoor sequences with multiple actors and actions.
  • MPI-INF-3DHP: A more challenging dataset that includes both indoor and outdoor scenes, offering greater pose diversity.
  • 3DPW: A "in-the-wild" dataset captured with handheld cameras and IMUs, representing real-world scenarios with complex backgrounds and potential occlusions.

The paper also mentions training on Human3.6M and testing on 3DPW to evaluate cross-domain generalization.

Key Insights and Ideas

  • Uncertainty as a Regularizer: The core insight is that joint uncertainty, estimated during training, can act as a powerful regularizer during testing-time optimization. By allowing high-uncertainty joints more freedom and constraining low-uncertainty joints, the optimization process is steered away from unrealistic poses.
  • Optimizing Latent State, Not the Whole Network: Freezing the pre-trained network and optimizing only a latent state is a key efficiency gain. It preserves learned priors while enabling fine-tuning for specific inputs without the computational burden of updating all network weights.
  • Projection Constraint Limitations: The paper clearly demonstrates that relying solely on the projection constraint can lead to suboptimal results and even deviations from the ground truth due to depth ambiguity. The uncertainty constraint is shown to be crucial for mitigating this.
  • Generalization Benefits: The UAO framework not only improves accuracy on the training domain but also significantly enhances generalization to unseen camera views and challenging "in-the-wild" scenarios.

Key Results

  • Human3.6M: The UAO framework achieved state-of-the-art results, outperforming the previous best result by a large margin of 5.5% in MPJPE (Mean Per-Joint Position Error) on Human3.6M.
  • MPI-INF-3DHP: GUMLP (the baseline network) achieved the best results across all scenes and metrics, with UAO further improving performance.
  • 3DPW: UAO improved MPJPE by 6.7mm on this challenging outdoor dataset.
  • Inference Speed: The UAO framework achieved significantly faster inference speeds (48 fps) compared to other optimization methods, and an optimized version (UAO*) reached up to 125 fps, while still maintaining high accuracy.

Limitations and Future Work

  • Initialization Sensitivity: The paper notes that the performance of the optimization process is sensitive to the initialization prior. While their method uses the 2D pose as initialization, they suggest that better initialization strategies could further improve results.
  • Occlusion Handling: While the UAO framework performs well even with occluded body parts, it is not explicitly designed for occlusion. Future work could explore specialized mechanisms for handling occlusions more robustly.
  • Computational Cost: Although UAO is faster than many optimization methods, it is still more computationally intensive than purely data-driven approaches. Further optimizations for speed could be explored.

Summary updated

BibTeX
@misc{wang2024uncertainty,
  author = {Ti Wang and Mengyuan Liu and Hong Liu and Bin Ren and Yingxuan You and Wenhao Li and Nicu Sebe and Xia Li},
  title = {{Uncertainty-Aware Testing-Time Optimization for 3D Human Pose Estimation}},
  year = {2024},
  eprint = {2402.02339},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.02339},
}
Figure