ED-FNN: A New Deep Learning Algorithm to Detect Percentage of the Gait Cycle for Powered Prostheses

Huong Thi Thu Vu, Felipe Gomez Marulanda, Pierre Cherelle, Dirk Lefeber, Ann Nowé, Bram Vanderborght2018

TL;DR

This paper introduces ED-FNN, a novel deep learning algorithm that accurately predicts the percentage of the gait cycle for powered prostheses with high granularity (1% intervals). This advancement is crucial for enabling more precise and stable control of prosthetic devices, moving beyond the limitations of current, less detailed gait phase detection methods.

What Problem Does This Paper Address?

Powered prostheses and exoskeletons are becoming increasingly sophisticated, but their effectiveness is often limited by the ability to accurately detect the current phase of a user's gait. Precise gait phase detection is essential for controlling these devices, ensuring smooth transitions, stability, and safety. Existing methods often detect only a few broad gait phases (e.g., stance, swing) or events (e.g., heel strike, toe-off), which is insufficient for the fine-grained control needed for advanced prosthetic functionality. This lack of detail can lead to delays and imprecise actions, hindering the seamless integration of the prosthesis with the user's natural movement. The paper aims to bridge this gap by developing a method that can predict the gait cycle with a much higher resolution, down to 1% intervals.

Methods

The core of this work is the Exponentially Delayed Fully Connected Neural Network (ED-FNN). This architecture is designed to overcome the limitations of standard Fully Connected Neural Networks (FNNs) and Recurrent Neural Networks (RNNs) for time-series data like gait signals.

  • FNN Foundation: The ED-FNN builds upon FNNs, which consist of input, hidden, and output layers where each neuron is connected to every neuron in the next layer. They use weights and biases to learn complex data representations. The paper uses a ReLU activation function and Mean Squared Error (MSE) as the cost function for training.
  • Simulating RNN Memory: Standard FNNs don't inherently handle temporal dependencies. RNNs excel at this by incorporating memory of past states. The ED-FNN simulates this "memory" by introducing an exponentially delayed input tensor. This means the network doesn't just look at the current sensor reading but also at a history of past readings, weighted by an exponential window. This allows the network to capture both fast changes and longer-term trends in the gait cycle.
  • Exponential Window: A key innovation is the use of an exponential window function. This function allows the network to effectively sample past data points, giving more weight to recent data (for fast changes) while still retaining information from further back (for overall trend prediction). This is crucial for achieving a good trade-off between predicting rapid gait events and the overall gait cycle progression.
  • Compact Architecture: To manage computational complexity, especially for potential real-time applications on embedded systems, the ED-FNN uses a relatively compact architecture: one input layer, six hidden units per layer, and one output layer.
  • Sensor Fusion: The system utilizes data from a single Inertial Measurement Unit (IMU) attached to the lower shank. The ED-FNN architecture processes each sensor input separately before concatenating the extracted features for final prediction.

Datasets

The dataset for this study was collected from seven healthy subjects performing walking activities.

  • Environments: Data was collected on a treadmill (0-degree inclination) and outdoors on flat ground and a 15-degree inclined terrain.
  • Walking Conditions: Subjects walked at various speeds, including normal (approx. 3.2 m/s) and fast (approx. 4.0 m/s) speeds.
  • Data Collection: A single IMU (gyroscope and accelerometer) was used to capture lower shank motion. Force Sensitive Resistors (FSRs) were placed under the toe and heel to serve as ground truth for gait events and to build the dataset.
  • Dataset Size: The combined dataset comprised 2313 walking cycles.
  • Data Splitting: The dataset was divided into training and validation sets for each subject.

Key Insights and Ideas

  • High-Granularity Gait Prediction is Achievable: The ED-FNN demonstrates that predicting the gait cycle with 1% precision is feasible using a single IMU, which is a significant step up from previous methods that typically detect only 4-8 phases.
  • Exponential Delays for Temporal Modeling: The novel use of exponentially delayed inputs in an FNN architecture effectively simulates the temporal memory of RNNs without their full computational overhead, making it suitable for embedded systems.
  • Single IMU Sufficiency: The research shows that a single IMU on the lower shank can provide sufficient information for accurate, high-granularity gait phase prediction, simplifying the system's hardware requirements.
  • Trade-off Management: The exponential window concept is a clever way to balance the need to capture rapid gait events with the requirement to understand the overall gait cycle trend, a common challenge in time-series prediction.

Key Results

The ED-FNN achieved impressive results:

  • Mean Squared Error (MSE): An average MSE of 0.00522 was obtained for individual subjects across both training and validation sets. When combining all subjects' data, the average MSE was 0.006 for the training set and 0.0116 for the validation set.
  • Mean Absolute Error (MAE): The average MAE was 0.021 for individual subjects and 0.041 for the joined dataset.
  • Coefficient of Determination (R²): The model achieved an average R² of 0.93 for training and 0.881 for validation on individual subjects, and 0.91 for training and 0.828 for validation on the joined dataset.
  • No Detection Delay: The ED-FNN's forecasting capabilities allow for a "no-delay" prediction, which is critical for real-time prosthetic control. The paper notes that the system can achieve this within 10 ms.
  • Consistency: The model demonstrated consistent performance across different subjects and runs, indicating robustness and reliability.

Limitations and Future Work

  • Offline Experiments: The current experiments were conducted in an offline setting. While the ED-FNN is designed for real-time applications, direct real-time implementation and validation on prosthetic devices are needed.
  • Computational Cost: Although the ED-FNN is more computationally efficient than traditional RNNs, further optimization for deployment on low-power embedded systems (like ARM chips) is an ongoing consideration. The current training is done on powerful computers, with predictions then transferred.
  • Hyper-parameter Optimization: The authors suggest that further optimization of hyper-parameters (e.g., the exponential window value, network size) could be achieved through cross-validation techniques.
  • Future Prosthesis Integration: The authors plan to integrate the ED-FNN with a new version of the AMP-Foot prosthesis and evaluate its performance in real-time scenarios, including more complex walking conditions like stair climbing.
  • Hardware Exploration: Future work may involve exploring more powerful embedded platforms beyond Beagle Bone Black, such as ODROID-C2 boards or neuromorphic computing solutions.

Summary updated

BibTeX
@misc{vu2018ed,
  author = {Huong Thi Thu Vu and Felipe Gomez Marulanda and Pierre Cherelle and Dirk Lefeber and Ann Nowé and Bram Vanderborght},
  title = {{ED-FNN: A New Deep Learning Algorithm to Detect Percentage of the Gait Cycle for Powered Prostheses}},
  year = {2018},
  doi = {10.3390/s18072389},
}
Figure