Automated Anxiety Detection System Integrating a Brain-Computer Interface for Neurofeedback Applications.
Overview
- Information Technology Department, College of Computer and Information Sciences, King Saud University, Riyadh 11543, Saudi Arabia
- Computer Science Department, College of Computer and Information Sciences, Imam Mohammad Ibn Saud Islamic University (IMSIU), Riyadh 11432, Saudi Arabia
Abstract
Anxiety disorders pose an increasing challenge to the mental health of individuals, particularly in regions with limited healthcare access. This study investigated the potential of integrating a brain–computer interface for processing electroencephalography (EEG) data with deep learning models to accurately classify anxious and non-anxious states. In the first phase, a convolutional neural network (CNN) was developed and validated on the public GAMEEMO dataset, achieving a classification accuracy of 95.72%. In the second phase, we conducted a separate experimental validation with seven participants (aged 18–60 years) using a within-subjects design. The protocol comprised a custom Stroop test to elicit acute cognitive stress and anxiety-related arousal, followed by a guided 4–7–8 breathing exercise to induce relaxation. EEG data from this experiment were used to classify anxious versus non-anxious states with the same CNN architecture after domain adaptation. On this self-collected dataset, the CNN achieved an accuracy of 86.58%. These results demonstrate proof-of-concept transferability while highlighting the performance gap between controlled benchmark data and real-world, small-sample recordings. The deep learning model can subsequently be coupled with neurofeedback techniques to manage anxiety levels. Overall, the findings support the potential of the developed automated system for detecting stress-induced anxious states, with possible future integration into neurofeedback-based management systems.
Reproduced under the paper's license (CC BY), from the paper cited above.
Code
No file of the authors' code could be read here: it is described below, and read at its source.
colab.research.google.com/drive/1ackfhtosbynpzmgzfyyjydxcereygdrt
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
- 27 September 2026: the link answers (HTTP 200)
colab.research.google.com/drive/1bwge17lzzzbqpqy--yjyly8gknistdup
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
- 27 September 2026: the link answers (HTTP 200)
colab.research.google.com/drive/18uq_00ynr0mot1d6nharwoxo9rwavtny
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
- 27 September 2026: the link answers (HTTP 200)
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:
- 3 repositories 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 project code can be found on Google Collab 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, 13 MeSH terms, 1 funder, 37 references.
Cite
This paper
Aldayel, M., & Al-Nafjan, A. (2026). Automated Anxiety Detection System Integrating a Brain-Computer Interface for Neurofeedback Applications. Sensors (Basel, Switzerland), 26(13), 4004. https://
BibTeX
@article{aldayel2026auto
author = {Aldayel, Mashael and Al-Nafjan, Abeer},
title = {{Automated Anxiety Detection System Integrating a Brain-Computer Interface for Neurofeedback Applications}},
journal = {Sensors (Basel, Switzerland)},
year = {2026},
month = jun,
volume = {26},
number = {13},
pages = {4004},
publisher = {Multidisciplinary Digital Publishing Institute (MDPI)},
issn = {1424-8220},
doi = {10.3390/
url = {https://
pmid = {42451245},
pmcid = {PMC13363975}
}
RIS
TY - JOUR
AU - Aldayel, Mashael
AU - Al-Nafjan, Abeer
TI - Automated Anxiety Detection System Integrating a Brain-Computer Interface for Neurofeedback Applications
T2 - Sensors (Basel, Switzerland)
J2 - Sensors (Basel)
PY - 2026
DA - 2026/
VL - 26
IS - 13
SP - 4004
SN - 1424-8220
PB - Multidisciplinary Digital Publishing Institute (MDPI)
DO - 10.3390/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.3390/
"type": "article-journal",
"title": "Automated Anxiety Detection System Integrating a Brain-Computer Interface for Neurofeedback Applications",
"container-title": "Sensors (Basel, Switzerland)",
"author": [
{
"family": "Aldayel",
"given": "Mashael"
},
{
"family": "Al-Nafjan",
"given": "Abeer"
}
],
"container-title-short":
"volume": "26",
"issue": "13",
"page": "4004",
"DOI": "10.3390/
"PMID": "42451245",
"PMCID": "PMC13363975",
"ISSN": "1424-8220",
"publisher": "Multidisciplinary Digital Publishing Institute (MDPI)",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
24
]
]
}
}
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:
- Effect of Emotional States on EEG-Based Biometric Identification: A Comparative Study of ClassifiersJournal: Bioengineering (Basel, Switzerland)In common: EEG, 7 references
- [2] doi:10.3390/s25164962
- EEG-Based Authentication Across Various Event-Related Potentials (ERPs).Journal: Sensors (Basel, Switzerland)In common: EEG, 2 authors
- [3] doi:10.3390/s25164946
- Brain-Computer Interface for EEG-Based Authentication: Advancements and Practical Implications.Journal: Sensors (Basel, Switzerland)In common: EEG, 2 authors
- [4] doi:10.3390/biology14020210
- Objective Pain Assessment Using Deep Learning Through EEG-Based Brain-Computer Interfaces.Journal: BiologyIn common: EEG, 2 authors
- [5] doi:10.3390/diagnostics15030300
- Decoding Pain: A Comprehensive Review of Computational Intelligence Methods in Electroencephalography-B
ased Brain-Computer Interfaces. Journal: Diagnostics (Basel, Switzerland)In common: EEG, 2 authors - [6] doi:10.7717/peerj-cs.1829 [code]
- A comprehensive exploration of machine learning techniques for EEG-based anxiety detection.Journal: PeerJ. Computer scienceIn common: EEG, other condition, 2 references, author Mashael Aldayel
- [7] doi:10.1186/s13040-026-00560-2
- Adaptive drift-aware multi-stage deep learning framework for EEG-based schizophrenia diagnosis.Journal: BioData miningIn common: EEG, 4 references
- [8] doi:10.1155/2022/6000989
- Entropy-Based Emotion Recognition from Multichannel EEG Signals Using Artificial Neural Network.Journal: Computational intelligence and neuroscienceIn common: EEG, 3 references
- [9] doi:10.3390/s26031027
- Deception Detection from Five-Channel Wearable EEG on LieWaves: A Reproducible Baseline for Subject-Dependent and Subject-Independent Evaluation.Journal: Sensors (Basel, Switzerland)In common: EEG, 3 references
- [10] doi:10.7717/peerj-cs.944 [code]
- Feature selection of EEG signals in neuromarketing.Journal: PeerJ. Computer scienceIn common: EEG, author Abeer Al-Nafjan
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: 3 repositories 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:e34811436d39e4a0…
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/s26134004)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.3390/s26134004.svg
:target: https://openscicode.org/badge/doi/10.3390/s26134004
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.3390/s26134004"><img src="https://openscicode.org/badge/doi/10.3390/s26134004.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->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)
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
