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

Investigation of intelligent barbell squat coaching system based on computer vision and machine learning

Yinq-Rong Chern, Yuhao Lee, Hsiao-Ching Lin, Guan-Ting Chen, Ying-Hsien Chen, Fu-Sung Lin, Chih-Yao Chuang, Jenn-Jier James Lien, Chih-Hsien HuangarXiv 2025 · DOI

Abstract

This paper presents an intelligent barbell squat coaching system utilizing an Azure Kinect DK depth camera and machine learning to provide real-time feedback. By extracting key biomechanical features—Body-Thigh angle, Dorsiflexion, Knee-Hip Ratio, and Bar-Shift—and optimizing models using SHAP (SHapley Additive exPlanations) values, the system achieves high diagnostic accuracy (up to 100%) with a response time under 0.5 seconds. Experimental results demonstrate significant technique improvement in novice lifters compared to unsupervised training.

Introduction

Strength training is a critical component of healthy aging, yet the barbell squat—a foundational compound exercise—remains technically demanding. Beginners often lack the proprioception to identify poor form, and professional coaching is frequently inaccessible. While computer vision (CV) systems for exercise exist, they often suffer from high latency or a lack of qualitative analysis. This research addresses these gaps by developing a system that provides immediate, actionable feedback on six specific form errors.

Methodology

The proposed pipeline uses an Azure Kinect DK depth camera to capture 3D motion data. Rather than relying on raw video input, the researchers extracted four specific biomechanical features to represent the mechanics of the movement:

  1. Body-Thigh Angle (BT): Indicates hip mobility and squat depth.
  2. Dorsiflexion (DF): Measures ankle mobility and knee progression.
  3. Knee-Hip Ratio (KHR): Evaluates the balance of power between the posterior chain and quadriceps.
  4. Bar-Shift (BS): Tracks barbell stability relative to the center of gravity.
Biomechanical features and joint tracking used for squat analysis.

The system evaluates three machine learning architectures: 1D-Convolutional Neural Networks (1D-CNN), Long Short-Term Memory (LSTM) networks, and Random Forests. A key technical innovation was the use of SHAP values for feature selection. By identifying and removing features that introduced noise, the authors simultaneously improved model accuracy and reduced computation time.

Experimental Setup and Dataset

The team compiled a custom dataset of 8,151 squats from 77 participants (average age 50). Squats were categorized into seven distinct labels: one "Good Squat" and six common technical errors, such as shallow depth, pelvic tilts, and "good morning" squats where the hips rise prematurely.

Visual representation of the seven squat classifications, including common form errors.

Data was standardized to 50-frame sequences and processed using three methods—Variation (V), Variation Relative Change (VRC), and Z-scores—to ensure the models remained robust across different individual movement speeds.

Results and Discussion

The system achieved impressive F1 scores across the six error types: 86.86%, 69.01%, 77.42%, 90.74%, 95.83%, and 100%. Crucially, each diagnosis is delivered in less than 0.5 seconds, enabling a "Real-Time Mode" where users receive immediate scores and advice. In a 4-week trial, participants using the AI system showed substantial technical improvements, significantly outperforming a control group that trained independently.

Feature engineering proved superior to raw data processing; focusing on ratios like the Knee-Hip Ratio allowed the system to capture movement mechanics effectively across diverse body types. However, practical limitations were noted, specifically regarding "visual noise" from loose clothing and occlusion caused by standard-sized Olympic weight plates (larger than 26 cm) blocking the camera's view of the joints.

Conclusion and Future Work

This intelligent coaching system provides a viable, real-time solution for improving squat technique without a human coach. Future research will focus on multi-camera setups to overcome equipment occlusion while maintaining low latency, and expanding the system's capabilities to other complex movements like deadlifts and overhead presses.

