DOI: 10.3390/s26134004 ISSN: 1424-8220

Automated Anxiety Detection System Integrating a Brain–Computer Interface for Neurofeedback Applications

Mashael Aldayel, Abeer Al-Nafjan

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.

More from our Archive