Skip to main content
Enterprise AI Analysis: Application of Deep Learning for the Classification of Activities of Daily Living Using Sensor Data

Precision Movement Classification for Rehabilitation Robotics

Application of Deep Learning for the Classification of Activities of Daily Living Using Sensor Data

This study investigates machine learning and deep learning approaches for classifying upper limb motion using encoder-based biomechanical data, with the goal of identifying a model suitable for implementation in a rehabilitation exoskeleton. Several classical algorithms such as k-Nearest Neighbors, Random Forest, multiclass logistic regression, XGBoost, and an SVM classifier were evaluated alongside three deep learning architectures: convolutional layers, GRU and LSTM units. Models were trained and tested on two types of datasets using both standard cross-validation and leave-one-subject-out validation. Results showed notable differences between validation strategies, with LOSO evaluation revealing limitations of the available dataset and emphasising the need for broader data collection. Overall, the findings indicate that, in the LOSO evaluation of the five-class multi-subject dataset—the most clinically realistic validation scenario—the LSTM-based model achieved the highest generalisation performance (accuracy 92.8%, macro-F1 0.927), supporting its suitability for integration into exoskeleton control systems aimed at detecting and mitigating compensatory movements.

Unlock Enhanced Rehabilitation Outcomes

This research pioneers the integration of advanced AI with rehabilitation robotics, directly addressing workforce shortages and improving patient therapy. By deploying deep learning models that precisely classify upper limb movements, we enable real-time detection of compensatory actions, ensuring more effective and personalized rehabilitation protocols. This translates to accelerated patient recovery and a higher quality of care, scalable across diverse clinical settings.

0 Generalization Accuracy (LSTM)
0 Macro-F1 Score (LSTM)
0 Performance Gain (vs. classical ML in LOSO F1)

Deep Analysis & Enterprise Applications

Select a topic to dive deeper, then explore the specific findings from the research, rebuilt as interactive, enterprise-focused modules.

Introduction & Challenges

Rehabilitation faces severe workforce shortages, driving the need for robotic solutions. However, a key challenge for task-oriented rehabilitation robots is detecting and mitigating compensatory movements, which can impede patient recovery. This study addresses this by evaluating advanced machine learning and deep learning methods for classifying upper limb activities of daily living (ADL) using exoskeleton sensor data, with a strong focus on cross-subject generalization for real-world clinical utility.

Data & Methodology

Our dataset, collected under the SmartEx-Home project, includes 19 unique upper limb ADLs performed by two certified physiotherapists, who deliberately varied biomechanical strategies to maximize motion diversity. An auxiliary 5-class dataset from three additional subjects was used for a more statistically robust leave-one-subject-out (LOSO) evaluation. Data were collected using Movella DOT IMU sensors, converted to 5-DOF joint angles, and preprocessed (interpolation, smoothing, normalization, augmentation) to ensure consistency. We compared classical ML (kNN, Logistic Regression, Random Forest, SVM, XGBoost) and deep learning (LSTM, GRU, CNN) models under both standard cross-validation and LOSO protocols, with a focus on cross-subject generalization.

Results: ML vs. DL

Initial class separability analysis using PCA and t-SNE confirmed distinct clusters for various motions, suggesting classification feasibility but also subject-dependent patterns. While all models achieved very high performance under standard cross-validation (up to 0.99 Macro F1), LOSO validation—the critical test for generalization to unseen subjects—revealed significant performance drops for classical ML models (e.g., SVM at 0.676 Macro F1 for 5-class). Deep learning models, particularly LSTM, demonstrated superior robustness in LOSO, achieving 0.927 Macro F1 and 92.8% accuracy on the 5-class dataset, outperforming classical methods by up to 25 percentage points. Feature importance analysis highlighted DOF2 (shoulder flexion) and DOF5 (forearm rotation) as consistently informative, but also revealed how subject-specific features could bias models under standard CV.

Key Findings & Implications

This study confirms that deep learning models, especially LSTM, are markedly superior for cross-subject generalization in classifying upper limb ADLs from exoskeleton encoder data, a crucial capability for rehabilitation robotics. The 5-DOF joint angle signals, while sufficient for a 5-class problem with diverse subjects, proved less effective for reliably distinguishing all 19 fine-grained activities across only two subjects, emphasizing the need for broader data collection. The LSTM model's ability to extract abstract, subject-invariant features supports its suitability for integration into exoskeleton control systems to detect and mitigate compensatory movements, thereby enhancing the effectiveness and personalization of rehabilitation therapy.

