Next Article in Journal
Superdirective Wideband Array of Circular Monopoles with Loaded Patches for Wireless Communications
Previous Article in Journal
A Sub-Aperture Overlapping Imaging Method for Circular Synthetic Aperture Radar Carried by a Small Rotor Unmanned Aerial Vehicle
Previous Article in Special Issue
A High Performance and Robust FPGA Implementation of a Driver State Monitoring Application
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Detecting Minor Symptoms of Parkinson’s Disease in the Wild Using Bi-LSTM with Attention Mechanism

by
Vasileios Skaramagkas
1,2,*,
Iro Boura
3,4,
Cleanthi Spanaki
3,5,
Emilia Michou
6,
Georgios Karamanis
7,
Zinovia Kefalopoulou
7 and
Manolis Tsiknakis
1,2
1
Institute of Computer Science, Foundation for Research and Technology Hellas (FORTH), GR-700 13 Heraklion, Greece
2
Department of Electrical and Computer Engineering, Hellenic Mediterranean University, GR-710 04 Heraklion, Greece
3
School of Medicine, University of Crete, GR-710 03 Heraklion, Greece
4
Department of Basic and Clinical Neuroscience, Institute of Psychiatry, Psychology and Neuroscience, King’s College London, London WC2R 2LS, UK
5
Department of Neurology, University Hospital of Heraklion, GR-715 00 Heraklion, Greece
6
School of Health Rehabilitation Sciences, Department of Speech and Language Therapy, University of Patras, GR-265 04 Patras, Greece
7
Department of Neurology, Patras University Hospital, GR-264 04 Patras, Greece
*
Author to whom correspondence should be addressed.
Submission received: 14 August 2023 / Revised: 2 September 2023 / Accepted: 11 September 2023 / Published: 13 September 2023
(This article belongs to the Special Issue State-of-the-Art Sensors Technology in Greece)

Abstract

:
Parkinson’s disease (PD) is a neurodegenerative disorder characterized by motor and nonmotor impairment with various implications on patients’ quality of life. Since currently available therapies are only symptomatic, identifying individuals with prodromal, preclinical, or early-stage PD is crucial, as they would be ideal candidates for future disease-modifying therapies. Our analysis aims to develop a robust model for accurate PD detection using accelerometer data collected from PD and non-PD individuals with mild or no tremor during phone conversations. An open-access dataset comprising accelerometer recordings from 22 PD patients and 11 healthy controls (HCs) was utilized. The data were preprocessed to extract relevant time-, frequency-, and energy-related features, and a bidirectional long short-term memory (Bi-LSTM) model with attention mechanism was employed for classification. The performance of the model was evaluated using fivefold cross-validation, and metrics of accuracy, precision, recall, specificity, and f1-score were computed. The proposed model demonstrated high accuracy (98%), precision (99%), recall (98%), specificity (96%), and f1-score (98%) in accurately distinguishing PD patients from HCs. Our findings indicate that the proposed model outperforms existing approaches and holds promise for detection of PD with subtle symptoms, like tremor, in the wild. Such symptoms can present in the early or even prodromal stage of the disease, and appropriate mobile-based applications may be a practical tool in real-life settings to alert individuals at risk to seek medical assistance or give patients feedback in monitoring their symptoms.

1. Introduction

Parkinson’s disease (PD) is the second most common neurodegenerative condition, estimated to currently affect more than 8.5 million people globally, according to the World Health Organization (WHO) [1]. An elevated risk for PD driven by population aging and industrialization-related environmental factors is likely to result in a PD pandemic within the following years [2]. PD has been associated with significantly poorer health-related quality of life, even in the early stage of the disease [3,4]. Interestingly, it was found to be the most rapidly growing disease regarding figures of prevalence, disability, and fatality among neurological disorders, with the latter being the primary source of disability worldwide [5]. Consequently, and since its global burden is expected to surge in the future, interventions for early diagnosis and efficient treatment are imperative.
Care management for PD is personalized and multifactorial in nature [6]. Early recognition of symptoms allows a timely and informed introduction to efficient multilevel/multidisciplinary approaches, both pharmacologic and nonpharmacologic (e.g., exercise, speech/occupational therapy), as clinically indicated, with a direct and significant impact on patients’ quality of life [7]. However, to date, available therapeutic options aim solely at symptomatic improvement without being able to slow down, halt, or ideally reverse the underlying neurodegenerative process and, consequently, disease progression [8]. On the other hand, heterogeneity of PD in terms of age at symptoms’ onset, constellation of symptoms, progression, response to therapy, and genetic substrate may relate to distinct disease subtypes (endotypes), which may be linked to different underlying biological processes. Indeed, recent advances in PD genetics have shown that different pathogenetic mechanisms are involved in various degrees and combinations in different patients [9]. Biomarkers of several types (clinical, imaging, biochemical, genetic, and digital) may assist in better understanding the subjacent molecular pathways that drive PD development in each patient and guide individualized treatment [10]. Novel disease-modifying therapies that specifically target some, but not other, pathways are currently being developed in order to address this unmet need in the treatment of PD. Detection of patients at a prodromal or even a presymptomatic (preclinical) stage of PD, when neurodegeneration is at more initial stages, seems crucial, as this population is more likely to receive the full therapeutic benefit of the new targeted therapies [11,12].
PD diagnosis is primarily based on clinical assessment, with bradykinesia being the core symptom accompanied by rest tremor and/or rigidity [13]. Additional features may support (e.g., clear and positive response to levodopa) or exclude (e.g., ataxia) the diagnosis, or alert the treating physician to a potential alternative diagnosis of atypical or nondegenerative Parkinsonism (e.g., early falls, pyramidal signs), while nonmotor symptoms hold an essential role in identifying potential PD subtypes [14,15]. Early diagnosis of PD is challenging and significantly dependent on the clinician’s expertise, as to date there are no established diagnostic studies/tests that could efficiently substitute for clinical assessment [16].
Although not a prerequisite for PD diagnosis, resting tremor is a cardinal symptom in PD, with the vast majority of patients experiencing other type of tremors as well, such as postural or kinetic tremor [17,18]. Tremor is often the very first symptom noticed by PD patients or their caregivers, leading them to seek medical help. There are also indications that mild tremor may be present in the early or even prodromal phase of PD [19], but also in non-Parkinsonian carriers of selected PD-related genetic mutations [20], thus making it useful as a clinical biomarker of diagnostic or predictive value. Such motor phenomena may be so subtle that only instrumented motor assessments using portable devices can detect them, thus unraveling a population at risk.
In recent years, there has been growing interest in utilizing artificial intelligence (AI) techniques to develop noninvasive and accessible methods for early PD detection [21]. The advent of wearable devices, such as accelerometers embedded in smartphones or smartwatches, has provided a wealth of data which can be leveraged to extract meaningful information about an individual’s movement patterns and identify potential biomarkers for PD [22,23]. The use of machine learning (ML) and deep learning (DL) techniques that employ sensor signals (e.g., accelerometers, gyroscopes, pressure sensors) has garnered increased attention [24,25,26]. These wearable sensors offer a cost-effective solution for long-term monitoring under real-world conditions [27,28,29,30] in contrast to other analysis systems (such as video-based motion analysis) that require costly equipment and are restricted to indoor environments end experimental settings [31]. These findings indicate a promising future for monitoring and management of PD patients based on sensor signals and AI-related techniques.
Here, we present a novel approach for detecting PD in the wild using a bidirectional long short-term memory (Bi-LSTM) model with an attention mechanism. The key contribution of our work lies in the development of a robust and accurate model for PD detection in individuals with slight symptoms of tremor using accelerometer data collected in real-world settings. Unlike previous studies that primarily focused on controlled clinical environments, our approach aims to address the challenges of detecting PD in the wild, where data variability and noise are more prevalent. By leveraging the ubiquity of smartphones and smartwatches, our method allows for convenient and nonintrusive monitoring of individuals in their natural environments. Furthermore, our proposed architecture jointly captures temporal dependencies and focuses on relevant information within the accelerometer sequences. The use of Bi-LSTM layers enables the model to consider both past and future contexts, facilitating the extraction of discriminative features for classification of Parkinsonian symptoms severity. Additionally, the attention mechanism enhances the model’s ability to emphasize important segments of the input data, providing valuable insights into the underlying patterns contributing to PD detection.
Our paper follows a structured format to present the research findings in a clear and organized manner. It begins with an introduction which provides background information on PD and highlights the significance of detecting PD early, when symptoms are minor and clinically questionable. The Section 3 outlines the data collection process and describes the implementation of the Bi-LSTM model for classification. The Section 4 presents the experimental outcomes, including accuracy and loss curves, box plots, receiver operating characteristic (ROC) curves, and performance metrics. The Section 5 interprets the findings, explores the implications, and provides insights into the model’s performance, generalizability, and potential applications in early-stage PD detection. Finally, the Section 6 summarizes the key findings, highlighting the importance of the proposed model and its prospect towards PD detection when only subtle symptoms of tremor are present.

