Abstract
Human pose estimation and action recognition are related tasks since both problems are strongly dependent on the human body representation and analysis. Nonetheless, most recent methods in the literature handle the two problems separately. In this article, we propose a multi-task framework for jointly estimating 2D or 3D human poses from monocular color images and classifying human actions from video sequences. We show that a single architecture can be used to solve both problems in an efficient way and still achieves state-of-the-art or comparable results at each task while running with a throughput of more than 100 frames per second. The proposed method benefits from high parameters sharing between the two tasks by unifying still images and video clips processing in a single pipeline, allowing the model to be trained with data from different categories simultaneously and in a seamlessly way. Additionally, we provide important insights for end-to-end training the proposed multi-task model by decoupling key prediction parts, which consistently leads to better accuracy on both tasks. The reported results on four datasets (MPII, Human3.6M, Penn Action and NTU RGB+D) demonstrate the effectiveness of our method on the targeted tasks. Our source code and trained weights are publicly available at https://github.com/dluvizon/deephar.
TL;DR
This paper introduces a unified, multi-task deep learning framework that simultaneously performs 2D/3D human pose estimation and action recognition in real-time. By using a differentiable "soft-argmax" layer and a novel decoupling strategy for task-specific gradients, the model achieves state-of-the-art accuracy while processing over 100 frames per second on a single GPU.
What Problem Does This Paper Address?
In computer vision, human pose estimation (where are the joints?) and action recognition (what is the person doing?) are intrinsically linked. Intuitively, knowing a person's pose should make it easier to identify their action. However, most existing systems treat these as separate problems or "stitch" them together in a way that prevents end-to-end optimization.
The primary technical hurdles are:
- Non-differentiability: Traditional pose estimation uses an "argmax" function to find joint coordinates from heatmaps, which breaks the backpropagation chain needed for deep learning.
- Computational Complexity: Action recognition often relies on heavy 3D convolutions or optical flow, making real-time performance difficult.
- Competing Objectives: Training one model for two different tasks can lead to "gradient interference," where the requirements for accurate pose estimation conflict with those for action recognition.
Methods
The authors propose a Multi-task CNN architecture composed of an entry-flow network followed by a sequence of "prediction blocks" (PBs) arranged in downscaling and upscaling pyramids.
Key technical innovations include:
- Soft-argmax Layer: Instead of a hard "argmax," they use a differentiable soft-argmax to convert heatmaps into joint coordinates. This allows the entire pipeline—from pixels to action labels—to be trained via backpropagation.
- Regression-based 3D Pose: Rather than using memory-intensive volumetric heatmaps for 3D, they predict 2D heatmaps and 2D depth maps, combining them to get 3D coordinates.
- Decoupled Action Poses: To solve the problem of competing gradients, the authors "replicate" the final pose prediction layer during the late stages of training. One set of poses is supervised by ground truth (the "pose task"), while the other is optimized solely to improve action recognition (the "action task").
- Hybrid Features: The action recognition component uses two types of information: Pose features (an image-like representation of joint coordinates over time) and Appearance features (local visual information around joints, using the predicted pose as an attention mechanism).
Datasets
The model was evaluated on four major benchmarks:
- MPII: A standard dataset for 2D human pose estimation.
- Human3.6M: A large-scale dataset for 3D human pose estimation in controlled environments.
- Penn Action: A dataset of YouTube videos for 2D action recognition (e.g., "baseball swing").
- NTU RGB+D: A massive dataset for 3D action recognition, featuring 60 different action classes.
Key Insights and Ideas
- Multi-tasking is a Win-Win: Training on pose estimation significantly boosts action recognition accuracy. On the Penn Action dataset, adding pose supervision improved action recognition by nearly 10%.
- The Power of Decoupling: The authors found that "decoupling" the poses used for action recognition from the poses used for the pose-estimation task prevented the two objectives from fighting each other. This led to a small but consistent gain in accuracy for both tasks.
- Pose as Attention: By using predicted joint locations to "crop" or weight visual features, the model learns to ignore background noise and focus on the most informative parts of the video (like the hands or feet) for identifying actions.
- Efficiency via Scalability: The architecture is modular. By reducing the number of "pyramids" (prediction blocks) used during inference, users can trade a tiny bit of accuracy for massive gains in speed, reaching up to 180+ FPS.
Key Results
The framework achieved impressive results across the board:
- 3D Pose: Achieved a state-of-the-art Mean Per Joint Position Error (MPJPE) of 48.6 mm on Human3.6M.
- Action Recognition: Reached 98.7% accuracy on Penn Action and 89.9% on NTU RGB+D (cross-subject), outperforming many specialized models.
- Speed: The "single-clip" version runs at over 100 FPS, while a slightly optimized version for 2D tasks can reach 240 FPS, making it highly suitable for real-time applications like robotics or interactive gaming.
Limitations and Future Work
While the model is highly efficient, the authors note that action recognition still benefits from longer temporal sequences. The current "single-clip" approach might struggle with very long-duration actions that require broader context.
Additionally, while the "drift" of decoupled probability maps (where a foot heat map might move toward an object in the hand) acts as a useful attention mechanism, it suggests that the model's internal representation of "pose" for action recognition is no longer strictly anatomical. Future work could explore how to better balance these "semantic" drifts with physical constraints.
Summary updated