92.8% Top Generalization Accuracy achieved by LSTM on 5-class multi-subject dataset (LOSO validation)

Enterprise Process Flow: Hybrid Deep Learning Model Organization

Normalised Signal Input (120,5)
Handcrafted Features
LSTM/GRU/CNN Feature Learning
Fully Connected Layer Integration
Final Classification Result

Deep Learning's Edge in Cross-Subject Generalization (5-Class LOSO)

A direct comparison of the best-performing classical Machine Learning model (SVM) against the leading Deep Learning model (LSTM) under the crucial Leave-One-Subject-Out (LOSO) validation for the 5-class dataset, highlighting the critical performance differences for real-world rehabilitation applications.
Metric/Feature Best ML (SVM) Best DL (LSTM)
Test Accuracy 72.3% 92.8%
Macro F1 (Test) 0.676 0.927
Generalization Capability Limited, subject-specific bias Stronger, extracts abstract features
Model Complexity Lower Higher (recurrent/convolutional layers)
Suitability for Exoskeleton Less optimal for unseen subjects Recommended for integration for compensatory movement detection

Real-Time Compensatory Movement Detection in Exoskeletons

The identified LSTM model, with its superior generalization performance, is slated for integration into advanced rehabilitation exoskeleton software. This will enable real-time prediction of motion similarity groups for newly introduced movements during therapy. By inferring potential compensatory behaviors, the exoskeleton can adjust its trajectory control, offering an innovative approach to mitigate maladaptive patterns and enhance patient outcomes. This directly addresses the clinical importance of preventing adverse motor learning during ADL training.

Challenge: Current rehabilitation exoskeletons lack integrated mechanisms for detecting compensatory movements, hindering effective ADL training.

Solution: Implement an LSTM-based deep learning classifier using encoder-based joint angle signals to identify motion similarity groups in real-time.

Impact: Enables the exoskeleton to provide clinically meaningful feedback, adjust assistance, and actively mitigate compensatory movements, leading to more effective and personalized rehabilitation.

Calculate Your Potential AI-Driven ROI

Estimate the financial and operational benefits of implementing AI solutions for human motion analysis in your organization. This calculator provides a preliminary projection based on industry averages and the efficiency gains demonstrated in this research.

Projected Annual Savings $0
Annual Hours Reclaimed 0

Your AI Implementation Roadmap

A phased approach to integrating advanced AI for human motion analysis, from initial assessment to full-scale deployment and continuous optimization.

Phase 1: Discovery & Strategy

Conduct a deep dive into your existing rehabilitation protocols, patient population, and current data collection methods. Define specific goals for AI integration (e.g., compensatory movement detection, personalized therapy adjustments). Identify key stakeholders and outline a pilot project scope.

Phase 2: Data & Model Adaptation

Gather additional, diverse patient data for fine-tuning pre-trained models. Adapt the LSTM classification model to your specific exoskeleton and activity sets. Establish robust data preprocessing pipelines and ensure secure, compliant data handling.

Phase 3: Pilot Integration & Validation

Deploy the AI model within a controlled pilot environment, integrating it with your exoskeleton control system. Conduct rigorous testing and validation with a small group of patients, focusing on real-time performance, accuracy in compensatory movement detection, and user feedback. Iterate based on initial results.

Phase 4: Full-Scale Deployment & Training

Roll out the AI-powered exoskeleton system across your facility. Provide comprehensive training for clinicians and support staff on operating the new system and interpreting AI-driven insights. Establish monitoring protocols for system performance and patient outcomes.

Phase 5: Continuous Optimization & Expansion

Implement a feedback loop for continuous model improvement, incorporating new data and evolving clinical needs. Explore expansion of AI capabilities to other rehabilitation areas or integration with broader patient management systems. Ensure long-term scalability and support.

Ready to Transform Rehabilitation with AI?

Schedule a personalized consultation with our AI specialists to explore how deep learning can enhance your clinical practice, improve patient outcomes, and optimize operational efficiency.

Ready to Get Started?

Book Your Free Consultation.

Let's Discuss Your AI Strategy!

Lets Discuss Your Needs


AI Consultation Booking