2. Literature Review: Deep Learning for Parkinson’s Disease Identification Based on Upper Limb Motion Data

2.1. Artificial Neural Networks

Artificial neural networks (ANNs) have revolutionized the field of healthcare and diagnosis, surpassing the efficacy and adaptability of conventional ML techniques [32]. ANNs have the potential to improve medical decision making, patient outcomes, and delivery of care. Inevitably, multilayer perceptron (MLP), but also deep neural network (DNN) models, have been developed additionally for diagnostic purposes related to PD. Authors in [33] proposed a novel mobile phone application system based on measuring the hand acceleration using a mobile phone accelerometer. The study utilized recordings from 21 PD patients and 21 HCs, extracting features through wavelet packet analysis to construct a 12-element feature vector. A neural network classifier achieved a 95% accuracy and a 90% kappa coefficient, indicating the reliable detection of PD. In another study, handwriting patterns were evaluated as potential biomarkers for PD [34]. The researchers collected 935 handwriting assignments from 55 PD patients and 94 HCs. Three feature sets were extracted: neuromotor, kinematic, and nonlinear dynamic. Among traditional ML classifiers, an MLP network was tested, achieving an accuracy of 97% and 78% for classifying between PD and young or elderly HCs, respectively.
Bazgir et al. [35] evaluated tremor using a supervised learning pattern recognition system. The study implemented a classifier block and neural network based on smartphone-recorded acceleration data. The results demonstrated a high accuracy of the neural network, showing a 91% correlation between the tremor item in the Unified Parkinson’s Disease Rating Scale (UPDRS) and acceleration values. This approach offered a potential method for evaluating tremor in PD patients. Finally, a study utilized signal processing techniques to examine the consistency between upper limb tremor scores in PD as assessed by the clinician and wearable devices [36]. Acceleration signals were collected during standard movements, and characteristic values were extracted using various domains. The neural network model showed higher accuracy compared to other models, achieving 95.3% accuracy for resting tremor scores and 91.2% accuracy for postural tremor scores. The combination of acceleration signals and displacement signals effectively simulated the clinician’s scores for tremors in the upper limb of PD patients.

2.2. Convolutional Neural Networks

Recently, convolutional neural networks (CNNs) have demonstrated remarkable capabilities in medical image analysis, disease detection, diagnosis, and prognosis [21,37]. These networks have the potential to significantly impact healthcare by contributing to early disease detection, treatment planning, and improved clinical outcomes. To this goal, several studies have explored the use of CNN in the context of PD and Parkinsonian tremor detection. Xing et al. [38] evaluated seven predictive models, including CNN, to differentiate between PD and essential tremor (ET) using demographics and upper limb tremor data. The CNN model, trained on tremor frequency and amplitude-related features, demonstrated modest predictive ability with accuracy above 78% and f1-score above 0.83. In another study, a CNN-based method for detecting PD hand tremor using wrist acceleration information collected from a wearable sensor device was proposed [39]. Their CNN model with nine layers outperformed conventional ML techniques in detecting PD hand tremor, reaching an accuracy of 97%.
The advantages of accelerometers and gyroscopes as wearable sensors on the wrists were exploited towards the development of TremorSense, a PD tremor detection system [40]. Researchers employed an eight-layer CNN model to classify rest, postural, and action tremor in PD, achieving an accuracy of over 94% in various evaluation scenarios. Moreover, in a recent study [41], scientists introduced and evaluated histograms of oriented gradients (HOGs) combined with ML and DL methods, including a 2D-CNN, for evaluation of tremor severity in PD patients. The HOG descriptor achieved high discriminating rates in identifying tremor patterns from handwritten drawings and the network achieved a 83% accuracy. Finally, a tremor assessment system utilizing a CNN to distinguish the severity of symptoms based on data collected from a wearable device was developed by Kim et al. [42]. Their CNN architecture demonstrated accurate tremor monitoring with 85% correct prediction rate. The aforementioned studies highlight the potential of CNN in PD and tremor detection, showing improved accuracy and performance compared to conventional techniques.

2.3. Long Short-Term Memory

Long short-term memory (LSTM) is a type of recurrent neural network (RNN) that has gained significant attention for its ability to model and analyze sequential data [43]. LSTM excels in capturing dependencies and patterns over long sequences, making it particularly well suited for time series and sequential data analysis. In healthcare, LSTM-based models have been successfully applied on various occasions, such as disease prediction, patient monitoring, and medical signal analysis [21,44]. These models leverage the memory capabilities of LSTM to capture temporal dynamics and contextual information, enabling accurate predictions and insights from healthcare data.
Taking the above into consideration, Thummikarat et al. [45] proposed the use of an LSTM network to aid physicians in PD diagnosis. Their study demonstrated an accuracy of 73% in identifying patients with PD at an early stage with the suggested architecture. In another study [46], RNN models were trained using figure drawing data represented as a time series of coordinates, angles, and pressure readings. The paper compared two recurrent network models, namely, LSTM and Echo State Networks, to analyze the advantages and limitations of each architecture. Finally, LSTM achieved an identification accuracy of 91% and an f1-score of 0.94.
Hssayeni et al. [47] used wearable devices and introduced two methods based on deep LSTM networks and gradient tree boosting to continuously monitor Parkinsonian tremor using gyroscope sensor signals recorded during various body movements. The evaluation of data acquired from 24 PD patients showed that the LSTM method exhibited relatively high correlation with the clinician’s assessment of tremor, as rated by UPDRS III subscores (r = 0.77, p < 0.0001) through subject-based leave-one-out cross-validation.

2.4. Hybrid Deep Learning Architectures

Through our literature search, we identified two studies that used sophisticated DL to distinguish between ET and Parkinsonian tremor. Initially, Hathaliya et al. [48] integrated gated recurrent unit (GRU) and LSTM algorithms. Specifically, accelerometer data were passed through the GRU model, and served as input into the LSTM model to improve its performance. The authors utilized a blockchain network to validate that the trained model’s testing accuracy was 74.1%. Additionally, in [49], a data-driven NeurDNet model was proposed for classifying tremor in PD and ET based on the kinematics of the hand. The network was trained on more than 90 h of hand motion signals, including 250 tremor evaluations from 81 patients, and its differential diagnostic accuracy of 95.55% exceeds its state-of-the-art equivalents.
Concerning the diagnosis of PD, researchers investigated the applicability of CNN and CNN-BLSTM models based on time series classification derived from pen-based signals [50]. In this context, the Multi-Modal Collection (PDMultiMC) containing recordings of online handwriting, vocal signals, and eye movements was created [51]. HandPDMultiMC, a subset of PDMultiMC, includes examples of handwriting from 42 participants (21 PD patients and 21 non-PD controls). When combined with synthetic data augmentation, CNN-BLSTM models trained with jittering and synthetic data augmentation provided the highest performance for early PD identification (97.62% accuracy), according to experimental results on the dataset.

2.5. Limitations in Previous Studies, Addressed in the Present Study

In comparison to previous studies, our work addresses several limitations and introduces novel contributions to the field of PD detection. Initially, the aforementioned studies focused on PD population with variable symptoms’ severity of the different PD symptoms. Nevertheless, in our study, and as explained in detail in Section 3.1, we selected PD patients experiencing only slight symptoms of tremor, thus focusing on a more homogeneous group of patients. Secondly, while previous studies primarily used controlled clinical environments, our approach specifically targets PD detection in real-world settings by leveraging data collected in the wild. This is crucial as it allows us to account for the variability and noise commonly encountered in everyday life, making our model more robust and applicable to diverse scenarios. Furthermore, our method leverages the widespread use of smartphones and smartwatches, enabling convenient and nonintrusive monitoring of individuals in their natural environments. This eliminates the need for specialized equipment or clinical visits, making it more accessible and cost-effective. Finally, our proposed architecture comprising LSTM layers and an attention mechanism (see Section 3.4) enables us to capture temporal dependencies effectively and highlight relevant information within the accelerometer sequences.

3. Methodology

3.1. Dataset Description

