Human Pose as Compositional Tokens

Zigang Geng, Chunyu Wang, Yixuan Wei, Ze Liu, Houqiang Li, Han Hu

Abstract

Traditional human pose estimation (HPE) methods typically rely on coordinate regression or heatmap prediction, both of which often treat joints as independent entities. This independence makes models susceptible to errors under severe occlusion where visual evidence is missing. This paper presents Pose as Compositional Tokens (PCT), a novel framework that represents human pose as a collection of discrete, learned tokens. By framing pose estimation as a classification task over a learned codebook, PCT implicitly captures the structural dependencies between joints. The resulting model ensures physically plausible pose predictions and demonstrates superior robustness in occluded environments, achieving state-of-the-art performance on challenging datasets like OCHuman while maintaining high inference speeds.

1. Introduction

Human pose estimation is a fundamental task in computer vision, yet it remains challenging due to the high degree of freedom in human movement and frequent self-occlusion or environmental obstruction. Most existing frameworks utilize either direct coordinate regression or volumetric heatmaps. While effective in clear conditions, these methods struggle to maintain structural integrity when joints are hidden, as they lack a built-in understanding of human anatomical constraints.

Researchers from USTC, Tsinghua, and Microsoft Research Asia propose a paradigm shift: treating human pose not as a set of continuous coordinates, but as a composition of discrete "tokens" from a learned vocabulary. This approach, termed Pose as Compositional Tokens (PCT), allows the model to learn the inherent relationships between joints automatically, ensuring that even predicted occluded joints conform to realistic human configurations.

2. The Problem: Joint Independence

Traditional HPE representations suffer from a core limitation:

  1. Coordinate Vectors: Regressing $(x, y)$ or $(x, y, z)$ coordinates directly often lacks spatial context.
  2. Heatmaps: Predicting probability maps for each joint treats each point as an isolated detection task.

In both cases, if an arm is hidden behind a torso, the model has no inherent mechanism to know where the hand should be based on the shoulder's position, unless specifically constrained by rigid, hand-designed rules. PCT addresses this by learning these dependencies from data, using a "compositional" approach where groups of joints are encoded together.

3. The PCT Framework

The PCT framework is divided into two distinct stages: representation learning and task-specific estimation.

3.1 Stage I: Learning the Compositional Vocabulary

Inspired by Vector Quantized-Variational Autoencoders (VQ-VAE), the authors first train a Compositional Encoder and Decoder.

  • Encoding: A raw pose is decomposed into $M$ discrete tokens. Unlike standard VQ-VAE which might use spatial patches, PCT uses "compositional" tokens where each token represents a sub-structure (e.g., the relationship between the shoulder, elbow, and wrist).
  • Quantization: These tokens are mapped to a learned codebook containing 1,024 entries. A full pose is thus reduced to a simple sequence of $M$ integers.
  • Decoding: A pre-trained decoder learns to reconstruct the original joint coordinates from these discrete indices.

Crucially, these tokens are designed to overlap. This redundancy allows the model to be highly robust; if the visual information for one joint is ambiguous, multiple tokens covering that joint can effectively "vote" on its most likely position.

3.2 Stage II: Pose Estimation as Classification

With the codebook fixed, the pose estimation task is transformed from a regression problem into a classification problem. An input image is processed through a backbone (such as a Swin Transformer), and a classification head predicts the most likely codebook index for each of the $M$ tokens. The fixed decoder then converts these indices back into a 2D or 3D pose.

4. Experimental Evaluation

The authors evaluated PCT across several benchmarks to test its versatility and robustness.

  • Standard Benchmarks: On the COCO val2017 set, PCT achieved 79.3 AP using a Swin-Huge backbone, placing it among the top-performing models.
  • Occlusion Robustness: The model's primary strength was revealed on the OCHuman dataset, where it achieved 49.6 AP, significantly outperforming traditional heatmap-based methods like HRNet (38.1 AP).
  • 3D Pose Estimation: On the Human3.6M dataset, PCT achieved a Mean Per Joint Position Error (MPJPE) of 47.8 mm, proving that the discrete token approach generalizes well to 3D space.
  • Efficiency: By eliminating the need for expensive heatmap post-processing (such as Taylor expansion refinement), PCT is highly efficient, reaching speeds of up to 115 FPS.

5. Discussion and Limitations

While PCT offers a robust alternative to traditional methods, it introduces a quantization error. Because the output is reconstructed from a finite codebook, there is a theoretical limit to the precision of the reconstructed pose. If a subject performs a highly atypical movement not captured in the training distribution, the codebook may not contain a perfect match.

Furthermore, while the model understands internal joint-to-joint context, it does not yet incorporate external environmental context (e.g., the physical interaction between a foot and a chair). Future work may involve integrating these external cues to further refine pose accuracy in complex scenes.

6. Conclusion

PCT demonstrates that framing human pose as a classification task over discrete compositional tokens is a powerful strategy for handling occlusion and ensuring physical plausibility. By moving away from independent joint regression and toward a holistic, learned vocabulary of human movement, PCT sets a new standard for robust and efficient human pose estimation.

Summary updated

BibTeX
@inproceedings{geng2023human,
  author = {Zigang Geng and Chunyu Wang and Yixuan Wei and Ze Liu and Houqiang Li and Han Hu},
  title = {{Human Pose as Compositional Tokens}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
}
Figure