Mats Tveter
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Research Subjects
Mats Tveter has a total of 24 co-authors. Here are the top co-authors by number of shared publications:
- Christoffer Hatlestad-Hall
Department of Neurology, Oslo University Hospital, Oslo, Norway
5 shared publications Hugo L. Hammer
Department of Holistic Systems, SimulaMet, Oslo, Norway; Department of Computer Science, Oslo Metropolitan University, Oslo, Norway
4 shared publications- Thomas Tveitstøl
Oslo University Hospital
4 shared publications Christoffer Hatlestad-Hall
Oslo University Hospital
3 shared publications- Hugo Lewi Hammer
Oslo Metropolitan University
3 shared publications Ira R. J. Hebold Haraldsen
Department of Neurology, Oslo University Hospital
3 shared publications
Latest Publications
- Open Access
- 1 July 2026
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Biomedical Engineering
- Vol. 73 (7) , 2582-2601
Assessing the Robustness of Deep Learning Based Brain Age Prediction Models Across Multiple EEG Datasets
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.
- 1 July 2026
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Biomedical Engineering
- Vol. 73 (7) , 2582-2601
Open AccessAssessing the Robustness of Deep Learning Based Brain Age Prediction Models Across Multiple EEG Datasets
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
- 3 February 2026
- Published by Elsevier in Artificial Intelligence in Medicine
- Vol. 174, 103374
Uncertainty in deep learning for EEG under dataset shifts
- 3 February 2026
- Published by Elsevier in Artificial Intelligence in Medicine
- Vol. 174, 103374
Open AccessUncertainty in deep learning for EEG under dataset shifts
- Open Access
Learning Residual-based Biomarkers of Cognitive Health via Self-Supervised Learning on EEG State Transitions
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 AccessLearning Residual-based Biomarkers of Cognitive Health via Self-Supervised Learning on EEG State Transitions
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
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 AccessUncertainty in Deep Learning for EEG under Dataset Shifts
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
Assessing the robustness of deep learning based brain age prediction models across multiple EEG datasets
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 AccessAssessing the robustness of deep learning based brain age prediction models across multiple EEG datasets
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
- 26 October 2024
- Published by Springer Nature in Brain Informatics
- Vol. 11 (1) , 1-12
Advancing EEG prediction with deep learning and uncertainty estimation
Deep Learning (DL) has the potential to enhance patient outcomes in healthcare by implementing proficient systems for disease detection and diagnosis. However, the complexity and lack of interpretability impede their widespread adoption in critical high-stakes predictions in healthcare. Incorporating uncertainty estimations in DL systems can increase trustworthiness, providing valuable insights into the model’s confidence and improving the explanation of predictions. Additionally, introducing explainability measures, recognized and embraced by healthcare experts, can help address this challenge. In this study, we investigate DL models’ ability to predict sex directly from electroencephalography (EEG) data. While sex prediction have limited direct clinical application, its binary nature makes it a valuable benchmark for optimizing deep learning techniques in EEG data analysis. Furthermore, we explore the use of DL ensembles to improve performance over single models and as an approach to increase interpretability and performance through uncertainty estimation. Lastly, we use a data-driven approach to evaluate the relationship between frequency bands and sex prediction, offering insights into their relative importance. InceptionNetwork, a single DL model, achieved 90.7% accuracy and an AUC of 0.947, and the best-performing ensemble, combining variations of InceptionNetwork and EEGNet, achieved 91.1% accuracy in predicting sex from EEG data using five-fold cross-validation. Uncertainty estimation through deep ensembles led to increased prediction performance, and the models were able to classify sex in all frequency bands, indicating sex-specific features across all bands.
- 26 October 2024
- Published by Springer Nature in Brain Informatics
- Vol. 11 (1) , 1-12
Open AccessAdvancing EEG prediction with deep learning and uncertainty estimation
Deep Learning (DL) has the potential to enhance patient outcomes in healthcare by implementing proficient systems for disease detection and diagnosis. However, the complexity and lack of interpretability impede their widespread adoption in critical high-stakes predictions in healthcare. Incorporating uncertainty estimations in DL systems can increase trustworthiness, providing valuable insights into the model’s confidence and improving the explanation of predictions. Additionally, introducing explainability measures, recognized and embraced by healthcare experts, can help address this challenge. In this study, we investigate DL models’ ability to predict sex directly from electroencephalography (EEG) data. While sex prediction have limited direct clinical application, its binary nature makes it a valuable benchmark for optimizing deep learning techniques in EEG data analysis. Furthermore, we explore the use of DL ensembles to improve performance over single models and as an approach to increase interpretability and performance through uncertainty estimation. Lastly, we use a data-driven approach to evaluate the relationship between frequency bands and sex prediction, offering insights into their relative importance. InceptionNetwork, a single DL model, achieved 90.7% accuracy and an AUC of 0.947, and the best-performing ensemble, combining variations of InceptionNetwork and EEGNet, achieved 91.1% accuracy in predicting sex from EEG data using five-fold cross-validation. Uncertainty estimation through deep ensembles led to increased prediction performance, and the models were able to classify sex in all frequency bands, indicating sex-specific features across all bands.
- Open Access
- 30 September 2024
- Published by IOP Publishing in Journal of Neural Engineering
- Vol. 21 (5) , 056022
EEG electrodes and where to find them: automated localization from 3D scans
Objective. The accurate localization of electroencephalography (EEG) electrode positions is crucial for accurate source localization. Recent advancements have proposed alternatives to labor-intensive, manual methods for spatial localization of the electrodes, employing technologies such as 3D scanning and laser scanning. These novel approaches often integrate magnetic resonance imaging (MRI) as part of the pipeline in localizing the electrodes. The limited global availability of MRI data restricts its use as a standard modality in several clinical scenarios. This limitation restricts the use of these advanced methods. Approach. In this paper, we present a novel, versatile approach that utilizes 3D scans to localize EEG electrode positions with high accuracy. Importantly, while our method can be integrated with MRI data if available, it is specifically designed to be highly effective even in the absence of MRI, thus expanding the potential for advanced EEG analysis in various resource-limited settings. Our solution implements a two-tiered approach involving landmark/fiducials localization and electrode localization, creating an end-to-end framework. Main results. The efficacy and robustness of our approach have been validated on an extensive dataset containing over 400 3D scans from 278 subjects. The framework identifies pre-auricular points and achieves correct electrode positioning accuracy in the range of 85.7% to 91.0%. Additionally, our framework includes a validation tool that permits manual adjustments and visual validation if required. Significance. This study represents, to the best of the authors’ knowledge, the first validation of such a method on a substantial dataset, thus ensuring the robustness and generalizability of our innovative approach. Our findings focus on developing a solution that facilitates source localization, without the need for MRI, contributing to the critical discussion on balancing cost effectiveness with methodological accuracy to promote wider adoption in both research and clinical settings.
- 30 September 2024
- Published by IOP Publishing in Journal of Neural Engineering
- Vol. 21 (5) , 056022
Open AccessEEG electrodes and where to find them: automated localization from 3D scans
Objective. The accurate localization of electroencephalography (EEG) electrode positions is crucial for accurate source localization. Recent advancements have proposed alternatives to labor-intensive, manual methods for spatial localization of the electrodes, employing technologies such as 3D scanning and laser scanning. These novel approaches often integrate magnetic resonance imaging (MRI) as part of the pipeline in localizing the electrodes. The limited global availability of MRI data restricts its use as a standard modality in several clinical scenarios. This limitation restricts the use of these advanced methods. Approach. In this paper, we present a novel, versatile approach that utilizes 3D scans to localize EEG electrode positions with high accuracy. Importantly, while our method can be integrated with MRI data if available, it is specifically designed to be highly effective even in the absence of MRI, thus expanding the potential for advanced EEG analysis in various resource-limited settings. Our solution implements a two-tiered approach involving landmark/fiducials localization and electrode localization, creating an end-to-end framework. Main results. The efficacy and robustness of our approach have been validated on an extensive dataset containing over 400 3D scans from 278 subjects. The framework identifies pre-auricular points and achieves correct electrode positioning accuracy in the range of 85.7% to 91.0%. Additionally, our framework includes a validation tool that permits manual adjustments and visual validation if required. Significance. This study represents, to the best of the authors’ knowledge, the first validation of such a method on a substantial dataset, thus ensuring the robustness and generalizability of our innovative approach. Our findings focus on developing a solution that facilitates source localization, without the need for MRI, contributing to the critical discussion on balancing cost effectiveness with methodological accuracy to promote wider adoption in both research and clinical settings.
- Open Access
EEG Electrodes and Where to Find Them: Automated Localization From 3D Scans
Objective: The accurate localization of electroencephalography (EEG) electrode positions is crucial for accurate source localization. Recent advancements have proposed alternatives to labor-intensive, manual methods for spatial localization of the electrodes, employing technologies such as 3D scanning and laser scanning. These novel approaches often integrate Magnetic Resonance Imaging (MRI) as part of the pipeline in localizing the electrodes. The limited global availability of MRI data restricts its use as a standard modality in several clinical scenarios. This limitation restricts the use of these advanced methods. Approach: In this paper, we present a novel, versatile approach that utilizes 3D scans to localize EEG electrode positions with high accuracy. Importantly, while our method can be integrated with MRI data if available, it is specifically designed to be highly effective even in the absence of MRI, thus expanding the potential for advanced EEG analysis in various resource-limited settings. Our solution implements a two-tiered approach involving landmark/fiducials localization and electrode localization, creating an end-to-end framework. Main results: The efficacy and robustness of our approach have been validated on an extensive dataset containing over 400 3D scans from 278 subjects. The framework identifies pre-auricular points and achieves correct electrode positioning accuracy in the range of 85.7% to 91.0%. Additionally, our framework includes a validation tool that permits manual adjustments and visual validation if required. Significance: This study represents, to the best of the authors’ knowledge, the first validation of such a method on a substantial dataset, thus ensuring the robustness and generalizability of our innovative approach. Our findings focus on developing a solution that facilitates source localization, contributing to the critical discussion on balancing cost effectiveness with methodological accuracy to promote wider adoption in both research and clinical settings.
Open AccessEEG Electrodes and Where to Find Them: Automated Localization From 3D Scans
Objective: The accurate localization of electroencephalography (EEG) electrode positions is crucial for accurate source localization. Recent advancements have proposed alternatives to labor-intensive, manual methods for spatial localization of the electrodes, employing technologies such as 3D scanning and laser scanning. These novel approaches often integrate Magnetic Resonance Imaging (MRI) as part of the pipeline in localizing the electrodes. The limited global availability of MRI data restricts its use as a standard modality in several clinical scenarios. This limitation restricts the use of these advanced methods. Approach: In this paper, we present a novel, versatile approach that utilizes 3D scans to localize EEG electrode positions with high accuracy. Importantly, while our method can be integrated with MRI data if available, it is specifically designed to be highly effective even in the absence of MRI, thus expanding the potential for advanced EEG analysis in various resource-limited settings. Our solution implements a two-tiered approach involving landmark/fiducials localization and electrode localization, creating an end-to-end framework. Main results: The efficacy and robustness of our approach have been validated on an extensive dataset containing over 400 3D scans from 278 subjects. The framework identifies pre-auricular points and achieves correct electrode positioning accuracy in the range of 85.7% to 91.0%. Additionally, our framework includes a validation tool that permits manual adjustments and visual validation if required. Significance: This study represents, to the best of the authors’ knowledge, the first validation of such a method on a substantial dataset, thus ensuring the robustness and generalizability of our innovative approach. Our findings focus on developing a solution that facilitates source localization, contributing to the critical discussion on balancing cost effectiveness with methodological accuracy to promote wider adoption in both research and clinical settings.