The dataset used in this study contains IMU signals captured in the wild via the accelerometer sensor embedded in modern smartphones for the purpose of detecting tremorous episodes related to PD [52]. A total of 31 PD patients and 14 HCs contributed accelerometer data from their personal devices over the course of several months. Automatic recording of triaxial acceleration values was performed whenever a phone call was made. The annotation in the dataset is based on UPDRS items 16, 20, and 21, from now on mentioned as updrs16, updrs20, and updrs21, respectively. updrs16 refers to the value related to tremor as described in item 16 of the UPDRS part II, as reported by the subject, and updrs20 and updrs21 to the values related to rest tremor and action/postural tremor, respectively, in the right and left hand as described in items 20 and 21 of the UPDRS part III, as reported by the attending neurologist. Finally, a pd_status of ‘1’ indicates that the subject is a PD patient, whereas a value of ‘0’ indicates that the subject is an HC.
For purposes of early diagnosis of PD based solely on the motor symptom of upper limb tremor, we used a subset of the initial dataset by keeping those subjects with updrs16 score 1 (i.e., 0 and 1). The reason we decided to use updrs16 and not updrs20 or updrs21 was to account for the participant’s perspective of their tremor. Thus, we only included individuals who may not have been aware of their tremor (even if it was objectively measured by the clinician in items 20 and/or 21 of UPDRS) or, if they had been, this tremor was perceived as minor without any intrusions in activities of everyday life (even if it was not captured in the clinician’s assessment using UPDRS). Due to the subtle symptoms, these individuals may not consider visiting a physician at this point, but the findings of portable technologies may alert them to seek medical help. We also thought that UPDRS item 16 may offer a more complete and concise estimation of patients’ tremor compared to UPDRS items 20 and 21. The latter items represent instant assessments that may not reflect the true nature of tremor, symptoms which, similarly to other PD symptoms, tend to fluctuate during the day due to several factors (stress, excitement, fatigue, posturing, etc.). Thus, the final utilized dataset comprises 22 PD patients and 14 HCs.

3.2. Data Preprocessing

To lessen the computing burden and network complexity of the system, the accelerometer data were downsampled to 100 Hz before being used in the training and evaluation stages. Notably, PT signals have an instructive spectral region up to 12 Hz in frequency [53]. Given that the Nyquist theorem states that a signal can be reconstructed in its entirety if it is sampled at a rate twice as fast as its highest informative frequency, we conclude that a sampling rate of 100 Hz is adequate for both minimizing the system’s computational load and preserving the signal’s spectral contents of interest. Last, but not least, a Butterworth filter with a 12 Hz cutoff was used to efficiently isolate and analyze the unique frequency range associated with PT [54].

3.3. Windowing and Feature Extraction

After completing the data preprocessing phase, we applied a windowing technique with each window size set to 100 data points (1 s) with 50% overlap. The purpose of introducing overlap between windows is to ensure that important temporal information in the time series is captured. It allows for smoother transitions between adjacent windows and reduces the chances of missing significant patterns or events that might occur near the edges of individual windows [55]. By defining the window size and overlap, we are specifying the granularity at which the time series data will be analyzed. Smaller window sizes with higher overlaps provide more detailed information but may increase computational complexity, while larger window sizes with lower overlaps offer a more aggregated view of the data but may potentially miss finer patterns [55].
For this work, thirty-three (33) time-, frequency-, and energy-related features were calculated for each window, as seen in Table 1.

3.4. Implementation of Bidirectional LSTM with Attention

LSTM is a type of RNN layer that can effectively process sequential data, such as time series or text [57]. The bidirectional variant of LSTM processes the input sequence in both forward and backward directions, allowing the model to capture dependencies in both past and future contexts. The use of a Bi-LSTM with attention model for classifying PD patients and HCs using accelerometer signals from smartphones during phone conversations is justified for several reasons [58].
Firstly, the Bi-LSTM architecture is well suited for capturing temporal dependencies in sequential data, which is essential for analyzing accelerometer signals collected over time. By processing the input sequence in both forward and backward directions, the model can effectively capture patterns and dependencies in both past and future context. This is particularly relevant in the context of PD classification, as the characteristics of movements associated with the disease may manifest in different ways over time. Additionally, the inclusion of an attention mechanism further enhances the model’s ability to focus on relevant parts of the input sequence. PD can exhibit subtle variations in movement patterns and intensity, and the attention mechanism allows the model to dynamically weigh the importance of different time steps in the sequence, emphasizing the most informative parts.

3.4.1. Bidirectional LSTM Layer

As mentioned earlier, Bi-LSTM comprises an LSTM in both the forward and backwards directions. The memory controller in the LSTM is used to determine which information is forgotten and which is retained. It is implemented by three structures: the input gate, the forget gate, and the output gate. The structure of the unit is depicted in Figure 1. The operation process is as follows:
i t = σ ( W x i x t + W h i h t 1 + b i )
f t = σ ( W x f x t + W h f h t 1 + b t )
o t = σ ( W x o x t + W h o h t 1 + b o )
g t = tanh ( W x c x t + W h c h t 1 + b c )
c t = f t c t 1 + i t g t
h t = o t tanh ( c t )
The input gate (1) determines how much new information should be let through to update the cell state c t at time step t. It takes into account the current input x t , the previous hidden state h t 1 , and bias b i using the weight matrices W x i and W h i . The sigmoid function σ squashes the combined input, producing a value between 0 and 1, representing the gate’s openness (0 means closed, 1 means open). The forget gate (2) determines how much of the previous cell state c t 1 should be forgotten at time step t. It takes into account the current input x t , the previous hidden state h t 1 , and bias b f using the weight matrices W x f and W h f . The sigmoid function σ outputs values between 0 and 1, indicating the amount of information to retain (1 means retain all, 0 means forget all). The output gate (3) determines how much of the cell state c t should be exposed as the hidden state h t at time step t. It takes into account the current input x t , the previous hidden state h t 1 , and bias b o using the weight matrices W x o and W h o . The sigmoid function σ produces values between 0 and 1, controlling the amount of information to be exposed in the hidden state. The new cell state g t (4) is updated by considering the current input x t , the previous hidden state h t 1 , and bias b c using the weight matrices W x c and W h c . The hyperbolic tangent function (tanh) maps the combined input to a value between −1 and 1, capturing new candidate information. The updated cell state c t (5) is obtained by combining the previous cell state c t 1 with the new candidate information g t . The forget gate f t determines how much of the previous cell state is forgotten, while the input gate i t determines how much of the new candidate information is incorporated. Finally, the hidden state h t is obtained by applying the output gate o t to the hyperbolic tangent of the updated cell state c t . The output gate controls the exposure of the cell state information, while the hyperbolic tangent function applies a nonlinear transformation to capture relevant features.
The traditional LSTM network, however, can only learn in one direction, thereby disregarding the reverse information. In the bidirectional LSTM [59], nevertheless, the current input depends not only on the prior accelerometer value but also on the subsequent value. The combination of the two LSTM units thoroughly considers the temporal information preceding and following each acceleration value, as depicted in Figure 2.
w i ( i = 1 , , 6 ) denotes the weight from one unit layer to another. x t is the feature vector, h means LSTM units of input feature sequence (…, x t 1 , x t , x t + 1 , …), h’ indicates LSTM units of input feature sequences (…, x t + 1 , x t , x t 1 ,…), and o t is the corresponding output after the feature vector passes through the bidirectional LSTM network.
The operation process is expressed as follows:
h t = σ ( w 1 x t + w 2 h t 1 + b t ( 1 ) )
h t = σ ( w 3 x t + w 5 h t 1 + b t ( 2 ) )
o t = tanh ( w 4 h t + b t ( 3 ) )
o t = tanh ( w 6 h t + b t ( 4 ) )
o t = 0.5 × ( o t + o t )
where b t ( 1 ) , b t ( 2 ) , b t ( 3 ) , b t ( 4 ) are the biases in the bidirectional LSTM network at time t. Moreover, o t , o t are the results of two LSTM units dealing with the vector output at the corresponding time. As shown in (11), the output feature vector o t is the mean of the two vectors at the corresponding time. The vector is fed into the attention mechanism to learn the network’s weight.

3.4.2. Attention Layer

By assigning attention weights to the hidden states, the attention layer provides a mechanism to selectively weigh the contributions of the forward and backward hidden states based on their relevance to the task at hand. The attention mechanism process is as follows:
e t = v a T tanh ( W a [ h t ; h t ] + b a )
α t = softmax ( e t )
c = t α t [ h t ; h t ]
where in (12), h t f and h t b are the forward and backward hidden states at time step t, respectively. W a is a weight matrix, b a is a bias term, and v a is a weight vector for calculating attention scores. The attention score e t is obtained by taking the dot product of v a with the hyperbolic tangent of the linear transformation of the concatenated hidden states. The attention scores e t in (13) are passed through the softmax function to obtain attention weights α t . The softmax function normalizes the attention scores across all time steps, ensuring that the weights sum up to 1. α t represents the importance or weight assigned to each hidden state h t in the sequence. Finally, in (14), the context vector c is calculated by taking the weighted sum of the concatenated hidden states [ h t f ; h t b ] across all time steps. The attention weights α t determine the contribution of each hidden state to the context vector, and c represents a summary or representation of the input sequence, capturing the most relevant information.

