PhysioSensAI: a deep learning framework for real-time pain detection and post-session movement quality assessment in rehabilitation exercises
Article : Articles dans des revues internationales ou nationales avec comité de lecture
Accurate and objective assessment of rehabilitation exercises remains challenging, as conventional evaluations are subjective and inconsistent. Although recent computational approaches improve movement quality analysis, they largely neglect the patient’s affective state, a crucial indicator of engagement and discomfort. This study presents PhysioSensAI, an advanced deep learning framework designed to detect pain in real time and assess movement quality post-session during physical rehabilitation exercises. For physical performance assessment, a personalized Spatio-Temporal Graph Convolutional Network (ST-GCN) was developed for exercise quality assessment, to predict continuous scores instead of discrete class labels. For pain detection, we introduce PainNeXt, a ConvNeXt-based architecture augmented with a Spatial Transformer Network for facial normalization and a Transformer Encoder to capture global contextual features, followed by a fully connected layer for accurate pain classification. Our framework outperforms state-of-the-art movement-quality assessment baselines and the evaluated single-frame pain-classification baselines considered in this study. Beyond robust clinical accuracy, PhysioSensAI generates automated feedback reports highlighting critical pain onset events, thereby enabling clinicians to discern whether discomfort is exercise-induced or attributable to underlying pathology. This facilitates enhanced interpretability and informed clinical decision-making throughout rehabilitation. The results underscore the potential of PhysioSensAI as a scalable, objective and personalized tool for squat-based rehabilitation evaluation, with a generalizable architecture designed to extend to additional rehabilitation exercises in future work. The source code will be made publicly available upon acceptance to ensure reproducibility.