Weakly-supervised Pre-training for 3D Human Pose Estimation via Perspective Knowledge

Zhongwei Qiu, Kai Qiu, Jianlong Fu, Dongmei FuPattern Recognition 2022 · DOI

Abstract

Modern deep learning-based 3D pose estimation approaches require plenty of 3D pose annotations. However, existing 3D datasets lack diversity, which limits the performance of current methods and their generalization ability. Although existing methods utilize 2D pose annotations to help 3D pose estimation, they mainly focus on extracting 2D structural constraints from 2D poses, ignoring the 3D information hidden in the images. In this paper, we propose a novel method to extract weak 3D information directly from 2D images without 3D pose supervision. Firstly, we utilize 2D pose annotations and perspective prior knowledge to generate the relationship of that keypoint is closer or farther from the camera, called relative depth. We collect a 2D pose dataset (MCPC) and generate relative depth labels. Based on MCPC, we propose a weakly-supervised pre-training (WSP) strategy to distinguish the depth relationship between two points in an image. WSP enables the learning of the relative depth of two keypoints on lots of in-the-wild images, which is more capable of predicting depth and generalization ability for 3D human pose estimation. After fine-tuning on 3D pose datasets, WSP achieves state-of-the-art results on two widely-used benchmarks.

Introduction

3D human pose estimation (HPE) aims to predict the (X, Y, Z) coordinates of human joints from a single 2D image. Despite significant progress, the field faces two major hurdles: Data Scarcity and the Generalization Gap. High-quality 3D labels require expensive Motion Capture (MoCap) systems, typically restricted to indoor labs, leading to datasets with limited diversity. Consequently, models trained on these "sterile" environments often fail when applied to "in-the-wild" images found in 2D datasets like COCO.

While many researchers bridge this gap by mixing 2D and 3D data, they often treat 2D images only as structural constraints (X, Y), ignoring the "weak" 3D information—like depth—hidden in plain sight. This paper addresses these issues by leveraging "perspective knowledge"—the simple geometric rule that objects lower in an image's Y-axis are typically closer to the camera.

Methods: Weakly-supervised Pre-training (WSP)

The authors propose Weakly-supervised Pre-training (WSP), which teaches a network to understand depth before it ever sees a 3D coordinate.

Overview of the WSP strategy and the perspective effect used for relative depth labeling.

Perspective Prior and Relative Depth

The core idea is the "foreshortening effect." Assuming a camera is at a horizontal angle, a person standing on the ground whose ankles are lower in the image (higher Y-value in image coordinates) is likely closer to the camera. Using this prior, the authors automatically generate labels for 2D images. If Person A’s ankles are lower than Person B’s, the model is supervised to learn that $Z(A) < Z(B)$.

WSP Architecture and Training

The network consists of a ResNet backbone, a 2D heatmap head, and a relative depth head. During pre-training, the model takes an image patch containing two people and predicts which one is closer. This process uses the MCPC (Multi-person Closer-Farther Comparison) dataset, curated from ~53k images (220k instances) from existing 2D datasets (MPII, COCO, PoseTrack, and CrowdPose). After learning this "weak 3D representation," the model is fine-tuned on standard 3D datasets like Human3.6M to regress absolute coordinates.

Key Results

The WSP approach achieves state-of-the-art results by specifically targeting the depth prediction bottleneck:

  • Significant Error Reduction: On Human3.6M, WSP achieved an average error (MPJPE) of 43.2mm.
  • Depth Accuracy: Compared to a baseline without WSP, the error in the Z-axis (depth) dropped from 50.2mm to 40.2mm—a 20% improvement.
  • Cross-Dataset Generalization: When tested on unseen poses (Cross-Action Protocol), WSP outperformed previous methods by 7.4mm, proving the robustness of relative depth pre-training.
  • Real-World Performance: Qualitative results on COCO show the model successfully estimating 3D poses in complex, "in-the-wild" scenes where traditional MoCap-trained models struggle.

Conclusion

WSP demonstrates that the vertical position of a person's feet is a surprisingly reliable indicator of distance in natural photos. While the method assumes a roughly horizontal camera angle and flat ground, the sheer volume of data in the MCPC dataset allows the model to treat outliers as noise and learn a robust general representation of depth. Future work may explore more complex perspective priors that do not rely solely on ground-contact points or extend the method to single-person depth cues.

Summary updated

BibTeX
@article{qiu2022weakly,
  author = {Zhongwei Qiu and Kai Qiu and Jianlong Fu and Dongmei Fu},
  title = {{Weakly-supervised Pre-training for 3D Human Pose Estimation via Perspective Knowledge}},
  journal = {Pattern Recognition},
  year = {2022},
  doi = {10.1016/j.patcog.2023.109497},
}
Figure