Holistic, Instance-Level Human Parsing.

Qizhu Li, Anurag Arnab, Philip H. S. TorrarXiv 2017

This paper, presented by researchers from the University of Oxford, introduces a holistic framework for Instance-Level Human Parsing. While traditional semantic segmentation tells you what a pixel is (e.g., "this is an arm"), this work goes a step further by identifying whose arm it is in a crowded scene.

TL;DR

The authors propose the first end-to-end neural network capable of segmenting human body parts at an instance level. By integrating a differentiable Conditional Random Field (CRF) with a deep CNN, the model simultaneously performs category-level part parsing and instance-level human segmentation in a single forward pass, achieving state-of-the-art results on challenging benchmarks.

What Problem Does This Paper Address?

Object parsing—decomposing an object into its semantic parts—has historically been treated as a category-level problem. If an image contains three people, standard parsing algorithms can identify all the "arms" and "legs," but they struggle to group those parts into individual people. This is a significant hurdle for applications like human-robot interaction or behavior analysis, where understanding individual actions is crucial.

Existing instance segmentation methods often rely on independent object detections, which can lead to "truncated" results if a bounding box doesn't perfectly cover a person. Furthermore, these methods typically don't operate at the fine-grained part level. This paper bridges that gap, providing a unified way to understand both the "what" (semantic parts) and the "who" (individual instances).

Figure 1: Our proposed approach segments human parts at an instance level (c) (which to our knowledge is the first work to do so) from category-level part segmentations produced earlier in the network (b). Moreover, we can easily obtain human instance segmentations (d) by taking the union of all pixels associated to a particular person. Therefore, our proposed end-to-end trained neural network parses humans into semantic parts at both category and instance level in a single forward-pass. Best viewed in colour.

Methods

The architecture consists of two main components integrated into a single, end-to-end trainable pipeline:

  1. Category-level Part Segmentation Module: Based on a ResNet-101 backbone, this module uses a multi-scale feature fusion approach. It pools features at five different resolutions to capture both fine details (like hands) and large structures (like torsos) before producing a semantic part map.
  2. Instance-level Segmentation Module: This is the core innovation. It takes the semantic map and human detections (from an R-FCN detector) as input. It uses a differentiable Conditional Random Field (CRF), formulated as a Recurrent Neural Network (RNN), to reason about part identities.

The CRF energy function includes:

  • Box Consistency Term: Encourages pixels inside a detection box to be associated with that specific detection.
  • Global Term: A crucial addition that allows the model to assign pixels to an instance even if they fall outside the detector's bounding box, making the system robust to poor localization.
  • Pairwise Term: Densely-connected Gaussian kernels that ensure spatial and appearance consistency (i.e., nearby pixels with similar colors should likely belong to the same part/person).

To train this, the authors used a permutation-invariant loss function. Since the order of people in the ground truth is arbitrary, they use the Hungarian algorithm to "match" the network's predictions to the ground truth instances before calculating the loss.

Figure 2: Our proposed approach. An H ×W × 3 image is input to a human detection network and a body parts semantic segmentation network, producing D detections of human and an H ×W × (P + 1) dimensional feature map respectively, where (P + 1) is the size of the semantic label space including a background class. These results are used to form the unary potentials of an Instance CRF which performs instance segmentation by associating labelled pixels with human detections. In the above diagram, dotted lines represent forward only paths, and solid lines show routes where both features and gradients flow. The green boxes form the instance-level segmentation module (Sec. 3.2). Best viewed in colour.

Datasets

  • Pascal Person-Parts: The primary benchmark, containing 1,716 training and 1,817 test images with six body part classes (head, torso, upper/lower arms, upper/lower legs).
  • Pascal VOC 2012: Used for pre-training the category-level module and for evaluating human instance segmentation.

Key Insights and Ideas

  • Parts Help the Whole: One of the most interesting findings is that segmenting parts actually improves the accuracy of segmenting the entire human instance. The extra supervision from part labels helps the model identify small features and handle occlusions better.
  • Global Reasoning via CRF: By implementing the CRF as a differentiable RNN, the model can be trained end-to-end. This allows the category-level module to "learn" features that are specifically helpful for the final instance-level assignment.
  • Handling Variable Instances: Unlike previous graphical models that assumed a fixed maximum number of objects, this framework uses weight-sharing to handle an arbitrary number of people in a scene.

Key Results

  • Instance-level Part Segmentation: The authors established a new state-of-the-art on the Pascal Person-Parts dataset, achieving an $AP^r_{vol}$ of 38.4, outperforming a strong MNC (Multi-task Network Cascades) baseline.
  • Human Instance Segmentation: By simply taking the union of segmented parts, the model achieved an $AP^r_{vol}$ of 61.0 on VOC 2012, a significant jump over previous SOTA methods like PFN (41.3) and SDS (which doesn't report $AP^r_{vol}$ but has much lower AP at specific thresholds).
  • Efficiency: The category-level module is more memory and time-efficient than competitors like DeepLab-v2, requiring 120% less memory and running significantly faster while maintaining higher accuracy.
Qualitative success cases showing accurate part assignment even in complex, multi-person scenes.

Limitations and Future Work

  • Detector Dependency: The current system relies on pre-computed human detections. The authors note that the next step is to integrate the detector itself into the end-to-end training process.
  • Failure Modes: The model can still struggle if the initial detector misses a person entirely or if two people are so close and visually similar that the CRF cannot resolve the boundary between them.
  • Weak Supervision: The authors expressed interest in exploring weakly-supervised methods to reduce the heavy reliance on expensive pixel-level part annotations.

Summary updated

BibTeX
@misc{li2017holistic,
  author = {Qizhu Li and Anurag Arnab and Philip H. S. Torr},
  title = {{Holistic, Instance-Level Human Parsing.}},
  year = {2017},
  eprint = {1709.03612},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1709.03612},
}
Figure