3.4.3. Network Architecture

The proposed model, which is presented in Figure 3, consists of multiple bidirectional LSTM layers to capture sequential patterns in the input accelerometer data. Dropout layers are added for regularization, and an attention layer helps the model focus on relevant information. Finally, a flatten layer and dense layer with a sigmoid activation function produce the binary classification output.
The hyperparameters of various layers of the presented model are shown in Table 2. Notably, the final model consists of a total of 346,349 parameters.

3.4.4. Experimental Setup and Implementation

Python version 3.9.7 installed on a personal computer with a GTX GeForce 750 Ti GPU, Intel(R) Core(TM) i7-6700 CPU at 3.40 GHz clock speed, and 32 GB of RAM was used for the implementation and experimentation. TensorFlow-GPU version 2.5.0 with the frontend of Keras-GPU were used for developing, training, and evaluating the DL model. During training, the model’s loss was calculated using a binary cross-entropy loss function, and the model’s weights were updated using an Adam optimizer with an initial learning rate of 10 4 . In addition, 128 minibatch sizes were used to train the suggested model.

4. Results

Regarding our experimental procedure and the classification stage, we split the data into training and testing sets, with the number of test data samples being 30% of the total number of examples [60]. To assess the performance of our model, we employed a fivefold cross-validation (5-CV) technique, ensuring a robust evaluation. Additionally, hyperparameter optimization was performed using the GridSearch method, allowing us to find the optimal values for the model’s hyperparameters. Furthermore, we introduced an early stopping callback function with a patience level set to 3, which prevented overfitting and improved the model’s generalization capability.

4.1. Training and Validation

The training and validation progress of the proposed model was visualized using accuracy and loss curves for each fold of the 5-CV. The accuracy curves depict the performance of the model in correctly classifying PD and HC samples, while the loss curves represent the convergence of the model during training.
Figure 4 illustrates the accuracy curves for the training and validation sets across the five folds. It can be observed that the model achieves high accuracy on both the training and validation sets, indicating its ability to effectively learn the underlying patterns in the accelerometer data. The accuracy steadily increases during the initial epochs and eventually plateaus, demonstrating the convergence of the model. Notably, the validation accuracy closely follows the training accuracy, suggesting that the model generalizes well to unseen data.
In Figure 5, the loss curves for the training and validation sets are presented. The curves depict the reduction of the loss function over the training epochs. As expected, the loss decreases rapidly during the initial epochs and gradually stabilizes as the model converges. The loss curves for the training and validation sets exhibit a similar pattern, indicating that the model is not overfitting to the training data and is able to generalize well to new samples.
Furthermore, we visualized the distribution of performance metrics across the different folds and epochs using box plots, as observed in Figure 6. These plots provide valuable insights into the variability and consistency of our model’s performance during training and validation. The first set of box plots represents the training and validation loss across different folds at each epoch. The vertical axis denotes the loss values, while the horizontal axis represents the folds. The boxes in the plots indicate the interquartile range (IQR) of the loss distribution, with the median value represented by the horizontal line inside the box. The whiskers extending from the boxes indicate the minimum and maximum values, excluding outliers.
Similarly, we created box plots to visualize the training and validation accuracy across different folds at each epoch. These plots showcase the distribution of accuracy values achieved by our model during training and validation. Once again, the boxes represent the IQR, the horizontal line inside the box denotes the median accuracy, and the whiskers display the minimum and maximum values, excluding outliers.
Analyzing these box plots provides a comprehensive understanding of our model’s performance characteristics. We can observe the consistency of our model’s performance across different folds, with minimal variability in both loss and accuracy. This consistency indicates the robustness of our proposed model in effectively capturing and generalizing patterns in the data.
To further assess the discriminative power and performance of our proposed model, we plotted the ROC curves and calculated the corresponding area under the curve (AUC) for each fold, as presented in Figure 7. The curves show the model’s performance at different classification thresholds, indicating the balance between correctly identifying PD patients and minimizing false positive predictions.
Analyzing the ROC curves and AUC values across the five folds, we observed consistent and high performance across all iterations. The AUC values for each fold were consistently high, indicating that the Bi-LSTM with attention model achieved effective discrimination between PD patients and HCs. These results highlight the robustness and effectiveness of our model in accurately classifying PD patients with minor tremor symptoms.

4.2. Performance Evaluation on the Test Set

The performance of our network model was evaluated using several metrics, including accuracy, precision, recall, specificity, and f1-score. These metrics provide insights into different aspects of the model’s performance. The average performance metrics obtained from the 5-CV are presented in Table 3.
The results demonstrate the effectiveness of our proposed model in accurately classifying the accelerometer data into PD patients and HCs. The high mean accuracy of 0.98 indicates that our model achieved a high overall classification accuracy across all folds. The mean precision of 0.99 indicates a low rate of false positives, emphasizing the model’s ability to correctly identify positive instances. The mean recall of 0.98 suggests that the model effectively captures the majority of positive instances. The mean specificity of 0.96 indicates a high rate of correctly identifying negative instances. Lastly, the mean f1-score of 0.98 represents a balanced measure of precision and recall, indicating the model’s strong overall performance.
Additionally, to provide a comprehensive comparison with the relevant literature, Table 3 presents the performance metrics of our proposed model alongside the results reported in other research works. Notably, our Bi-LSTM with attention model achieved superior performance compared to previous studies. The comparison underscores the effectiveness of our proposed model in accurately differentiating PD patients from healthy individuals, particularly when minor symptoms are present, highlighting its significance and potential as a valuable tool for early PD detection and monitoring when presenting symptoms may be subtle. Importantly, our model’s success can be attributed to its ability to analyze accelerometer data collected in real-world settings, capturing the true complexities and variabilities of individuals’ everyday movements. This feature enhances the generalizability and practicality of our approach, making it suitable for real-life applications and paving the way for widespread adoption in the field of PD research and healthcare.

4.3. An Additional Experiment with a Subset of the Dataset

We conducted an additional experiment for the purpose of early diagnosis of PD based solely on the motor symptom of upper limb tremor. This time, we utilized an even smaller sample of the initial dataset by keeping those subjects with only zero (0) updrs16 score. We, thus, wanted to address this group of patients who either do not experience any symptoms of tremor (e.g., akinetic type of PD) or if they did (updrs20/21 score of at least 1), they were not aware of it. In this case, we ended up with a much smaller dataset which comprised 8 PD patients and 13 HCs. For this particular experiment, we followed the same data processing, feature engineering, training, validation, and testing procedure as described in the previous sections. Our Bi-LSTM with attention network once more yielded encouraging results, with the metrics of accuracy, precision, recall, specificity, and f1-score being 0.97, 0.98, 0.96, 0.96, and 0.96, respectively.

5. Discussion

