Skip to content

Global-to-Pixel Regression for Human Mesh Recovery

Conference: ECCV 2024
Code: None
Area: 3D Vision / Human Pose Estimation
Keywords: Human Mesh Recovery, Global-to-Local Regression, Keypoint Guidance, Dynamic Matching, Pixel-level Features

TL;DR

A two-stage regression framework extending from global features to pixel-level features is proposed. It captures fine-grained body part information through an adaptive 2D keypoint-guided local encoding module and introduces a dynamic matching strategy to improve vision-mesh alignment, achieving SOTA performance on Human3.6M and 3DPW.

Background & Motivation

Background: Human Mesh Recovery (HMR) is the task of reconstructing a 3D human mesh from a single image. The mainstream approaches are categorized into two: global-feature-based regression methods (e.g., HMR, SPIN) and dense-annotation-based local-feature methods. Global methods compress the entire image into a single vector to predict SMPL parameters, while local methods rely on dense UV coordinates or body part segmentation maps to extract pixel-level features.

Limitations of Prior Work: Global feature methods do not sufficiently preserve spatial geometric information; the compressed features lose the local dynamic information of the human body, leading to vision-mesh misalignment (such as hand and foot drift) between the predicted mesh and the original image. Although local feature methods achieve higher accuracy, they rely on expensive dense annotations (such as UV maps and part segmentation) and usually employ heuristic keypoint RoI pooling to extract local features, which lacks flexibility.

Key Challenge: Fine-grained local features require dense annotations for guidance, but dense annotations are expensive to acquire and prone to noise; whereas simple global features are easy to obtain but suffer from severe loss of spatial information. How to obtain high-quality local features and achieve accurate vision-mesh alignment without relying on dense annotations is a pressing challenge.

Goal: (1) Design a local feature extraction scheme that does not rely on dense annotations; (2) Preserve spatial geometric information while capturing local dynamics; (3) Optimize positive and negative sample matching strategies to improve vision-mesh alignment.

Key Insight: The authors observe that sparse 2D keypoints inherently contain human body structure information, which can serve as "anchors" to guide local feature extraction. Capturing local context through pixel features around keypoints avoids dependency on dense annotations. Meanwhile, they find that existing positive-negative sample assignment strategies (e.g., fixed thresholds) lead to imprecise matching, which impairs alignment quality.

Core Idea: Guide pixel-level local feature extraction using sparse 2D keypoints, and optimize the positive and negative sample assignment with a dynamic matching strategy to achieve cascaded global-to-pixel regression.

Method

Overall Architecture

Inputting a cropped image containing a human body, multi-scale feature maps are first extracted via a backbone network (such as HRNet). The framework consists of two stages: the first stage utilizes global features to generate initial SMPL parameter estimates (including pose \(\theta\), shape \(\beta\), and camera parameters); the second stage utilizes an adaptive keypoint-guided local encoding module to extract pixel-level features centered around 2D keypoints from the feature maps, performing residual refinement on the initial estimates. Finally, the refined human mesh is outputted.

Key Designs

  1. Adaptive Keypoint-Guided Local Encoding:

    • Function: Extracts local pixel features anchored on keypoints from feature maps, preserving spatial structure and local context.
    • Mechanism: First, the initial 2D keypoint coordinates are obtained from the global estimation. Then, centered around each keypoint, pixel features of the surrounding areas are sampled from the feature maps. A deformable attention mechanism is adopted to let each keypoint adaptively select the location of its "attended" feature points, instead of using a fixed RoI. Formulated as \(F_{local} = \text{DeformAttn}(Q_k, P_k, V)\), where \(Q_k\) is the keypoint query, \(P_k\) denotes the keypoint coordinates acting as reference points, and \(V\) refers to the feature map.
    • Design Motivation: Compared to dense annotations (UV maps, part segmentation), sparse keypoints are obtained almost for free (either from the first-stage estimation or a simple detector), and deformable attention can learn the most informative sampling positions around the keypoints, which is more flexible than a fixed RoI.
  2. Residual Refinement:

    • Function: Refines the global estimation by predicting residuals using local pixel features, rather than directly predicting the final parameters.
    • Mechanism: The output of the global stage is used as the initial estimate \(\hat{\Theta}_0\), and the local stage predicts parameter residuals \(\Delta\Theta\), with the final parameters being \(\hat{\Theta} = \hat{\Theta}_0 + \Delta\Theta\). The pixel features corresponding to each keypoint are responsible for predicting the parameter residuals of their governed body parts, achieving a localized decomposition of the parameter space.
    • Design Motivation: Directly predicting global parameters from local features is unreasonable because a single local feature of a body part only perceives a portion of the body. Through the residual formulation, the global stage provides a reasonable initial value, and the local stage handles refinement, thereby reducing the learning difficulty.
  3. Dynamic Matching Strategy:

    • Function: Automatically determines which pixels are positive and which are negative, enhancing the accuracy of vision-mesh alignment.
    • Mechanism: Instead of using fixed thresholds to distinguish positive and negative samples, the matching cost for each pixel is calculated dynamically based on a weighted combination of classification loss and 2D keypoint regression loss. For each GT keypoint, the pixel with the minimum matching cost is selected as the positive sample. This strategy is similar to Hungarian matching in object detection, but simplifies computation by using only classification and 2D keypoint costs: \(C = \lambda_{cls} \cdot L_{cls} + \lambda_{kpt} \cdot L_{kpt}\).
    • Design Motivation: Fixed threshold matching may misclassify informative pixels as negative samples, or force the assignment of low-quality pixels as positive samples. Dynamic matching allows the model to automatically learn which pixels are most valuable for prediction, improving the quality and flexibility of matching.

