A multimodal explainable artificial intelligence framework for interpretable Parkinson’s disease prediction

A multimodal explainable artificial intelligence framework for interpretable Parkinson’s disease prediction

The suggested method aims to develop an intelligent and interpretable model for the analysis and prediction of Parkinson’s disease by utilizing ML and XAI approaches.

Fig. 1Fig. 1

Work flow of the proposed approach.

Among the most important processes in the methodology are data preparation, feature selection and optimization, model creation, and model interpretation. An explanation of each step is shown below in Fig. 1.

Dataset description

The dataset used for this research is comprised of a total of 33 attributes including PD patients and healthy controls. The data were extracted from public dataset28.

Multimodal features such as neuroimaging, motor symptoms, non-motor symptoms and clinical attributes were collected for this dataset.

The study used a cross-sectional dataset that included 2106 community members who appeared healthy and had no family history of mental illness as a control group and 1304 people were diagnosed with Parkinson’s disease28.

The dataset consists of 33 features, 16 were numerical and 17 were category values. Of the 2106 participants, 1304 have been diagnosed with parkinson, while 1507 are not psychotic. The participant list consists of 1037 female patients, 598 of whom have parkinson and 439 of whom are in the control group. Of the 1069 male individuals, 363 comprise the control group, while 706 have parkinson. There are 574 individuals in the 50–60 age range, 509 in the 61–70 age range, 543 in the 71–80 age range, and 476 in the 81–90 age range.

Participants in the study who led unhealthy lifestyles, such as drinking alcohol, not having appropriate sleep, not exercising, eating poorly, suffering from depression or having an unbalanced diet, are more likely to have Parkinson’s disease along with those who have other health issues like high blood pressure, diabetes, stroke or injury, high cholesterol or family history of the condition. It includes studies on behavior, speech issues, inability to focus, and sleeplessness etc. These qualities are described in Table 1.

Table 1 Dataset description.

The dataset used in the presented manuscript comprises 33 subjects. This size is comparable to many medical machine learning proof-of-concept studies, in which the primary aim is to identify a methodological feasibility, as opposed to establishing clinical generalization on a large external validation dataset. From a statistical point of view, we performed a post-hoc power analysis based on classification metrics. Due to the exploratory nature of this work, in addition to the complex approach of multimodal integration, we consider the current sample size as sufficient to generate preliminary conclusions on statistical performance, and thus usability, of the proposed approach. Comparable studies performed at this early stage involve neuroimaging-based pipelines, prior to large external validation studies across multicentric cohorts. Thus, from an exploratory, methodological standpoint, this dataset suffices to demonstrate feasibility in the context of the manuscript at hand.

Data preprocessing

Data preparation is a crucial first step before using any machine learning technique since algorithms that learn from data and provide problem-solving results primarily rely on the relevant data, or features, required to solve a given problem. Preprocessing data involves a number of actions, including normalization, data balancing techniques, encoding the categorical values to numerical values, dimensionality reduction and removing null values. There are sixteen numerical values and seventeen categorical values in this study. Since many ML methods, mainly those based on mathematical equations, require numerical input data, category encoding is crucial for machine learning techniques. Categorical data, which stands for categories or labels, cannot be directly used as an input by these algorithms. Categorical encoding is required to convert categorical information into a numerical format for ML methods. Every one of the seventeen properties was encoded. Null values are removed from datasets in order to preserve computational performance. Dataset normalization guarantees feature values fall within a certain range or have a mean of 0 and a standard deviation of 1. Common methods include z-score normalization and (0, 1) scaling, depending on the model requirements and data distribution. In addition to improving interpretability, normalization promotes more effective model training. All features in the dataset were standardized to fall between 0 and 1. Data balancing is crucial in machine learning because of issues with class imbalance. Unbalanced datasets with one class significantly outnumbering the others can produce biased models that perform poorly on minority classes. Model evaluation metrics and performance measurements may be distorted by this bias. To reduce this, several data balancing techniques are employed, such as under sampling, oversampling, and the creation of synthetic data, to level the playing field and enhance model accuracy and fairness. The projected outcome data and all of the classes in the chosen dataset were identical.

Feature optimisation

To enhance model performance and reduce noise, it involves selecting the most relevant elements from patient information, e.g., voice metrics, tremor frequencies, or other biometric signals. Important predictors are determined through methods such as Pearson correlation, feature ranking importance, and recursive feature elimination; encoding and scaling techniques ensure that the data are well-suited to machine learning models. Feature refinement enhances the model’s predictive capabilities for Parkinson’s disease, allowing for improved treatment planning and early diagnosis.

Feature encoding

