BinaryHPE: 3D Human Pose and Shape Estimation via Binarization

Zhiteng Li, Yulun Zhang, Jing Lin, Haotong Qin, Jinjin Gu, Xin Yuan, Linghe Kong, Xiaokang Yang

TL;DR

BinaryHPE is the first framework to successfully apply network binarization to the complex task of 3D human pose and shape estimation (HPE). By introducing a novel backbone that preserves critical full-precision information through dual residual connections, the authors achieved accuracy comparable to state-of-the-art full-precision models while using only 22.1% of the parameters and 14.8% of the operations.

What Problem Does This Paper Address?

Reconstructing a 3D mesh of a person’s body, face, and hands from a single image is a computationally heavy task. Current top-performing models are "resource hogs," requiring high-end GPUs and massive memory, which makes them impossible to run on edge devices like smartphones or AR glasses.

While Binarized Neural Networks (BNNs)—which compress 32-bit weights and activations down to just 1-bit—offer a solution for extreme compression, they typically struggle with regression tasks like HPE. The aggressive loss of information during binarization usually leads to "jittery" or completely incorrect 3D reconstructions. The challenge is: how do you get the efficiency of a 1-bit network without losing the fine-grained detail needed to position a finger or an eyelid in 3D space?

Methods

The authors propose BinaryHPE, which centers on a new architecture called the Binarized Dual Residual Network (BiDRN).

1. Binarized Dual Residual Block (BiDRB)

The core innovation is the "Dual Residual" strategy designed to keep full-precision information flowing through the network. As shown in Figure 4, it uses two types of shortcuts:

  • Local Convolution Residual (LCR): This bypasses full-precision activations around each individual binarized convolution layer.
  • Block Residual (BR): This uses a single full-precision $1 \times 1$ convolution to bypass an entire block of binarized layers, acting as a high-fidelity "guide" for the binarized features.
Figure 4. A Binarized Dual Residual Block (BiDRB) composed of both Local Convolution Residual (LCR) and Block Residual (BR).

2. Solving Dimension Mismatch

Standard BNNs often fail when feature map sizes change (e.g., downsampling). The authors redesigned four specific modules—Down Scale, Fusion Up, Fusion Down, and Down Sample—to ensure that full-precision information can be bypassed even when dimensions don't match.

3. Binarized BoxNet

In whole-body HPE, a "BoxNet" is typically used to crop hand and face regions for refinement. The authors found this component was highly redundant and successfully binarized it, further slashing the computational budget.

4. Hardtanh Pre-activation

Instead of the standard ReLU, which can cause binarized activations to become "all ones," the authors used a Hardtanh function. This keeps the distribution of values balanced between -1 and +1 before the binarization step, leading to much more stable training.

Datasets

The model was trained using a combination of:

  • Human3.6M: A standard large-scale dataset for 3D human pose.
  • MSCOCO (whole-body): For 2D keypoints in the wild.
  • MPII: For additional pose variety.

Evaluation was performed on:

  • EHF (Exemplar Fine-Grained Hand Pose): The primary benchmark for whole-body mesh recovery.
  • AGORA: A more challenging dataset featuring complex, natural scenes.

Key Insights and Ideas

  • Regression is Sensitive: Unlike classification (where you just need to pick the right "bucket"), HPE is a regression task where tiny errors in feature space lead to huge errors in the final 3D mesh. The "Dual Residual" approach is the "aha" moment here—it proves you don't need everything to be full-precision, just a small, strategically placed stream of high-fidelity data.
  • Redundancy in Encoders: The ablation studies revealed that the face encoder was particularly redundant. Binarizing it actually improved performance in some metrics, suggesting that the binarization process might act as a form of regularization.
  • The Centrality of the Body: Binarizing the body encoder hurts performance more than binarizing the hands or face. This is because the body encoder provides the global context and the initial bounding boxes for the other parts.

Key Results

BinaryHPE significantly outperforms all previous state-of-the-art BNN methods. On the EHF dataset, it reduced the Mean Per Vertex Position Error (MPVPE) gap between binarized and full-precision models by a massive margin.

Figure 2. Comparison between recent BNNs and BinaryHPE on EHF. BinaryHPE significantly reduces the All MPVPEs (the lower, the better) of BNN (Hubara et al., 2016), XNOR (Rastegari et al., 2016), DoReFa (Zhou et al., 2016), Bi-Real (Liu et al., 2018), ReActNet (Liu et al., 2020), ReCU (Xu et al., 2021b) and FDA (Xu et al., 2021a) by 53.9, 77.2, 56.1, 43.4, 31.5, 24.4, and 53.5 respectively.
  • Efficiency: Compared to the full-precision baseline (Hand4Whole), BinaryHPE uses 77.1% fewer parameters and 85.2% fewer operations.
  • Accuracy: It achieves an "All MPVPE" of 118.3mm on EHF, whereas standard BNNs like XNOR-Net lag far behind at 195.5mm.
  • Qualitative: Visual results show that while standard BNNs produce mangled meshes, BinaryHPE produces smooth, anatomically correct reconstructions that closely align with the input images.

Limitations and Future Work

While BinaryHPE narrows the gap significantly, there is still a performance difference compared to the best full-precision models (e.g., 118.3mm vs 86.3mm on EHF). The authors also note that this work focuses on static images; extending these binarization techniques to video sequences to ensure temporal smoothness is a logical next step. Finally, while the theoretical operation count (OPs) is low, actual hardware-specific implementation (e.g., using XNOR and bitcount instructions on ARM CPUs) would be needed to realize the full speedup in a real-world app.

Summary updated

BibTeX
@misc{li2023binaryhpe,
  author = {Zhiteng Li and Yulun Zhang and Jing Lin and Haotong Qin and Jinjin Gu and Xin Yuan and Linghe Kong and Xiaokang Yang},
  title = {{BinaryHPE: 3D Human Pose and Shape Estimation via Binarization}},
  year = {2023},
  eprint = {2311.14323},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.14323},
}
Figure