Falls Prediction in eldery people using Gated Recurrent Units
Marcin Radzio, Maciej Wielgosz, Matej Mertik

TL;DR
This paper introduces a bidirectional Gated Recurrent Unit neural network model that predicts falls in elderly individuals approximately ten minutes in advance using heart rate and blood pressure signals.
Contribution
It is the first to apply bidirectional GRU models for elderly fall prediction using cardiovascular signals, achieving early detection of syncope.
Findings
Predicts syncope about ten minutes before occurrence
Uses cardiovascular signals like heart rate and blood pressure
Demonstrates effectiveness of bidirectional GRU models
Abstract
Falls prevention, especially in older people, becomes an increasingly important topic in the times of aging societies. In this work, we present Gated Recurrent Unit-based neural networks models designed for predicting falls (syncope). The cardiovascular systems signals used in the study come from Gravitational Physiology, Aging and Medicine Research Unit, Institute of Physiology, Medical University of Graz. We used two of the collected signals, heart rate, and mean blood pressure. By using bidirectional GRU model, it was possible to predict the syncope occurrence approximately ten minutes before the manual marker.
| \toprule | threshold | best optimized threshold | ||
|---|---|---|---|---|
| \cmidrule(r)2-3\cmidrule(l)4-5 | F1 score | accuracy | F1 score | accuracy |
| \midruleSingle layer, 100 units | 0.667 | 0.526 | 0.750 | 0.789 |
| Single layer, 200 units | 0.731 | 0.632 | 0.872 | 0.868 |
| Two layers, 100 units each | 0.808 | 0.763 | 0.808 | 0.763 |
| \bottomrule | ||||
| \toprule | threshold | best optimized threshold | ||
|---|---|---|---|---|
| \cmidrule(r)2-3\cmidrule(l)4-5 | F1 score | accuracy | F1 score | accuracy |
| \midruleSingle layer, 100 units | 0.745 | 0.658 | 0.800 | 0.763 |
| Single layer, 200 units | 0.792 | 0.737 | 0.826 | 0.789 |
| Two layers, 100 units each | 0.905 | 0.895 | 0.905 | 0.895 |
| \bottomrule | ||||
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsBalance, Gait, and Falls Prevention · Non-Invasive Vital Sign Monitoring · Heart Rate Variability and Autonomic Control
MethodsGated Recurrent Unit
\papertype
Concept paper
{authblk}Marcin Radzio AGH University of Science and Technology, Kraków, Poland
{authblk}Maciej Wielgosz0000-0002-4401-2957 Academic Computer Centre CYFRONET AGH, Kraków, Poland
{authblk}Matej Mertik0000-0002-4557-330X Alma Mater Europaea ECM, Slovenia
Falls Prediction in eldery people using Gated Recurrent Units
Marcin Radzio and Maciej Wielgosz and Matej Mertik
keywords:
GRU; RNN; syncope prediction
Falls prevention, especially in older people, becomes an increasingly important topic in the times of aging societies. In this work, we present Gated Recurrent Unit-based neural networks models designed for predicting falls (syncope). The cardiovascular systems signals used in the study come from Gravitational Physiology, Aging and Medicine Research Unit, Institute of Physiology, Medical University of Graz. We used two of the collected signals, heart rate, and mean blood pressure. By using bidirectional GRU model, it was possible to predict the syncope occurrence approximately ten minutes before the manual marker.
{correspondence}
Maciej Wielgosz ¡[email protected]¿
1 Introduction
Patients residing in hospitals, especially elders, tend to weaken over time and are prone to never fully recovering [Martínez-Velilla et al.(2015)Martínez-Velilla, Casas-Herrero, Zambom-Ferraresi, Suárez, Alonso-Renedo, Contín, de Asteasu, Echeverria, Lázaro, and Izquierdo]. The adequate exercise regime during hospitalization can stop or even reverse that effect [Martínez-Velilla et al.(2019)Martínez-Velilla, Casas-Herrero, Zambom-Ferraresi, de Asteasu, Lucia, Galbete, García-Baztán, Alonso-Renedo, González-Glaría, Gonzalo-Lázaro, Apezteguía Iráizoz, Gutiérrez-Valencia, Rodríguez-Mañas, and Izquierdo]. Sometimes, however, during the remobilization, the patients happen to faint. After undergoing the syncope, patients experience additional stress, which then results in a lack of self-confidence and undermines trust in the rehabilitation process. Often it could be avoided by predicting whether the person is likely to faint. Such an individual could be commissioned to further rehabilitation while not being exposed to stress associated with the collapse.
When it comes to falls prediction, there were several systems proposed [Rajagopalan et al.(2017)Rajagopalan, Litvan, and Jung]. Among others, there were attempts to asses the syncope risk by applying the ML (and isolation forest in particular) to the outcome of cognitive and motor tests [Mateen et al.(2016)Mateen, Bussas, Doogan, Waller, Saverino, Király, and Playford], or use the accelerometer data gathered by the wearable sensor [Nait Aicha et al.(2018)Nait Aicha, Englebienne, Van Schooten, Pijnappels, and Kröse].
The purpose of this work is to develop a model based on recurrent neural networks that would be capable of forecasting occurrences of syncope by using real-life cardiological time series. The collapse ideally should be predicted ahead of time, allowing the technician to interrupt the examination. The models should also be highly sensitive – patients who are certainly going to faint must be classified correctly, even at the cost of the overall accuracy.
The section 2 of the paper provides information about the dataset and preprocessing. Quality measures are described in section 3, and the experimental setup and results are presented in section 4. Finally, the conclusions of our research are presented in section 5.
2 Dataset
The provided data consisted of nearly 700 files. Each file was labeled either as ,,syncope” (indicating fainting during examination) or ,,no findings”, which for simplicity we will call ,,nosyncope” from now on. For each patient, several measurements were performed, which upon further investigation turned out to be strongly correlated. After consultations, we used only two signals (with sampling rate \SI1.25\hertz) in further tests:
- •
mBP – mean blood pressure, and
- •
HR – heart rate.
Since the selected data was incomplete, unbalanced, and fuzzy, it needed further cleaning. In a few cases, data happened to be wrongly labeled or existed in both classes. For some time, no one noticed this issue. As a result, we trained, evaluated, and tested the models on erroneous data, which caused their low predictive capabilities and worse overall accuracy. The problem was eventually solved by fixing the labels and removing the redundant files.
We trimmed the first 500 and the last 50 samples of every time series, as their collecting happened during the start, fine-tuning or stopping the measuring devices. After the trimming, we removed the series shorter than 500 samples, since they were deemed unusable for model training.
Often, there were gaps in the signals, and the mBP and HR started and ended independently from each other. Depending on the gap location, we followed one of the two scenarios:
- •
when the missing data was at the start or the end of the series, the first or last available data value, respectively, was used to fill in the gap, or
- •
when the gap was in the middle of the signal, the linear interpolation was used.
Please see Fig. 1 for the example data series before and after interpolation.
We devised an iterative procedure composed of several steps to remove the outliers from the signal:
perform input signal studentization, 2. 2.
apply the median filter (window size \num31), 3. 3.
find difference between the studentized signal and the median filter output, 4. 4.
identify outliers by comparing the difference to the threshold value, 5. 5.
remove outliers from the input signal and interpolate the gaps.
The threshold value decreased with each iteration, and \numrange25 iterations were sufficient to clean even very noisy signals.
As a final preprocessing step, the data was normalized using the minmax normalization and rescaled to range.
The ratio of ,,nosyncope” to ,,syncope” series in the dataset was almost 6:1. In order to use the classification approach, we applied the data balancing – we used all ,,syncope” series, while the ,,nosyncope” were selected at random to match the cardinality. Then, we divided the balanced data into two sets:
- •
training set (154 series) – used to train the models,
- •
test set (38 series) – used to evaluate the models.
3 Quality measures
An F-measure was used as a quality metric during conducted experiments. It is calculated using two helper metrics, a recall (1), also called sensitivity, and a precision (2):
[TABLE]
[TABLE]
where:
- •
– true positive – item correctly classified as an anomaly,
- •
– false positive – item incorrectly classified as an anomaly,
- •
– false negative – item incorrectly classified as a part of normal operation.
The parameter controls the recall importance in relevance to the precision when calculating an F-measure:
[TABLE]
During the experiments was used.
Additionally, since the classes were balanced, accuracy could be used as a quality measure. Given the values and representing, respectively, an amount of correctly and incorrectly classified samples, the accuracy can be defined as in (4):
[TABLE]
4 Experiments
As mentioned, we structured the syncope prediction problem as a classification task. The overview of the used neural network architecture is presented in Fig. 2. Two main architecture variants involved using vanilla GRU layers and the bidirectional variant. The loss used during training was categorical cross-entropy, with the batch size equal to \num16 and ADADELTA optimizer. The softmax output was compared with the threshold to select the final label. We optimized the threshold value during the experiments.
4.1 Hyperparameters optimization
The hyperparameters optimization, using Bayesian optimization, was conducted in two phases. The first one aimed to determine which among the parameters have the most significant impact on proposed model quality. There were seven parameters tested: the number of GRU units, the number of GRU layers, history window size, batch size, learning rate, learning rate decay, and output threshold. The experiments showed that:
- •
the relevance of the number of layers decreases when the number of unit increases,
- •
models tend to perform better when with smaller batch size,
- •
the output threshold should be no higher than 0.75.
The second phase focused on the most influential of the parameters: the number of GRU units, the number of GRU layers a history window size. Fig. 3 shows the partial dependence plot for those parameters.
4.2 Vanilla GRU
All vanilla GRU models generated false negatives and did not significantly improve the reaction time when compared to the manually labeled time of the syncope. Applying the per-model optimized threshold generally improved the accuracy and F1 score results when compared to applying a fixed (Fig. 1). However, when one considers the recall (sensitivity) and the reaction time, the lower thresholds tended to yield better results (Fig. 4).
4.3 Bidirectional GRU
In the case of bidirectional GRU, applying the per-model optimized threshold also improved the results when compared to applying a fixed (see Tab. 2). However, the gains were not as significant as in the vanilla GRU case. Moreover, as can be seen in Fig. 5, in case of the best of considered models, change of the threshold value has almost no impact on model quality. Additionally, only the extreme values significantly impact the reaction time.
5 Conclusions and future work
This work is preliminary research which addresses several issues related to falls prediction such as data preparation and model training. The best bidirectional GRU model enabled detection of forthcoming fall approx ten minutes before the event with approx 90 % accuracy. It is worth noting the model is well suited for implementation in wearable divides with appropriate compression [Wielgosz and Karwatowski(2019)]. As future work, the authors are going to focus on enhancing the vanilla GRU solution with more advanced mechanisms and its architecture modifications for better performance.
Acknowledgment
This project was realized in collaboration with the Laboratory for Gravitational Physiology, Aging and Medicine Research Unit, Institute of Physiology, the Medical University of Graz, and with the cooperation of Department of Health Sciences and Information technologies at Alma Mater Europea University, Maribor, Slovenia. We would like to especially thank professor Nandu Goswami, who provided the data and explanations used to train and evaluate models.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[Radzio(2019)] Marcin Radzio. Falls prediction with recurrent neural networks. Master’s thesis, AGH University of Science and Technology, 2019.
- 2[Martínez-Velilla et al.(2015)Martínez-Velilla, Casas-Herrero, Zambom-Ferraresi, Suárez, Alonso-Renedo, Contín, de Asteasu, Echeverria, Lázaro, and Izquierdo] Nicolás Martínez-Velilla, Alvaro Casas-Herrero, Fabrício Zambom-Ferraresi, Nacho Suárez, Javier Alonso-Renedo, Koldo Cambra Contín, Mikel López-Sáez de Asteasu, Nuria Fernandez Echeverria, María Gonzalo Lázaro, and Mikel Izquierdo. Functional and cognitive impairment prevention through early physical activity for geriatric hospitali · doi ↗
- 3[Martínez-Velilla et al.(2019)Martínez-Velilla, Casas-Herrero, Zambom-Ferraresi, de Asteasu, Lucia, Galbete, García-Baztán, Alonso-Renedo, González-Glaría, Gonzalo-Lázaro, Apezteguía Iráizoz, Gutiérrez-Valencia, Rodríguez-Mañas, and Izquierdo] Nicolás Martínez-Velilla, Alvaro Casas-Herrero, Fabricio Zambom-Ferraresi, Mikel López-Sáez de Asteasu, Alejandro Lucia, Arkaitz Galbete, Agurne García-Baztán, Javier Alonso-Renedo, Belen González-Glaría, María Gonzalo-Lázaro, Itziar Apezteguía Iráizoz, · doi ↗
- 4[Rajagopalan et al.(2017)Rajagopalan, Litvan, and Jung] Ramesh Rajagopalan, Irene Litvan, and Tzyy-Ping Jung. Fall prediction and prevention systems: Recent trends, challenges, and future research directions. Sensors , 17(11), 2017. ISSN 1424-8220. 10.3390/s 17112509 . · doi ↗
- 5[Mateen et al.(2016)Mateen, Bussas, Doogan, Waller, Saverino, Király, and Playford] Bilal A. Mateen, Matthias Bussas, Catherine Doogan, Denise Waller, Alessia Saverino, Franz J. Király, and E. Diane Playford. Machine learning in falls prediction; A cognition-based predictor of falls for the acute neurological in-patient population. Co RR , abs/1607.07751, 2016.
- 6[Nait Aicha et al.(2018)Nait Aicha, Englebienne, Van Schooten, Pijnappels, and Kröse] Ahmed Nait Aicha, Gwenn Englebienne, Kimberley S. Van Schooten, Mirjam Pijnappels, and Ben Kröse. Deep learning to predict falls in older adults based on daily-life trunk accelerometry. Sensors , 18(5), 2018. ISSN 1424-8220. 10.3390/s 18051654 . · doi ↗
- 7[Wielgosz and Karwatowski(2019)] Maciej Wielgosz and Michał Karwatowski. Mapping neural networks to FPGA-based Io T devices for ultra-low latency processing. Sensors , 19(13), 2019. ISSN 1424-8220. 10.3390/s 19132981 . · doi ↗
