Abstract
Human parsing, or human body part semantic segmentation, has been an active research topic due to its wide potential applications. In this paper, we propose a novel GRAph PYramid Mutual Learning (Grapy-ML) method to address the cross-dataset human parsing problem, where the annotations are at different granularities. Starting from the prior knowledge of the human body hierarchical structure, we devise a graph pyramid module (GPM) by stacking three levels of graph structures from coarse granularity to fine granularity subsequently. At each level, GPM utilizes the self-attention mechanism to model the correlations between context nodes. Then, it adopts a top-down mechanism to progressively refine the hierarchical features through all the levels. GPM also enables efficient mutual learning. Specifically, the network weights of the first two levels are shared to exchange the learned coarse-granularity information across different datasets. By making use of the multi-granularity labels, Grapy-ML learns a more discriminative feature representation and achieves state-of-the-art performance, which is demonstrated by extensive experiments on the three popular benchmarks, e.g. CIHP dataset.
Introduction: The Challenge of Label Discrepancy
Human parsing involves assigning semantic labels (such as "arm," "hat," or "torso") to every pixel of a person in an image. A significant hurdle in this field is "label discrepancy." Different datasets employ varying taxonomies; for instance, the PASCAL-Person-Part dataset might label an entire leg as one unit, whereas the CIHP dataset distinguishes between the upper leg, lower leg, and shoe.
Standard deep learning models struggle to learn from multiple datasets simultaneously because these labels do not align. Previous attempts often relied on simple transfer matrices to map labels, failing to capture the inherent hierarchical structure of the human body. Grapy-ML addresses this by explicitly modeling the human body's structural logic through a multi-level hierarchy.
Methodology
The core of Grapy-ML is the Graph Pyramid Module (GPM) and a Mutual Learning Strategy.
Graph Pyramid Module (GPM)
Instead of a flat label list, GPM organizes labels into a three-level hierarchy:
- Level 1 (Coarse): Distinguishes between Foreground (Person) and Background.
- Level 2 (Intermediate): Identifies five basic parts: Head, Torso, Arm, Leg, and Background.
- Level 3 (Fine): Contains specific labels unique to each dataset (e.g., "Sunglasses," "Skirt," "Left Shoe").
At each level, the model executes three primary operations: Aggregation (pooling pixel features into graph nodes), Reasoning (using self-attention to model dynamic spatial correlations between nodes), and Distribution (projecting refined node features back onto the pixel map). Unlike fixed graphs, the self-attention mechanism allows the model to learn relationships between non-adjacent parts, such as a hand and a pocket.
Mutual Learning Strategy
The architecture is bifurcated into a Domain Agnostic Module (Levels 1 and 2) and a Domain Specific Module (Level 3). Since the definition of a "person" or an "arm" is consistent across datasets, the weights for the first two levels are shared. This enables the model to learn robust, generalizable features from a combined data pool before specializing in the fine-grained details of specific datasets in Level 3.
Experiments and Results
Grapy-ML was evaluated on three major benchmarks: PASCAL-Person-Part (7 categories), CIHP (20 categories), and ATR (18 categories). The model established new state-of-the-art (SOTA) results across all tested datasets:
- PASCAL-Person-Part: 71.65 mIoU (surpassing the previous SOTA by 0.51).
- ATR: 77.88 mIoU.
- CIHP: 60.60 mIoU.
Qualitatively, Grapy-ML demonstrates superior performance in handling occlusions. By utilizing hierarchical reasoning, the model can "understand" that disconnected segments of an object (like a tie partially covered by a hand) belong to the same semantic entity, whereas flatter models often fail to connect them.
Conclusion
Grapy-ML effectively bridges the gap between datasets with inconsistent labeling granularities by leveraging the universal hierarchical structure of the human body. While the mutual learning strategy provides significant gains, particularly for smaller datasets, the authors noted diminishing returns on very large datasets like CIHP. Future research may explore incorporating instance-level annotations and more advanced domain adaptation techniques to further enhance cross-dataset performance.
Summary updated