TTThomas Tveitstøl

Thomas Tveitstøl

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Thomas Tveitstøl has a total of 17 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    Assessing the Robustness of Deep Learning Based Brain Age Prediction Models Across Multiple EEG Datasets

    by Thomas Tveitstøl, Mats Tveter, Christoffer Hatlestad-Hall, Hugo L. Hammer, Denis A. Engemann, Ira R.J. Hebold Haraldsen

    The increasing availability of large electroencephalography (EEG) datasets enhances the potential clinical utility of deep learning (DL) for cognitive and pathological decoding. However, dataset shifts due to variations in the population and acquisition hardware can considerably degrade the model performance. We systematically investigated the generalisation of DL models to unseen datasets with different characteristics, using age as the target variable. Five datasets were used in two different experimental setups, including (1) leave-one-dataset-out (LODO) and (2) leave-one-dataset-in (LODI) cross validation. A comprehensive set of 1805 different hyperparameter configurations was tested, including variations in the DL architectures and data pre-processing. The performance varied across source/target dataset pair. Using LODO, we obtained Pearson's r values of {0.63, 0.84, 0.75, 0.23, 0.10} and $R^{2}$ values of {-0.01, 0.63, 0.41, -4.66, -70.98}. For LODI, the results varied in Pearson's r from -0.11 to 0.84 and $R^{2}$ values from -704.89 to 0.65, depending on the source and target dataset. Adjusting the model intercepts using the average age of the target dataset substantially improved some $R^{2}$ scores. Our results show that DL models can learn age-related EEG patterns which generalise with strong correlations to datasets with broad age spans. The most important hyperparameter was to use the frequency range between 1 and 45Hz, rather than a single frequency band. The second most important hyperparameter effect depended on the experimental setup. Our findings highlight the challenges of dataset shifts in EEG-based DL models and establish a benchmark for future studies aiming to improve the robustness of DL models across diverse datasets.


  • Open Access

    Uncertainty in deep learning for EEG under dataset shifts

    by Mats Tveter, Thomas Tveitstøl, Christoffer Hatlestad-Hall, Hugo L. Hammer, Ira R.J. Hebold Haraldsen


  • Open Access

    Learning Residual-based Biomarkers of Cognitive Health via Self-Supervised Learning on EEG State Transitions

    by Thomas Tveitstøl, Mats Tveter, Christoffer Hatlestad-Hall, Hugo L Hammer, Ira R J Hebold Haraldsen

    Deep learning (DL) models have achieved impressive performance in EEG-based prediction tasks, but they often lack interpretability, limiting their clinical utility. In this study, we introduce a novel self-supervised learning (SSL) framework inspired by neurophysiological reactivity. Our approach models healthy EEG transitions between ocular states by predicting an EEG-derived feature under eyes-open conditions, using features from eyes-closed recordings. The residual between observed and predicted values quantifies deviations from normative brain dynamics and serves as a candidate biomarker. To improve clinical relevance, we propose two optimisation strategies that promote residuals predictive of pathology. We evaluated the framework using healthy cohorts (LEMON, Dortmund Vital) for self-supervised training, and the AI-Mind cohort for downstream prediction of plasma p-tau217 levels, a proxy for cognitive pathology. Despite extensive hyperparameter optimisation, predictive performance remained poor across all methods, including baseline models, suggesting limitations in the downstream proxy or input signal. Nonetheless, our approach provides a transparent methodology for transition-based EEG biomarker discovery grounded in self-supervised learning.

  • Open Access

    Uncertainty in Deep Learning for EEG under Dataset Shifts

    by Mats Tveter, Thomas Tveitstoel, Christoffer Hatlestad-Hall, Hugo L. Hammer, Ira R. J. Hebold Haraldsen

    Objective: As 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. Approach: We 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 results: Ensembles 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. Significance: These 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.

  • Open Access

    Neurologically altered brain activity may not look like aged brain activity: Implications for brain-age modeling and biomarker strategies

    by Lukas Aw Gemein, Sinead Gaubert, Claire Paquet, Joseph Paillard, Sebastian C Holst, Thomas Tveitstøl, Ira Rjh Haraldsen, David Hawellek, Jörg F Hipp, Denis A Engemann

    Background Brain-age gap (BAG), the difference between predicted age and chronological age, is studied as a biomarker for the natural progression of neurodegeneration. The BAG captures brain atrophy as measured with structural Magnetic Resonance Imaging (MRI). Electroencephalography (EEG) has also been explored as a functional means for estimating brain age. However, EEG studies showed mixed results for BAG including a seemingly paradoxical negative BAG, i.e. younger predicted age than chronological age, in neurological populations. Objectives This study critically examined brain age estimation from spectral EEG power as common measure brain activity in two of the largest public EEG datasets containing neurological cases alongside controls. Methods EEG recordings were analyzed from individuals with neurological conditions (n=900, TUAB data; n=417 MCI & n=311 dementia, CAU data) and controls (n=1254, TUAB data; n=459, CAU data). Results We found that age-prediction models trained on the reference population systematically under-predicted age in people with neurological conditions replicating a negative BAG for diseased brain activity. Inspection of age-related trends along the EEG power spectra revealed complex frequency-dependent alterations in neurological groups underlying the seemingly paradoxical negative BAG. Conclusions The utility of brain age as an interpretable biomarker relies on the observation from structural MRI that progressive neurodegeneration often broadly resembles accelerated aging. This assumption can be violated for functional assessments such as EEG spectral power and, potentially, different neurological and psychiatric conditions or therapeutic effects. The sign of the BAG may not meaningfully be interpreted as a deviation from normal aging.