[Paper Review] HMM and DTW for evaluation of therapeutical gestures using kinect
This paper proposes a Hidden Markov Model (HMM)-based system for detecting deviations in physical therapy gestures using Kinect-sensed motion data, outperforming Multi-Dimensional Dynamic Time Warping (MDDTW) in identifying subtle movement errors. HMMs effectively detect non-compliant sequences by modeling state transitions and symbol likelihoods, achieving up to 81.3% average error recognition accuracy on angle-based features, while MDDTW failed to reject small deviations, especially in phase 1 and 2 movement sequences.
Automatic recognition of the quality of movement in human beings is a challenging task, given the difficulty both in defining the constraints that make a movement correct, and the difficulty in using noisy data to determine if these constraints were satisfied. This paper presents a method for the detection of deviations from the correct form in movements from physical therapy routines based on Hidden Markov Models, which is compared to Dynamic Time Warping. The activities studied include upper an lower limbs movements, the data used comes from a Kinect sensor. Correct repetitions of the activities of interest were recorded, as well as deviations from these correct forms. The ability of the proposed approach to detect these deviations was studied. Results show that a system based on HMM is much more likely to determine if a certain movement has deviated from the specification.
Motivation & Objective
- To develop an objective, automated system for evaluating the quality of physical therapy gestures to reduce reliance on expert observation.
- To address the challenge of detecting small, clinically relevant deviations from correct movement forms in noisy sensor data.
- To compare the effectiveness of HMM and MDDTW in identifying deviations during therapeutic movements using Kinect-sensed kinematic data.
- To evaluate the robustness of both models across diverse upper and lower limb movements with controlled deviations.
- To determine whether HMM's probabilistic modeling of state transitions provides superior outlier detection compared to MDDTW's alignment-based similarity measure.
Proposed method
- Kinect sensor captured 3D joint trajectories from 14 subjects performing 10 standardized physical therapy exercises, including both correct and deviated repetitions.
- Joint angles were extracted relative to anatomical planes (sagittal, frontal, transverse) to define movement features for model input.
- HMMs were trained on sequences of correct movements, modeling state transitions and observation probabilities for each joint angle sequence.
- MDDTW computed alignment costs between test sequences and reference templates using Euclidean distance in multi-dimensional space.
- The likelihood of a test sequence under the HMM was computed using the forward algorithm, with low likelihood indicating deviation.
- Error detection was evaluated by comparing HMM and MDDTW scores on sequences with controlled deviations in specific planes of motion.
Experimental results
Research questions
- RQ1Can HMM effectively detect small deviations in therapeutic gestures that are not easily identifiable by MDDTW?
- RQ2How does HMM performance compare to MDDTW in rejecting sequences that deviate slightly from the correct form in physical therapy exercises?
- RQ3Does modeling state transitions and symbol probabilities in HMM improve detection of non-compliant movements compared to pure similarity alignment?
- RQ4How does the choice of input features—coordinates vs. joint angles—affect the accuracy of deviation detection?
- RQ5To what extent does sensor noise and distance-related precision loss impact the performance of HMM and MDDTW in real-world settings?
Key findings
- HMM achieved an average error recognition rate of 81.3% on angle-based features in phase 2, significantly outperforming MDDTW’s 13.0% for the same metric.
- For phase 1, HMM achieved 78.1% accuracy in detecting error 1 using angle sequences, while MDDTW reached only 13.1%.
- MDDTW failed to reject sequences with small deviations, especially in phase 1, with error recognition rates below 30% across most tasks.
- HMM showed strong performance on shoulder abduction, flexion, and rotation, with error recognition rates exceeding 70% in multiple conditions.
- For shoulder and elbow extension and hip abduction, HMM performance was suboptimal, likely due to sensor noise and reduced precision at greater distances.
- The study suggests that quaternion-based data may improve detection accuracy, and that discriminative models like Conditional Random Fields could enhance outlier detection.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.