Background: Home-based fitness training requires automated systems for exercise quality assessment and real-time posture correction without professional supervision. Purpose: We develop an AI-powered virtual fitness system using spatiotemporal skeleton analysis for automatic exercise quality assessment. Methods: We propose Anatomical-Prior Sparse Attention (APSA), integrating biomechanical constraints into graph neural networks. APSA hierarchically models spatial and temporal dependencies through anatomically-informed attention, focusing on kinematically meaningful joint interactions while pruning implausible connections. The system processes 3D skeletal keypoints from standard RGB cameras. Results: Evaluation on two public datasets (IntelliRehabDS and Kimore) shows APSA achieves 76.9% accuracy in quality classification and 0.789 F1-score in error detection, outperforming recent 2024 methods by 1.1–8.5 percentage points while maintaining real-time performance (8.2 ms per sequence). The system identifies common errors including knee valgus (84.3% accuracy) and excessive trunk lean. Conclusions: The biomechanically-informed attention mechanism enhances accuracy and interpretability, enabling scalable deployment in home-based training and remote rehabilitation.
Xinyinan Wang (Tue,) studied this question.