Explainable Temporal Deep Learning for EEG-Based Depression Detection Using Resting-State Brain Dynamics.
Overview
Abstract
Background: Depression is a major mental health disorder, and EEG‐based automated detection is emerging as a potential objective diagnostic tool. However, achieving both high accuracy and interpretability remains challenging due to the complex spatiotemporal structure of EEG signals. This study proposes an explainable deep learning framework for depression detection using resting‐state EEG data.
Methods: A retrospective computational study using deep learning was conducted using EEG data from 122 subjects in the OpenNeuro dataset (ds003478). Based on Beck Depression Inventory (BDI) scores, participants were classified into control (BDI ≤ 13; n = 76) and depressive (BDI ≥ 20; n = 30) groups; intermediate cases (BDI 14–19; n = 16) were excluded to reduce label ambiguity and construct a high‐confidence binary classification framework, although this may reduce applicability to mild or subclinical depression, resulting in a final cohort of 106 subjects. Preprocessing included band‐pass filtering (1–40 Hz), 50 Hz notch filtering, Independent Component Analysis, and average referencing. A subject‐wise 5‐fold cross‐validation was applied. A CNN–BiLSTM architecture with an attention mechanism integrated with explainable AI techniques (Grad‐CAM and SHAP) was developed.
Results: The proposed model achieved an accuracy of 89.76%, an F1‐score of 89.58%, and an AUC of 0.936. Ablation analysis confirmed the contribution of temporal modeling and attention mechanisms. Explainability analysis using Grad‐CAM and SHAP showed that frontal EEG channels were the most influential in classification, consistent with neurophysiological findings.
Conclusion: The proposed framework provides an accurate and interpretable method for EEG‐based depression detection, supporting applications in computational psychiatry and decision‐support systems.
Reproduced under the paper's license (CC BY), from the paper cited above.
Code
The paper links to its data and to no code of its authors: see the Data section.
Tracing map
A tracing map links a paper to the code its authors published: this paper has none, so it has no map.
Data
Datasets cited
- doi:10.18112/
openneuro.ds003478.v1.1. , at OpenNeuro; found in the acknowledgements0 - openneuro:ds003478, at OpenNeuro; found in “Data Availability Statement”
Data Availability Statement
The data that support the findings of this study are openly available in OpenNeuro at https://
Reproduced under the paper's license (CC BY), from the paper cited above.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 1, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 2 authors, 5 keywords, 9 MeSH terms, 30 references.
Cite
This paper
Naeim, M., & Atadokht, A. (2026). Explainable Temporal Deep Learning for EEG-Based Depression Detection Using Resting-State Brain Dynamics. International journal of methods in psychiatric research, 35(2), e70088. https://
BibTeX
@article{naeim2026explai
author = {Naeim, Mahdi and Atadokht, Akbar},
title = {{Explainable Temporal Deep Learning for EEG-Based Depression Detection Using Resting-State Brain Dynamics}},
journal = {International journal of methods in psychiatric research},
year = {2026},
month = jun,
volume = {35},
number = {2},
pages = {e70088},
publisher = {Wiley},
issn = {1049-8931},
doi = {10.1002/
url = {https://
pmid = {42298924},
pmcid = {PMC13269828}
}
RIS
TY - JOUR
AU - Naeim, Mahdi
AU - Atadokht, Akbar
TI - Explainable Temporal Deep Learning for EEG-Based Depression Detection Using Resting-State Brain Dynamics
T2 - International journal of methods in psychiatric research
J2 - Int J Methods Psychiatr Res
PY - 2026
DA - 2026/
VL - 35
IS - 2
SP - e70088
SN - 1049-8931
PB - Wiley
DO - 10.1002/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1002/
"type": "article-journal",
"title": "Explainable Temporal Deep Learning for EEG-Based Depression Detection Using Resting-State Brain Dynamics",
"container-title": "International journal of methods in psychiatric research",
"author": [
{
"family": "Naeim",
"given": "Mahdi"
},
{
"family": "Atadokht",
"given": "Akbar"
}
],
"container-title-short":
"volume": "35",
"issue": "2",
"page": "e70088",
"DOI": "10.1002/
"PMID": "42298924",
"PMCID": "PMC13269828",
"ISSN": "1049-8931",
"publisher": "Wiley",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
1
]
]
}
}
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.3390/biomedicines12092054
- Resting-State EEG Alterations of Practice-Related Spectral Activity and Connectivity Patterns in Depression.Journal: BiomedicinesIn common: OpenNeuro 10.18112/openneuro.ds003478.v1.1.0, OpenNeuro ds003478, depression, EEG, 1 reference
- [2] doi:10.1098/rsos.242039 [code]
- A novel spatiotemporal model with advanced feature extraction and unified brain network for depression detection using electroencephalogram signals.Journal: Royal Society open scienceIn common: OpenNeuro 10.18112/openneuro.ds003478.v1.1.0, OpenNeuro ds003478, depression, EEG
- [3] doi:10.3389/fpsyt.2023.1132996
- Breakdown of long-range spatial correlations of infraslow amplitude fluctuations of EEG oscillations in patients with current and past major depressive disorder.Journal: Frontiers in psychiatryIn common: OpenNeuro ds003478, depression, EEG, 2 references
- [4] doi:10.3390/s25164989
- Integrating Cortical Source Reconstruction and Adversarial Learning for EEG Classification.Journal: Sensors (Basel, Switzerland)In common: OpenNeuro ds003478, depression, EEG, 1 reference
- [5] doi:10.3390/s24216815
- Resting-State Electroencephalogram Depression Diagnosis Based on Traditional Machine Learning and Deep Learning: A Comparative Analysis.Journal: Sensors (Basel, Switzerland)In common: OpenNeuro ds003478, depression, EEG, 1 reference
- [6] doi:10.1038/s41598-025-02452-7
- Automated depression detection via cloud based EEG analysis with transfer learning and synchrosqueezed wavelet transform.Journal: Scientific reportsIn common: OpenNeuro ds003478, depression, EEG, 1 reference
- [7] doi:10.3389/fpsyt.2025.1707099
- EEG microstate analysis between patients with major depressive disorder, subclinical depression, and healthy controls.Journal: Frontiers in psychiatryIn common: OpenNeuro 10.18112/openneuro.ds003478.v1.1.0, depression, EEG
- [8] doi:10.1002/brb3.3173
- Depression diagnosis based on electroencephalography power ratios.Journal: Brain and behaviorIn common: OpenNeuro 10.18112/openneuro.ds003478.v1.1.0, depression, EEG
- [9] doi:10.1002/cns.70943
- Stability-Driven Selection of EEG Connectivity Features for Psychosis Classification: A Network-Based Machine Learning Approach.Journal: CNS neuroscience & therapeuticsIn common: EEG, author Mahdi Naeim
- [10] doi:10.3390/diagnostics15020210
- Depression Detection and Diagnosis Based on Electroencephalogram (EEG) Analysis: A Systematic Review.Journal: Diagnostics (Basel, Switzerland)In common: depression, EEG, 3 references
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.
Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