Loss & Training

Multi-task loss training is employed: (1) SMPL parameter regression loss (L1 loss on \(\theta, \beta\)); (2) 3D joint loss (L1 loss on 3D joints); (3) 2D joint reprojection loss; (4) Mesh vertex loss. The global and local stages share the same loss structure but are calculated independently, with higher loss weights assigned to the local stage to encourage fine-grained refinement.

Key Experimental Results

Main Results

Dataset Metric Ours PyMAF-X CLIFF Gain
Human3.6M MPJPE↓ 42.3 51.2 47.1 10.2% vs PyMAF-X
Human3.6M PA-MPJPE↓ 32.1 35.8 32.7 1.8% vs CLIFF
3DPW MPJPE↓ 68.5 74.3 69.0 0.7% vs CLIFF
3DPW PA-MPJPE↓ 40.2 44.1 43.0 6.5% vs CLIFF

Ablation Study

Configuration MPJPE↓ PA-MPJPE↓ Description
Full model 42.3 32.1 Full model
w/o Local Encoding 47.8 35.2 Degrades to a pure global method when local encoding is removed
w/o Dynamic Matching 44.1 33.5 Switched back to fixed-threshold matching
w/o Residual 45.6 34.0 Directly predicts parameters instead of residuals
Fixed ROI Alternative 44.5 33.8 Replaces deformable attention with fixed RoI pooling

Key Findings

  • The local encoding module contributes the most; removing it degrades MPJPE by 5.5mm (13%), demonstrating that pixel-level features are crucial for fine alignment.
  • The dynamic matching strategy brings an improvement of about 1.8mm, showing more pronounced improvements in occluded scenes compared to fixed-threshold matching.
  • Residual learning is more stable than direct prediction, yielding faster convergence and higher final accuracy.
  • Under severe occlusion and extreme pose scenarios, the performance advantage of the proposed method over global methods is even more significant.

Highlights & Insights

  • Using sparse keypoints instead of dense annotations for local guidance: This design reduces annotation costs while retaining structural information near keypoints. The cleverness lies in utilizing the first-stage estimation output as keypoint anchors, creating a self-bootstrapping "global-guides-local" loop.
  • The dynamic matching strategy borrows ideas from the detection field: Introducing dynamic matching from DETR to the HMR task, using only classification + 2D keypoint costs, efficiently distinguishes positive and negative samples, keeping the calculation simple and highly efficient.
  • The cascaded coarse-to-fine regression framework can be transferred to other parametric human recovery tasks, such as hand mesh recovery (MANO) or face reconstruction (FLAME).

Limitations & Future Work

  • Reliance on the quality of the first-stage global estimation: If the initial keypoint prediction deviates too much, the anchor positions of the local encoding module will be inaccurate, which may affect the effectiveness of the residual correction.
  • Only validated within the top-down (detection followed by regression) paradigm, leaving applicability in bottom-up scenarios unexplored.
  • The computational overhead of deformable attention grows linearly with the number of keypoints, which may become a bottleneck for full-body models (such as SMPL-X) requiring a large number of keypoints.
  • Temporal information could be introduced to further constrain the consistency of local features using sequential frames in videos.
  • vs PyMAF: PyMAF uses iterative correction through a mesh alignment feedback loop, but requires global features for each iteration; the proposed method is more efficient by directly correcting at the pixel level.
  • vs CLIFF: CLIFF introduces location-aware global features but still performs global regression; this work further pushes the accuracy limit by utilizing local features.
  • vs METRO/Mesh Graphormer: These methods directly regress mesh vertex coordinates using Transformers, which is computationally expensive and struggles to leverage SMPL priors; the proposed method is more efficient by regressing in the SMPL parameter space.

Rating

  • Novelty: ⭐⭐⭐⭐ The global-to-pixel two-stage framework is novel, though core modules (deformable attention, residual correction) are combinations of mature techniques.
  • Experimental Thoroughness: ⭐⭐⭐⭐ Comprehensively evaluated on two mainstream benchmarks, with ablation and visualization analyses.
  • Writing Quality: ⭐⭐⭐⭐ Clear motivation and detailed method description.
  • Value: ⭐⭐⭐⭐ Provides a local regression scheme that does not rely on dense annotations, holding practical value for the HMR domain.