Feature encoding, which converts various clinical, behavioural, and sensor-derived information into model-trainable machine-readable format, is a crucial component of this research. To maintain nominal distinctions without suggesting ordinal connections, one-hot encoding is used to encode categorical variables, for example, patient demographics and symptom categories. To provide scale invariance between modalities, z-score normalisation is applied to normalise numerical data such as speech frequency data, motor scores, and questionnaire scores. Additionally, statistical functions (mean, variance, and skewness) are applied to segment and aggregate temporal audio data to identify dynamic patterns associated with the onset of Parkinson’s symptoms.

Tokenisation and embedding techniques such as Word2Vec or context encoders such as BERT are utilized to transform unstructured text into dense, interpretable vectors for models that consume textual data from clinical reports or patient observations. The ML technique is able to learn discriminatory patterns without compromising on the post-hoc explainability techniques since owing to its successful encoding methodology, which guarantees varied data types to be always represented in a uniform manner.

Feature importances

We need to know the feature significance of the suggested intelligent interpretable model to understand how every item of clinical and demographic information affects the prediction of Parkinson’s disease. We may be capable of identifying the most significant biomarkers for the condition and increase clinical relevance and interpretability by checking how individual factor affects the decision-making process. Explainable AI methods, like SHAP (SHapley Additive exPlanations), which offer a reliable and model-independent explanation of feature contribution, are utilized in this study to assess feature importance. Besides guaranteeing transparency and trust in the prediction model, the review supports improving feature selection, removing redundancy, and focusing on elements most critical in diagnosing Parkinson’s disease. The importance of tremor, rigidity, bradykinesia, postural instability, and depression in the system as proposed is highlighted in the Fig. 2 below.

Fig. 2Fig. 2

Feature importance graph (magnitude of coefficients).

Pearson correlation

The linear correlation between variables for the problem is demonstrated through Pearson correlation. Between −1 (completely negative correlation) and 1 (completely positive correlation), it assesses both direction and strength of correlation; 0 shows that there is no linear correlation. The coefficient is used extensively to find patterns and correlations in data and serves as a crucial tool for exploratory data analysis in machine learning. The person’s correlation heatmap is depicted in the following Fig. 3.

Fig. 3Fig. 3

Feature correlation matrix.

Statistical analysis

To assess the interpretability and clinical usability of the proposed explainable AI framework, we statistically evaluated the Likert-scale ratings. Due to the ordinal nature of ratings and the relatively small number of experts involved in the user evaluation, we performed a non-parametric Wilcoxon Signed-Rank test to test for significant differences from the neutral midpoint of the scale. We report the p-values and effect sizes to quantify the magnitude of the differences. All statistical analyses were performed.

Model simulation

Using machine learning algorithms, we could determine what the characteristics were that resulted in a Parkinson’s Disease diagnosis and evaluate if the patient had Parkinson’s Disease or not. This will assist doctors, particularly those who work in the mental health department, to detect illness sooner than using normal analysis and make a diagnosis early on. The Conda virtual environment, which is Python-integrated, was utilized to conduct classifier testing. Installed packages were Scikit, NumPy, Pandas, seaborn, and matplotlib. An “Intel(r) core (TM) i5” CPU and 16 GB of RAM were used to train the models. For this experiment, a 64-bit version of the Windows operating system was utilized.

Machine learning classifiers

Uses for the trendy subject are endless and range from autonomous cars and improved medical diagnosis to machines that can identify photos and recommend content. Deeply rooted statistical models and algorithms decipher complex patterns of information by constantly improving their performance and learning from examples. While supervised learning uses labelled data to train models to generate predictions, unsupervised learning travels a path unhindered by predefined data tags. Simultaneously, reinforcement learning gives entities the ability to make decisions in dynamic, ever-changing circumstances. With its wide-ranging effects on business and our daily lives, machine learning has emerged as a crucial and dynamic topic that is at the forefront of technological advancement. To train the model, a variety of algorithms were used. The hyperparameters are one of the most important components of any machine learning algorithm that is used to sway it in our favour. It controls the topology and complexity of the algorithms.

Thus, it is necessary to appropriately select hyperparameters prior to fitting machine learning models to a data collection. A hyperparameter in machine learning is basically anything whose configuration or values are selected before to training and whose selections remain unchanged throughout training. Machine learning models perform better when ensemble learning is used. The basic idea behind it is simple. This paper’s authors employed a range of machine learning classifiers, such as logistic regression, decision trees, random forests, and k-nearest neighbour. There are also tree-based methods like XgBoost and AdaBoost. Support vector machines, logistic regression, random forests, k-Nearest Neighbours, naive bayes, and decision trees are a few of the classifiers frequently used in machine learning.

