Method for Emotion Recognition of EEG Signals Based on Recursive Graph and Spatiotemporal Attention Mechanism.
Paper
Loaded from Europe PMC by your browser; OSCR does not store it: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
Markdown · 18 lines · 638 B · no license
- # EEG Emotion Recognition Based on TCSA and EfficientNetV2
- Code and data for the paper "A Method for Emotion Recognition of EEG Signals Based on Recursive Graph and Spatiotemporal Attention Mechanism".
- ## Environment
- - Python >= 3.8
- - PyTorch >= 1.10.0
- - numpy >= 1.21.0
- - scipy >= 1.7.0
- - pyts >= 0.12.0
- - matplotlib >= 3.5.0
- ## File Description
- - `EEG_Channel_Rearrange_To_CSV.py`: Rearrange EEG channel data and save as CSV.
- - `rp.py`: Generate recurrence plot (RP) from EEG CSV data.
- - `model.py`: EfficientNetV2 model with TCSA attention mechanism for classification.
- ## Dataset
- This study uses the public DEAPandDREAMER dataset
README.md at commit 0a241a1, no license · at the source
Overview
- School of Instrument Science and Engineering, Southeast University, Nanjing 210096, China
- National Key Laboratory of Information Systems Engineering, Nanjing 210096, China
Abstract
Emotion recognition plays a crucial role in human–computer interaction and mental health applications. Traditional Electroencephalogram (EEG)-based emotion recognition methods are limited in classification accuracy due to their neglect of the spatiotemporal characteristics of the signals and individual differences. This study proposes a novel EEG emotion recognition framework that integrates spatiotemporal features to enhance performance through the following innovations: (1) the use of a Recurrence Plot (RP) to transform one-dimensional EEG signals into two-dimensional images, enhancing the representation of nonlinear dynamic features; (2) the design of a Spatiotemporal Channel Attention Module (TCSA), which combines temporal convolution, channel, and spatial attention mechanisms to optimize the capture of complex patterns; and (3) the integration of the lightweight and efficient network Efficientnet to construct the TCSA-Efficientnet classification model. On the Database for Emotion Analysis using Physiological Signals (DEAP) dataset, the proposed method achieves accuracy rates of 99.11% and 99.33% for valence and arousal classification tasks, respectively. On the Database for Emotion Recognition Using EEG and Physiological Signals (DREAMER) dataset, the method achieves accuracy rates of 98.08% and 97.49%, outperforming other EEG-based emotion classification models on both datasets. This demonstrates its advantages in accuracy, robustness, and generalization.
Reproduced under the paper's license (CC BY), from the paper cited above.
Repository
Its files are read in the Code ↔ Paper reader above.
huang0122/EEG-Emotion-Recognition
0a241a13541c13a26e738f608901fc8a9102bdcf, 2 March 2026Availability: 1 check, the latest on 30 September 2026: the link answers
- 30 September 2026: the link answers
1 file
- README.md, Text, 18 lines
The paper's code and data availability statement is in the Data section.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 0 scripts, each with its path and the digest of its content;
- no match between paragraphs and code yet;
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
No dataset and no data link were found in the paper.
Data Availability Statement
The data presented in this study are available on request from the corresponding author due to privacy restrictions. The code related to this work has been uploaded to a public GitHub repository: 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, 30 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 3 authors, 7 keywords, 3 funders, 38 references.
Cite
This paper
Huang, D., Xu, L., & Li, Y. (2026). Method for Emotion Recognition of EEG Signals Based on Recursive Graph and Spatiotemporal Attention Mechanism. Brain sciences, 16(4), 377. https://
BibTeX
@article{huang2026method
author = {Huang, Dong and Xu, Lin and Li, Yuwen},
title = {{Method for Emotion Recognition of EEG Signals Based on Recursive Graph and Spatiotemporal Attention Mechanism}},
journal = {Brain sciences},
year = {2026},
month = mar,
volume = {16},
number = {4},
pages = {377},
publisher = {Multidisciplinary Digital Publishing Institute (MDPI)},
issn = {2076-3425},
doi = {10.3390/
url = {https://
pmid = {42041787},
pmcid = {PMC13114897}
}
RIS
TY - JOUR
AU - Huang, Dong
AU - Xu, Lin
AU - Li, Yuwen
TI - Method for Emotion Recognition of EEG Signals Based on Recursive Graph and Spatiotemporal Attention Mechanism
T2 - Brain sciences
J2 - Brain Sci
PY - 2026
DA - 2026/
VL - 16
IS - 4
SP - 377
SN - 2076-3425
PB - Multidisciplinary Digital Publishing Institute (MDPI)
DO - 10.3390/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.3390/
"type": "article-journal",
"title": "Method for Emotion Recognition of EEG Signals Based on Recursive Graph and Spatiotemporal Attention Mechanism",
"container-title": "Brain sciences",
"author": [
{
"family": "Huang",
"given": "Dong"
},
{
"family": "Xu",
"given": "Lin"
},
{
"family": "Li",
"given": "Yuwen"
}
],
"container-title-short":
"volume": "16",
"issue": "4",
"page": "377",
"DOI": "10.3390/
"PMID": "42041787",
"PMCID": "PMC13114897",
"ISSN": "2076-3425",
"publisher": "Multidisciplinary Digital Publishing Institute (MDPI)",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
3,
30
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
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.12688/f1000research.171170.2
- A Review of Deep Learning Techniques for EEG-Based Emotion Recognition: Models, Methods, and Datasets.Journal: F1000ResearchIn common: EEG, cognitive, 11 references
- [2] doi:10.3389/fnins.2026.1810609
- A dual-branch network with brain region-constrained attention for EEG emotion recognition.Journal: Frontiers in neuroscienceIn common: EEG, cognitive, 8 references
- [3] doi:10.1038/s41598-025-34211-z
- A multi-task EEG emotion recognition method based on emotion-dimension coupling constraints.Journal: Scientific reportsIn common: EEG, cognitive, 7 references
- [4] doi:10.3389/fnins.2024.1320645 [code]
- ERTNet: an interpretable transformer-based framework for EEG emotion recognition.Journal: Frontiers in neuroscienceIn common: EEG, cognitive, 6 references
- [5] doi:10.3390/bios16080421
- GLSTNet: A Global-Local Spatial Relations and Temporal Dynamics Network for EEG-Based Emotion Recognition.Journal: BiosensorsIn common: EEG, cognitive, 5 references
- [6] doi:10.3390/s26175327 [code]
- Subject Identity Confounds qEEG Emotion Recognition on DEAP and DREAMER.Journal: Sensors (Basel, Switzerland)In common: EEG, cognitive, 5 references
- [7] doi:10.3389/fnins.2022.985709
- Deep learning-based self-induced emotion recognition using EEG.Journal: Frontiers in neuroscienceIn common: EEG, cognitive, 5 references
- [8] doi:10.3389/fnhum.2024.1421922 [code]
- Harnessing Few-Shot Learning for EEG signal classification: a survey of state-of-the-art techniques and future directions.Journal: Frontiers in human neuroscienceIn common: EEG, 5 references
- [9] doi:10.3390/bios16080400
- EEG and ECG Wearable Biosensor-Based Affective State Analysis Using Deep Learning over 6G IoT Healthcare Networks.Journal: BiosensorsIn common: EEG, 5 references
- [10] doi:10.3390/brainsci14030271 [code]
- Subject-Independent Emotion Recognition Based on EEG Frequency Band Features and Self-Adaptive Graph Construction.Journal: Brain sciencesIn common: EEG, cognitive, 4 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.
Validate its tracing map
You validate the map as this page shows it: 1 repository of the authors' code, each at its verified commit and with its license, 0 scripts, and 0 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:024f834ffaf94cf7…
Add the badge to the code's README
If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.
Markdown
<!-- oscr-badge:start -->
[](https://openscicode.org/badge/doi/10.3390/brainsci16040377)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.3390/brainsci16040377.svg
:target: https://openscicode.org/badge/doi/10.3390/brainsci16040377
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.3390/brainsci16040377"><img src="https://openscicode.org/badge/doi/10.3390/brainsci16040377.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".
If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.
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.
Report a mismatch between the code and the paper · Report a code error (signed in)
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.
Report a reproduction failure (signed in)
Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
