NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Keypoint based weakly supervised human parsing

Zhonghua Wu, Guosheng Lin, Jianfei Cai

TL;DR

This paper introduces a weakly supervised framework for human parsing (segmenting body parts) that replaces expensive pixel-level masks with cheap, widely available object keypoints. By combining iterative pseudo-mask refinement with a novel "correlation network" that jointly learns object and part boundaries, the authors achieve performance remarkably close to fully supervised models while drastically reducing manual labeling effort.

What Problem Does This Paper Address?

Human parsing—the task of partitioning an image of a person into semantic parts like "head," "torso," "arms," and "legs"—is a cornerstone of human behavior analysis and surveillance. However, training state-of-the-art Fully Convolutional Networks (FCNs) for this task typically requires pixel-level annotations. Manually tracing the exact boundary of a person's arm or leg is incredibly labor-intensive and expensive.

While researchers have explored "weak" supervision using image-level labels or bounding boxes, these often lack the spatial precision needed for fine-grained part segmentation. This paper tackles the gap by using keypoints (e.g., coordinates for the nose, elbow, or knee). Keypoints are much faster to annotate and are already abundant in existing human pose datasets, making them an ideal middle ground between "too simple" (image labels) and "too expensive" (pixel masks).

Methods

The authors propose a three-stage pipeline to bridge the gap between discrete points and dense masks:

  1. Pseudo-Mask Generation via Graph-Cuts: The process starts by grouping pixels into "super-pixels." The authors connect the annotated keypoints to form a "skeleton." Any super-pixel that overlaps with a skeleton segment is assigned that part's label. Pixels far from any keypoint (>50 pixels) are designated as background. These serve as the "unary terms" in a graph-cut optimization, which produces the initial (albeit noisy) pseudo-masks.

  2. Iterative Refinement: A segmentation network (DeepLab) is trained on these initial pseudo-masks. Once trained, the network's own prediction score maps are fed back into the graph-cut model as a new source of information. By repeating this cycle—training the FCN, updating the pseudo-masks with FCN scores, and re-training—the model gradually "cleans" the noise in the initial labels.

  3. Correlation Network for Joint Prediction: The authors observe that it is generally easier for a model to identify a "whole person" than a specific "arm." They introduce a correlation block that jointly predicts an object mask (person vs. background) and part masks. The part score maps are multiplied element-wise by the object probability map. This forces the part predictions to stay within the boundaries of the detected person, effectively using the whole-body silhouette to prune errors in part segmentation.

Datasets

The researchers evaluated their method using:

  • PASCAL VOC Person Part Dataset: Used for evaluation and as the primary benchmark for human parsing.
  • PASCAL VOC Human Pose Dataset: Provided the ground-truth keypoint annotations for training.
  • COCO: Mentioned as a potential source for keypoint data.
  • Predicted Keypoints: The authors also tested their model using keypoints generated by pre-trained detectors like Mask R-CNN and AlphaPose to see if the system could work without any new human labeling.

Key Insights and Ideas

  • Skeletons as Spatial Priors: Discrete keypoints are sparse, but connecting them into a skeleton provides a powerful geometric constraint that naturally aligns with the topology of the human body.
  • The Virtuous Cycle of Iteration: The FCN is better at capturing global context than a local graph-cut, while the graph-cut is better at adhering to low-level image boundaries. Iterating between them allows the strengths of one to correct the weaknesses of the other.
  • Hierarchical Constraint: The "Correlation Block" treats human parsing as a hierarchical problem. By ensuring that $\text{Part} \subseteq \text{Object}$, the model significantly reduces "bleeding" where a limb might otherwise be segmented into the background.

Key Results

  • Competitive Accuracy: The weakly supervised VGG-based model achieved a mean Intersection over Union (mIoU) of 46.50%, compared to 56.25% for the fully supervised version. While there is a ~10% gap, the weakly supervised version requires a fraction of the labeling cost.
  • Backbone Matters: Switching to a ResNet backbone improved the weakly supervised performance to 50.86% mIoU.
  • Test-Time Boosting: If keypoints are available during inference (test time), they can be incorporated into the final graph-cut to further refine results, reaching 51.10% mIoU.
  • Robustness to Predicted Keypoints: Even when using "noisy" keypoints predicted by Mask R-CNN (rather than human-annotated ones), the model still achieved 49.36% mIoU, suggesting a path toward fully automated training pipelines.

Limitations and Future Work

  • The "Gap" Remains: There is still a performance deficit compared to full supervision, particularly in defining precise boundaries for thin or overlapping limbs.
  • Skeleton Ambiguity: The current method relies on a fixed skeleton-to-part mapping. In highly complex poses or cases of self-occlusion, the skeleton might not accurately represent the underlying super-pixels.
  • Multi-Person Scenarios: While the paper shows results on images with multiple people, the complexity of pseudo-mask generation increases significantly when skeletons overlap, which remains a challenge for future refinement.

Summary updated

BibTeX
@article{wu2019keypoint,
  author = {Zhonghua Wu and Guosheng Lin and Jianfei Cai},
  title = {{Keypoint based weakly supervised human parsing}},
  journal = {Image and Vision Computing},
  year = {2019},
  doi = {10.1016/j.imavis.2019.08.005},
}
Figure