Artificial Intelligence in MedicineNeurosciencePeer-reviewed journal article
Uncertainty in Deep Learning for EEG under Dataset Shifts
Mats TveteriD, Thomas TveitstøliD, Christoffer Hatlestad‐HalliD, Hugo L. HammeriD, Ira HaraldseniD
Abstract
ObjectiveAs artificial intelligence (AI) is increasingly integrated into medical diagnostics, it is essential that predictive models provide not only accurate outputs but also reliable estimates of uncertainty. In clinical applications, where decisions have significant consequences, understanding the confidence behind each prediction is as critical as the prediction itself. Uncertainty modelling plays a key role in improving trust, guiding decision-making, and identifying unreliable outputs, particularly under dataset shift or in out-of-distribution settings. The primary aim of uncertainty metrics is to align model confidence closely with actual predictive performance, ensuring confidence estimates dynamically adjust to reflect increasing errors or decreasing reliability of predictions. This study investigates how different ensemble learning strategies affect both performance and uncertainty estimation in a clinically relevant task: classifying Normal, Mild Cognitive Impairment, and Dementia from electroencephalography (EEG) data. ApproachWe evaluated the performance and uncertainty of ensemble methods and Monte Carlo dropout on a large EEG dataset. The models were assessed in three settings: (1) in-distribution performance on a held-out test set, (2) generalisation to three out-of-distribution datasets, and (3) performance under gradual, EEG-specific dataset shifts simulating noise, drift, and frequency perturbation. Main resultsEnsembles consisting of multiple independently trained models, such as deep ensembles, consistently achieved higher performance in both the in-distribution test set and the out-of-distribution datasets. These models also produced more informative and responsive uncertainty estimates under various types of EEG dataset shifts. SignificanceThese results highlight the benefits of ensemble diversity and independent training to build robust and uncertainty-aware EEG classification models. The findings are particularly relevant for clinical applications, where reliability under distribution shift and transparent uncertainty are essential for safe deployment.
- assay: electronic health records
- research focus: differential expression
- approach: machine learning (classical)
- Citations
- 3
- FWCI
- 12.35
- Field percentile
- top 2%
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- TRUSTWORTHY SLEEP STAGING FROM EEG: DEEP ENSEMBLES, MCDROPOUT, AND PREDICTIVE CALIBRATION
Samiksha BC, Dana Vrajitoru·bioRxiv·Aug 23, 2025
- Assessing the robustness of deep learning based brain age prediction models across multiple EEG datasets
Thomas Tveitstøl, Mats Tveter, … Ira Haraldsen·IEEE Transactions on Biomedical EngineeringPeer-reviewed·Dec 2, 2025
- Monte Carlo simulations to propagate the uncertainty of machine-learning classification into ecological models
Célian Monchy, Olivier Giménez, … Marie‐Pierre Étienne·bioRxiv·Jan 14, 2026
- Trial Averaging for Deep EEG Classification
Jacob M. Williams, Ashok K. Samal, Matthew R. Johnson·bioRxiv·Feb 9, 2023
- ODL-BCI: Optimal deep learning model for brain-computer interface to classify students confusion via hyperparameter tuning
Md Ochiuddin Miah, Umme Habiba, Md Faisal Kabir·Brain DisordersPeer-reviewed·Feb 12, 2024
- Enhanced EEG Forecasting: A Probabilistic Deep Learning Approach
Hanna Pankka, Jaakko Lehtinen, … Timo Roine·Neural ComputationPeer-reviewed·Mar 3, 2025