Skip to main content
Advertisement
Browse Subject Areas
?

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

Machine learning for predicting cognitive deficits using auditory and demographic factors

  • Christopher E. Niemczak ,

    Roles Conceptualization, Data curation, Formal analysis, Investigation, Methodology, Supervision, Validation, Visualization, Writing – original draft, Writing – review & editing

    Christopher.e.niemczak@dartmouth.edu

    ‡ CEN and BM are co-first authorship on this work.

    Affiliations Geisel School of Medicine at Dartmouth, Space Medicine Innovations Laboratory, Lebanon, NH, United States of America, Dartmouth Health, Department of Medicine, Division of Hyperbaric Medicine, Lebanon, NH, United States of America

  • Basile Montagnese ,

    Roles Formal analysis, Methodology, Validation, Writing – original draft, Writing – review & editing

    ‡ CEN and BM are co-first authorship on this work.

    Affiliation Geisel School of Medicine at Dartmouth, Space Medicine Innovations Laboratory, Lebanon, NH, United States of America

  • Joshua Levy,

    Roles Methodology, Software, Supervision, Visualization, Writing – original draft, Writing – review & editing

    Affiliations Dartmouth Health, Department of Pathology and Laboratory Medicine, Lebanon, NH, United States of America, Dartmouth Health, Department of Dermatology, Lebanon, NH, United States of America, Geisel School of Medicine at Dartmouth, Epidemiology, Lebanon, NH, United States of America, Geisel School of Medicine at Dartmouth, Program in Quantitative Biomedical Sciences, Lebanon, NH, United States of America

  • Abigail M. Fellows,

    Roles Conceptualization, Data curation, Project administration, Writing – review & editing

    Affiliation Dartmouth Health, Department of Medicine, Division of Hyperbaric Medicine, Lebanon, NH, United States of America

  • Jiang Gui,

    Roles Formal analysis, Methodology, Supervision, Validation, Writing – review & editing

    Affiliations Geisel School of Medicine at Dartmouth, Program in Quantitative Biomedical Sciences, Lebanon, NH, United States of America, Geisel School of Medicine at Dartmouth, Biomedical Data Science, Lebanon, NH, United States of America

  • Samantha M. Leigh,

    Roles Data curation, Project administration, Supervision, Writing – review & editing

    Affiliation Dartmouth Health, Department of Medicine, Division of Hyperbaric Medicine, Lebanon, NH, United States of America

  • Albert Magohe,

    Roles Funding acquisition, Project administration, Supervision, Writing – review & editing

    Affiliation Muhimbili University of Health and Allied Sciences, Dar es Salaam, Tanzania

  • Enica R. Massawe,

    Roles Conceptualization, Funding acquisition, Resources, Supervision, Writing – review & editing

    Affiliation Muhimbili University of Health and Allied Sciences, Dar es Salaam, Tanzania

  • Jay C. Buckey

    Roles Conceptualization, Formal analysis, Funding acquisition, Investigation, Methodology, Project administration, Supervision, Writing – original draft, Writing – review & editing

    Affiliations Geisel School of Medicine at Dartmouth, Space Medicine Innovations Laboratory, Lebanon, NH, United States of America, Dartmouth Health, Department of Medicine, Division of Hyperbaric Medicine, Lebanon, NH, United States of America

Abstract

Importance

Predicting neurocognitive deficits using complex auditory assessments could change how cognitive dysfunction is identified, and monitored over time. Detecting cognitive impairment in people living with HIV (PLWH) is important for early intervention, especially in low- to middle-income countries where most cases exist. Auditory tests relate to neurocognitive test results, but the incremental predictive capability beyond demographic factors is unknown.

Objective

Use machine learning to predict neurocognitive deficits, using auditory tests and demographic factors.

Setting

The Infectious Disease Center in Dar es Salaam, Tanzania

Participants

Participants were 939 Tanzanian individuals from Dar es Salaam living with and without HIV who were part of a longitudinal study. Patients who had only one visit, a positive history of ear drainage, concussion, significant noise or chemical exposure, neurological disease, mental illness, or exposure to ototoxic antibiotics (e.g., gentamycin), or chemotherapy were excluded. This provided 478 participants (349 PLWH, 129 HIV-negative). Participant data were randomized to training and test sets for machine learning.

Main outcome(s) and measure(s)

The main outcome was whether auditory variables combined with relevant demographic variables could predict neurocognitive dysfunction (defined as a score of <26 on the Kiswahili Montreal Cognitive Assessment) better than demographic factors alone. The performance of predictive machine learning algorithms was primarily evaluated using the area under the receiver operational characteristic curve. Secondary metrics for evaluation included F1 scores, accuracies, and the Youden’s indices for the algorithms.

Results

