Human Pose Estimation (HPE) is a foundational task in computer vision, enabling applications in healthcare, virtual reality, and human-computer interaction. While synthetic data generated from game engines provides abundant labeled training samples, models trained on such data often suffer from a significant "domain gap" when applied to real-world images. Traditional Unsupervised Domain Adaptation (UDA) mitigates this by using both source and target data. However, in many real-world scenarios, the source dataset is unavailable due to privacy concerns or intellectual property restrictions. This paper, presented at ICCV 2023, introduces a novel framework for Source-free Domain Adaptive Human Pose Estimation (SFDAHPE).
The Challenge: Sparsity in Heatmaps
Unlike image classification, where models output a probability distribution over discrete categories, HPE models typically predict 2D heatmaps representing the spatial locations of joints. These heatmaps are inherently sparse; often, more than 97% of the pixels represent the background.
Standard source-free adaptation techniques, which rely on entropy minimization or consistency regularization, struggle with this sparsity. When the model's initial predictions on the target domain are noisy, these techniques can easily collapse, as there is very little "dense" information to guide the adaptation process.
The Proposed Framework
The authors propose a three-model architecture to bridge the domain gap without accessing source data: a Source Model ($f^{sr}$), an Intermediate Model ($f^{in}$), and a Target Model ($f^{tg}$). The adaptation process is divided into two synergistic steps.
Step A: Source-protect Adaptation
To prevent the model from forgetting the structural knowledge learned from the source data, the framework employs a "source-protect" mechanism. A key innovation here is the Residual Loss. Instead of simply forcing the intermediate model to match the peak (most confident) pixel of the source model's prediction, the authors remove the most confident units and calculate the loss on the remaining "residual" heatmap. This forces the model to capture the nuanced structural information and spatial relationships that exist beyond the primary joint location.
Step B: Target-relevant Adaptation
To address the sparsity problem and adapt to target-specific features, the authors introduce the Spatial Probability Space. They project the 2D heatmaps into 1D horizontal and vertical vectors through mean projection. This transformation "densifies" the information, making it more amenable to statistical learning.
Within this 1D space, three primary techniques are applied:
- Pose-specific Contrastive Learning: The model learns to cluster representations of the same joint across different images while pushing apart representations of different joints.
- Information Maximization: This ensures that predictions are certain (low entropy) and globally diverse across the dataset.
- Consistency Regularization: The Target Model is trained to be consistent with the Intermediate Model, which is updated via an Exponential Moving Average (EMA) to provide stable pseudo-labels.
Experimental Results
The method was rigorously evaluated on several cross-domain benchmarks, including synthetic-to-real transitions for both human and hand pose estimation (e.g., SURREAL $\rightarrow$ Human3.6M and RHD $\rightarrow$ H3D).
The results demonstrate that the proposed framework significantly outperforms existing source-free baselines. For instance, on the Hand-3D-Studio (H3D) dataset, the method achieved a [email protected] of 82.2%, representing a 3.3% improvement over previous state-of-the-art source-free methods. Qualitatively, the model shows remarkable robustness in complex poses where source-only models typically fail, accurately localizing joints despite significant lighting and background variations.
Conclusion
By rethinking the representation of HPE heatmaps and introducing a multi-stage adaptation strategy, this work provides a robust solution for source-free domain adaptation. The transition from 2D heatmaps to 1D spatial probability vectors effectively overcomes the sparsity bottleneck, while the source-protect module ensures that valuable prior knowledge is preserved. This framework sets a new standard for privacy-preserving human pose estimation in the real world.
Summary updated