Summary updated

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
Barbell squat issue diagnosis; one of the six reported issues (specific issue not identified with this value)Proposed squat-diagnosis models (the abstract does not identify the specific model for this value)F1 score86.86%Classification
Source quote
L21: SHapley Additive exPlanations (SHAP) method to enhance the accuracy of issue prediction and reduce the computation time by feature selection. Results: The F1 score of the six issues reached 86.86%, 69.01%, 77.42%, 90.74%, 95.83%, and 100%. Each squat diagnosis took less than 0.5 seconds. Finally, this study examined the efficacy of the proposed system with two groups of participants trained with and without the system. Subsequently, participants trained with the system exhibited substantial improvements in their squat technique, as assessed both by the system itself and by a professional weightlifting coach. Conclusion: This is a comprehensive study that integrates artificial intelligence, computer vision and multivariable processing technologies, aimed at building a real-time, user-friendly barbell squat feedback and training system.
Barbell squat diagnosis, Model B Class 1 (posterior pelvic tilt; Label 3)Model B, 1D-CNN trained with intersected featuresF1 score69.01%Classification · model=1D-CNN · features=intersected
Source quote
L217: 69.01%, and 77.42% for Classes 0, 1, and 2, respectively. In addition, the F1 score of the classes utilizing LSTM architecture in
Barbell squat diagnosis, Model B Class 2 (anterior pelvic tilt; Label 4)Model B, 1D-CNN trained with intersected featuresF1 score77.42%Classification · model=1D-CNN · features=intersected
Source quote
L217: 69.01%, and 77.42% for Classes 0, 1, and 2, respectively. In addition, the F1 score of the classes utilizing LSTM architecture in
Barbell squat diagnosis, Class 1 (excessive hip elevation during ascent; Label 5)Model C, LSTM trained with intersected featuresF1 score90.74%Classification · model=LSTM · features=intersected
Source quote
L218: Model C improved after training with the intersected features, which could reach more than 90% (98.03% in Class 0 and 90.74% in Class 1). For Model D, the F1 score of Classes 1 and 2 utilizing LSTM with the intersected features increased from 93.62% to
Barbell squat diagnosis, Class 1 (excessive hip dominance during descent)Model D, LSTM trained with intersected featuresF1 score95.83%Classification · model=LSTM · features=intersected
Source quote
L219: 95.83% and 98.95% to 100%, respectively. Because the SHAP values for all random forest models were negative, this study did not train this architecture with positive features. The training results of all features were adopted as the standard. The SHAP method could only slightly improve the score when the F1 score was relatively high (greater than 80%). However, when the F1 score was relatively low, the SHAP method could significantly improve the score while reducing the calculation time. When developing the intelligent squat coaching system, the primary criterion for selecting diagnostic models was the F1 score for Classes 1 and 2 (if available). However, computation time was also considered if multiple models exhibited comparable F1 scores. To provide immediate feedback, the proposed system attempted to display the grading result of each squat within 0.5 s.
Barbell squat diagnosis, Model D Class 2Model D, LSTM trained with intersected featuresF1 score100%Classification · model=LSTM · features=intersected
Source quote
L219: 95.83% and 98.95% to 100%, respectively. Because the SHAP values for all random forest models were negative, this study did not train this architecture with positive features. The training results of all features were adopted as the standard. The SHAP method could only slightly improve the score when the F1 score was relatively high (greater than 80%). However, when the F1 score was relatively low, the SHAP method could significantly improve the score while reducing the calculation time. When developing the intelligent squat coaching system, the primary criterion for selecting diagnostic models was the F1 score for Classes 1 and 2 (if available). However, computation time was also considered if multiple models exhibited comparable F1 scores. To provide immediate feedback, the proposed system attempted to display the grading result of each squat within 0.5 s.
BibTeX
@misc{chern2025investigation,
  author = {Yinq-Rong Chern and Yuhao Lee and Hsiao-Ching Lin and Guan-Ting Chen and Ying-Hsien Chen and Fu-Sung Lin and Chih-Yao Chuang and Jenn-Jier James Lien and Chih-Hsien Huang},
  title = {{Investigation of intelligent barbell squat coaching system based on computer vision and machine learning}},
  year = {2025},
  eprint = {2503.23731},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.23731},
}
Figure