The results of this study demonstrate the effectiveness of our proposed Bi-LSTM with attention model in accurately discriminating PD patients from HCs based on accelerometer data when individuals experience slight or no tremor (updrs16 score 1 ), irrespective of the clinician’s objective assessment. The model achieved high accuracy, precision, recall, specificity, and f1-score, indicating its robustness and potential for detection and monitoring of PD when only minor motor symptoms of tremor are present, a concept which may apply in patients with early or even prodromal PD.
One key advantage of our model is its ability to efficiently analyze accelerometer data collected in real-world settings. By capturing the true complexities and variabilities of individuals’ everyday movements, our model enhances the generalizability and practicality of methods of PD detection. This capability is particularly crucial for early-stage PD detection, as it enables the model to handle diverse and dynamic movement patterns commonly observed in real-life scenarios.
The high accuracy achieved by our model surpasses the performance of previous studies in PD classification using different types of data, such as typing, writing, and hand poses. This superiority can be attributed to the effectiveness of the Bi-LSTM architecture combined with the attention mechanism. The Bi-LSTM allows the model to capture temporal dependencies in the accelerometer data, while the attention mechanism focuses on relevant segments of the input, enhancing the model’s ability to extract discriminative features.
The results of the fivefold cross-validation demonstrate the model’s stability and consistency in performance across different folds. The close alignment between training and validation accuracy curves suggests that our model generalizes well to unseen data, indicating its robustness and ability to capture the underlying patterns in the accelerometer data. Moreover, the analysis of ROC curves and AUC values further supports the discriminative power of our model. The well-separated ROC curves and consistently high AUC values across the five folds indicate the model’s ability to distinguish between PD patients and HCs with high sensitivity and specificity. This implies that our model can effectively balance between correctly identifying PD patients and minimizing false positive predictions.
Comparing our results with previous works, our proposed model outperformed existing studies in PD classification. Specifically, in the work by [45], an LSTM model was applied to classify PD patients and HCs based on typing data, achieving an accuracy of 0.73. Researchers in [46] utilized a two-stacked LSTM model for PD detection during writing tasks, resulting in an accuracy of 0.91. Moreover, a CNN-BiLSTM model was employed in [50] for classifying PD based on writing data, achieving an accuracy of 0.98. Scientists in [33] used a DNN model for PD classification using hand pose data, obtaining an accuracy of 0.95. Comparatively, our proposed model exhibited superiority in terms of accuracy, precision, recall, specificity, and f1-score.
While our proposed model outperforms previous works, several limitations need to be acknowledged. Firstly, the participants’ clinical and accelerometer data were derived from an open access public dataset comprising PD patients with different characteristics in terms of disease severity/duration and levodopa equivalent dose [61]. Although all included patients had comparative tremor scores in the relevant UPDRS items (≤1 in updrs16 and ≤2 in updrs20/updrs21), patients may have not been similar regarding their disease severity, which is defined by other symptoms as well, like bradykinesia or gait impairment. It is, thus, not clear whether the participants’ differentiation between PD patients and controls was based solely on the detection of slight symptoms of tremor, potentially macroscopically unperceived by human senses (both of the patient and of the examiner), or due to coexistent motor features, such as bradykinesia. Indeed, accelerometers capture motor performance collectively, based on the recorded acceleration of movements. In this particular experiment, data were collected for brief time periods while individuals were talking on their smartphone and their upper limb was relatively stable. Although a true state of immobility cannot be realistically achieved, it is considered less likely to capture symptoms of bradykinesia when no particular movements are actively performed (e.g., after a command). Moreover, bradykinesia, in contrast to rest or postural tremor, is usually detected from accelerometers when upper or lower limbs are actively moving [62,63]. We could, thus, argue that the selected group of patients was rather homogeneous from the scope of tremor characteristics.
The high heterogeneity of PD cannot be captured by a single symptom though, and, in our case, tremor-free PD patients of the akinetic type are bound to be missed by such a detection system. In order to address this concern, we performed a further analysis of a subset of PD patients who reported no symptoms of tremor (0 in updrs16). Interestingly, our model achieved high levels of PD detection in this subgroup of individuals as well, highlighting that the built-in accelerometer may be able to capture particular patterns of motor impairment that patients are not aware of. Although the results of this latter subanalysis should be received with skepticism due to the small sample size which can possibly introduce bias, high variance, limited complexity, and generalization, they pave the way for future studies. Expanding the dataset size and diversity could enhance the generalizability of the model. Moreover, tremor tends to improve with dopaminergic therapy and occasionally declines as the disease progresses and symptoms of rigidity and bradykinesia predominate. Thus, low tremor scores may easily be encountered both in the early and advanced stage of PD; this cannot be inferred by UPDRS, which is mostly a descriptive tool. A dataset of drug-naïve, early-stage PD patients, or even at-risk individuals in the preclinical or prodromal stage of PD would give more focused and robust results considering early PD detection.
Additionally, tremor is a common symptom, which may be associated with numerous other neurological (e.g., ET) and systemic disorders (e.g., thyroid dysfunction), and may also arise as a drug-related adverse event (e.g., valproic acid) or even be present in healthy individuals (physiological tremor) [64]. Including participants with such characteristics in future datasets would also be essential. Incorporating other types of sensor data, such as voice recordings or gait analysis, could provide a more comprehensive and multimodal approach to PD detection. Finally, exploring the interpretability of the model’s predictions and investigating the specific features learned by the attention mechanism could also provide valuable insights into the underlying mechanisms of PD.

6. Conclusions

In this study, we proposed a novel approach for detection of PD using accelerometer data collected during phone conversations from subjects demonstrating minor tremor of the upper limb, which might have gone undetected. The results of our experiments showcase the robustness and effectiveness of our model in differentiating PD patients from HCs. Our findings may have significant implications for the field of PD research and healthcare. The ability to accurately detect subtle PD symptoms, such as tremor, could potentially facilitate the identification of PD patients in the early stage of the disease and prompt individuals at risk to seek medical help and proper consultation, and eventually lead to its effective treatment. Such a possibility could also lead to effective patients’ selection for clinical trials of new targeted, disease-modifying precision-medicine therapies and for biomarkers development. Our proposed model provides a valuable contribution to this end, as mobile-based applications capturing data in the wild can revolutionize screening procedures for outpatients. Future research directions include expanding the dataset size and diversity, incorporating other sensor modalities, such as voice recordings or gait analysis, and investigating the interpretability of the model’s predictions. These efforts may further enhance our understanding of the underlying mechanisms of PD.

Author Contributions

Conceptualization, V.S.; data curation, V.S.; formal analysis, V.S., I.B., C.S., Z.K., G.K. and E.M.; funding acquisition, M.T.; investigation, V.S., I.B., C.S., Z.K., G.K. and E.M.; methodology, V.S. and I.B.; project administration, M.T.; resources, V.S.; software, V.S.; supervision, M.T.; validation, V.S., I.B., C.S., E.M., G.K. and Z.K.; visualization, V.S.; writing—original draft, V.S. and I.B.; writing—review and editing, V.S., I.B. and C.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are openly available in Zenodo.org at https://0-doi-org.brum.beds.ac.uk/10.5281/zenodo.7273759 (accessed on 14 August 2023).

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
PDParkinson’s disease
HCHealthy control
MLMachine learning
DLDeep learning
AIArtificial intelligence
Bi-LSTMBidirectional long short-term memory
CNNConvolutional neural network
DNNDeep neural network
RNNRecurrent neural network
ANNArtificial neural network
IQRInterquartile range
AUCArea under the curve
ROCReceiving operating characteristic

