TL;DR
This paper compares three popular neural network architectures (MLP, LSTM, CNN) for estimating lower limb joint angles and moments using only inertial measurement units (IMUs). They found that while CNNs generally excel at joint angle prediction, the choice of network depends on the specific application, with LSTMs being suitable for real-time prediction.
What Problem Does This Paper Address?
Accurately measuring joint angles and moments (kinematics and kinetics) is crucial for understanding human movement in sports and clinical settings. Traditional methods like 3D motion capture are accurate but expensive and confined to laboratory environments. Inertial Measurement Units (IMUs) offer a more portable and accessible solution, but accurately extracting biomechanical data from IMUs, especially outside controlled settings, remains a challenge. A key hurdle is determining the precise orientation of the IMUs relative to body segments. While Artificial Neural Networks (ANNs) show promise for predicting these parameters from IMU data, there's a lack of clarity on which ANN architecture is most effective for this specific task. This paper aims to fill that gap by comparing the performance of three common ANN types.
Methods
The researchers employed three distinct neural network architectures:
- Multilayer Perceptron (MLP): The simplest ANN, capable of learning relationships between inputs and outputs. For IMU data, time-series data was "flattened" to remove temporal dependencies, making it suitable for MLP input.
- Long Short-Term Memory (LSTM): Designed for sequence prediction, LSTMs excel at capturing time dependencies. This made them suitable for processing the time-series nature of IMU data directly.
- Convolutional Neural Networks (CNNs): Originally for image processing, CNNs were adapted by transforming the IMU time-series data into "images." This allowed them to leverage spatial relationships within the data. They also explored using a pre-trained CNN (transfer learning) to potentially improve performance.
The study utilized a simulated dataset derived from high-quality 3D motion capture data, augmented to increase variability and generalizability. They performed a leave-one-subject-out (LOSO) cross-validation to rigorously assess the models' performance on unseen participants.
Datasets
The study utilized a synthesized dataset created from existing motion capture data. This dataset comprised:
- Ground-truth data: 3D motion capture data from 23 participants performing level walking.
- Simulated IMU data: Synthesized acceleration and angular rate data from five IMUs (pelvis, bilateral thighs, and shanks) based on the motion capture trajectories. This simulated data was augmented by a factor of 23, resulting in a training dataset of approximately 46,000 samples.
- Measured IMU data: For validation, they used measured IMU data from 22 participants (3,000 samples) and the ground-truth data from 1 subject (130 samples) for testing.
Key Insights and Ideas
- CNNs shine for joint angles: The study found that CNNs, particularly when trained from scratch, demonstrated superior performance in predicting joint angles compared to MLPs and LSTMs. This suggests their ability to effectively extract relevant spatial features from the transformed IMU data is highly beneficial for kinematic prediction.
- Moment prediction is more robust: Predicting joint moments proved to be a more consistent task across all ANN architectures, with less variation in performance compared to joint angle prediction.
- Transfer learning's mixed results: While transfer learning with a pre-trained CNN was explored, it did not consistently outperform a CNN trained from scratch for this specific task, and in some cases, yielded worse results. This highlights that the effectiveness of transfer learning is highly dependent on the similarity between the pre-training task and the target task.
- LSTM's real-time potential: Despite not achieving the highest accuracy for all predictions, LSTMs are highlighted for their potential in real-time applications due to their ability to process sequential data with less preprocessing.
- Dataset and task matter more than architecture: A significant takeaway is that the quality of the dataset and the inherent complexity of the prediction task itself appear to be more critical factors for achieving high accuracy than the specific choice of ANN architecture among the ones tested.
Key Results
- Joint Angles:
- A CNN trained from scratch showed an overall improvement of 11.89% in joint angle prediction compared to the MLP baseline.
- The pretrained CNN performed worse than the CNN from scratch (-3.76%).
- The LSTM performed worse overall than the MLP for joint angle prediction (-2.70%).
- Joint Moments:
- The CNN performed nearly 10% better than the MLP (9.63%).
- The LSTM performed slightly worse (-1.73%) than the MLP.
- The pretrained CNN did not result in better joint moment prediction than the CNN from scratch (-2.80%).
- Correlation Coefficients:
- Joint angle prediction had lower mean correlation coefficients (0.788-0.874) compared to joint moments (exceeding 0.939).
- Knee adduction-abduction angles presented a significant challenge, with correlation coefficients ranging from 0.389 to 0.625.
- The trained-from-scratch CNN generally outperformed other models in correlation for both angles and moments.
Limitations and Future Work
- Data Quality and Variability: The study acknowledges that high variability in LOSO validation correlation coefficients might be due to specific participants exhibiting movement patterns that deviate significantly from the majority, or potentially lower quality data from some participants.
- Time Normalization for LSTMs: The paper notes that time-normalizing input data for LSTMs, while necessary for consistent input shapes across models, may lead to an underestimation of their true prediction capabilities.
- Future Work: The authors suggest future research should investigate the applicability of different ANNs on datasets of varying tasks and sizes. Additionally, the influence of different filtering techniques on IMU data warrants further evaluation.
Summary updated