Random Forests use collections of Decision Trees, Decision Trees generate decision rules based on input attributes, and Logistic Regression predicts the probabilities of binary outcomes. Encouragement Naive Bayes estimates class probabilities using the Bayes theorem, k-Nearest Neighbours classifies based on data proximity to neighbors, and Vector Machines search for the best data separation hyperplanes. These classification methods serve as dependable tools for classification and prediction tasks and are extensively employed in many machine learning domains. Moreover, a voting classifier is another model that is trained on a large ensemble of models. It predicts the output class on the basis of the highest likelihood of the occurrence of the selected class. We employed both hard and soft voting techniques in our investigation. For optimal results, SVM, logistic regression, and decision trees were combined. To determine which model hyperparameters produce the most “accurate” predictions, grid-search is utilized. Figure 1 illustrates the steps followed in current investigation.

Cross validation hyperparameter tuning

We adopted a stratified 5-fold cross-validation scheme aiming for reliable performance estimation and avoiding overfitting. The used strategy keeps the same class distribution within the folds. Stratified cross-validation is especially well-suited when training classification models on small and imbalanced medical data. The trained model has been averaged over all folds. The same evaluation setting has been used for all experiments.

In order to obtain optimal performance from the models and to make fair comparisons among them, we performed hyperparameter tuning using the grid search approach with stratified 5-fold cross-validation. The grid search approach systematically tests a set of hyperparameter values and selects the hyperparameter combination that leads to optimum performance as determined by cross-validation.

XAI methods

To make the greatest machine learning models interpretable, we looked into a number of cutting-edge XAI techniques. The most widely used techniques for explaining models trained from tabular data were examined, with a focus on healthcare applications. These techniques are typically employed to derive post-hoc explanations of intricate models that have previously been built, particularly global explanations that enable comprehension of the model’s overall logic. Therefore, we integrate SHAP with LIME, feature permutation techniques, and ELI5 models.

SHAP, a baseline XAI technique, was created by applying coalitional game theory ideas to machine learning. Additionally, it offers strong theoretical underpinnings for incorporating regional discoveries into broadly applicable interpretations. LIME is a widely used model-agnostic method for local interpretations. It produces the explanations of models using the learnt regression coefficients as scores of feature relevance. For example, even though LIME is more helpful for local interpretations, determining the mean of absolute LIME weights over a given data set might yield global insights. Another method for evaluating feature relevance is feature permutation, which quantifies the extent to which a specific scoring metric declines when feature values are randomly combined. The drop in score metric, which breaks the connection between the feature and the model’s output, is used to quantify how dependent the model is on a feature. Tree-based models also offer Mean Decrease in Accuracy (MDI), also known as Gini significance, as an alternative metric for feature relevance, even though MDA is commonly employed in permutation testing. Weighted by the likelihood of reaching each node, MDI is the net reduction in impurities of the leaf nodes (i.e., homogeneity of labels) for all splits inside a tree that possess a particular characteristic. This value is averaged across all ensembles of the tree-based models. In order to increase acceptability and confidence in AI-powered decision-making for healthcare applications, we also advise a prior clinical validation of the arguments presented. We accomplished this by examining the global correlations between the model outputs and the most pertinent inputs using SHAP and LIME. Feature trends cannot be found using feature permutation techniques. We started by using summary charts to get a rough idea of feature correlations for SHAP.

Then, using dependent graphs, we looked at each feature trend independently.

Using SHAP interaction values, we divided each feature trend into main effect and interaction effects in order to concentrate on each feature’s principal influence on model output. We were able to remove feature interactions as a result. Since weights are the coefficients of the model’s linear approximations, LIME already determines each feature’s important contribution. By examining pertinent medical literature and consulting with medical experts, clinical comparisons have been created. Lastly, other XAI methods like Anchors and Local Rule-Based Explanations of Black-Box Decision Systems may also be used to explain the models.

While explanation consistency research usually focuses on systems that use the same explanation structure, some explanations use IF-THEN decision rules instead of feature attributions. Furthermore, as these approaches are only appropriate for local explainability, it might be difficult to consistently aggregate local norms at the global level. ELI5 was another XAI tool used in this endeavor. With an emphasis on model interpretability, ELI5 offers succinct and understandable explanations for machine learning models. Helping people comprehend the role attributes play in forecasts enables both local and global explanations.

Text classifiers, tree-based models (like XGBoost and LightGBM), and linear models are just a few of the methods that can be used with ELI5 because it is model-agnostic.

Users can understand how each attribute influences the outcome because they individually contribute to a feature that is easy to use. Permutation significance, which reorders feature values to assess each feature’s impact on model performance, is one of its core characteristics. Since ELI5 may also recognize key words or tokens for text categorization tasks, it is very beneficial for NLP-based models. Its user-friendly interface and ease of interaction with popular libraries like scikit-learn make it a popular option for quickly delivering interpretable model findings. A step-by-step algorithm is shown below:

AlgorithmAlgorithm

Parkinson’s disease prediction and interpretation.