[Paper Review] An LSTM Recurrent Network for Step Counting
This paper proposes an LSTM recurrent neural network for smartphone-based step counting using accelerometer and gyroscope data from the WeAllWalk dataset. Trained separately on sighted, blind with long cane, and blind with guide dog users, the model achieves a 1% overcount/undercount rate on mixed data and 5% under stratified leave-one-out cross-validation, demonstrating robust performance across diverse gait patterns.
Smartphones with sensors such as accelerometer and gyroscope can be used as pedometers and navigators. In this paper, we propose to use an LSTM recurrent network for counting the number of steps taken by both blind and sighted users, based on an annotated smartphone sensor dataset, WeAllWork. The models were trained separately for sighted people, blind people with a long cane or a guide dog for Leave-One-Out training modality. It achieved 5% overcount and undercount rate.
Motivation & Objective
- To develop a deep learning model for accurate step counting using smartphone sensor data.
- To address the challenge of varying gait patterns between sighted individuals and visually impaired users with mobility aids.
- To improve step counting accuracy in indoor environments using recurrent neural networks.
- To evaluate model performance across different user groups using multiple error metrics.
- To explore the impact of training data diversity on model generalization for blind users.
Proposed method
- An LSTM recurrent neural network is trained on iPhone sensor data (accelerometer and gyroscope) from the WeAllWalk dataset.
- Input features include rotation rate (X, Y, Z) and user acceleration (X, Y, Z), selected for relevance to gait dynamics.
- Data preprocessing removes turn segments and feature events (e.g., door opening), focusing only on straight walking paths.
- The model uses a sliding window approach to process sequential sensor data, predicting step events at each time step.
- A dropout layer is applied to improve generalization and reduce overfitting.
- Three distinct error metrics are used to evaluate overcount and undercount rates, with results reported per user group and training strategy.
Experimental results
Research questions
- RQ1Can an LSTM model effectively learn and generalize step counting patterns across sighted and visually impaired users with different gait characteristics?
- RQ2How does model performance vary when trained on mixed data versus leave-one-out cross-validation across different user groups?
- RQ3What impact do different error metrics have on evaluating overcount and undercount rates in step counting systems?
- RQ4How does the inclusion of mobility aids (long cane, guide dog) affect the model’s ability to detect heel strikes accurately?
- RQ5To what extent does data diversity (number of participants) influence the model’s generalization performance on unseen users?
Key findings
- The LSTM model achieved a 1% overcount and undercount rate on mixed training data, indicating high accuracy across diverse gait patterns.
- Under a stratified leave-one-out training modality, the model maintained a 5% overcount and undercount rate, demonstrating robustness to individual user variation.
- For blind users with a long cane, the best-performing metric (metric 3) showed only 1.2% undercount and 3.01% overcount on the test set, indicating strong generalization.
- Blind users with guide dogs showed higher error rates, with 17.75% overcount and 0.53% undercount under metric 3, suggesting challenges in modeling rare gait patterns.
- The model’s performance was sensitive to the choice of error metric, with metric 1 showing significantly higher error rates than metrics 2 and 3 due to interval-splitting sensitivity.
- Despite high validation performance, test performance on blind user groups was inconsistent, highlighting the need for larger, more diverse training data to improve generalization.
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.