3D pose estimationCVPR 2024

KTPFormer: Kinematics and Trajectory Prior Knowledge-Enhanced Transformer for 3D Human Pose Estimation

KTPFormer brings skeleton and motion priors into video pose lifting

Jihua Peng, Yanghong Zhou, P. Y. Mok

One-minute overview

The lifting model processes a clip of 2D keypoints. Kinematics Prior Attention mixes joint features within each frame before spatial self-attention. Trajectory Prior Attention mixes features along each joint track before temporal self-attention. Alternating spatial and temporal encoders refine the result for a linear 3D regression head. The authors also use KTPFormer as a denoiser in D3DP.

Why this paper is included

The work shows how to insert anatomy and temporal structure into an existing Transformer and tests how much those priors improve pose accuracy under matched input conditions.

Problem, inputs and outputs

A body joint's location in one frame carries limited depth information. Connected joints and neighboring observations supply additional evidence, but a conventional linear token projection leaves the first attention layers to learn those relationships from the features. The paper asks whether giving those layers explicit connectivity improves pose lifting.

Inputs

  • A monocular video represented by a sequence of 2D skeleton keypoints
  • Paired 2D and 3D pose sequences for supervised training

Outputs

  • A sequence of 3D joint coordinates aligned with the input frames

Author figure

Author architecture diagram showing a strip of 2D skeleton overlays, spatial and temporal prior modules and Transformer blocks, and the predicted 3D skeleton sequence. Insets show skeletal edges and same-joint temporal links.

Figure 2 · The original Figure 2 follows a 2D pose clip through kinematics-enhanced spatial attention, trajectory-enhanced temporal attention, alternating encoders, and a 3D regression head. The lower panels show how each prior combines fixed local links with learned global connections before the attention projections.

Figure credit · Jihua Peng, Yanghong Zhou, P. Y. Mok

Method pipeline

  1. Mix information across the skeleton

    Embed each 2D joint and combine a fixed graph of skeletal connections with a learned, symmetric global affinity. Use the resulting topology to mix joint features ahead of the first spatial attention projections.

  2. Follow the same joints across the clip

    Reshape the features into one time series per joint. Combine adjacent-frame links with learned affinities between all frames. Two trajectory blocks with a residual connection produce features for temporal self-attention.

  3. Regress the 3D sequence

    Alternate spatial and temporal encoders to refine the clip features. A linear layer predicts a 3D position for every joint in every frame. Training combines weighted joint-position error, temporal consistency, and joint-velocity error.

Key design choices

  • Pair a fixed graph with learned long-range links

    The local graphs supply skeletal neighbors and adjacent observations of each joint. The learned global graphs let farther joints or frames contribute. In the Human3.6M ablation with reference 2D input, Table 5 reports 21.8 mm MPJPE for the baseline and 19.0 mm with both complete prior modules.

  • Apply the priors before self-attention

    The graphs shape the features used for queries, keys, and values while retaining the standard attention computation. In Table 6, separate placement ahead of the spatial and temporal attention layers yields lower MPJPE than the authors' combined and parallel placements. Table 7 tests the two modules on five Transformer backbones.

Reading the experiments

Datasets and splits
Human3.6M uses CPN detections in Table 1 and ground-truth 2D poses in Table 2. The Human3.6M split holds out subjects S9 and S11. The MPI-INF-3DHP experiment uses ground-truth 2D poses. HumanEva evaluates walking and jogging for subjects S1, S2, and S3.
Baselines
The deterministic comparisons include STCFormer, MixSTE, and GLA-GCN. The diffusion comparison uses D3DP with matched frame count, hypotheses, and iterations. In that setting KTPFormer replaces the D3DP denoiser.
Metrics and units
MPJPE averages Euclidean joint error in millimeters. P-MPJPE measures that error after Procrustes alignment. MPI-INF-3DHP also reports the percentage of correct keypoints and the area under the threshold curve.
Key results
On Human3.6M with CPN input and 243 frames, Table 1 reports 40.1 mm MPJPE and 31.9 mm P-MPJPE for deterministic KTPFormer, versus 40.5 mm and 31.8 mm for STCFormer. The diffusion version gives 33.0 mm and 26.2 mm, versus 35.4 mm and 28.7 mm for D3DP. On MPI-INF-3DHP, Table 3 reports 16.7 mm MPJPE, 98.9% PCK, and 85.9% AUC for KTPFormer with 81 frames. On HumanEva, Table 4 reports 15.3 mm average MPJPE with 27 frames.
Trade-offs
The deterministic Human3.6M result narrowly improves raw joint error over STCFormer, while STCFormer has a slightly lower aligned error. The larger improvement belongs to the diffusion evaluation. The small FLOP increase in the reference-keypoint ablation describes the graph additions and leaves end-to-end detector and sampling time unmeasured.

Limitations and applicability

  • Author-reported limitation

    The authors illustrate stronger attention between nearby observations of the same joint, using normal-speed movement at a high frame rate as the setting where neighboring poses change relatively little.

  • Editorial assessment

    The model's evidence is strongest for clip-based joint lifting. Ground-truth keypoints in the MPI-INF-3DHP experiment remove detector error from that result. The reported joint errors leave robustness to severe occlusion, low frame rates, and real-time capture latency unresolved.

Sources and reading guide

The experiments are author-reported. The analysis labels editorial observations separately.