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

Institutions

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

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Pitfalls in using ML to predict cognitive function performance

Stefan Heim, Simon Bodo Eickhoff, Susanne Weis, Sami Hamdan et al.
Scientific Reports
Emotion and Mood Recognition
article

Pitfalls in using ML to predict cognitive function performance

Stefan Heim, Simon Bodo Eickhoff, Susanne Weis, Sami Hamdan, Julia A. Camilleri, Kaustubh R. Patil, Gianna Kuhles
article en

Abstract

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.

Scientific ReportsVol. 15(1)
Forschungszentrum Jülich (DE), Jülich Aachen Research Alliance (DE), Heinrich Heine University Düsseldorf (DE), RWTH Aachen University (DE)
Deutsche Forschungsgemeinschaft, Horizon 2020 Framework Programme, National Institute of Mental Health
Openalex Percentile: Top 68%
Emotion and Mood Recognition
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Pitfalls in using ML to predict cognitive function performance — Stefan Heim, Simon Bodo Eickhoff, et al. · Scientific Reports (2025) | TGRS Research Map | TGRS