GTPT: Group-Based Token Pruning Transformer for Efficient Human Pose Estimation

Haonan Wang, Jie Liu, Jie Tang, Gangshan Wu, Bo Xu, Yanbing Chou, Yong Wang

Abstract

Human Pose Estimation (HPE) has achieved significant accuracy gains, but the computational demands of state-of-the-art Transformer-based models often hinder real-world deployment. This is particularly evident in whole-body pose estimation, which requires localizing 133 keypoints. We present the Group-based Token Pruning Transformer (GTPT), a framework designed to optimize the accuracy-efficiency trade-off. GTPT introduces keypoints through a coarse-to-fine hierarchy and employs a group-based pruning strategy to eliminate redundant visual tokens. Our experiments on COCO and COCO-WholeBody datasets demonstrate that GTPT achieves competitive accuracy while significantly reducing computational overhead (GFLOPs).

Introduction

The evolution of Human Pose Estimation (HPE) has transitioned from standard 17-keypoint body estimation to complex whole-body tasks involving 133 keypoints across the face, hands, and feet. While Transformers excel at capturing the long-range spatial relationships necessary for these tasks, they suffer from two primary types of redundancy: computational redundancy from processing a large number of keypoint tokens and visual redundancy from processing irrelevant image patches (e.g., background).

Existing methods often treat every keypoint as an independent token from the initial layers, leading to high quadratic complexity. GTPT addresses these challenges by making Transformers "lean and mean," balancing the representational power of attention mechanisms with the efficiency required for industrial applications.

Methodology

The GTPT architecture is built upon three primary innovations designed to streamline the processing pipeline.

Coarse-to-Fine Keypoint Introduction

Rather than initializing the network with 133 tokens, GTPT adopts a hierarchical approach. The model begins with a single "human token" in the early layers. As the representation deepens, this token is progressively split into sparse body keypoints and "part tokens," which eventually expand into the full set of dense keypoints. This ensures that high-resolution, point-specific computation is deferred to the final stages of the network where it is most effective.

Group-based Token Pruning and MHGA

To further reduce visual redundancy, GTPT categorizes keypoints into three functional groups: head, upper body, and lower body. The model then prunes visual tokens (image patches) that are spatially irrelevant to a specific group. For instance, the "head" group does not need to attend to patches containing the feet. To prevent these groups from becoming isolated, we introduce Multi-Head Group Attention (MHGA). MHGA allows for efficient parallel processing within groups while utilizing "shared sparse keypoint tokens" as global anchors to maintain a coherent understanding of the overall body configuration.

The GTPT architecture showing the transition from a single human token to dense keypoints across Coarse and Fine Encoders.

Experimental Results

We evaluated GTPT on the COCO and COCO-WholeBody benchmarks. The results consistently show that GTPT provides a superior Pareto front compared to both CNN-based and standard Transformer-based architectures.

Performance on COCO-WholeBody

The efficiency gains are most prominent in whole-body estimation. GTPT-T achieves higher precision than ViTPose+-S while utilizing only 15% of the GFLOPs. The group-based pruning strategy alone accounts for a roughly 44% reduction in computational overhead with negligible impact on precision, validating the hypothesis that most visual tokens in HPE are redundant.

A comparison of GTPT against other SOTA methods, showing its superior accuracy-to-computation ratio on the COCO dataset.

Efficiency vs. Accuracy

On the standard COCO dataset, GTPT-S achieves 73.6 AP with 1.6 GFLOPs, significantly outperforming TokenPose-S, which reaches 72.5 AP at 2.4 GFLOPs. These results highlight the effectiveness of the coarse-to-fine token introduction and the pruning mechanism in maintaining high accuracy at low computational costs.

Conclusion

GTPT represents a significant step toward efficient whole-body human pose estimation. By intelligently managing token density and pruning irrelevant visual information, it overcomes the traditional computational barriers of Transformer models. Future work will explore the integration of more efficient attention kernels like FlashAttention and the extension of this group-based pruning logic to 3D pose estimation tasks.

Summary updated

BibTeX
@inproceedings{wang2024gtpt,
  author = {Haonan Wang and Jie Liu and Jie Tang and Gangshan Wu and Bo Xu and Yanbing Chou and Yong Wang},
  title = {{GTPT: Group-Based Token Pruning Transformer for Efficient Human Pose Estimation}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72890-7\_13},
}
Figure