Skip to main content
QUICK REVIEW

[Paper Review] HAP: Structure-Aware Masked Image Modeling for Human-Centric Perception

Junkun Yuan, Xinyu Zhang|arXiv (Cornell University)|Oct 31, 2023
Video Surveillance and Tracking MethodsComputer Science5 citations
TL;DR

HAP introduces a structure-aware masked image modeling framework for human-centric perception by guiding mask sampling with human part priors and enforcing structural consistency via a structure-invariant alignment loss. Using a plain Vision Transformer, HAP achieves state-of-the-art performance on 11 human-centric benchmarks, including 78.1% mAP on MSMT17 for person re-identification and 86.54% mA on PA-100K for pedestrian attribute recognition.

ABSTRACT

Model pre-training is essential in human-centric perception. In this paper, we first introduce masked image modeling (MIM) as a pre-training approach for this task. Upon revisiting the MIM training strategy, we reveal that human structure priors offer significant potential. Motivated by this insight, we further incorporate an intuitive human structure prior - human parts - into pre-training. Specifically, we employ this prior to guide the mask sampling process. Image patches, corresponding to human part regions, have high priority to be masked out. This encourages the model to concentrate more on body structure information during pre-training, yielding substantial benefits across a range of human-centric perception tasks. To further capture human characteristics, we propose a structure-invariant alignment loss that enforces different masked views, guided by the human part prior, to be closely aligned for the same image. We term the entire method as HAP. HAP simply uses a plain ViT as the encoder yet establishes new state-of-the-art performance on 11 human-centric benchmarks, and on-par result on one dataset. For example, HAP achieves 78.1% mAP on MSMT17 for person re-identification, 86.54% mA on PA-100K for pedestrian attribute recognition, 78.2% AP on MS COCO for 2D pose estimation, and 56.0 PA-MPJPE on 3DPW for 3D pose and shape estimation.

Motivation & Objective

  • To investigate the effectiveness of masked image modeling (MIM) as a pre-training paradigm for human-centric perception tasks.
  • To identify limitations of standard MIM in human-centric settings and understand the role of human structure priors in improving performance.
  • To develop a simple yet effective method that integrates human part priors into the mask sampling process to enhance structural understanding during pre-training.
  • To design a structure-invariant alignment loss that improves feature discriminability by aligning different masked views of the same image.
  • To establish a versatile, scalable, and efficient pre-training framework for diverse human-centric vision tasks using a single, unified dataset and plain ViT architecture.

Proposed method

  • Introduces a human part prior—extracted via off-the-shelf keypoint detectors—to guide the mask sampling process, prioritizing image patches within human part regions for masking.
  • Employs a standard masked image modeling objective where the model reconstructs masked patches using visible context, with reconstruction focused on semantically meaningful human body parts.
  • Proposes a structure-invariant alignment loss that encourages consistency between two randomly masked views of the same image, both guided by human part priors, to preserve structural invariance.
  • Uses a plain Vision Transformer (ViT) as the encoder, enabling easy transfer to downstream tasks without architectural complexity.
  • Unifies image and keypoint modalities within a single pre-training dataset (LUPerson), enabling joint learning without requiring multi-modal data during inference.
  • Applies a two-stage training strategy: pre-training on LUPerson with MIM and human part-guided masking, followed by fine-tuning on downstream tasks with standard supervised learning.

Experimental results

Research questions

  • RQ1Can masked image modeling (MIM) be effectively adapted for human-centric perception tasks, and if so, what modifications are needed to overcome its initial poor performance?
  • RQ2How do human structure priors—specifically human part regions—improve the effectiveness of MIM in human-centric pre-training?
  • RQ3What is the impact of mask sampling strategy, scaling ratio, and intermediate masking ratio on MIM performance in human-centric settings?
  • RQ4Can a structure-invariant alignment loss improve feature discriminability by enforcing consistency across different masked views of the same image?
  • RQ5To what extent can a simple ViT-based architecture with human part guidance achieve state-of-the-art performance across diverse human-centric benchmarks?

Key findings

  • HAP achieves 78.1% mAP on MSMT17 for person re-identification, setting a new state-of-the-art on this benchmark.
  • On PA-100K for pedestrian attribute recognition, HAP achieves 86.54% mean accuracy, outperforming previous methods.
  • For 2D human pose estimation on MS COCO, HAP attains 78.2% AP, demonstrating strong generalization to keypoint-based tasks.
  • On 3DPW for 3D pose and shape estimation, HAP achieves 56.0 PA-MPJPE, indicating strong performance in 3D human body modeling.
  • HAP reaches competitive performance on CUHK-PEDES with 68.05% Rank-1 accuracy for text-to-image person re-identification.
  • Pre-training for only 100 epochs yields satisfactory performance, indicating HAP's efficiency and low training cost.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.