Skip to main content
QUICK REVIEW

[Paper Review] Effective Whole-body Pose Estimation with Two-stages Distillation

Zhendong Yang, Ailing Zeng|arXiv (Cornell University)|Jul 29, 2023
Human Pose and Action RecognitionComputer Science3 citations
TL;DR

This paper proposes DWPose, a two-stage knowledge distillation framework for effective and efficient whole-body human pose estimation. By leveraging intermediate features and complete keypoint logits from a teacher model (RTMPose-x) in the first stage, and applying a lightweight, head-aware self-distillation in the second stage with only 20% training time, DWPose improves RTMPose-l's COCO-WholeBody AP from 64.8% to 66.5%, surpassing the teacher model.

ABSTRACT

Whole-body pose estimation localizes the human body, hand, face, and foot keypoints in an image. This task is challenging due to multi-scale body parts, fine-grained localization for low-resolution regions, and data scarcity. Meanwhile, applying a highly efficient and accurate pose estimator to widely human-centric understanding and generation tasks is urgent. In this work, we present a two-stage pose extbf{D}istillation for extbf{W}hole-body extbf{P}ose estimators, named extbf{DWPose}, to improve their effectiveness and efficiency. The first-stage distillation designs a weight-decay strategy while utilizing a teacher's intermediate feature and final logits with both visible and invisible keypoints to supervise the student from scratch. The second stage distills the student model itself to further improve performance. Different from the previous self-knowledge distillation, this stage finetunes the student's head with only 20% training time as a plug-and-play training strategy. For data limitations, we explore the UBody dataset that contains diverse facial expressions and hand gestures for real-life applications. Comprehensive experiments show the superiority of our proposed simple yet effective methods. We achieve new state-of-the-art performance on COCO-WholeBody, significantly boosting the whole-body AP of RTMPose-l from 64.8% to 66.5%, even surpassing RTMPose-x teacher with 65.3% AP. We release a series of models with different sizes, from tiny to large, for satisfying various downstream tasks. Our codes and models are available at https://github.com/IDEA-Research/DWPose.

Motivation & Objective

  • To improve the accuracy and efficiency of whole-body pose estimation for real-world human-centric applications.
  • To address data scarcity in fine-grained body parts like hands and faces through curated datasets such as UBody.
  • To develop a plug-and-play distillation strategy that enhances lightweight models without significant inference cost.
  • To enable high-quality pose estimation for downstream tasks like controllable image generation.
  • To surpass existing models in performance while maintaining real-time inference speed.

Proposed method

  • First-stage distillation uses both visible and invisible keypoint supervision from a teacher model’s final logits and intermediate features, with a decaying distillation weight to stabilize training.
  • A novel weight-decay strategy gradually reduces the influence of distillation loss to improve training stability and generalization.
  • Second-stage self-knowledge distillation finetunes only the student’s head using a frozen student backbone and a second student as a teacher, requiring only 20% training time.
  • The method employs logit-based distillation without a target mask, which empirically improves performance by preserving teacher knowledge on invisible keypoints.
  • The approach is plug-and-play and compatible with any dense prediction head, enabling broad applicability.
  • The UBody dataset is incorporated to enhance generalization on diverse facial expressions and hand gestures, improving real-life applicability.

Experimental results

Research questions

  • RQ1Can a two-stage distillation framework significantly improve the accuracy of lightweight whole-body pose estimators without increasing inference cost?
  • RQ2How does using both visible and invisible keypoint supervision from a teacher model affect student performance in whole-body pose estimation?
  • RQ3To what extent can a lightweight, head-aware self-distillation strategy enhance model accuracy with minimal additional training time?
  • RQ4How does incorporating diverse real-world data like UBody impact the robustness and generalization of pose estimators on fine-grained body parts?
  • RQ5Can a more accurate pose estimator improve controllable image generation quality without retraining the generation model?

Key findings

  • DWPose achieves a new state-of-the-art whole-body AP of 66.5% on COCO-WholeBody, significantly improving RTMPose-l from 64.8%.
  • The method surpasses the RTMPose-x teacher model, which achieves 65.3% AP, demonstrating the effectiveness of the distillation pipeline.
  • The second-stage self-distillation improves performance with only 20% of the training time, making it a highly efficient plug-and-play strategy.
  • Removing the target mask in logit-based distillation leads to a 1.1% performance drop, proving that full keypoint supervision (including invisible ones) is crucial for knowledge transfer.
  • DWPose reduces inference time to 0.068s per image (vs. 5.78s for OpenPose) and scales better with multiple persons, maintaining low latency even at scale.
  • In image generation tasks, DWPose enables higher-quality results than OpenPose when used with ControlNet, due to more precise skeleton supervision.

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.