References

  1. Parkinson Disease; World Health Organization: Geneva, Switzerland, 2023; Available online: https://www.who.int/news-room/fact-sheets/detail/parkinson-disease (accessed on 9 August 2023).
  2. Rossi, A.; Berger, K.; Chen, H.; Leslie, D.; Mailman, R.B.; Huang, X. Projection of the prevalence of Parkinson’s disease in the coming decades: Revisited. Mov. Disord. Off. J. Mov. Disord. Soc. 2018, 33, 156–159. [Google Scholar] [CrossRef] [PubMed]
  3. Lubomski, M.; Davis, R.L.; Sue, C.M. Health-related quality of life for parkinson’s disease patients and their caregivers. J. Mov. Disord. 2021, 14, 42–52. [Google Scholar] [CrossRef] [PubMed]
  4. Duncan, G.W.; Khoo, T.K.; Yarnall, A.J.; O’Brien, J.T.; Coleman, S.Y.; Brooks, D.J.; Barker, R.A.; Burn, D.J. Health-related quality of life in early Parkinson’s disease: The impact of nonmotor symptoms. Mov. Disord. Off. J. Mov. Disord. Soc. 2014, 29, 195–202. [Google Scholar] [CrossRef]
  5. Dorsey, E.R.; Elbaz, A.; Nichols, E.; Abbasi, N.; Abd-Allah, F.; Abdelalim, A.; Adsuar, J.C.; Ansha, M.G.; Brayne, C.; Choi, J.Y.J.; et al. Global, regional, and national burden of Parkinson’s disease, 1990–2016: A systematic analysis for the Global Burden of Disease Study 2016. Lancet Neurol. 2018, 17, 939–953. [Google Scholar] [CrossRef]
  6. Titova, N.; Chaudhuri, K.R. Personalized medicine and nonmotor symptoms in parkinson’s disease. Int. Rev. Neurobiol. 2017, 134, 1257–1281. [Google Scholar] [CrossRef]
  7. Armstrong, M.J.; Okun, M.S. Diagnosis and treatment of parkinson disease: A review. JAMA 2020, 323, 548–560. [Google Scholar] [CrossRef]
  8. Ntetsika, T.; Papathoma, P.E.; Markaki, I. Novel targeted therapies for Parkinson’s disease. Mol. Med. 2021, 27, 17. [Google Scholar] [CrossRef]
  9. Ye, H.; Robak, L.A.; Yu, M.; Cykowski, M.; Shulman, J.M. Genetics and pathogenesis of parkinson’s syndrome. Annu. Rev. Pathol. 2023, 18, 95–121. [Google Scholar] [CrossRef]
  10. Emamzadeh, F.N.; Surguchov, A. Parkinson’s disease: Biomarkers, treatment, and risk factors. Front. Neurosci. 2018, 12, 612. [Google Scholar] [CrossRef]
  11. Straccia, G.; Colucci, F.; Eleopra, R.; Cilia, R. Precision medicine in parkinson’s disease: From genetic risk signals to personalized therapy. Brain Sci. 2022, 12, 1308. [Google Scholar] [CrossRef]
  12. Noyce, A.J.; Lees, A.J.; Schrag, A.E. The prediagnostic phase of Parkinson’s disease. J. Neurol. Neurosurg. Psychiatry 2016, 87, 871–878. [Google Scholar] [CrossRef] [PubMed]
  13. Bloem, B.R.; Okun, M.S.; Klein, C. Parkinson’s disease. Lancet 2021, 397, 2284–2303. [Google Scholar] [CrossRef]
  14. Postuma, R.B.; Berg, D.; Stern, M.; Poewe, W.; Olanow, C.W.; Oertel, W.; Obeso, J.; Marek, K.; Litvan, I.; Lang, A.E.; et al. MDS clinical diagnostic criteria for Parkinson’s disease: MDS-PD Clinical Diagnostic Criteria. Mov. Disord. 2015, 30, 1591–1601. [Google Scholar] [CrossRef]
  15. Sauerbier, A.; Jenner, P.; Todorova, A.; Chaudhuri, K.R. Non motor subtypes and Parkinson’s disease. Park. Relat. Disord. 2016, 22 (Suppl. S1), S41–S46. [Google Scholar] [CrossRef] [PubMed]
  16. Tolosa, E.; Garrido, A.; Scholz, S.W.; Poewe, W. Challenges in the diagnosis of Parkinson’s disease. Lancet Neurol. 2021, 20, 385–397. [Google Scholar] [CrossRef]
  17. Pasquini, J.; Ceravolo, R.; Qamhawi, Z.; Lee, J.Y.; Deuschl, G.; Brooks, D.J.; Bonuccelli, U.; Pavese, N. Progression of tremor in early stages of Parkinson’s disease: A clinical and neuroimaging study. Brain J. Neurol. 2018, 141, 811–821. [Google Scholar] [CrossRef]
  18. Dirkx, M.F.; Zach, H.; Bloem, B.R.; Hallett, M.; Helmich, R.C. The nature of postural tremor in Parkinson disease. Neurology 2018, 90, e1095–e1103. [Google Scholar] [CrossRef]
  19. de Lau, L.M.L.; Koudstaal, P.J.; Hofman, A.; Breteler, M.M.B. Subjective complaints precede Parkinson disease: The rotterdam study. Arch. Neurol. 2006, 63, 362–365. [Google Scholar] [CrossRef] [PubMed]
  20. Marras, C.; Schüle, B.; Munhoz, R.P.; Rogaeva, E.; Langston, J.W.; Kasten, M.; Meaney, C.; Klein, C.; Wadia, P.M.; Lim, S.Y.; et al. Phenotype in parkinsonian and nonparkinsonian LRRK2 G2019S mutation carriers. Neurology 2011, 77, 325–333. [Google Scholar] [CrossRef]
  21. Skaramagkas, V.; Pentari, A.; Kefalopoulou, Z.; Tsiknakis, M. Multi-modal deep learning diagnosis of parkinson’s disease—A systematic review. IEEE Trans. Neural Syst. Rehabil. Eng. 2023, 31, 2399–2423. [Google Scholar] [CrossRef]
  22. Yang, Y.; Yuan, Y.; Zhang, G.; Wang, H.; Chen, Y.C.; Liu, Y.; Tarolli, C.G.; Crepeau, D.; Bukartyk, J.; Junna, M.R.; et al. Artificial intelligence-enabled detection and assessment of Parkinson’s disease using nocturnal breathing signals. Nat. Med. 2022, 28, 2207–2215. [Google Scholar] [CrossRef] [PubMed]
  23. Tsakanikas, V.; Ntanis, A.; Rigas, G.; Androutsos, C.; Boucharas, D.; Tachos, N.; Skaramagkas, V.; Chatzaki, C.; Kefalopoulou, Z.; Tsiknakis, M.; et al. Evaluating gait impairment in parkinson’s disease from instrumented insole and imu sensor data. Sensors 2023, 23, 3902. [Google Scholar] [CrossRef] [PubMed]
  24. Chatzaki, C.; Skaramagkas, V.; Tachos, N.; Christodoulakis, G.; Maniadi, E.; Kefalopoulou, Z.; Fotiadis, D.I.; Tsiknakis, M. The Smart-Insole Dataset: Gait Analysis Using Wearable Sensors with a Focus on Elderly and Parkinson’s Patients. Sensors 2021, 21, 2821. [Google Scholar] [CrossRef] [PubMed]
  25. Skaramagkas, V.; Andrikopoulos, G.; Kefalopoulou, Z.; Polychronopoulos, P. Towards differential diagnosis of essential and parkinson’s tremor via machine learning. In Proceedings of the 2020 28th Mediterranean Conference on Control and Automation, MED 2020, Saint-Raphaël, France, 16–19 June 2020; pp. 782–787. [Google Scholar] [CrossRef]
  26. Goschenhofer,, J.; Pfister, F.M.; Yuksel, K.A.; Bischl, B.; Fietzek, U.; Thomas, J. Wearable-based Parkinson’s Disease Severity Monitoring using Deep Learning. In Lecture Notes in Computer Science; Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics; Springer: Berlin/Heidelberg, Germany, 2019; pp. 400–415. [Google Scholar]
  27. Kefalopoulou, Z.; Chatzaki, C.; Skaramagkas, V.; Chroni, E.; Tachos, N.; Fotiadis, D.; Tsiknakis, M. Pressure Sensor Insole Gait Assessment for Parkinson’s Disease patients: A pilot study. In Movement Disorders; Wiley: Hoboken, NJ, USA, 2022; Volume 37, p. S193. [Google Scholar]
  28. Chatzaki, C.; Skaramagkas, V.; Kefalopoulou, Z.; Tachos, N.; Kostikis, N.; Kanellos, F.; Triantafyllou, E.; Chroni, E.; Fotiadis, D.I.; Tsiknakis, M. Can Gait Features Help in Differentiating Parkinson’s Disease Medication States and Severity Levels? A Machine Learning Approach. Sensors 2022, 22, 9937. [Google Scholar] [CrossRef]
  29. Skaramagkas, V.; Andrikopoulos, G.; Kefalopoulou, Z.; Polychronopoulos, P. A Study on the Essential and Parkinson’s Arm Tremor Classification. Signals 2021, 2, 201–224. [Google Scholar] [CrossRef]
  30. Lu, M.; Zhao, Q.; Poston, K.L.; Sullivan, E.V.; Pfefferbaum, A.; Shahid, M.; Katz, M.; Kouhsari, L.M.; Schulman, K.; Milstein, A.; et al. Quantifying Parkinson’s disease motor severity under uncertainty using MDS-UPDRS videos. Med. Image Anal. 2021, 73, 102179. [Google Scholar] [CrossRef]
  31. Tsakanikas, V.D.; Dimopoulos, D.G.; Tachos, N.S.; Chatzaki, C.; Skaramagkas, V.; Christodoulakis, G.; Tsiknakis, M.; Fotiadis, D.I. Gait and balance patterns related to Free-Walking and TUG tests in Parkinson’s Disease based on plantar pressure data. In Proceedings of the 2021 43rd Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC), Virtual, 1–5 November 2021; pp. 236–239. [Google Scholar] [CrossRef]
  32. Rajkomar, A.; Dean, J.; Kohane, I. Machine learning in medicine. N. Engl. J. Med. 2019, 380, 1347–1358. [Google Scholar] [CrossRef]
  33. Fraiwan, L.; Khnouf, R.; Mashagbeh, A.R. Parkinson’s disease hand tremor detection system for mobile application. J. Med. Eng. Technol. 2016, 40, 127–134. [Google Scholar] [CrossRef]
  34. Castrillón, R.; Acien, A.; Orozco-Arroyave, J.R.; Morales, A.; Vargas-Bonilla, J.F.; Vera-Rodríguez, R.; Fierrez, J.; Ortega-Garcia, J.; Villegas, A. Characterization of the Handwriting Skills as a Biomarker for Parkinson’s Disease. In Proceedings of the 2019 14th IEEE International Conference on Automatic Face & Gesture Recognition (FG 2019), Lille, France, 14–18 May 2019; pp. 1–5. [Google Scholar]
  35. Bazgir, O.; Frounchi, J.; Habibi, S.A.H.; Palma, L.; Pierleoni, P. A neural network system for diagnosis and assessment of tremor in Parkinson disease patients. In Proceedings of the 2015 22nd Iranian Conference on Biomedical Engineering, ICBME, Tehran, Iran, 25–27 November 2015; pp. 1–5. [Google Scholar] [CrossRef]
  36. Wu, H.; Zhang, Y.; Wu, X.; Yang, F. Assessment of Upper Limb Tremors in Patients with Parkinson’s Disease Based on Displacement and Acceleration Information. In Proceedings of the 5th International Conference on Automation, Control and Robotics Engineering, CACRE 2020, Dalian, China, 19–20 September 2020; pp. 177–182. [Google Scholar] [CrossRef]
  37. Lekadir, K.; Osuala, R.; Gallin, C.; Lazrak, N.; Kushibar, K.; Tsakou, G.; Aussó, S.; Alberich, L.C.; Marias, K.; Tsiknakis, M.; et al. Future-ai: Guiding principles and consensus recommendations for trustworthy artificial intelligence in medical imaging. arXiv 2021, arXiv:2109.09658. [Google Scholar] [CrossRef]
  38. Xing, X.; Luo, N.; Li, S.; Zhou, L.; Song, C.; Liu, J. Identification and Classification of Parkinsonian and Essential Tremors for Diagnosis Using Machine Learning Algorithms. Front. Neurosci. 2022, 16, 701632. [Google Scholar] [CrossRef]
  39. Tong, L.; He, J.; Peng, L. CNN-Based PD Hand Tremor Detection Using Inertial Sensors. IEEE Sens. Lett. 2021, 5, 7002504. [Google Scholar] [CrossRef]
  40. Sun, M.; Watson, A.; Blackwell, G.; Jung, W.; Wang, S.; Koltermann, K.; Helm, N.; Zhou, G.; Cloud, L.; Pretzer-Aboff, I. TremorSense: Tremor Detection for Parkinson’s Disease Using Convolutional Neural Network. In Proceedings of the 2021 IEEE/ACM Conference on Connected Health: Applications, Systems and Engineering Technologies, CHASE 2021, Washington, DC, USA, 16–17 December 2021; pp. 1–10. [Google Scholar] [CrossRef]
  41. Folador, J.P.; Santos, M.C.S.; Luiz, L.M.D.; de Souza, L.A.P.S.; Vieira, M.F.; Pereira, A.A.; de Oliveira Andrade, A. On the use of histograms of oriented gradients for tremor detection from sinusoidal and spiral handwritten drawings of people with Parkinson’s disease. Med. Biol. Eng. Comput. 2021, 59, 195–214. [Google Scholar] [CrossRef] [PubMed]
  42. Kim, H.B.; Lee, W.W.; Kim, A.; Lee, H.J.; Park, H.Y.; Jeon, H.S.; Kim, S.K.; Jeon, B.; Park, K.S. Wrist sensor-based tremor severity quantification in Parkinson’s disease using convolutional neural network. Comput. Biol. Med. 2018, 95, 140–146. [Google Scholar] [CrossRef] [PubMed]
  43. Kaushik, S.; Choudhury, A.; Sheron, P.K.; Dasgupta, N.; Natarajan, S.; Pickett, L.A.; Dutt, V. AI in healthcare: Time-series forecasting using statistical, neural, and ensemble architectures. Front. Big Data 2020, 3, 4. [Google Scholar] [CrossRef] [PubMed]
  44. Absar, N.; Uddin, N.; Khandaker, M.U.; Ullah, H. The efficacy of deep learning based LSTM model in forecasting the outbreak of contagious diseases. Infect. Dis. Model. 2021, 7, 170–183. [Google Scholar] [CrossRef]
  45. Thummikarat, H.; Chongstitvatana, P. An implementation of machine learning for parkinson’s disease diagnosis. In Proceedings of the ECTI-CON 2021—2021 18th International Conference on Electrical Engineering/Electronics, Computer, Telecommunications and Information Technology: Smart Electrical System and Technology, Virtual, 19–22 May 2021; pp. 258–261. [Google Scholar] [CrossRef]
  46. A V, A.S.; Lones, M.A.; Smith, S.L.; Vallejo, M. Evaluation of Recurrent Neural Network Models for Parkinson’s Disease Classification Using Drawing Data. In Proceedings of the 2021 43rd Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC), Virtual, 1–5 November 2021; pp. 1702–1706. [Google Scholar] [CrossRef]
  47. Hssayeni, M.D.; Jimenez-Shahed, J.; Burack, M.A.; Ghoraani, B. Wearable Sensors for Estimation of Parkinsonian Tremor Severity during Free Body Movements. Sensors 2019, 19, 4215. [Google Scholar] [CrossRef] [PubMed]
  48. Hathaliya, J.J.; Modi, H.; Gupta, R.; Tanwar, S. Deep learning and Blockchain-based Essential and Parkinson Tremor Classification Scheme. In Proceedings of the IEEE INFOCOM 2022—IEEE Conference on Computer Communications Workshops (INFOCOM WKSHPS), Virtual, 2–5 May 2022; pp. 1–6. [Google Scholar] [CrossRef]
  49. Shahtalebi, S.; Atashzar, S.F.; Patel, R.V.; Jog, M.S.; Mohammadi, A. A deep explainable artificial intelligent framework for neurological disorders discrimination. Sci. Rep. 2021, 11, 9630. [Google Scholar] [CrossRef]
  50. Taleb, C.; Likforman-Sulem, L.; Mokbel, C.; Khachab, M. Detection of Parkinson’s disease from handwriting using deep learning: A comparative study. Evol. Intell. 2020, 1–12. [Google Scholar] [CrossRef]
  51. Taleb, C.; Khachab, M.; Mokbel, C.; Likforman-Sulem, L. Feature selection for an improved Parkinson’s disease identification based on handwriting. In Proceedings of the 1st IEEE International Workshop on Arabic Script Analysis and Recognition, ASAR 2017, Nancy, France, 3–5 April 2017; pp. 52–56. [Google Scholar] [CrossRef]
  52. Papadopoulos, A.; Kyritsis, K.; Klingelhoefer, L.; Bostanjopoulou, S.; Chaudhuri, K.R.; Delopoulos, A. Detecting parkinsonian tremor from imu data collected in-the-wild using deep multiple-instance learning. IEEE J. Biomed. Health Inform. 2020, 24, 2559–2569. [Google Scholar] [CrossRef]
  53. Chan, P.Y.; Ripin, Z.M.; Halim, S.A.; Arifin, W.N.; Yahya, A.S.; Eow, G.B.; Tan, K.; Hor, J.Y.; Wong, C.K. Motion characteristics of subclinical tremors in Parkinson’s disease and normal subjects. Sci. Rep. 2022, 12, 4021. [Google Scholar] [CrossRef]
  54. Oppenheim, A.; Schafer, R. Discrete-Time Signal Processing: Pearson New International Edition, 3rd ed.; Pearson Education Limited: Harlow, UK, 2013. [Google Scholar]
  55. Yamansavaşçılar, B.; Güvensan, M.A. Activity recognition on smartphones: Efficient sampling rates and window sizes. In Proceedings of the 2016 IEEE International Conference on Pervasive Computing and Communication Workshops (PerCom Workshops), Sydney, Australia, 14–18 March 2016; pp. 1–6. [Google Scholar] [CrossRef]
  56. Djordjevic, I. Chapter 3—Quantum circuits and quantum information processing fundamentals. In Quantum Information Processing and Quantum Error Correction; Djordjevic, I., Ed.; Academic Press: Oxford, UK, 2012; pp. 91–117. [Google Scholar] [CrossRef]
  57. Akandeh, A.; Salem, F.M. Slim lstm networks: Lstm_6 and lstm_c6. In Proceedings of the 2019 IEEE 62nd International Midwest Symposium on Circuits and Systems (MWSCAS), Dallas, TX, USA, 4–7 August 2019; pp. 630–633. [Google Scholar] [CrossRef]
  58. Siami-Namini, S.; Tavakoli, N.; Namin, A.S. The performance of lstm and bilstm in forecasting time series. In Proceedings of the 2019 IEEE International Conference on Big Data (Big Data), Los Angeles, CA, USA, 9–12 December 2019; pp. 3285–3292. [Google Scholar] [CrossRef]
  59. Graves, A.; Fernández, S.; Schmidhuber, J. Bidirectional lstm networks for improved phoneme classification and recognition. In Proceedings of the Artificial Neural Networks: Formal Models and Their Applications—ICANN, Warsaw, Poland, 11–15 September 2005; Lecture Notes in Computer Science. Duch, W., Kacprzyk, J., Oja, E., Zadrożny, S., Eds.; Springer: Berlin/Heidelberg, Germany, 2005; pp. 799–804. [Google Scholar] [CrossRef]
  60. Afendras, G.; Markatou, M. Optimality of training/test size and resampling effectiveness in cross-validation. J. Stat. Plan. Inference 2019, 199, 286–301. [Google Scholar] [CrossRef]
  61. Papadopoulos, A.; Iakovakis, D.; Klingelhoefer, L.; Bostantjopoulou, S.; Chaudhuri, K.R.; Kyritsis, K.; Hadjidimitriou, S.; Charisis, V.; Hadjileontiadis, L.J.; Delopoulos, A. Unobtrusive detection of Parkinson’s disease from multi-modal and in-the-wild sensor data using deep learning techniques. Sci. Rep. 2020, 10, 21370. [Google Scholar] [CrossRef] [PubMed]
  62. Habets, J.G.V.; Herff, C.; Kubben, P.L.; Kuijf, M.L.; Temel, Y.; Evers, L.J.W.; Bloem, B.R.; Starr, P.A.; Gilron, R.; Little, S. Rapid dynamic naturalistic monitoring of bradykinesia in parkinson’s disease using a wrist-worn accelerometer. Sensors 2021, 21, 7876. [Google Scholar] [CrossRef]
  63. Mahadevan, N.; Demanuele, C.; Zhang, H.; Volfson, D.; Ho, B.; Erb, M.K.; Patel, S. Development of digital biomarkers for resting tremor and bradykinesia using a wrist-worn wearable device. npj Digit. Med. 2020, 3, 5. [Google Scholar] [CrossRef] [PubMed]
  64. Bhidayasiri, R. Differential diagnosis of common tremor syndromes. Postgrad. Med. J. 2005, 81, 756–762. [Google Scholar] [CrossRef] [PubMed]
