2D/3D Pose Estimation and Action Recognition using Multitask Deep Learning

Diogo C. Luvizon, David Picard, Hedi Tabia

Introduction

In computer vision, human pose estimation (locating joints) and action recognition (identifying activities) are intrinsically linked. Intuitively, knowing the spatial configuration of a person's limbs should simplify the task of identifying whether they are "clapping," "running," or "pitching." Historically, however, these tasks have been treated as separate problems or combined into rigid pipelines where a pose estimator feeds coordinates into a separate classifier.

The primary bottleneck in these pipelines is the non-differentiable argmax function typically used to find joint locations in probability heatmaps. Because argmax is not differentiable, gradients cannot flow back from the final action recognition error to fine-tune the pose estimator. This paper introduces a unified, end-to-end trainable multitask deep learning framework that bridges this gap using a differentiable Soft-argmax layer, allowing both tasks to mutually improve during training.

The Multitask Architecture

The proposed Multitask CNN architecture consists of three primary components designed to extract and aggregate spatial and temporal information.

Overview of the multitask CNN architecture for joint pose estimation and action recognition.

1. Entry Flow and Pose Estimation

Using an Inception-V4 backbone, the network processes RGB images to produce visual features and probability heatmaps for joints. The core innovation is the Soft-argmax layer. Instead of selecting the single pixel with the highest probability, it computes the expected value of the joint position across the entire heatmap. This operation is fully differentiable, enabling end-to-end backpropagation from the action label to the raw pixels.

The 2D Soft-argmax mechanism converts a probability map into differentiable x,y coordinates.

2. Dual Action Recognition Branches

  • Pose-based recognition: This branch treats the sequence of predicted 2D or 3D coordinates over time as a structured "image" (joints on one axis, time on the other). It then applies 2D convolutions to extract complex temporal patterns.
  • Appearance-based recognition: This branch utilizes the joint probability maps as a spatial attention mechanism. By multiplying visual features by these maps, the network focuses on relevant body parts and surrounding objects (e.g., identifying a phone near a hand to distinguish "calling" from "drinking").

3. Aggregation

The outputs from both the pose and appearance branches are combined via a fully connected layer to produce the final action classification.

Key Insights

  • Differentiability is Essential: End-to-end optimization via Soft-argmax leads to significantly higher accuracy than training components in isolation.
  • Multitask Regularization: Training on pose estimation helps the action branch focus on relevant spatial areas, while action labels help the pose estimator learn more biologically plausible configurations.
  • Efficiency: By sharing the heavy feature extraction (entry flow) across multiple tasks, the model is more computationally efficient than maintaining separate dedicated models.

Experimental Results

The framework was evaluated on four major benchmarks: MPII (2D pose), Human3.6M (3D pose), Penn Action (2D action), and NTU RGB+D (3D action). The results demonstrated state-of-the-art performance:

  • 3D Pose (Human3.6M): Achieved a Mean Per Joint Position Error (MPJPE) of 53.2mm, a significant improvement over previous methods.
  • 2D Action (Penn Action): Reached a record 98.6% accuracy.
  • 3D Action (NTU RGB+D): Achieved 85.5% accuracy. Notably, the model's estimated poses outperformed the noisy poses provided by Kinect sensors by nearly 3%.

Conclusion and Future Work

While the architecture is highly effective, the authors note that 2D convolutions over temporal sequences may struggle with very long-term dependencies compared to Transformers or RNNs. Additionally, while the shared entry flow is efficient, maximum accuracy currently requires multi-crop evaluation, which increases inference time. Future work may involve extending this framework to multi-person scenarios and integrating more sophisticated temporal attention mechanisms.

Summary updated

BibTeX
@inproceedings{luvizon2018d,
  author = {Diogo C. Luvizon and David Picard and Hedi Tabia},
  title = {{2D/3D Pose Estimation and Action Recognition using Multitask Deep Learning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  url = {https://openreview.net/forum?id=H1bxVlfdZr},
}
Figure