The percentage of individuals with cognitive deficits was 36.2% (139 PLWH and 34 HIV-negative). The Gaussian and kernel naïve Bayes classifiers were the most predictive algorithms for neurocognitive impairment. Algorithms trained with auditory variables had average area under the curve values of 0.91 and 0.87, F1 scores (metric for precision and recall) of 0.81 and 0.76, and average accuracies of 86.3% and 81.9% respectively. Algorithms trained without auditory variables as features were statistically worse (p < .001) in both the primary measure of area under the curve (0.82/0.78) and the secondary measure of accuracy (72.3%/74.5%) for the Gaussian and kernel algorithms respectively.

Conclusions and relevance

Auditory variables improved the prediction of cognitive function. Since auditory tests are easy-to-administer and often naturalistic tasks, they may offer objective measures or predictors of neurocognitive performance suitable for many global settings. Further research and development into using machine learning algorithms for predicting cognitive outcomes should be pursued.

1. Introduction

Complex auditory tasks, such as perceiving, understanding, and responding to speech in background noise engage a variety of neurocognitive domains [1]. Our previous results show a relationship between complex auditory tasks (termed: central auditory tasks) and cognitive function [2, 3]. We have shown a moderate correlation between the Montreal Cognitive Assessment (MoCA), a validated cognitive screening measure, and performance on speech-in-noise tasks in Tanzania (R2 = .14, p < .001) [3] and China (r2 = 0.30, p < .001) [4]. These relationships have also been found with other neurocognitive assessments, such as the Cogstate battery and the Test of Variables of Attention [2, 3]. In Alzheimer’s disease, Gates et al. found a relationship between central auditory performance (i.e., dichotic tests) and the Cognitive Ability Screening Instrument [5]. These analyses suggest that by combining central auditory tests with other simple measures, predicting neurocognitive function could be improved. Furthermore, recent studies demonstrate links between peripheral auditory ability and neurocognitive function [6]. Peripheral auditory tests often require periods of concentrated effort with varying auditory inputs, potentially engaging diverse neurocognitive functions. Auditory tests may add to factors such as age, education, socioeconomic status, and disease severity for screening for or even predicting of neurocognitive function. This could have a profound impact, especially in low- to middle-income countries, where access to formal neurocognitive assessment is often limited due to a shortage of trained administrators and the high costs associated with testing and where lack of education may impair performance on simpler screening tests.

Recent HIV treatment advances have reduced HIV related mortality drastically [79]. Nevertheless, even with modern combination antiretroviral therapy (cART), cognitive impairment (HIV associated neurocognitive disorder) still occurs, especially in low- middle-income countries [1014]. While cART has reduced HIV-related dementia substantially [7], varying levels of neurocognitive dysfunction persist in people living with HIV (PLWH), even with suppressed viral loads [15]. Identifying, tracking, and potentially predicting neurocognitive dysfunction in this population would provide crucial benefits for PLWH. Biomarkers for brain health and techniques to identify cognitive dysfunction are important for reducing mortality, morbidity, and disease progression, not only in PLWH but for other neurocognitive disorders such as Alzheimer’s and Parkinson’s disease [7].

Machine learning (ML) can identify patterns and associations that characterize the relationship between diverse clinical variables (auditory tests and demographic variables in this case) and a target of interest (cognitive performance). Such patterns are typically impossible to detect manually as they reflect nuanced medical information that complicate data interpretation. These algorithms, when properly trained, can make inferences on previously unseen patient cohorts and can supplement medical decision making [16, 17]. Additionally, the use of machine learning in healthcare has the potential to revolutionize personalized medicine. By analyzing vast amounts of patient data, ML algorithms can identify unique patterns and subgroups within populations, allowing for more precise and tailored treatment approaches for individuals. This level of customization can lead to improved patient outcomes and a more efficient allocation of healthcare resources in low- middle-income countries.

The goal of this exploratory study was to use ML to predict neurocognitive dysfunction in adults living with and without HIV using central and peripheral auditory tests as well as demographic and clinical factors such as age, education, and CD4 count. By using an ML approach with auditory variables, we hoped to improve the prediction of neurocognitive function, and leverage this technique to identify, track, and predict neurocognitive deficits in PLWH. The relationship between auditory processing measures and cognition likely relates to the similarities in brain functions used for advanced auditory processing and higher order cognition. Therefore, we hypothesized that machine learning using auditory test variables could improve cognitive impairment prediction beyond demographic and clinical factors. If auditory function combined with other easily measured factors is a successful proxy or complementary assessment for neurocognitive function, these tests could initiate new diagnostic, treatment, and monitoring techniques for neurocognitive function in HIV and other neurocognitive diseases all over the world.

2. Methods

2.1. Data collection

Subjects.

Adults were tested at the Infectious Disease Center in Dar es Salaam, Tanzania as part of an ongoing longitudinal research study. Enrollees were tested every 6 months, and some have been coming for up to 5 years. Recruitment for this study started on July 7th 2017 and ended on November 20th 2022. The Institutional Review Boards of both Dartmouth College and Muhimbili University of Health and Allied Sciences approved this study’s research protocol. All research was completed in accordance with the Helsinki Declaration. All participants provided written informed consent to participate.

To ensure accuracy of analysis and control for confounding auditory variables we imposed exclusion criteria. Analyzed subjects had to have more than one visit with complete central auditory test data. This excluded the greatest number of participants (excluded n = 345). Furthermore, individuals were excluded if they had hearing loss (>25 dB HL) on their pure tone audiogram at any frequency from 0.5 to 4 kHz (excluded n = 37) or if they had abnormal middle ear function (Tympanogram Type B or C–excluded 79). Thus, from the initial 939 screened individuals, only 478 participants were incorporated into the ML analysis (Supplementary Fig 1 in S1 File). Table 1 shows the demographics of the sample population.

Auditory data collection.

Audiological testing was performed as previously described using a hearing assessment system built by Creare, LLC (Niemczak et al., 2021) [11]. Audiometric measures of peripheral hearing sensitivity using a Békésy tracking technique were used to calculate pure tone averages (PTA) of 0.5, 1.0, 2.0, and 4.0 kHz. Central auditory processing in Swahili, the native language of all participants, was evaluated using four measures: an adaptive Gap Detection test (Gap), the Triple Digit test (TDT), the Hearing in Noise Test (HINT), and the Staggered Spondaic Words (SSW) test. The test battery combined three domains of central auditory function: temporal auditory processing (Gap), speech-in-noise ability (TDT and HINT), and dichotic auditory processing (SSW). For this paper the term ‘auditory variables’ includes both peripheral and central auditory performance metrics, unless otherwise stated.

Cognitive data collection.

Cognitive function was also measured as described previously (Niemczak et al., 2021). A score <26 on the Kiswahili version of the Montreal Cognitive Assessment (MoCA) was used to indicate cognitive impairment [1820]. While the MoCA is a cognitive screening tool, and not a full neurocognitive assessment, it provides an overall measure of cognition on domains of visuospatial and executive functioning, attention, concentration, memory, language, and delayed recall [18]. The MoCA is commonly used to screen for cognitive impairments, particularly in detecting mild cognitive impairment (MCI) and early signs of dementia. It provides a quick and reliable assessment of multiple cognitive domains and is widely used in clinical and research settings to detect cognitive changes [16].

2.2. Data preprocessing

In clinical applications, the most likely approach to using hearing tests to track cognition would be to measure them repeatedly and assess if results are worsening over time. To include this possibility in the prediction, longitudinal data on auditory were included for each subject. Trajectories of all auditory measures over multiple visits were plotted and mean and slope values for each subject were calculated. Before calculating each mean and slope value, an analytical regression line was calculated using each auditory test plotted over time and outliers >2 standardized residuals from the regression line were removed to eliminate distortion due to outliers. This longitudinal approach also reduced variation from using measurements from a single experimental session.

2.3. Data analysis

Feature selection.

Feature variables relevant for predicting cognitive impairment were derived from both the subjects’ audiological test scores (central and peripheral) and their demographic information. Features were initially chosen based on previous literature which demonstrated correlations between central auditory variables and cognitive function [2, 3, 21, 22]. Additionally, feature ranking algorithms were performed using the Diagnostic Feature Designer in MATLAB® 2021a. The absolute value two-sample T-test with pooled variance estimate as well as the Bhattacharyya algorithm, which ranks continuous features by the minimum predicted attainable classification error (Chernoff bound), were used to select features suspected to have predictive capabilities in a ML model. In addition to initial feature rankings, models were trained, validated, and tested iteratively with different subsets of the remaining features (i.e., manual selection) to determine a final set of features (Supplementary Fig 2 in S1 File). Since HIV status was both discrete and binary it could not be ranked in the same method; however, from our manual feature selection scheme, previous literature, and overall goal the work in Tanzania, we decided to incorporate HIV status as a predictive feature. Overall, the 17 selected features chosen for the development of our ML algorithm consisted of: 1) HIV status, 2) age, 3) education years, 4–5) mean and slope of the TDT score, 6–7) mean and slope of the HINT score, 8–9) mean and slope of the Gap threshold score, 10–11) the mean and slope of the SSW (labeled as Score), 12–15) mean and slope of the PTA score (i.e. peripheral auditory function) for both left and right ears, and 16–17) mean and slope of the CD4 count. Furthermore, to evaluate the specific impact of the auditory variables, ML algorithms were trained and tested with the features determined above both with and without all auditory variables. This provided a quantifiable justification for including auditory variables in the ML models.

Data preparation.

To prepare datasets for training and testing classification models, the overall dataset was randomly separated into a training/validation set and a held-out test set (n = 382 and 96, respectively). The training/validation and test sets were checked to ensure similar percentages of cognitively impaired individuals in both sets (37% and 33% respectively) which was representative of the overall population between the partitioned sets. The training/validation set was used to train the model and provide an estimate of the model’s capabilities while tuning hyperparameters which control the learning process of an algorithm, such as the types of distributions a model uses to learn. The test set was a mutually exclusive dataset used to evaluate the model’s performance on a new, untrained data set.

2.4. Developing the algorithm

Model construction.

The ML algorithm was developed using the classification learner app on MATLAB® 2021a. The target variable (impairment on MoCA at the most recent visit) and chosen features were input from the partitioned training/validation data set and different classification algorithms were simultaneously trained and validated using 10-fold cross-validation. The available algorithms that were trained/validated on the data included decision trees, logistic regression classifiers, naïve Bayes classifiers, support vector machines, ensemble classifiers (i.e., LogitBoost model), and neural network classifiers. After the initial area under the curve (AUC) evaluation of the different classifiers (Table 2) the naïve Bayes classifiers were the most promising and chosen for further investigation. The two specific naïve Bayes classifiers available were the Gaussian naïve Bayes classifier and the kernel naïve Bayes classifier which assume the likelihood for each predictor to be modeled as Gaussian distributions or a kernel density estimation respectively. Since naïve Bayes algorithms derive from Bayes’s theorem, a significant assumption of class-conditional independence exists (i.e., the features are independent), which is a strong and useful default assumption in category learning tasks [23, 24]. The optimal model configuration was selected via a simplified MATLAB hyperparameter sweep (Supplementary Table 1 in S1 File).

thumbnail
Table 2. Summary of AUC values from different classification algorithms.

https://doi.org/10.1371/journal.pone.0302902.t002

Model evaluation.

Classification algorithm performance was evaluated using the area under the receiver operating characteristic curve (AUC). The AUC value offers a collective measure of an algorithm’s performance across the complete collection of classification thresholds and is usually considered the most important metric [25]. Confidence intervals for the AUC values were constructed through 10 iterations of randomizing the data partitions and training/testing the algorithms. Secondary metrics for evaluation include F1 scores of the algorithms, accuracies of the algorithms, and the Youden’s indices for the algorithms. The F1 score represents the geometric mean between precision and recall and can take on a value between 0 to 1, where 1 is perfect precision/recall. While the AUC is calculated at thresholds between the true positive rate and the false positive rate, the F1 score is a straightforward calculation involving the overall recall and precision of the model, which yields performance information with respect to false negatives and false positives in one number. Youden’s index captures the optimal trade-off between sensitivity and specificity and is selected via a sensitivity analysis to determine the optimal decision threshold to inform other classification metrics (e.g., F1-score) and provide clinically relevant results [26]. To assess the AUC and accuracy between Gaussian and Kernel Naïve Bayes p-values were calculated using a two-proportion z-test for accuracy, and the DeLong method [27] for AUC.

Model interpretation.

Developed naïve Bayes models were evaluated to determine the most impactful features for predicting cognitive performance. Shapley values [28] were calculated via MATLAB functions. Shapley values provide global feature importance rankings for any machine learning models after fitting the model based on predictive capacity. They help define which features contributed most to the ML algorithm prediction output for any given patient.

3 Results

3.1. Performance of the classification models

The performance of classification models showed strong results with and without auditory variables. The difference in ROC curves highlighted the differing capabilities of the algorithms tested and that the predictive capabilities well surpassed the chance threshold (i.e., prediction at random) (Fig 1). The mean AUC values for the Gaussian and kernel naïve Bayes classifiers including auditory variables were 0.91 and 0.87 respectively. These high AUC values are complimented by high accuracies on the held-out test sets as shown in Tables 2 & 3. Furthermore, the secondary metrics for evaluation such as the F1-score, accuracy, and Youden’s index are summarized in Table 3. Test confusion matrices for the Gaussian and Kernel Naïve Bayes classifiers with and without auditory variables are shown in Figs 2 and 3. The results demonstrate significant difference between the algorithms with and without auditory variables incorporated.

thumbnail
Fig 2. Gaussian naïve Bayes confusion matrix with raw numbers.

A) With auditory variables. B) Without auditory variables.

https://doi.org/10.1371/journal.pone.0302902.g002

thumbnail
Fig 3. Kernel naïve Bayes confusion matrix with raw numbers.

A) With auditory variables. B) Without auditory variables.

https://doi.org/10.1371/journal.pone.0302902.g003

3.2. Insights from the model

Shapley values were calculated to determine which predictors were the greatest contributors. Fig 4 displays the Shapley values for the top predictors for the Gaussian naïve Bayes and kernel Naïve Bayes classifiers respectively with a greater Shapley value indicating a better predictor. As expected, factors such as age and education were predictors of MoCA performance. But auditory variables also contributed significantly to the models’ predictive capabilities. Specifically, gap detection threshold slope, PTA values (left, right, and slope variables), SSW results, and HINT results were significant in both models. Additionally, both mean and slope variables were important predictors for the algorithms indicating that a subject’s trajectory is an important factor. Interestingly, HIV status was not chosen as a significant predictor in either Gaussian and kernel naïve Bayes classifiers, but age was the most important predictor in the kernel naïve Bayes classifier.

thumbnail
Fig 4.

A) Gaussian Naïve Bayes Shapley values B) Kernel Naïve Bayes Shapley values.

https://doi.org/10.1371/journal.pone.0302902.g004

4. Discussion

By using ML, we found prediction accuracy AUCs from 0.91 (Gaussian Naïve Bayes) to 0.87 (Kernel Naïve Bayes) with auditory variables included in the model. We also found model prediction to be more accurate (0.09 increase in AUC) with auditory variables included. Although a 0.09 increase in model prediction may appear modest, this is an approximate 9% increase in the model’s predictive capacity. This provides evidence that auditory related variables may be used for forecasting cognitive impairment in this cohort, when combined with other variables that affect performance on neurocognitive tests. As expected, a sizable proportion of the models’ accuracy depends on demographic variables, including age (Shapely value of 0.03 and 0.04 for the Gaussian and Kernel algorithms respectively) and education years (0.024 for the Kernel Naïve Bayes algorithm).

Previous results have shown a relationship between central auditory and cognitive function. This study expands on previous findings by providing more robust results using ML. ML provides a methodology to generate hypotheses about complex data patterns and confounding variables through developing predictive algorithms unachievable with classic statistical methods [29]. The results validated the hypothesis that cognitive function could be predicted better with a ML approach using central and peripheral auditory variables together with demographic variables compared to previous classical statistical methods. We believe the naïve Bayes models performed better than the other machine learning algorithms because they: 1.) are highly scalable and can handle a large number of features, 2.) have low variance and are efficient with small datasets, which means they are less prone to overfitting, and 3.) they assume independence among features, effectively ignoring correlations between them. In other words, even if there are irrelevant features present in the dataset, Naive Bayes models can still perform well because they focus on the most discriminative features (i.e., auditory variables) that are relevant for predicting the class label (i.e., neurocognitive impairment). These findings have significant implications for understanding the interplay between auditory and cognitive domains, providing a critical starting point to define comprehensive and accurate assessments in future research and clinical applications. As we continue to utilize ML in healthcare, we anticipate further advances that will drive the advancement of personalized and targeted interventions to optimize cognitive well-being.

Peripheral auditory tests also provided value to the ML algorithms. Although all subjects had normal hearing, Shapley values indicated that PTA mean and slope values contributed to more accurate prediction from the ML algorithms. These results highlight other potentially important functional relationships of peripheral auditory input. For example, central auditory capabilities may be influenced by peripheral hearing capabilities since the pathway of auditory input may affect the brain’s processing mechanisms. Additionally, the concentration necessary to perform peripheral auditory tests may involve cognitive capabilities as well as hearing ability. Studies show that peripheral auditory function relates to cognition, specifically sustained attention, and could be an independent influencing factor for older adults with more extensive hearing loss [30]. High frequency thresholds (≥4 kHz) may also provide a mediator for understanding the relationship between central auditory function, age, and cognition due to their comtribution to speech understanding. These results do not diminish central auditory significance in the ML algorithms but highlight the importance in measuring and understanding the whole auditory system and its relationship to cognition.

One important practical application for a future refined and optimized ML algorithm is providing a metric of neurocognitive function for PLWH. PLWH have shown differences in brain regions and functions necessary for auditory processing including gray matter atrophy, axonal injury, loss of axonal density as well as diffuse white matter abnormalities in the internal capsule, thalamus, and corpus collosum [30, 31]. When imaging data are not available and exhaustive neurocognitive battery assessments beyond the MoCA are not feasible, central auditory tests coupled with relevant confounding variables could be analyzed via a ML algorithm to predict cognitive capabilities accurately. A clinically validated ML predictive algorithm would enable significantly more accessible testing in underprivileged areas in addition to reducing the subjectivity that can characterize cognitive tests.

While the MoCA was used in this proof-of-concept study, cognitive testing using a comprehensive neuropsychological assessment is considered the gold standard in assessing and monitoring neurocognition [32]. This form of assessment provides an estimate of global function as well as scores for domain-based skills such as language, attention, and memory. A full neuropsychological assessment, however, is costly, time consuming, and requires specialized training for interpretation. Access to such evaluations in resource limited settings, where the burden of HIV tends to be significantly higher than in developed countries, is not always feasible. Additionally, finding culturally and linguistically appropriately normed measures is challenging [33]. Also, both the MoCA and the comprehensive neurocognitive assessments are strongly affected by education and socioeconomic status.

The auditory system provides a useful tool for assessing brain function because processing auditory information is neurologically demanding but is also a naturalistic task that does not require much training or education. Speech perception, particularly interpreting speech in noise, engages several cortical and subcortical centers [34, 35]. What makes central auditory tests appealing for assessment is that they are relatively short (the Triple Digit Test takes 7 minutes), easy to explain (the Hearing-in-Noise Test and Triple Digit Test involve identifying words or numbers in background noise), do not require trained administrators, and involve straightforward tasks that are unlikely to be strongly affected by education and socioeconomic status. These measures could be a major advance for following PLWH in the developing world. These tests, however, share some of the same limitations as neuropsychological tests in that they are affected by factors such as age, and so need to be interpreted in context, which ML allows.

While not the focus of the current study, HIV status was not selected in either the Gaussian or kernel naïve Bayes as a significant predictor or MoCA score. Clifford 2008 [36] and Spudich 2013 [37] both note that despite modern antiretroviral therapy, neurocognitive disturbances can still be detected in nearly half of HIV patients. Clifford 2017 [38] has also found that HIV may exacerbate age-associated cognitive decline and that HIV-associated neurocognitive disorders continue to occur. In this analysis, we cannot confirm this finding but show that the PLWH are more likely to show deficits on the MoCA (39.8%) compared to HIV-negative controls (26.4%). Nevertheless, the use of ML algorithms to predict cognitive function with the assistance of auditory tests as described here may help PLWH and others living in under resourced areas. These algorithms provide a direction for further research into clinically relevant applications within HIV associated neurocognitive disorder and other neurocognitive conditions. Future work that could be pursued to narrowing down the predictive features to highly predictive and easy to measure parameters.

4.1. Limitations

While the algorithms in this study demonstrate that ML can use auditory capabilities to predict neurocognitive dysfunction on the MoCA, a few limitations exist. The predictive feature ranking algorithms used favored linearly separable predictors, hence, this likely biased the performance of ML algorithms downstream to benefit algorithms which leverage linear relationships. Furthermore, the confidence intervals for the primary and secondary outcomes did not incorporate patient-level variation which may be possible via a non-parametric bootstrap analysis. Differneces were found in Shapley values between Gaussian naïve Bayes and the kernel naïve Bayes. With Gaussian naïve Bayes, it is assumed the data follow a Gaussian distribution. Kernel relaxes this assumption by modeling the distribution via kernel density estimation, but like the other ML models which did not perform as well, the kernel model is likely more prone to overfitting because it requires additional hyperparameters for the density function used to model the feature’s distribution. Therefore, both models have costs and benefits. We were more confident in Gaussian naïve Bayes as it overperformed kernel naïve Bayes but chose to include both models to provide a comprehensive overview of data prediction. The MoCA is a cognitive screening measure and not as comprehensive as a full cognitive test battery. A ML algorithm incorporating a full neurocognitive assessment should be constructed for clinical applications. Lastly, using slope variables requires longitudinal measurements to calculate and employ the slopes. ML algorithms that do not require longitudinal data for prediction would be easier to apply. Future analyses could explore the use of other Bayesian additive regression trees and fully Bayesian approaches (i.e., Markov chain monte carlo), which are expected to outperform all frequentist methods for rare events or imbalanced data and small sample size while accounting for complex dependency structures.

4.2. Conclusion

The discovery that the auditory system can be a window into cognitive processes could make cognitive testing simpler and more objective. Central auditory tests in isolation, however, may not provide sufficient accuracy for predictions. This exploratory study shows that adding demographic factors as well as data from repeated measures can greatly improve the prediction of cognitive deficits. Further development and implementation of ML algorithms using central and peripheral auditory variables for cognitive prediction could help realize the promise of these tests for prediction.

Supporting information

S1 File. Supplementary: A supplementary document is provided to show: 1) a summary of subject selection process for machine learning, 2) diagnostic feature ranking results using a t-test and Bhattacharyya ranking processes, 3) hyperparameter sweeps for Kernel distribution, and 4) background on Naïve Bayes algorithms.

https://doi.org/10.1371/journal.pone.0302902.s001

(DOCX)

S2 File. Inclusivity-in-global-research questionnaire: This document outlines the ethical, cultural, and scientific considerations specific to inclusivity in global research conducted where the study took place: Dar es Salaam, Tanzania.

This questionnaire highlights the local authors at Muhimbili University of Allied and Health Sciences, Drs. Albert Magohe and Enica Massawe, that played a critical role in this study and the ongoing longitudinal study this analysis was derived.

https://doi.org/10.1371/journal.pone.0302902.s002

(DOCX)

References

  1. 1. Gates GA, Cobb JL, Linn RT, Rees T, Wolf PA, D’Agostino RB. Central Auditory Dysfunction, Cognitive Dysfunction, and Dementia in Older People. Archives of Otolaryngology—Head and Neck Surgery. 1996;122(2):161–7. pmid:8630210
  2. 2. Niemczak C, Fellows A, Lichtenstein J, White-Schwoch T, Magohe A, Gui J, et al. Central Auditory Tests to Track Cognitive Function in People With HIV: Longitudinal Cohort Study. JMIR Form Res. 2021;5(2):e26406. Epub 2021/01/21. pmid:33470933.
  3. 3. Niemczak CE, Lichtenstein JD, Magohe A, Amato JT, Fellows AM, Gui J, et al. The Relationship Between Central Auditory Tests and Neurocognitive Domains in Adults Living With HIV. Front Neurosci. 2021;15:696513. Epub 2021/10/19. pmid:34658754; PubMed Central PMCID: PMC8517794.
  4. 4. Zhan Y, Fellows AM, Qi T, Clavier OH, Soli SD, Shi X, et al. Speech in Noise Perception as a Marker of Cognitive Impairment in HIV Infection. Ear & Hearing. 2018;39(3):548–54. pmid:29112532
  5. 5. Gates GA, Anderson ML, Feeney MP, McCurry SM, Larson EB. Central Auditory Dysfunction in Older Persons With Memory Impairment or Alzheimer Dementia. Archives of Otolaryngology–Head & Neck Surgery. 2008;134(7):771. pmid:18645130
  6. 6. Nixon G, Sarant JZ, Tomlin D, Dowell R. The relationship between peripheral hearing loss and higher order listening function on cognition in older Australians. International Journal of Audiology. 2019;58(12):933–44. pmid:31322017
  7. 7. Saylor D, Dickens AM, Sacktor N, Haughey N, Slusher B, Pletnikov M, et al. HIV-associated neurocognitive disorder—pathogenesis and prospects for treatment. Nat Rev Neurol. 2016;12(5):309. Epub 2016/04/16. pmid:27080521; PubMed Central PMCID: PMC5842923.
  8. 8. The effect of combined antiretroviral therapy on the overall mortality of HIV-infected individuals. AIDS. 2010;24(1):123–37. pmid:19770621
  9. 9. Braitstein P, Brinkhof MW, Dabis F, Schechter M, Boulle A, Miotti P, et al. Mortality of HIV-1-infected patients in the first year of antiretroviral therapy: comparison between low-income and high-income countries. Lancet. 2006;367(9513):817–24. Epub 2006/03/15. pmid:16530575.
  10. 10. Sacktor N, Skolasky RL, Seaberg E, Munro C, Becker JT, Martin E, et al. Prevalence of HIV-associated neurocognitive disorders in the Multicenter AIDS Cohort Study. Neurology. 2016;86(4):334–40. pmid:26718568
  11. 11. Nweke MC, Okemuo AJ, Uduonu EM, Ugwu PI, Nwachukwu C, Mshunqane N. Meta-analysis of factors affecting prevalence estimates of HIV-associated neurocognitive disorder in sub-Saharan Africa. South African Journal of Science. 2021;117(9/10).
  12. 12. Alford K, Vera JH. Cognitive Impairment in people living with HIV in the ART era: A Review. British Medical Bulletin. 2018;127(1):55–68. pmid:29868901
  13. 13. Clifford DB, Ances BM. HIV-associated neurocognitive disorder. The Lancet Infectious Diseases. 2013;13(11):976–86. pmid:24156898
  14. 14. Snider WD, Simpson DM, Nielsen S, Gold JW, Metroka CE, Posner JB. Neurological complications of acquired immune deficiency syndrome: analysis of 50 patients. Ann Neurol. 1983;14(4):403–18. Epub 1983/10/01. pmid:6314874.
  15. 15. Heaton RK, Franklin DR Jr., Deutsch R, Letendre S, Ellis RJ, Casaletto K, et al. Neurocognitive change in the era of HIV combination antiretroviral therapy: the longitudinal CHARTER study. Clin Infect Dis. 2015;60(3):473–80. Epub 2014/11/02. pmid:25362201; PubMed Central PMCID: PMC4303775.
  16. 16. Foster KR, Koprowski R, Skufca JD. Machine learning, medical diagnosis, and biomedical engineering research—commentary. BioMedical Engineering OnLine. 2014;13(1):94. pmid:24998888
  17. 17. Grassi M, Rouleaux N, Caldirola D, Loewenstein D, Schruers K, Perna G, et al. A Novel Ensemble-Based Machine Learning Algorithm to Predict the Conversion From Mild Cognitive Impairment to Alzheimer’s Disease Using Socio-Demographic Characteristics, Clinical Information, and Neuropsychological Measures. Front Neurol. 2019;10. ARTN 756 WOS:000475830500001. pmid:31379711
  18. 18. Nasreddine ZS, Phillips NA, Bã©Dirian VR, Charbonneau S, Whitehead V, Collin I, et al. The Montreal Cognitive Assessment, MoCA: A Brief Screening Tool For Mild Cognitive Impairment. Journal of the American Geriatrics Society. 2005;53(4):695–9. pmid:15817019
  19. 19. Dalrymple-Alford JC, MacAskill MR, Nakas CT, Livingston L, Graham C, Crucian GP, et al. The MoCA: well-suited screen for cognitive impairment in Parkinson disease. Neurology. 2010;75(19):1717–25. Epub 2010/11/10. pmid:21060094.
  20. 20. Vissoci JRN, De Oliveira LP, Gafaar T, Haglund MM, Mvungi M, Mmbaga BT, et al. Cross-cultural adaptation and psychometric properties of the MMSE and MoCA questionnaires in Tanzanian Swahili for a traumatic brain injury population. BMC Neurology. 2019;19(1). pmid:30961532
  21. 21. Buckey JC, Fellows AM, Magohe A, Maro I, Gui J, Clavier O, et al. Hearing complaints in HIV infection originate in the brain not the ear. AIDS. 2019;33(9):1449–54. Epub 2019/04/02. pmid:30932961; PubMed Central PMCID: PMC6602823.
  22. 22. Maro II, Moshi N, Clavier OH, MacKenzie TA, Kline-Schoder RJ, Wilbur JC, et al. Auditory impairments in HIV-infected individuals in Tanzania. Ear and hearing. 2014;35(3):306–17. pmid:24441742; PubMed Central PMCID: PMC3999286.
  23. 23. Jarecki JB, Meder B, Nelson JD. Naïve and robust: Class‐conditional independence in human classification learning. Cognitive Science. 2018;42(1):4–42.
  24. 24. Yang F-J, editor An implementation of naive bayes classifier. 2018 International conference on computational science and computational intelligence (CSCI); 2018: IEEE.
  25. 25. Huang J, Ling CX. Using AUC and accuracy in evaluating learning algorithms. IEEE Transactions on knowledge and Data Engineering. 2005;17(3):299–310.
  26. 26. Ruopp MD, Perkins NJ, Whitcomb BW, Schisterman EF. Youden Index and optimal cut‐point estimated from observations affected by a lower limit of detection. Biometrical Journal: Journal of Mathematical Methods in Biosciences. 2008;50(3):419–30.
  27. 27. Hodges DM, DeLong JM, Forney CF, Prange RK. Improving the thiobarbituric acid-reactive-substances assay for estimating lipid peroxidation in plant tissues containing anthocyanin and other interfering compounds. Planta. 1999;207:604–11.
  28. 28. Chen H, Lundberg SM, Lee S-I. Explaining a series of models by propagating Shapley values. Nature communications. 2022;13(1):4512. pmid:35922410
  29. 29. Mitchell T, Buchanan B, DeJong G, Dietterich T, Rosenbloom P, Waibel A. Machine learning. Annual review of computer science. 1990;4(1):417–33.
  30. 30. Kuhn T, Kaufmann T, Doan NT, Westlye LT, Jones J, Nunez RA, et al. An augmented aging process in brain white matter in HIV. Human brain mapping. 2018;39(6):2532–40. Epub 2018/03/01. pmid:29488278; PubMed Central PMCID: PMC5951745.
  31. 31. Zhan Y, Buckey JC, Fellows AM, Shi Y. Magnetic Resonance Imaging Evidence for Human Immunodeficiency Virus Effects on Central Auditory Processing: A Review. J AIDS Clin Res. 2017;8(7). pmid:28890843
  32. 32. Antinori A, Arendt G, Becker JT, Brew BJ, Byrd DA, Cherner M, et al. Updated research nosology for HIV-associated neurocognitive disorders. Neurology. 2007;69(18):1789–99. Epub 2007/10/05. pmid:17914061; PubMed Central PMCID: PMC4472366.
  33. 33. Robertson K, Liner J, Heaton R. Neuropsychological assessment of HIV-infected populations in international settings. Neuropsychol Rev. 2009;19(2):232–49. Epub 2009/05/21. pmid:19455425; PubMed Central PMCID: PMC2690834.
  34. 34. Specht K. Neuronal basis of speech comprehension. Hearing research. 2014;307:121–35. Epub 2013/10/12. pmid:24113115.
  35. 35. Kotz SA, Schwartze M. Cortical speech processing unplugged: a timely subcortico-cortical framework. Trends in cognitive sciences. 2010;14(9):392–9. Epub 2010/07/27. pmid:20655802.
  36. 36. Clifford DB. HIV-associated neurocognitive disease continues in the antiretroviral era. Topics in HIV medicine: a publication of the International AIDS Society, USA. 2008;16(2):94–8. pmid:18591717
  37. 37. Spudich S. HIV and neurocognitive dysfunction. Current HIV/AIDS Reports. 2013;10:235–43. pmid:23860944
  38. 38. Clifford DB. HIV-associated neurocognitive disorder. Current opinion in infectious diseases. 2017;30(1):117–22. pmid:27798498