Weakly and Semi Supervised Human Body Part Parsing via Pose-Guided Knowledge Transfer

Hao-Shu Fang, Guansong Lu, Xiaolin Fang, Jianwen Xie, Yu-Wing Tai, Cewu Lu

TL;DR

This paper introduces a novel semi-supervised framework for human body part parsing that leverages easily obtained human keypoint annotations to generate high-quality synthetic segmentation data. By transferring parsing knowledge from a small labeled dataset to a large unlabeled one based on pose similarity, the authors achieve a 6 mIOU improvement over strongly supervised baselines and set a new state-of-the-art on the PASCAL-Person-Part benchmark.

What Problem Does This Paper Address?

Deep learning models for human body part parsing (semantic segmentation of parts like arms, legs, and torso) are notoriously "data-hungry." While these models perform well when trained on large datasets, pixel-level annotations are incredibly labor-intensive to produce. For instance, the widely used PASCAL-Person-Part dataset contains fewer than 2,000 training images—orders of magnitude smaller than datasets for image classification or pose estimation.

Conversely, human keypoint annotations (identifying joints like elbows and knees) are much easier to collect and are available in abundance. The challenge addressed here is: How can we use sparse keypoint data to improve dense, pixel-level part segmentation?

Methods

The authors propose a "Pose-Guided Knowledge Transfer" pipeline to bridge the gap between sparse keypoints and dense segments. The process consists of several key stages:

  1. Discovering Pose-Similar Clusters: For a target image that only has keypoint annotations, the system searches a smaller, fully-labeled dataset for the $k$ most similar poses. Poses are normalized by torso length and aligned to a common coordinate system to ensure a fair comparison.
  2. Pose-Guided Morphing: To account for slight variations in pose between the target and its neighbors, the authors apply independent affine transformations to each body part. This "morphs" the labeled masks from the neighbors to fit the target person's specific skeleton. Pose-guided morphing process
  3. Generating Part-Level Priors: The morphed masks from the $k$ neighbors are averaged to create a "part-level prior"—essentially a probability map indicating where each body part is likely to be. Transferring annotations to form a prior
  4. Prior Refinement: A refinement network (a variant of the U-Net architecture) takes both the original image and the coarse part-level prior as input. It uses local image evidence (like edges and textures) to clean up the blurry prior and generate a crisp, synthetic segmentation label. Refinement network pipeline
  5. Semi-Supervised Training: These generated synthetic labels are combined with the original ground-truth data to train a final, high-performance parsing network (such as DeepLab).
Figure 3. Pose-guided morphing for body part parsing. For each body part, we compute an affine transformation matrix Q accord- ing to the corresponding pose segment. The local body part is then transformed according to the estimated transformation matrix.
Figure 1. Due to the morphological constraints, persons that share the same pose should have similar semantic part segmentations. For a person with only keypoints annotation, we search for persons in the human body part parsing dataset that have similar poses and then transfer their part parsing annotations to the target person. The transferred annotations form a strong part-level prior for the target person.
Figure 4. Training pipeline for our refinement network. We elabo- rate on the details in the text.

Datasets

  • PASCAL-Person-Part: The primary benchmark, containing 1,716 training and 1,817 testing images with detailed part annotations.
  • MPII: A large-scale pose estimation dataset. The authors used 10,000 single-person images from MPII (which only have keypoints) to generate synthetic training data.
  • Horse-Cow Dataset: Used to demonstrate that the method generalizes to other animals whose anatomy can be described by keypoints.

Key Insights and Ideas

  • Morphological Constraints: The core intuition is that humans (or animals) sharing the same pose will have very similar semantic part segmentations. This physical constraint allows for effective knowledge transfer.
  • The Power of Averaging: The authors found that averaging multiple neighbors ($k=3$) is superior to using just the single closest neighbor. Averaging creates a soft probability map that accounts for individual body shape variations, which the refinement network can then sharpen.
  • Refinement is Essential: The refinement network is crucial because it reconciles the "pose-based" prior with the actual "image-based" evidence. As seen in Figure 5, the prior provides the global structure, while the refinement network fixes boundaries and handles local details. Comparison with and without prior
  • Robustness to Noise: The system works even when keypoints are not manually annotated but are instead estimated by an off-the-shelf pose detector, making it highly practical for real-world applications.
Figure 5. Qualitative comparison of the refinement network trained with and without part-level prior. For each image group, from left to right: input image, FCN prediction without prior, corresponding part-level prior for the input image, prediction from refinement network trained with prior.

Key Results

  • Performance Boost: On the PASCAL-Person-Part dataset, the semi-supervised model achieved 62.60 mIOU, a significant jump from the 56.89 mIOU achieved by the same model trained only on the original labeled data.
  • State-of-the-Art: By using a ResNet-101 backbone and multi-scale testing, the authors reached 67.6 mIOU, outperforming previous best results by 3 points.
  • Generalization: The method successfully improved parsing for horses and cows by over 3 mIOU each, proving it isn't limited to human anatomy.
  • Qualitative Improvement: The refinement network produces much tighter, more accurate masks compared to standard baselines, especially for limbs and complex poses. Qualitative comparison of networks
Figure 8. Qualitative comparison between the predictions of the refinement network and the parsing network. “ref.net” denotes the predictions of the refinement network, and “parsing net” denotes the predictions of the parsing network.

Limitations and Future Work

  • Single-Person Focus: The current implementation and experiments primarily focus on single-person scenarios. While the authors suggest it can be extended to multi-person scenes, they did not detail that implementation in this paper.
  • Dependency on Source Data: The quality of the synthetic labels depends on finding good matches in the labeled "source" dataset. If a target pose is extremely rare and not represented in the source dataset, the transfer might be less effective.
  • Future Directions: The authors suggest this framework could be applied to a wider variety of object categories beyond humans and common four-legged animals, provided keypoint annotations can be defined for them.

Summary updated

Abstract

Human body part parsing, or human semantic part segmentation, is fundamental to many computer vision tasks. In conventional semantic segmentation methods, the ground truth segmentations are provided, and fully convolutional networks (FCN) are trained in an end-to-end scheme. Although these methods have demonstrated impressive results, their performance highly depends on the quantity and quality of training data. In this paper, we present a novel method to generate synthetic human part segmentation data using easily-obtained human keypoint annotations. Our key idea is to exploit the anatomical similarity among human to transfer the parsing results of a person to another person with similar pose. Using these estimated results as additional training data, our semi-supervised model outperforms its strong-supervised counterpart by 6 mIOU on the PASCAL-Person-Part dataset, and we achieve state-of-the-art human parsing results. Our approach is general and can be readily extended to other object/animal parsing task assuming that their anatomical similarity can be annotated by keypoints. The proposed model and accompanying source code are available at https://github.com/MVIG-SJTU/WSHP
BibTeX
@inproceedings{fang2018weakly,
  author = {Hao-Shu Fang and Guansong Lu and Xiaolin Fang and Jianwen Xie and Yu-Wing Tai and Cewu Lu},
  title = {{Weakly and Semi Supervised Human Body Part Parsing via Pose-Guided Knowledge Transfer}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  doi = {10.1109/cvpr.2018.00015},
}
Figure