NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Deep Learning-Enabled Multitask System for Exercise Recognition and Counting

Qingtian Yu, Haopeng Wang, Fedwa Laamarti, Abdulmotaleb El-SaddikMultimodal Technol. Interact 2021

TL;DR

This paper introduces a novel deep learning system that simultaneously recognizes exercise types and counts repetitions using only 2D human pose heatmaps. By leveraging the rich information within these heatmaps, the system achieves state-of-the-art performance on a newly created exercise dataset, paving the way for more sophisticated digital fitness coaching.

What Problem Does This Paper Address?

As people increasingly prioritize health and fitness, there's a growing demand for intelligent systems that can assist with exercise. While human pose estimation, action recognition, and repetition counting have seen significant advancements individually, few systems effectively combine these capabilities to provide comprehensive exercise feedback. Existing methods often rely on complex pipelines or separate models for each task. This paper aims to bridge this gap by developing a unified multitask system that can simultaneously identify the exercise being performed and accurately count repetitions, using a novel approach that leverages the byproduct heatmaps from 2D human pose estimation.

Methods

The core of the proposed system is a deep learning multitask model that integrates 2D human pose estimation, exercise recognition, and repetition counting.

  • Human Pose Estimation: The authors employ the MSPN (Multi-Stage Pose Network) model for 2D human pose estimation. MSPN is chosen for its accuracy and stability. It outputs heatmaps, which are probability maps indicating the likelihood of a joint's location.
  • Heatmap Processing: Instead of directly using joint coordinates, the system utilizes the generated heatmaps. These heatmaps are processed to extract dynamic body motion features. Specifically, the heatmaps are projected horizontally and vertically to create 3D features that capture both ordinate and abscissa movements. These processed heatmaps are then normalized and resized to serve as input for the multitask model.
  • Multitask Model: The multitask model consists of shared convolutional layers followed by two branches: one for exercise recognition and another for repetition counting.
  • Exercise Recognition: This branch uses a ResNet34 backbone for classification, outputting the type of exercise.
  • Repetition Counting: This branch uses a ResNet18 backbone for regression, predicting the number of repetitions.
  • Two-Stage Training: The model is trained in two stages. First, the exercise recognition branch and shared layers are trained using action labels. Second, the counting branch is trained using repetition count labels, with the recognition branch frozen.

Datasets

  • MPII Dataset: Used for pre-training the MSPN pose estimation model.
  • PennAction Dataset: Used for fine-tuning the MSPN model and as the basis for creating the new dataset.
  • Rep-Penn Dataset: A newly created dataset specifically for this research. It is synthesized from the PennAction dataset by connecting forward and rewinding video frames to create multi-cycle exercise videos. It includes seven exercises (bench press, clean and jerk, jumping jack, pull up, push up, sit up, squat) with varying numbers of cycles (6-14) and three different action speeds, resulting in a total of 29,187 exercise videos.

Key Insights and Ideas

  • Heatmaps as Rich Features: The paper demonstrates that heatmaps, often considered a byproduct of pose estimation, contain sufficient spatial and temporal information for both exercise recognition and counting. This is a key departure from methods that rely solely on derived joint coordinates.
  • Multitask Learning Efficiency: By combining exercise recognition and repetition counting into a single multitask model, the system benefits from shared features and potentially improved efficiency and performance compared to separate models.
  • Novelty of Heatmap-Based Multitask: The authors claim this is the first approach to use heatmaps for a combined 2D exercise recognition and repetition counting multitask system.
  • Dataset Synthesis for Specific Needs: The creation of the Rep-Penn dataset highlights the importance of tailored benchmarks for specific research problems, especially when existing datasets lack the required complexity (e.g., multi-cycle exercises).

Key Results

  • Exercise Recognition: The system achieved an overall accuracy of 95.69% on the Rep-Penn dataset. Individual exercise accuracies were generally above 90%, with 'Clean and jerk' reaching 99.83% and 'Sit up' at 88.89%.
  • Repetition Counting: The multitask model performed very well in counting, achieving a Mean Absolute Error (MAE) of 0.004 and an Off-By-One (OBO) accuracy of 0.997. The standard deviation was also low at 0.172, indicating consistent performance.
  • Comparison with Other Methods: The proposed method achieved state-of-the-art results compared to existing works on similar tasks, outperforming them in both exercise recognition and repetition counting metrics.
  • Heatmap vs. Joint Coordinates: Using heatmaps as input for the multitask model yielded better results than using derived joint coordinates for both exercise recognition (95.69% vs. 93.43% accuracy) and repetition counting (lower MAE, AE, and higher OBO).

Limitations and Future Work

  • Dataset Limitations: The Rep-Penn dataset, while novel, has limitations. It only includes continuous workouts with fixed cycle lengths and excludes exercises with shifting view angles. The system's performance might be affected by camera movement or intermittent body movements.
  • Single-Person Focus: The current system is designed for single-person exercise videos.
  • Future Work: The authors suggest collecting more diverse data to improve generalization. They also propose exploring multi-person multitask systems to allow for multiple exercisers. Further research could also investigate the use of 3D pose estimation for more comprehensive analysis.

Summary updated

BibTeX
@inproceedings{yu2021deep,
  author = {Qingtian Yu and Haopeng Wang and Fedwa Laamarti and Abdulmotaleb El-Saddik},
  title = {{Deep Learning-Enabled Multitask System for Exercise Recognition and Counting}},
  booktitle = {Multimodal Technol. Interact},
  year = {2021},
  url = {https://openreview.net/forum?id=oJIKAFqsCh},
}
Figure