Figure 1. LSTM cell internal architecture.
Figure 1. LSTM cell internal architecture.
Sensors 23 07850 g001
Figure 2. Bidirectional LSTM network model.
Figure 2. Bidirectional LSTM network model.
Sensors 23 07850 g002
Figure 3. Proposed Bi-LSTM with attention network architecture.
Figure 3. Proposed Bi-LSTM with attention network architecture.
Sensors 23 07850 g003
Figure 4. Training and validation accuracy curves for every epoch for BiLSTM with attention model.
Figure 4. Training and validation accuracy curves for every epoch for BiLSTM with attention model.
Sensors 23 07850 g004
Figure 5. Training and validation loss curves for every epoch for BiLSTM with attention model.
Figure 5. Training and validation loss curves for every epoch for BiLSTM with attention model.
Sensors 23 07850 g005
Figure 6. Box plots showing the distribution of training loss, validation loss, training accuracy, and validation accuracy across different folds at each epoch.
Figure 6. Box plots showing the distribution of training loss, validation loss, training accuracy, and validation accuracy across different folds at each epoch.
Sensors 23 07850 g006
Figure 7. ROC curves for each fold for BiLSTM with attention model.
Figure 7. ROC curves for each fold for BiLSTM with attention model.
Sensors 23 07850 g007
Table 1. Time-, frequency-, and energy-related features calculated per window (x) with size N = 100.
Table 1. Time-, frequency-, and energy-related features calculated per window (x) with size N = 100.
FeatureDescriptionFormula
MaximumThe maximum value in the signal (per axis). max ( x 1 , x 2 , , x N )
MinimumThe minimum value in the signal (per axis). min ( x 1 , x 2 , , x N )
MeanThe average value of the signal (per axis). 1 N i = 1 N x i
Standard deviation (std)A measure of the dispersion or spread of the signal values around the mean (per axis). 1 N i = 1 N ( x i mean ) 2
KurtosisA measure of the peakedness or flatness of the signal’s distribution (per axis). = 1 N i = 1 N ( x i mean ) 4 1 N i = 1 N ( x i mean ) 2 2 3
Zero Crossing RateThe rate at which the signal changes its sign. 1 N 1 i = 1 N 1 1 if x i · x i + 1 < 0 0 otherwise
SkewnessA measure of the asymmetry of the signal’s distribution (per axis). 1 N i = 1 N ( x i mean ) 3 1 N i = 1 N ( x i mean ) 2 3 2
CorrelationThe correlation coefficients between different signal components or dimensions (for xy, xz, yz axes). corr x y corr x z corr y z
Maximum PSDThe maximum power spectral density value in the signal. max ( psd )
Average PSDThe average power spectral density value in the signal. 1 N i = 1 N psd i
Standard Deviation of PSDA measure of the variation or spread of the power spectral density values. 1 N i = 1 N ( psd i avg   ¯ psd ) 2
Spectral CentroidThe center of mass of the power spectral density distribution, representing the average frequency content of the signal. i = 1 N f i · psd i i = 1 N psd i
Spectral RolloffThe frequency below which a specified percentage of the total power of the signal is contained. 0.85 · i = 1 N psd i
Spectral FlatnessA measure of the tonality or noisiness of the signal. exp 1 N i = 1 N log ( psd i ) 1 N i = 1 N psd i
Spectral SkewnessA measure of the asymmetry of the power spectral density distribution around its centroid. 1 N i = 1 N f i spectral _ centroid std _ psd 3
Spectral KurtosisA measure of the peakedness or flatness of the power spectral density distribution around its centroid. 1 N i = 1 N f i spectral _ centroid std _ psd 4 3
EntropyA measure of the randomness or unpredictability of the signal, calculated using Shannon’s entropy formula [56]. i = 1 N p i log 2 ( p i )
Total EnergyThe total energy or power in the signal, calculated as the sum of the squared values. i = 1 N x i 2 + y i 2 + z i 2
Signal Magnitude AreaThe sum of the absolute values of the signal. i = 1 N x i + y i + z i
PSD: power spectral density
Table 2. Hyperparameters of the proposed architecture.
Table 2. Hyperparameters of the proposed architecture.
LayerNeuronsOutput ShapeParametersActivation
Input layer33(-, 33, 1)0-
Bi-LSTM layer 132(-, 33, 64)8704-
Dropout 1-(-, 33, 64)0-
Bi-LSTM layer 264(-, 33, 128)66,048-
Dropout 2-(-, 33, 128)0-
Bi-LSTM layer 3128(-, 33, 256)263,168-
Attention layer-(-, 33, 256)0-
Dropout 3-(-, 33, 256)0-
Flatten layer-(-, 8448)0-
Dense layer1(-, 1)8449Sigmoid
Table 3. Performance metrics for classification of PD patients and HCs, and comparison with therelevant literature.
Table 3. Performance metrics for classification of PD patients and HCs, and comparison with therelevant literature.
ModelExperimentAccuracyPrecisionRecallSpecificityF1-Score
LSTM [45]Typing0.73
Two-Stacked LSTM [46]Writing0.91-1.000.650.94
CNN-BiLSTM [50]Writing0.98-0.951.00
DNN [33]Hand poses0.95----
BiLSTM + attention (proposed model)Talking on the phone0.980.990.980.960.98
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Skaramagkas, V.; Boura, I.; Spanaki, C.; Michou, E.; Karamanis, G.; Kefalopoulou, Z.; Tsiknakis, M. Detecting Minor Symptoms of Parkinson’s Disease in the Wild Using Bi-LSTM with Attention Mechanism. Sensors 2023, 23, 7850. https://0-doi-org.brum.beds.ac.uk/10.3390/s23187850

AMA Style

Skaramagkas V, Boura I, Spanaki C, Michou E, Karamanis G, Kefalopoulou Z, Tsiknakis M. Detecting Minor Symptoms of Parkinson’s Disease in the Wild Using Bi-LSTM with Attention Mechanism. Sensors. 2023; 23(18):7850. https://0-doi-org.brum.beds.ac.uk/10.3390/s23187850

Chicago/Turabian Style

Skaramagkas, Vasileios, Iro Boura, Cleanthi Spanaki, Emilia Michou, Georgios Karamanis, Zinovia Kefalopoulou, and Manolis Tsiknakis. 2023. "Detecting Minor Symptoms of Parkinson’s Disease in the Wild Using Bi-LSTM with Attention Mechanism" Sensors 23, no. 18: 7850. https://0-doi-org.brum.beds.ac.uk/10.3390/s23187850

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop