Pitfalls in using ML to predict cognitive function performance
Machine learning analyses are widely used for predicting cognitive abilities, yet there are pitfalls that need to be considered during their implementation and interpretation of the results. Hence, the present study aimed at drawing attention to the risks of erroneous conclusions incurred by confounding variables illustrated by a case example predicting executive function (EF) performance by prosodic features. Healthy participants (n = 231) performed speech tasks and EF tests. From 264 prosodic features, we predicted EF performance using 66 variables, controlling for confounding effects of age, sex, and education. A reasonable prediction performance was apparently achieved for EF variables of the Trail Making Test. However, in-depth analyses revealed indications of confound leakage, leading to inflated prediction accuracies, due to a strong relationship between confounds and targets. These findings highlight the need to control confounding variables in ML pipelines and caution against potential pitfalls in ML predictions.
Authors
- Stefan Heim (ORCID: https://orcid.org/0000-0002-5818-8355)
- Simon Bodo Eickhoff (ORCID: https://orcid.org/0000-0001-6363-2759)
- Susanne Weis (ORCID: https://orcid.org/0000-0001-7726-6470)
- Sami Hamdan (ORCID: https://orcid.org/0000-0002-4398-2441)
- Julia A. Camilleri (ORCID: https://orcid.org/0000-0001-5719-6815)
- Kaustubh R. Patil (ORCID: https://orcid.org/0000-0002-0289-5480)
- Gianna Kuhles (ORCID: https://orcid.org/0000-0002-1192-4888)
Institutions
- Forschungszentrum Jülich (DE)
- Jülich Aachen Research Alliance (DE)
- Heinrich Heine University Düsseldorf (DE)
- RWTH Aachen University (DE)
Publication Details
- Journal
- Scientific Reports
- Published
- 2025-10-29
- DOI
- https://doi.org/10.1038/s41598-025-24325-9
- Primary Topic
- Emotion and Mood Recognition
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Deutsche Forschungsgemeinschaft
- Horizon 2020 Framework Programme
- National Institute of Mental Health