Efficient Online Multi-Person 2D Pose Tracking With Recurrent Spatio-Temporal Affinity Fields

Yaadhav Raaj, Haroon Idrees, Gines Hidalgo, Yaser SheikhCVPR 2019

Abstract

Multi-person pose tracking in video requires both accurate keypoint detection and robust association across frames. This paper presents Spatio-Temporal Affinity Fields (STAF), a bottom-up approach that achieves real-time performance (~30 FPS) by leveraging a recurrent neural network and a novel cross-linked limb topology. Unlike top-down methods, STAF's runtime is nearly invariant to the number of people in the scene, making it suitable for complex, real-world applications.

Introduction

The challenge of multi-person pose tracking lies in the dual tasks of detection (identifying keypoints like elbows and knees) and association (linking keypoints into skeletons and tracking them over time). Existing methods often struggle with either speed (top-down methods slow down with more people) or real-time constraints (offline methods require future frames). The authors propose a "truly online" system that processes frames sequentially and maintains high speed regardless of crowd density.

Spatio-Temporal Affinity Fields

The core innovation is the extension of Part Affinity Fields (PAF) into the temporal domain. While PAFs encode the spatial relationship between parts within a single frame, Temporal Affinity Fields (TAF) encode the relationship between parts across consecutive frames.

Cross-Linked Limb Topology

A significant contribution is the shift from tracking individual keypoints to tracking limbs. In a standard keypoint-based TAF, a wrist at time $t$ is linked to the same wrist at time $t+1$. However, if the person is stationary, this vector collapses, losing directional information. STAF introduces a cross-linked topology where a wrist at time $t$ is linked to the elbow at time $t+1$. This redundancy ensures that even with zero motion, the TAF maintains a stable orientation, significantly improving tracking robustness.

Overview of the recurrent STAF architecture and the cross-linked limb topology.

Recurrent Architecture and Efficiency

The network is designed as a recurrent model that "warm-starts" each frame using information from the previous one. The architecture consists of several stages:

  1. Feature Extraction: A VGG-based backbone extracts spatial features.
  2. PAF and KP Estimation: The network predicts Part Affinity Fields (PAFs) for spatial association and Keypoint (KP) heatmaps for detection.
  3. TAF Estimation: Temporal Affinity Fields are predicted to link parts across frames.
  4. Inference: A greedy parsing algorithm assembles the detections into tracked poses.

By making the network recurrent, it can resolve ambiguities caused by occlusions or motion blur using temporal context. The authors also optimized the pipeline to achieve ~30 FPS on a single GPU by reducing refinement stages while maintaining accuracy through temporal feedback.

Key Insights: Redundancy for Reliability

The transition from keypoint-based tracking to limb-based tracking is crucial. As shown in the comparison below, limb TAFs provide a much more stable signal across varying motion scales. By encoding the orientation of limbs across time rather than just the displacement of points, the model becomes much more robust to different magnitudes of motion.

Comparison of Keypoint TAFs vs. Limb TAFs. Limb TAFs (bottom) maintain stable directional vectors even during negligible motion, unlike Keypoint TAFs (top).

Results and Discussion

Evaluated on the PoseTrack benchmarks, STAF achieved competitive accuracy (64.6% mAP on PoseTrack 2017) while being significantly faster than top-down or offline alternatives. Its bottom-up nature ensures that computation time remains constant as the number of people increases.

Limitations

Despite its strengths, the system can experience "ghosting" during abrupt scene cuts, as it attempts to propagate tracks from an unrelated previous frame. Additionally, like other bottom-up methods, it can struggle with very small-scale figures where heatmap resolution is insufficient. Future work includes integrating explicit re-identification (re-ID) modules to handle long-term occlusions or people re-entering the frame.

Summary updated

BibTeX
@inproceedings{raaj2019efficient,
  author = {Yaadhav Raaj and Haroon Idrees and Gines Hidalgo and Yaser Sheikh},
  title = {{Efficient Online Multi-Person 2D Pose Tracking With Recurrent Spatio-Temporal Affinity Fields}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2019},
  doi = {10.1109/cvpr.2019.00475},
}
Figure