Skip to main content
QUICK REVIEW

[Paper Review] Pose Recognition with Cascade Transformers

Ke Li, Shijie Wang|arXiv (Cornell University)|Apr 14, 2021
Human Pose and Action RecognitionComputer Science39 references7 citations
TL;DR

This paper proposes Pose Regression Transformers (PRTR), a novel end-to-end regression-based 2D human pose estimation method using cascade Transformers. It leverages multi-scale features and query-based refinement across decoder layers to achieve state-of-the-art performance among regression-based methods on the COCO dataset, with minimal heuristic design and improved interpretability through query visualization.

ABSTRACT

In this paper, we present a regression-based pose recognition method using cascade Transformers. One way to categorize the existing approaches in this domain is to separate them into 1). heatmap-based and 2). regression-based. In general, heatmap-based methods achieve higher accuracy but are subject to various heuristic designs (not end-to-end mostly), whereas regression-based approaches attain relatively lower accuracy but they have less intermediate non-differentiable steps. Here we utilize the encoder-decoder structure in Transformers to perform regression-based person and keypoint detection that is general-purpose and requires less heuristic design compared with the existing approaches. We demonstrate the keypoint hypothesis (query) refinement process across different self-attention layers to reveal the recursive self-attention mechanism in Transformers. In the experiments, we report competitive results for pose recognition when compared with the competing regression-based methods.

Motivation & Objective

  • To address the limitations of heatmap-based pose estimation methods, which rely on non-differentiable, heuristic pre/post-processing steps.
  • To develop a general-purpose, end-to-end regression-based approach for multi-person 2D human pose estimation with reduced architectural complexity.
  • To explore the internal mechanism of Transformers in keypoint detection through visualization of query refinement across decoder layers.
  • To achieve competitive performance compared to existing regression-based methods while maintaining transparency in training objectives and loss computation.

Proposed method

  • Proposes a two-stage cascade Transformer architecture: a person detection Transformer followed by a keypoint detection Transformer, both based on the DETR framework.
  • Introduces a sequential end-to-end variant using a Spatial Transformer Network (STN) to predict bounding boxes and refine keypoint queries jointly.
  • Employs learnable object queries in the keypoint detection Transformer to predict 17 keypoint coordinates directly, with class-specific query specialization observed in attention layers.
  • Applies multi-scale feature fusion in the keypoint detection head to improve localization accuracy across varying object sizes.
  • Uses a Hungarian matcher with confidence-based matching and excludes background class logits during inference to improve candidate diversity.
  • Visualizes query distributions and refinement trajectories across decoder layers to reveal the recursive self-attention mechanism and progressive spatial refinement.

Experimental results

Research questions

  • RQ1Can a cascade Transformer architecture achieve competitive pose estimation accuracy while eliminating complex heatmap-based post-processing heuristics?
  • RQ2How do object queries in the Transformer decoder evolve across layers to refine keypoint predictions from random initialization to accurate localization?
  • RQ3To what extent does end-to-end training with direct coordinate regression outperform or match existing regression-based methods in terms of accuracy and generalization?
  • RQ4How does the inclusion of flip augmentation affect performance in a regression-based Transformer framework compared to heatmap-based paradigms?
  • RQ5Can query-based attention mechanisms in the decoder naturally specialize for specific keypoint classes, and how does this relate to spatial attention patterns?

Key findings

  • PRTR achieves 73.2% AP on COCO val2017 using the two-stage cascade design, outperforming other regression-based methods and approaching heatmap-based SOTA.
  • Excluding background class logits during inference improves AP by 0.9–1.5 points, indicating that background interference reduces matching quality.
  • Flip test boosts performance consistently, with no alignment errors due to the continuous coordinate space, unlike in heatmap-based models.
  • Oracle results show that replacing predicted person bounding boxes with ground truth boxes increases AP by 2.0–2.5, indicating room for improvement in person detection.
  • Visualization reveals that 92.3% of predictions from the 89th query are nose keypoints, demonstrating strong query specialization for specific keypoint classes.
  • Query predictions evolve from random initial positions to increasingly accurate locations across decoder layers, with minimal change if already close to ground truth.

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.